parent
544be3fa28
commit
352bcdb27f
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST at-spi2-atk-2.34.2.tar.xz 96608 BLAKE2B 4a3ef71580f4eaf3ea0846c8a6909b686f7ae0c7202918f3e11de019fa7290dada5a2eb3f495ce476bb56a28787967fa87fe74d422d4144e7555541ef99911da SHA512 59e7ad5c944748ca00af8b0a9df03c9ffbc6afae6e65c25a2566a9e2a30e66724c4492076be1730c2894c636f82c795c533669572584d8d5675f68b349ad16c4
|
DIST at-spi2-atk-2.34.2.tar.xz 96608 BLAKE2B 4a3ef71580f4eaf3ea0846c8a6909b686f7ae0c7202918f3e11de019fa7290dada5a2eb3f495ce476bb56a28787967fa87fe74d422d4144e7555541ef99911da SHA512 59e7ad5c944748ca00af8b0a9df03c9ffbc6afae6e65c25a2566a9e2a30e66724c4492076be1730c2894c636f82c795c533669572584d8d5675f68b349ad16c4
|
||||||
|
DIST at-spi2-atk-2.38.0.tar.xz 97464 BLAKE2B c5a62bd157ac6dcbf19495eb8f92bd6346651b8df64e15acf4d25c1ab35790f154bead1e012714da36c700e58e164527755137a33812f3a1844aa34f0293ebf5 SHA512 2f40ecbc55b0fbaa57ade952a75583bc8fbfde234cce9248489e9ae06e0597d98c2f4c77d8279758dec29da97e06cde5708d30a1238d91bebd023b2320f38528
|
||||||
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit gnome.org meson multilib-minimal virtualx xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/atk-2.36.0[${MULTILIB_USEDEP}]
|
||||||
|
>=app-accessibility/at-spi2-core-2.33.2[${MULTILIB_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( >=dev-libs/libxml2-2.9.1 )
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_use test tests)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
virtx dbus-run-session meson test -C "${BUILD_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST at-spi2-core-2.34.0.tar.xz 186736 BLAKE2B 6210ef0254760f1ef6e9c9124680f604864e24228650d4be1026dc73ce0ec5d10eec5e9958a98f0970e1292e4fc3935c8379278b10c633c87da5eb3960b94670 SHA512 99f6773e29fb5fcb339cbe5b23133dab78bc52e3c46a1d5bd748788c48345223f1def5078ac48e58756a7692459b177b0e26dc8059898a5ccac56ceb495b7de8
|
DIST at-spi2-core-2.34.0.tar.xz 186736 BLAKE2B 6210ef0254760f1ef6e9c9124680f604864e24228650d4be1026dc73ce0ec5d10eec5e9958a98f0970e1292e4fc3935c8379278b10c633c87da5eb3960b94670 SHA512 99f6773e29fb5fcb339cbe5b23133dab78bc52e3c46a1d5bd748788c48345223f1def5078ac48e58756a7692459b177b0e26dc8059898a5ccac56ceb495b7de8
|
||||||
DIST at-spi2-core-2.36.0.tar.xz 186824 BLAKE2B a713d413c1ff291bf82107f6bedccd24d5e9e5312145ac7c4783fcf8366238c2d5cc4ba442fb0c71286abcd695b516861387f76c22ff9e427bd19b99bb7d5d3c SHA512 f45d7e68bfcd9b93cebc47e30febce1ae6a4d9df2fbc9d5bdc25babb123c922d0f9a229485770b2f6ed386178144c20486fa3e46195041ea65a54ab019b1cbb6
|
DIST at-spi2-core-2.36.0.tar.xz 186824 BLAKE2B a713d413c1ff291bf82107f6bedccd24d5e9e5312145ac7c4783fcf8366238c2d5cc4ba442fb0c71286abcd695b516861387f76c22ff9e427bd19b99bb7d5d3c SHA512 f45d7e68bfcd9b93cebc47e30febce1ae6a4d9df2fbc9d5bdc25babb123c922d0f9a229485770b2f6ed386178144c20486fa3e46195041ea65a54ab019b1cbb6
|
||||||
|
DIST at-spi2-core-2.38.0.tar.xz 190540 BLAKE2B 6c5c479c279285460a5ff80533d600b5173fe9bedacfa1522bc37da4a305b965cec2c677eaae8be809ed1a5fd8aaef6475fd27b80510efd1c530e46368e954af SHA512 3a1eb27cff6e0dd03119b4f8361a3b6037b26c511e80e2d003d1d5c41fede6d49eb5e0ac1ee45cfb4f3ca8e53292a7e2da67df80be28e77014775e41777a96c1
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit gnome.org meson multilib-minimal systemd virtualx xdg
|
||||||
|
|
||||||
|
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="2"
|
||||||
|
IUSE="X gtk-doc +introspection"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||||
|
X? (
|
||||||
|
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/glib-utils
|
||||||
|
gtk-doc? (
|
||||||
|
>=dev-util/gtk-doc-1.25
|
||||||
|
app-text/docbook-xml-dtd:4.3
|
||||||
|
)
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
|
||||||
|
"${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||||
|
-Ddocs=$(multilib_native_usex gtk-doc true false)
|
||||||
|
-Dintrospection=$(multilib_native_usex introspection)
|
||||||
|
-Dx11=$(usex X)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
virtx dbus-run-session meson test -C "${BUILD_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST abrt-2.14.0.tar.gz 6102393 BLAKE2B 6bba45604406c1f2f84d778475acc6b5db3747f292fcb74a881703491b2d92adda3cc88d6ed741087c1ed2f88a68cdc4858f3640b506a6be650ea4d1d1f2bfd3 SHA512 26cf04ef6f52da445e825d5f1074186c4c77d1b093174bb6f7b0a8fa6175e265fcaf56fa4a977851a2352f9fd004425bc397e35a91f6f8e78f37564cd492c571
|
|
||||||
DIST abrt-2.14.1.tar.gz 6113024 BLAKE2B ddceda689fa51b04a0c201fe560c31ba5c8233c1f75c878b391b0b61cff241e6c2ce5b1829faa6e5f286c3c5efe96941c823234affe94b59fdd2aa3d7cd33cc3 SHA512 24126a54778b7e612c8b950321686bdee7ce15a16e79c8d967f8126c89f7da7060270fc0929cfabfc35100d069b0a626c3380833a3f62614cea6b00a44238ec3
|
|
||||||
DIST abrt-2.14.2.tar.gz 6113632 BLAKE2B 904ec2ca4c3aa70b62573ca2730742689f4446c1e5f04bfb6dc4267a4a9a6d44ef8c2b6e82c1e0aba04876b400c3a965a879da65bbff7ec729846f1b5c28cdf9 SHA512 82ba10cb151b4585024e3dfc626f46a7d967797e0375158cd76355c4f6a66c59578cc7b41bc5d5aaa3e694b3653b8658650df458676225660cfe95ec318c6886
|
DIST abrt-2.14.2.tar.gz 6113632 BLAKE2B 904ec2ca4c3aa70b62573ca2730742689f4446c1e5f04bfb6dc4267a4a9a6d44ef8c2b6e82c1e0aba04876b400c3a965a879da65bbff7ec729846f1b5c28cdf9 SHA512 82ba10cb151b4585024e3dfc626f46a7d967797e0375158cd76355c4f6a66c59578cc7b41bc5d5aaa3e694b3653b8658650df458676225660cfe95ec318c6886
|
||||||
|
@ -1,129 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
|
||||||
|
|
||||||
inherit autotools python-single-r1 systemd xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Automatic bug detection and reporting tool"
|
|
||||||
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE="selinux test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}
|
|
||||||
>=dev-libs/glib-2.56:2
|
|
||||||
>=dev-libs/libreport-2.10.0[gtk,python]
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-3.15.1
|
|
||||||
net-libs/libsoup:2.4
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-apps/systemd:0=
|
|
||||||
sys-auth/polkit
|
|
||||||
sys-libs/libcap
|
|
||||||
sys-fs/inotify-tools
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
acct-user/abrt
|
|
||||||
acct-group/abrt
|
|
||||||
app-arch/cpio
|
|
||||||
app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
|
|
||||||
dev-libs/elfutils
|
|
||||||
dev-libs/json-c:0=
|
|
||||||
sys-apps/util-linux
|
|
||||||
>=sys-devel/gdb-7
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-libs/satyr[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/argcomplete[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/argh[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/humanize[${PYTHON_MULTI_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_MULTI_USEDEP}]')
|
|
||||||
)
|
|
||||||
app-text/asciidoc
|
|
||||||
app-text/xmlto
|
|
||||||
>=dev-util/intltool-0.35.0
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=sys-devel/gettext-0.17
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
python_fix_shebang .
|
|
||||||
default
|
|
||||||
|
|
||||||
# Install under proper directory
|
|
||||||
sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
|
|
||||||
|
|
||||||
# Ensure this works for systems with and without /usr merge
|
|
||||||
sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
|
|
||||||
|
|
||||||
# Fix hardcoded "pytest-3"
|
|
||||||
sed -i -e "s:pytest-3:pytest:" \
|
|
||||||
configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
|
|
||||||
|
|
||||||
# pyhook test is sensitive to the format of python's error messages, and
|
|
||||||
# fails with certain python versions
|
|
||||||
sed -e '/pyhook.at/ d' \
|
|
||||||
-i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
|
|
||||||
./gen-version || die # Needed to be run before autoreconf
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
myeconfargs=(
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)"
|
|
||||||
--localstatedir="${EPREFIX}/var"
|
|
||||||
--without-bodhi
|
|
||||||
# package breaks due to not finding libreport-web with bodhi plugin enabled
|
|
||||||
--without-rpm
|
|
||||||
$(usex selinux "" "--without-selinux")
|
|
||||||
--with-python3
|
|
||||||
--without-pythondoc
|
|
||||||
# package breaks due to no sphinx-build-3
|
|
||||||
$(use_with test pythontests)
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
python_optimize
|
|
||||||
|
|
||||||
keepdir /var/run/abrt
|
|
||||||
# /var/spool/abrt is created by dev-libs/libreport
|
|
||||||
|
|
||||||
diropts -m 700 -o abrt -g abrt
|
|
||||||
keepdir /var/spool/abrt-upload
|
|
||||||
|
|
||||||
diropts -m 775 -o abrt -g abrt
|
|
||||||
keepdir /var/cache/abrt-di
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
|
|
||||||
newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,129 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
|
||||||
|
|
||||||
inherit autotools python-single-r1 systemd xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Automatic bug detection and reporting tool"
|
|
||||||
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
IUSE="selinux test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}
|
|
||||||
>=dev-libs/glib-2.56:2
|
|
||||||
>=dev-libs/libreport-2.10.0[gtk,python]
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-3.15.1
|
|
||||||
net-libs/libsoup:2.4
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-apps/systemd:0=
|
|
||||||
sys-auth/polkit
|
|
||||||
sys-libs/libcap
|
|
||||||
sys-fs/inotify-tools
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
acct-user/abrt
|
|
||||||
acct-group/abrt
|
|
||||||
app-arch/cpio
|
|
||||||
app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
|
|
||||||
dev-libs/elfutils
|
|
||||||
dev-libs/json-c:0=
|
|
||||||
sys-apps/util-linux
|
|
||||||
>=sys-devel/gdb-7
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-libs/satyr[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/argcomplete[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/argh[${PYTHON_MULTI_USEDEP}]
|
|
||||||
dev-python/humanize[${PYTHON_MULTI_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_MULTI_USEDEP}]')
|
|
||||||
)
|
|
||||||
app-text/asciidoc
|
|
||||||
app-text/xmlto
|
|
||||||
>=dev-util/intltool-0.35.0
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=sys-devel/gettext-0.17
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
python_fix_shebang .
|
|
||||||
default
|
|
||||||
|
|
||||||
# Install under proper directory
|
|
||||||
sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
|
|
||||||
|
|
||||||
# Ensure this works for systems with and without /usr merge
|
|
||||||
sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
|
|
||||||
|
|
||||||
# Fix hardcoded "pytest-3"
|
|
||||||
sed -i -e "s:pytest-3:pytest:" \
|
|
||||||
configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
|
|
||||||
|
|
||||||
# pyhook test is sensitive to the format of python's error messages, and
|
|
||||||
# fails with certain python versions
|
|
||||||
sed -e '/pyhook.at/ d' \
|
|
||||||
-i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
|
|
||||||
./gen-version || die # Needed to be run before autoreconf
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
myeconfargs=(
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)"
|
|
||||||
--localstatedir="${EPREFIX}/var"
|
|
||||||
--without-bodhi
|
|
||||||
# package breaks due to not finding libreport-web with bodhi plugin enabled
|
|
||||||
--without-rpm
|
|
||||||
$(usex selinux "" "--without-selinux")
|
|
||||||
--with-python3
|
|
||||||
--without-pythondoc
|
|
||||||
# package breaks due to no sphinx-build-3
|
|
||||||
$(use_with test pythontests)
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
python_optimize
|
|
||||||
|
|
||||||
keepdir /var/run/abrt
|
|
||||||
# /var/spool/abrt is created by dev-libs/libreport
|
|
||||||
|
|
||||||
diropts -m 700 -o abrt -g abrt
|
|
||||||
keepdir /var/spool/abrt-upload
|
|
||||||
|
|
||||||
diropts -m 775 -o abrt -g abrt
|
|
||||||
keepdir /var/cache/abrt-di
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
|
|
||||||
newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST clsync-0.4.4.tar.gz 268276 BLAKE2B 0027760cfdee5c4410c4cea45aae2def6498d812d2f50038993c39a33c6029722ec2dd2cfff20815a3ffd8834eb8c439059e5f1d2cc3d2cf98ecb22ed22f2322 SHA512 cdafbf43fdeafe9cb53c08e0514ef356fb5b4bbd8da2226263180e7441d222c76e6c73f847f484b3688a8672e4a85df0346c0236d8d0ed4506d209189af02dcd
|
DIST clsync-0.4.4.tar.gz 268276 BLAKE2B 0027760cfdee5c4410c4cea45aae2def6498d812d2f50038993c39a33c6029722ec2dd2cfff20815a3ffd8834eb8c439059e5f1d2cc3d2cf98ecb22ed22f2322 SHA512 cdafbf43fdeafe9cb53c08e0514ef356fb5b4bbd8da2226263180e7441d222c76e6c73f847f484b3688a8672e4a85df0346c0236d8d0ed4506d209189af02dcd
|
||||||
|
DIST clsync-0.4.5.tar.gz 276096 BLAKE2B 4fa534b342a806ca691f8a65455cb800800f7a943fa3f0913a26c37d2cd0f9d762630ad01eeb80bdd0d90a0731bed5f2aa60444a654972da9479c116e0e937aa SHA512 6568f3c49ac4fe11e54593ba23eed392d0b7d9b5bf052983c4a5a2befbb807dbd3f9d13412264f8909998702f869d1cd6db77d89bd9491414b1f3213437c5212
|
||||||
|
@ -0,0 +1,144 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/clsync/clsync.git"
|
||||||
|
inherit git-r3
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit autotools linux-info systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Live sync tool based on inotify, written in GNU C"
|
||||||
|
HOMEPAGE="https://github.com/clsync/clsync http://ut.mephi.ru/oss/clsync"
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="apidoc +caps +clsync cluster control-socket cgroups doc debug
|
||||||
|
examples extra-debug extra-hardened gio +hardened +highload-locks
|
||||||
|
+inotify +lto mhash namespaces seccomp socket-library static-libs"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
|| ( clsync socket-library )
|
||||||
|
|| ( gio inotify )
|
||||||
|
mhash? ( cluster )
|
||||||
|
seccomp? ( caps )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
apidoc? ( app-doc/doxygen[dot] )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
caps? ( sys-libs/libcap )
|
||||||
|
cgroups? ( dev-libs/libcgroup )
|
||||||
|
clsync? ( dev-libs/glib:2 )
|
||||||
|
mhash? ( app-crypt/mhash )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
!app-doc/clsync-docs
|
||||||
|
!dev-libs/libclsync
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if use clsync; then
|
||||||
|
use inotify && CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||||
|
use namespaces && CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS"
|
||||||
|
use seccomp && CONFIG_CHECK+=" ~SECCOMP"
|
||||||
|
check_extra_config
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply_user
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local harden_level=0
|
||||||
|
use hardened && harden_level=1
|
||||||
|
use extra-hardened && harden_level=2
|
||||||
|
|
||||||
|
local debug_level=0
|
||||||
|
use debug && debug_level=1
|
||||||
|
use extra-debug && debug_level=2
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--enable-debug=${debug_level} \
|
||||||
|
--enable-paranoid=${harden_level} \
|
||||||
|
--without-bsm \
|
||||||
|
--without-kqueue \
|
||||||
|
$(use_enable caps capabilities) \
|
||||||
|
$(use_enable clsync) \
|
||||||
|
$(use_enable cluster) \
|
||||||
|
$(use_enable control-socket socket) \
|
||||||
|
$(use_enable highload-locks) \
|
||||||
|
$(use_enable lto) \
|
||||||
|
$(use_enable namespaces unshare) \
|
||||||
|
$(use_enable seccomp) \
|
||||||
|
$(use_enable socket-library) \
|
||||||
|
$(use_with cgroups libcgroup) \
|
||||||
|
$(use_with gio gio lib) \
|
||||||
|
$(use_with inotify inotify native) \
|
||||||
|
$(use_with mhash)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
if use apidoc; then
|
||||||
|
doxygen .doxygen || die "doxygen failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
if use socket-library; then
|
||||||
|
find "${ED}" -name "*.la" -delete
|
||||||
|
use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use clsync; then
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||||
|
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||||
|
|
||||||
|
# filter rules and sync scripts are supposed to be here
|
||||||
|
insinto /etc/${PN}
|
||||||
|
newins "${FILESDIR}/${PN}.conf" "${PN}.conf"
|
||||||
|
keepdir /etc/${PN}
|
||||||
|
|
||||||
|
systemd_dounit "examples/clsync@.service"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dodoc -r DEVELOPING NOTES PROTOCOL SHORTHANDS TODO doc/devel/*
|
||||||
|
else
|
||||||
|
rm "${ED}/usr/share/doc/${PF}/"{DEVELOPING,LICENSE,PROTOCOL,TODO}* || die
|
||||||
|
fi
|
||||||
|
use apidoc && dodoc -r doc/doxygen/html
|
||||||
|
if ! use examples; then
|
||||||
|
rm -r "${ED}/usr/share/doc/${PF}/examples" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "${PN} is just a convenient way to run synchronization tools on live data,"
|
||||||
|
einfo "it doesn't copy data itself, so you need to install software to do actual"
|
||||||
|
einfo "data transfer. Usually net-misc/rsync is a good choise, but ${PN} is"
|
||||||
|
einfo "is flexible enough to use any user tool, see manual page for details."
|
||||||
|
einfo
|
||||||
|
einfo "${PN} init script can be multiplexed, to use symlink init script to"
|
||||||
|
einfo "othername and use conf.d/othername to configure it."
|
||||||
|
einfo
|
||||||
|
einfo "If you're interested in improved security, enable"
|
||||||
|
einfo "USE=\"caps cgroups extra-hardened namespaces seccomp\""
|
||||||
|
|
||||||
|
if use socket-library; then
|
||||||
|
einfo
|
||||||
|
einfo "clsync instances you are going to use _must_ be compiled"
|
||||||
|
einfo "with control-socket support"
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST gnome-abrt-1.2.7.tar.gz 339961 BLAKE2B cdacc079c4661c364f13af3102e2231adbeaf4226ba937436f5ce3ae109f28b87c9424c6dfbc016b912599205386f92c32b036ca31adbea79b9a54d7f3a27c4a SHA512 57446b1c1c312f3a47ea3dd2a40ac1d4ec5392df3181eac73086675b65d45cad9a01fba5252d073970878ef97d7d272508bc5b86a56779543ffdc8d083fb5413
|
|
||||||
DIST gnome-abrt-1.3.6.tar.gz 112255 BLAKE2B d0e87ef5543e84c246f9e98aac8f92984af9e8220357359ffa76f91e00bb35ccb9b60a00c8e0b00d3464ecfc9ddffaeb61fb15b57480066d957a2af44b49c3be SHA512 7bd15c9956d2e4bafce7d1ef73e930f679119fe8ccebda8a27171a5b3b1dfa90255c572e3a0c70606fe389d50079870399b89f61f683896d4ca6380a7d3f7cc2
|
DIST gnome-abrt-1.3.6.tar.gz 112255 BLAKE2B d0e87ef5543e84c246f9e98aac8f92984af9e8220357359ffa76f91e00bb35ccb9b60a00c8e0b00d3464ecfc9ddffaeb61fb15b57480066d957a2af44b49c3be SHA512 7bd15c9956d2e4bafce7d1ef73e930f679119fe8ccebda8a27171a5b3b1dfa90255c572e3a0c70606fe389d50079870399b89f61f683896d4ca6380a7d3f7cc2
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
|
||||||
|
|
||||||
inherit autotools python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A utility for viewing problems that have occurred with the system"
|
|
||||||
HOMEPAGE="https://github.com/abrt/gnome-abrt"
|
|
||||||
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
>=x11-libs/gtk+-3.10.0:3
|
|
||||||
>=dev-libs/libreport-2.0.20[python,${PYTHON_USEDEP}]
|
|
||||||
>=app-admin/abrt-2.10.10-r1
|
|
||||||
>=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
|
|
||||||
x11-libs/libX11
|
|
||||||
>=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
app-text/asciidoc
|
|
||||||
app-text/xmlto
|
|
||||||
>=dev-util/intltool-0.35.0
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=sys-devel/gettext-0.17
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
./gen-version > gnome-abrt-version || die
|
|
||||||
eautoreconf
|
|
||||||
python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
myeconfargs=(
|
|
||||||
--localstatedir="${EPREFIX}/var"
|
|
||||||
--with-nopylint
|
|
||||||
)
|
|
||||||
|
|
||||||
python_foreach_impl run_in_build_dir econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl run_in_build_dir default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl run_in_build_dir default
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit linux-info systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
||||||
|
HOMEPAGE="http://mcelog.org/"
|
||||||
|
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="selinux"
|
||||||
|
|
||||||
|
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
||||||
|
|
||||||
|
# TODO: add mce-inject to the tree to support test phase
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
||||||
|
local CONFIG_CHECK="~X86_MCE"
|
||||||
|
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
||||||
|
check_extra_config
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
||||||
|
"${FILESDIR}"/${PN}-129-debugflags.patch
|
||||||
|
eapply_user
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
insinto /etc/cron.daily
|
||||||
|
newins ${PN}.cron ${PN}
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins ${PN}.logrotate ${PN}
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
||||||
|
systemd_dounit ${PN}.service
|
||||||
|
|
||||||
|
dodoc *.pdf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "The default configuration set is now installed in /etc/${PN}"
|
||||||
|
einfo "you might want to edit those files."
|
||||||
|
einfo
|
||||||
|
einfo "A sample cronjob is installed into /etc/cron.daily"
|
||||||
|
einfo "without executable bit (system service is the preferred method now)"
|
||||||
|
}
|
@ -1,8 +1,11 @@
|
|||||||
|
DIST mongo-tools-100.2.0.tar.gz 27401773 BLAKE2B 359747ffe9e53e9ac62fa70517bd5e64c6b082076b9d54e325200cabbd9e3f7ab3aa9f96f7a84c60b044082e505e2ca4d6bdeac6f0b1ca0bfaa03583603a7962 SHA512 1b093482d3abfbd354ff6010f270836a13842fc6ff33126effb4e843beefeabc233bb610b423cac8ce8718366e7aa7411679e4cd5125d44a235f244f5ea49da5
|
||||||
DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432
|
DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432
|
||||||
DIST mongo-tools-3.6.17.tar.gz 4991196 BLAKE2B 53e86b3513aa74ad174801cea987d574c5248f438cb0a9419c2352c04333eae2f92214b11c59ee8688ad7235dc7a4586c39cc27450c654b1fc0e2eec2e4e22e2 SHA512 ea7a010097fdfe7807daf9352519b808b4a7b614b793ee2ac27495207bcf1cf8b4151fecd525946a0d6b8aa9332c205f437d5141b16efb613810963f502061be
|
DIST mongo-tools-3.6.17.tar.gz 4991196 BLAKE2B 53e86b3513aa74ad174801cea987d574c5248f438cb0a9419c2352c04333eae2f92214b11c59ee8688ad7235dc7a4586c39cc27450c654b1fc0e2eec2e4e22e2 SHA512 ea7a010097fdfe7807daf9352519b808b4a7b614b793ee2ac27495207bcf1cf8b4151fecd525946a0d6b8aa9332c205f437d5141b16efb613810963f502061be
|
||||||
DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced
|
DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced
|
||||||
DIST mongo-tools-4.0.16.tar.gz 11139827 BLAKE2B 550acfd7e4434b178170dfd94c65668cb7dd37d128235c63a10f72802e3119f33d5cd2138bfd5b957f6d3813f1d9aff49218c4e122c0cd454b4ea7a969c84d4e SHA512 a75831d9fd0b596bfb7354cbc05d1ecf6871d5a7230a858b09b94d5001d18069c9cbe89c9500e9c1a16fc5186fa7a1ac59c605156666a3f1a2d7c81115a47c16
|
DIST mongo-tools-4.0.16.tar.gz 11139827 BLAKE2B 550acfd7e4434b178170dfd94c65668cb7dd37d128235c63a10f72802e3119f33d5cd2138bfd5b957f6d3813f1d9aff49218c4e122c0cd454b4ea7a969c84d4e SHA512 a75831d9fd0b596bfb7354cbc05d1ecf6871d5a7230a858b09b94d5001d18069c9cbe89c9500e9c1a16fc5186fa7a1ac59c605156666a3f1a2d7c81115a47c16
|
||||||
DIST mongo-tools-4.0.19.tar.gz 11139649 BLAKE2B 7e730138fce671e18a0ebe929b98eff1c0ce2c364ceef7d6868c380242689411c545ac321aebd609dcfe9f8d5b7d35cf37973a978f35a50cc44902b2dbad7134 SHA512 2639cb27a5a27e405bddf9817f409af244d643a9091f7e5ddff4876966af55b6710b0fe158c351df9aea10f3da0b87d224bfb2c962f4ca2cfe41f804cb16749c
|
DIST mongo-tools-4.0.19.tar.gz 11139649 BLAKE2B 7e730138fce671e18a0ebe929b98eff1c0ce2c364ceef7d6868c380242689411c545ac321aebd609dcfe9f8d5b7d35cf37973a978f35a50cc44902b2dbad7134 SHA512 2639cb27a5a27e405bddf9817f409af244d643a9091f7e5ddff4876966af55b6710b0fe158c351df9aea10f3da0b87d224bfb2c962f4ca2cfe41f804cb16749c
|
||||||
|
DIST mongo-tools-4.0.20.tar.gz 11139655 BLAKE2B e3ea8ad500af3a023674bbdb9084fea854338fc3791f833acb77bfdd3e3a15fbe361162021e8ec85917a8b3e1992fb4fd6a109ad40489c01788835bce359d2a0 SHA512 a9413d79a3c3219e6f48c5dcd927f2cd24d138e5215b5e7fca92276b072b17c3c7a3528b9112450e1346405345f426ce0fb4324bed5167ed817750b3955e4262
|
||||||
|
DIST mongo-tools-4.2.10.tar.gz 15026566 BLAKE2B 28dfef83ca4f3e16b4adbfeb26499cdfda64fe66de2906f56e7cdb56a9be01dd896c858c581aa4347235ca83a6e3a2836e6184ae6587b9d707934c699b561fe6 SHA512 5e937811d9c1146a7b5f2fd743e5d05f4f2a571972c34760e7911d240cc3ea1a0a5ccd451874b7cf635bc603e6bc1e7e8d4aa4b20c17abc77fde78cb4aa25934
|
||||||
DIST mongo-tools-4.2.3.tar.gz 15020325 BLAKE2B 8501a3ec6e947112ec561ce62f2ea568984f8ac911a7aff3cb8c08c1f29d2cfc64cf7f4b6a24ba73ae0f9b2b5853480f4fbed51c98fdc8c83cd433ea65e21dba SHA512 772719b450f8b656c22ac0126fee1e0fa58b5320c94ac6414b1d9af13e6437393c2482f2e386f4a73c84a2d1bfe0ea88df117a6a7ae87f4884477505cf662585
|
DIST mongo-tools-4.2.3.tar.gz 15020325 BLAKE2B 8501a3ec6e947112ec561ce62f2ea568984f8ac911a7aff3cb8c08c1f29d2cfc64cf7f4b6a24ba73ae0f9b2b5853480f4fbed51c98fdc8c83cd433ea65e21dba SHA512 772719b450f8b656c22ac0126fee1e0fa58b5320c94ac6414b1d9af13e6437393c2482f2e386f4a73c84a2d1bfe0ea88df117a6a7ae87f4884477505cf662585
|
||||||
DIST mongo-tools-4.2.6.tar.gz 15016596 BLAKE2B 5ee37bf21ea05ec5ba2764c935c1dd3632753e772a01f854dc8a9949620e9a41fe95ba658a0efae0332ed2c059561e39e681f672cf5f4302a7f92c364cfab4b6 SHA512 e91bfba4b015f80d35b6c2ca766c599c5eedea113d6415ec0aef433d46b5e5fe06956481a063e26908a45fdcee4002125ea01a29fa3ea9a541a9210d25625f8e
|
DIST mongo-tools-4.2.6.tar.gz 15016596 BLAKE2B 5ee37bf21ea05ec5ba2764c935c1dd3632753e772a01f854dc8a9949620e9a41fe95ba658a0efae0332ed2c059561e39e681f672cf5f4302a7f92c364cfab4b6 SHA512 e91bfba4b015f80d35b6c2ca766c599c5eedea113d6415ec0aef433d46b5e5fe06956481a063e26908a45fdcee4002125ea01a29fa3ea9a541a9210d25625f8e
|
||||||
DIST mongo-tools-4.2.8.tar.gz 15021497 BLAKE2B e066c299462167754e0752079f35fef25b387eb1df0631ff0e0b783a8a14c4b68c6ed126ec3429f63de87b87b9fdde6a2645badd53ac1386befc7175a61a999e SHA512 c0fca14c60e5f399934f4dfad5be832684d2c1a1145967a4c395b246774f73f71e506bff902a634b7f08f7133304c09f14eb56a1a6fc8585608f537e59d9c899
|
DIST mongo-tools-4.2.8.tar.gz 15021497 BLAKE2B e066c299462167754e0752079f35fef25b387eb1df0631ff0e0b783a8a14c4b68c6ed126ec3429f63de87b87b9fdde6a2645badd53ac1386befc7175a61a999e SHA512 c0fca14c60e5f399934f4dfad5be832684d2c1a1145967a4c395b246774f73f71e506bff902a634b7f08f7133304c09f14eb56a1a6fc8585608f537e59d9c899
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
IUSE="sasl ssl"
|
||||||
|
|
||||||
|
DEPEND="dev-lang/go:=
|
||||||
|
net-libs/libpcap
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
ssl? ( dev-libs/openssl:0= )"
|
||||||
|
|
||||||
|
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||||
|
QA_FLAGS_IGNORED='.*'
|
||||||
|
|
||||||
|
EGO_PN="github.com/mongodb/mongo-tools"
|
||||||
|
S="${WORKDIR}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir -p "${S%/*}" || die
|
||||||
|
default
|
||||||
|
mv ${P} "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
if use sasl; then
|
||||||
|
myconf+=(sasl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
myconf+=(ssl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build pie to avoid text relocations wrt #582854
|
||||||
|
local buildmode="pie"
|
||||||
|
|
||||||
|
# skip on ppc64 wrt #610984
|
||||||
|
if use ppc64; then
|
||||||
|
buildmode="default"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p bin || die
|
||||||
|
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
|
||||||
|
echo "Building $i"
|
||||||
|
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||||
|
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
MY_P=${PN}-r${MY_PV}
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="sasl ssl"
|
||||||
|
|
||||||
|
DEPEND="dev-lang/go:=
|
||||||
|
net-libs/libpcap
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
ssl? ( dev-libs/openssl:0= )"
|
||||||
|
|
||||||
|
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||||
|
QA_FLAGS_IGNORED='.*'
|
||||||
|
|
||||||
|
EGO_PN="github.com/mongodb/mongo-tools"
|
||||||
|
S="${WORKDIR}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir -p "${S%/*}" || die
|
||||||
|
default
|
||||||
|
mv ${MY_P} "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# allow building with go 1.12 #678924
|
||||||
|
sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
if use sasl; then
|
||||||
|
myconf+=(sasl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
myconf+=(ssl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build pie to avoid text relocations wrt #582854
|
||||||
|
local buildmode="pie"
|
||||||
|
|
||||||
|
# skip on ppc64 wrt #610984
|
||||||
|
if use ppc64; then
|
||||||
|
buildmode="default"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p bin || die
|
||||||
|
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
|
||||||
|
echo "Building $i"
|
||||||
|
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||||
|
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PV=${PV/_rc/-rc}
|
||||||
|
MY_P=${PN}-r${MY_PV}
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
IUSE="sasl ssl"
|
||||||
|
|
||||||
|
DEPEND="dev-lang/go:=
|
||||||
|
net-libs/libpcap
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
ssl? ( dev-libs/openssl:0= )"
|
||||||
|
|
||||||
|
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||||
|
QA_FLAGS_IGNORED='.*'
|
||||||
|
|
||||||
|
EGO_PN="github.com/mongodb/mongo-tools"
|
||||||
|
S="${WORKDIR}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir -p "${S%/*}" || die
|
||||||
|
default
|
||||||
|
mv ${MY_P} "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# allow building with go 1.12 #678924
|
||||||
|
sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
if use sasl; then
|
||||||
|
myconf+=(sasl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
myconf+=(ssl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build pie to avoid text relocations wrt #582854
|
||||||
|
local buildmode="pie"
|
||||||
|
|
||||||
|
# skip on ppc64 wrt #610984
|
||||||
|
if use ppc64; then
|
||||||
|
buildmode="default"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p bin || die
|
||||||
|
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
|
||||||
|
echo "Building $i"
|
||||||
|
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||||
|
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/speed47/spectre-meltdown-checker.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/speed47/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Spectre & Meltdown vulnerability/mitigation checker for Linux"
|
||||||
|
HOMEPAGE="https://github.com/speed47/spectre-meltdown-checker"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
newbin spectre-meltdown-checker.sh spectre-meltdown-checker
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST system-config-printer-1.5.12.tar.xz 955756 BLAKE2B 766cc7307382a7b0ab65387650f1568fd5108dae2693dfc93684c6593e28837d513e4c823bf4e07c3ba2123eea8aba0649135020318f06f38633b9837683d7f7 SHA512 c8b0702dcdf99c4e8a19274dd4a3f82d9263bd5f51d0c19edf7d71fb13095f57a35e643ddbe161ffb5805e72bf7da0cb6a3de44a554854390ac05d8e56644c32
|
DIST system-config-printer-1.5.12.tar.xz 955756 BLAKE2B 766cc7307382a7b0ab65387650f1568fd5108dae2693dfc93684c6593e28837d513e4c823bf4e07c3ba2123eea8aba0649135020318f06f38633b9837683d7f7 SHA512 c8b0702dcdf99c4e8a19274dd4a3f82d9263bd5f51d0c19edf7d71fb13095f57a35e643ddbe161ffb5805e72bf7da0cb6a3de44a554854390ac05d8e56644c32
|
||||||
|
DIST system-config-printer-1.5.13.tar.xz 974532 BLAKE2B 44e748d2fc20edefe58e1c8dd3781aff28af93e57356a9969e051813bf4f04f72c4e895b587e86614df6fb4984a4d610e8e1a1e17777801ae8912b6904679c72 SHA512 f4fbc1b20b35aa5b33bafdffc8a7490cc3c55e0b33bd9e925f1d3e01532c0a7bb87f80a04dd6da6fc492edd9fea74bacb0ce16ff64ceac622722fe1f9a77a6b7
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
PYTHON_REQ_USE="xml"
|
||||||
|
inherit python-single-r1 systemd xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Graphical user interface for CUPS administration"
|
||||||
|
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer"
|
||||||
|
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="gnome-keyring policykit"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
# Needs cups running, bug 284005
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# Additional unhandled dependencies
|
||||||
|
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||||
|
# python samba client: smbc
|
||||||
|
# selinux: needed for troubleshooting
|
||||||
|
COMMON_DEPEND="${PYTHON_DEPS}
|
||||||
|
dev-libs/glib:2
|
||||||
|
net-print/cups[dbus]
|
||||||
|
virtual/libusb:1
|
||||||
|
>=virtual/udev-172
|
||||||
|
x11-libs/gtk+:3[introspection]
|
||||||
|
x11-libs/libnotify[introspection]
|
||||||
|
x11-libs/pango[introspection]
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
app-text/docbook-xml-dtd:4.1.2
|
||||||
|
>=app-text/xmlto-0.0.22
|
||||||
|
dev-perl/XML-Parser
|
||||||
|
dev-util/desktop-file-utils
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/pycups[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_MULTI_USEDEP}]
|
||||||
|
dev-python/urllib3[${PYTHON_MULTI_USEDEP}]
|
||||||
|
')
|
||||||
|
gnome-keyring? ( app-crypt/libsecret[introspection] )
|
||||||
|
policykit? ( net-print/cups-pk-helper )
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--enable-nls
|
||||||
|
--with-desktop-vendor=Gentoo
|
||||||
|
--with-udev-rules
|
||||||
|
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||||
|
)
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
python_fix_shebang "${ED}"
|
||||||
|
python_optimize
|
||||||
|
}
|
Binary file not shown.
@ -1,142 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6..9} )
|
|
||||||
|
|
||||||
inherit desktop perl-functions python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
MY_PV_KDE="0.18"
|
|
||||||
MY_PV_NAUTILUS="0.05"
|
|
||||||
MY_PV_NEMO="0.04"
|
|
||||||
MY_PV_THUNAR="0.06"
|
|
||||||
|
|
||||||
DESCRIPTION="A graphical front-end for ClamAV"
|
|
||||||
HOMEPAGE="https://gitlab.com/dave_m/clamtk/wikis/Home"
|
|
||||||
SRC_URI="
|
|
||||||
https://bitbucket.org/davem_/${PN}-gtk3/downloads/${P}.tar.xz
|
|
||||||
kde? ( https://bitbucket.org/davem_/${PN}-kde/downloads/${PN}-kde-${MY_PV_KDE}.tar.xz )
|
|
||||||
nautilus? ( https://bitbucket.org/davem_/${PN}-gnome/downloads/${PN}-gnome-${MY_PV_NAUTILUS}.tar.xz )
|
|
||||||
nemo? ( https://bitbucket.org/davem_/nemo-sendto-${PN}/downloads/nemo-sendto-${PN}-${MY_PV_NEMO}.tar.xz )
|
|
||||||
thunar? ( https://bitbucket.org/davem_/thunar-sendto-${PN}/downloads/thunar-sendto-${PN}-${MY_PV_THUNAR}.tar.xz )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="|| ( Artistic GPL-1+ )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="kde nautilus nemo +nls thunar"
|
|
||||||
REQUIRED_USE="nautilus? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-antivirus/clamav
|
|
||||||
dev-perl/File-chdir
|
|
||||||
dev-perl/Gtk3
|
|
||||||
dev-perl/JSON
|
|
||||||
dev-perl/LWP-Protocol-https
|
|
||||||
dev-perl/LWP-UserAgent-Cached
|
|
||||||
dev-perl/Locale-gettext
|
|
||||||
dev-perl/Text-CSV
|
|
||||||
dev-perl/glib-perl
|
|
||||||
dev-perl/libwww-perl
|
|
||||||
virtual/perl-Digest-MD5
|
|
||||||
virtual/perl-Digest-SHA
|
|
||||||
virtual/perl-Encode
|
|
||||||
virtual/perl-MIME-Base64
|
|
||||||
virtual/perl-Time-Piece
|
|
||||||
nautilus? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-python/nautilus-python[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="nls? ( sys-devel/gettext )"
|
|
||||||
|
|
||||||
DOCS=( "CHANGES" "credits.md" "DISCLAIMER" "README.md" )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use nautilus && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
|
|
||||||
unpack "${S}"/clamtk.1.gz
|
|
||||||
|
|
||||||
use kde && unpack "${S}"/../clamtk-kde-${MY_PV_KDE}/clamtk-kde.1.gz
|
|
||||||
use nautilus && unpack "${S}"/../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.1.gz
|
|
||||||
use nemo && unpack "${S}"/../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.1.gz
|
|
||||||
use thunar && unpack "${S}"/../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.1.gz
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin clamtk
|
|
||||||
|
|
||||||
perl_set_version
|
|
||||||
insinto "${VENDOR_LIB}"/ClamTk
|
|
||||||
doins lib/*.pm
|
|
||||||
|
|
||||||
use nls && domo po/*.mo
|
|
||||||
|
|
||||||
doicon images/clamtk.png images/clamtk.xpm
|
|
||||||
|
|
||||||
domenu clamtk.desktop
|
|
||||||
|
|
||||||
doman ../clamtk.1
|
|
||||||
|
|
||||||
if use kde; then
|
|
||||||
insinto /usr/share/kservices5/ServiceMenus
|
|
||||||
doins ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.desktop
|
|
||||||
|
|
||||||
doicon ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.png ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.xpm
|
|
||||||
|
|
||||||
doman ../clamtk-kde.1
|
|
||||||
|
|
||||||
docinto dolphin
|
|
||||||
dodoc ../clamtk-kde-${MY_PV_KDE}/CHANGES ../clamtk-kde-${MY_PV_KDE}/README.md
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use nautilus; then
|
|
||||||
insinto /usr/share/nautilus-python/extensions
|
|
||||||
doins ../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.py
|
|
||||||
|
|
||||||
doicon ../clamtk-gnome-${MY_PV_NAUTILUS}/images/clamtk-gnome.png
|
|
||||||
|
|
||||||
doman ../clamtk-gnome.1
|
|
||||||
|
|
||||||
docinto nautilus
|
|
||||||
dodoc ../clamtk-gnome-${MY_PV_NAUTILUS}/CHANGES ../clamtk-gnome-${MY_PV_NAUTILUS}/DISCLAIMER ../clamtk-gnome-${MY_PV_NAUTILUS}/README.md
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use nemo; then
|
|
||||||
insinto /usr/share/nemo/actions/
|
|
||||||
doins ../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.nemo_action
|
|
||||||
|
|
||||||
doman ../nemo-sendto-clamtk.1
|
|
||||||
|
|
||||||
docinto nemo
|
|
||||||
dodoc ../nemo-sendto-clamtk-${MY_PV_NEMO}/CHANGES ../nemo-sendto-clamtk-${MY_PV_NEMO}/DISCLAIMER ../nemo-sendto-clamtk-${MY_PV_NEMO}/README.md
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use thunar; then
|
|
||||||
insinto /usr/share/Thunar/sendto
|
|
||||||
doins ../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.desktop
|
|
||||||
|
|
||||||
doman ../thunar-sendto-clamtk.1
|
|
||||||
|
|
||||||
docinto thunar
|
|
||||||
dodoc ../thunar-sendto-clamtk-${MY_PV_THUNAR}/CHANGES ../thunar-sendto-clamtk-${MY_PV_THUNAR}/DISCLAIMER ../thunar-sendto-clamtk-${MY_PV_THUNAR}/README
|
|
||||||
fi
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST burp-2.2.18.tar.gz 632805 BLAKE2B 6106aa4bd96db035ad5893c2fe314537e620a67519295fdf99efaf2c5a639bedd15b4c8d95caa3daa3072dfac28a1ba7fd7bb4f949d9ea2b70bd13060a22f2c6 SHA512 beb14c61ace6d61b98a10fc4e6709eec9722e28990de862eef6a75984f9fbd0f903c5fe64d20ed84c95528a9889bc22618ba6d2318318cf5d515b35688db0a4d
|
DIST burp-2.2.18.tar.gz 632805 BLAKE2B 6106aa4bd96db035ad5893c2fe314537e620a67519295fdf99efaf2c5a639bedd15b4c8d95caa3daa3072dfac28a1ba7fd7bb4f949d9ea2b70bd13060a22f2c6 SHA512 beb14c61ace6d61b98a10fc4e6709eec9722e28990de862eef6a75984f9fbd0f903c5fe64d20ed84c95528a9889bc22618ba6d2318318cf5d515b35688db0a4d
|
||||||
DIST burp-2.3.36.tar.gz 619564 BLAKE2B 8f30fb8808c8a3167467ef0bcdc84cd7c2e885ee6a8aa285d96f9187aeb33eacb90fefe382ddb74bbabcfefde6faa9ac6125e3bf4a6eb9778b650e74e812991d SHA512 48b852aca8ccf0abd696b9434cb83c0447845192096d0f3f0c032c328dcc20314faf68db94fa14da72692327432b78eb3680e83b1e892dd30c9aa2f340838ee3
|
DIST burp-2.3.36.tar.gz 619564 BLAKE2B 8f30fb8808c8a3167467ef0bcdc84cd7c2e885ee6a8aa285d96f9187aeb33eacb90fefe382ddb74bbabcfefde6faa9ac6125e3bf4a6eb9778b650e74e812991d SHA512 48b852aca8ccf0abd696b9434cb83c0447845192096d0f3f0c032c328dcc20314faf68db94fa14da72692327432b78eb3680e83b1e892dd30c9aa2f340838ee3
|
||||||
|
DIST burp-2.3.38.tar.gz 623925 BLAKE2B f6aabfd23213c4fde58fbe75227a6b2aaccef2adf345e88661e1bf48cb4b4c04d8ba9c484127a1af2efdd20416c34725a75514298daf4da6443c1fc1e2f1b3f6 SHA512 825ecd289d52cc378d5f681f30e57daf5413f64039131daebe74dc2cbe0e288a4528092a6988a216143f1410cf7f3e49f1227303eea999442d33c3d006b9db6f
|
||||||
|
@ -0,0 +1,121 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||||
|
HOMEPAGE="https://burp.grke.org/"
|
||||||
|
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="acl ipv6 libressl test xattr"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
CDEPEND=" acct-group/burp
|
||||||
|
acct-user/burp
|
||||||
|
dev-libs/uthash
|
||||||
|
net-libs/librsync
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
acl? ( sys-apps/acl )
|
||||||
|
xattr? ( sys-apps/attr )"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( dev-libs/check )"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
virtual/logger"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--localstatedir=/var
|
||||||
|
--sysconfdir=/etc/burp
|
||||||
|
--enable-largefile
|
||||||
|
$(use_enable acl)
|
||||||
|
$(use_enable ipv6)
|
||||||
|
$(use_enable xattr)
|
||||||
|
)
|
||||||
|
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||||
|
runstatedir='/run' \
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# See https://github.com/grke/burp/issues/869
|
||||||
|
local -x CK_DEFAULT_TIMEOUT=10
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
keepdir /var/spool/burp
|
||||||
|
fowners -R root:${PN} /var/spool/burp
|
||||||
|
fperms 0770 /var/spool/burp
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" install-configs
|
||||||
|
fowners -R root:${PN} /etc/burp
|
||||||
|
fperms 0750 /etc/burp
|
||||||
|
fperms 0640 /etc/burp/burp-server.conf
|
||||||
|
fperms 0750 /etc/burp/clientconfdir
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn
|
||||||
|
ewarn "You are installing a development version of burp. These versions contain"
|
||||||
|
ewarn "new features but might have unexpected issues. It is recommended by upstream"
|
||||||
|
ewarn "to use the current stable version (i.e. currently the 2.2 branch) instead."
|
||||||
|
ewarn
|
||||||
|
|
||||||
|
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||||
|
elog "client and server mode. In both cases it is disabled by"
|
||||||
|
elog "default. You almost certainly do NOT want to enable it in"
|
||||||
|
elog "client mode because upgrades obtained this way will not be"
|
||||||
|
elog "managed by Portage."
|
||||||
|
|
||||||
|
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||||
|
elog ""
|
||||||
|
elog "At first run burp server will generate DH parameters and SSL"
|
||||||
|
elog "certificates. You should adjust configuration before."
|
||||||
|
elog "Server configuration is located at"
|
||||||
|
elog ""
|
||||||
|
elog " /etc/burp/burp-server.conf"
|
||||||
|
elog ""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# According to PMS this can be a space-separated list of version
|
||||||
|
# numbers, even though in practice it is typically just one.
|
||||||
|
local oldver
|
||||||
|
for oldver in ${REPLACING_VERSIONS}; do
|
||||||
|
if [[ $(ver_cut 1 ${oldver}) -lt 2 ]]; then
|
||||||
|
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||||
|
ewarn "the server config file by default. If you use bedup, please"
|
||||||
|
ewarn "update your scripts to invoke it as"
|
||||||
|
ewarn ""
|
||||||
|
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Otherwise deduplication will not work!"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
Binary file not shown.
@ -1,7 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type='project'>
|
<!-- maintainer-needed -->
|
||||||
<email>deb-tools@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -0,0 +1,168 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
|
||||||
|
|
||||||
|
MY_P="${P/mit-}"
|
||||||
|
P_DIR=$(ver_cut 1-2)
|
||||||
|
DESCRIPTION="MIT Kerberos V"
|
||||||
|
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
||||||
|
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||||
|
IUSE="cpu_flags_x86_aes doc +keyutils libressl lmdb nls openldap +pkinit selinux +threads test xinetd"
|
||||||
|
|
||||||
|
# Test suite requires network access
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
!!app-crypt/heimdal
|
||||||
|
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
||||||
|
|| (
|
||||||
|
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
||||||
|
lmdb? ( dev-db/lmdb )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
||||||
|
pkinit? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
)
|
||||||
|
xinetd? ( sys-apps/xinetd )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
virtual/yacc
|
||||||
|
cpu_flags_x86_aes? (
|
||||||
|
amd64? ( dev-lang/yasm )
|
||||||
|
x86? ( dev-lang/yasm )
|
||||||
|
)
|
||||||
|
doc? ( virtual/latex-base )
|
||||||
|
test? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-lang/tcl:0
|
||||||
|
dev-util/dejagnu
|
||||||
|
dev-util/cmocka
|
||||||
|
)"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-kerberos )"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}/src
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||||
|
"${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
|
||||||
|
"${FILESDIR}/${PN}-1.16.3-libressl-r1.patch"
|
||||||
|
"${FILESDIR}/${PN}_dont_create_run.patch"
|
||||||
|
"${FILESDIR}/${PN}-1.18-libressl.patch"
|
||||||
|
"${FILESDIR}/CVE-2020-28196.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/krb5-config
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Make sure we always use the system copies.
|
||||||
|
rm -rf util/{et,ss,verto}
|
||||||
|
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# QA
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
append-flags -fno-strict-overflow
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
WARN_CFLAGS="set" \
|
||||||
|
econf \
|
||||||
|
$(use_with openldap ldap) \
|
||||||
|
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable pkinit) \
|
||||||
|
$(use_enable threads thread-support) \
|
||||||
|
$(use_with lmdb) \
|
||||||
|
$(use_with keyutils) \
|
||||||
|
--without-hesiod \
|
||||||
|
--enable-shared \
|
||||||
|
--with-system-et \
|
||||||
|
--with-system-ss \
|
||||||
|
--enable-dns-for-realm \
|
||||||
|
--enable-kdc-lookaside-cache \
|
||||||
|
--with-system-verto \
|
||||||
|
--disable-rpath \
|
||||||
|
\
|
||||||
|
AR="$(tc-getAR)"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
multilib_is_native_abi && emake -j1 check
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||||
|
install
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
# default database dir
|
||||||
|
keepdir /var/lib/krb5kdc
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
dodoc README
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dodoc -r doc/html
|
||||||
|
docinto pdf
|
||||||
|
dodoc doc/pdf/*.pdf
|
||||||
|
fi
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||||
|
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||||
|
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||||
|
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||||
|
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||||
|
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||||
|
|
||||||
|
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
||||||
|
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
||||||
|
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
||||||
|
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
||||||
|
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||||
|
insinto /var/lib/krb5kdc
|
||||||
|
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||||
|
|
||||||
|
if use openldap ; then
|
||||||
|
insinto /etc/openldap/schema
|
||||||
|
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use xinetd ; then
|
||||||
|
insinto /etc/xinetd.d
|
||||||
|
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
DIST FE5FB63876A1D718A8C67556E17DF5C82B4F9D00.asc 5710 BLAKE2B 92cc184b779e7279f5e11d579ea12d604f955f4b422c6d7a58436567130cacfe138765cf76217ff6790fcf2a27dfd70d25a7b38911630a9c7d74c0e7d079bfe4 SHA512 8edfe3db0dd77feb52ee8683db103f3c0b2c87adac52047dd66f17e956227a9a2378a182351cf2d761645e3e755795528896f4e82f1c85aa77331a1f1a38de6e
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>dist-kernel@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="OpenPGP keys used to sign Django releases"
|
||||||
|
HOMEPAGE="https://www.djangoproject.com/download/"
|
||||||
|
SRC_URI="
|
||||||
|
https://keys.openpgp.org/vks/v1/by-fingerprint/FE5FB63876A1D718A8C67556E17DF5C82B4F9D00
|
||||||
|
-> FE5FB63876A1D718A8C67556E17DF5C82B4F9D00.asc
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local files=( ${A} )
|
||||||
|
insinto /usr/share/openpgp-keys
|
||||||
|
newins - django.asc < <(cat "${files[@]/#/${DISTDIR}/}")
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST tpm-tools-1.3.9.1.tar.gz 482859 BLAKE2B ee915679e23bead04672bf719ce59bb6f20b550be39855b5304caeff554bf54d3cfe9104d464af7762388995e51d2bed0f9bedad83e42146cb7457382d09f4b2 SHA512 63a9c0e761cd890cc0a218de79a9c0169e151aba7824c19bf6b7ec894cf41c4950de1f63bd849aa93a4bdff36cf0fe557bc17113912b6d77f57f2bf1190b6a08
|
DIST tpm-tools-1.3.9.1.tar.gz 482859 BLAKE2B ee915679e23bead04672bf719ce59bb6f20b550be39855b5304caeff554bf54d3cfe9104d464af7762388995e51d2bed0f9bedad83e42146cb7457382d09f4b2 SHA512 63a9c0e761cd890cc0a218de79a9c0169e151aba7824c19bf6b7ec894cf41c4950de1f63bd849aa93a4bdff36cf0fe557bc17113912b6d77f57f2bf1190b6a08
|
||||||
|
DIST tpm-tools-1.3.9.2.tar.gz 431930 BLAKE2B bbea3848765d9907c6faa1b5f4a60002e94243040985ce503f392bc8d7392bea41b54317b15fd227b5d73d589cf2c330729532448751d4375484375725310dfa SHA512 b684716c71702140591d89eb03d3724ed5b448e7ba2881bc44de9d44ffc23a9f7dfcf4351eec24e5438cc883f49a7dafee82bb19f90800610cf764ce74e60ccb
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
|
||||||
|
HOMEPAGE="http://trousers.sourceforge.net"
|
||||||
|
SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CPL-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~x86"
|
||||||
|
IUSE="libressl nls pkcs11 debug"
|
||||||
|
|
||||||
|
DEPEND=">=app-crypt/trousers-0.3.0
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
pkcs11? ( dev-libs/opencryptoki )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="nls? ( sys-devel/gettext )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# upstream didn't generate the tarball correctly so we must bootstrap
|
||||||
|
# ouselves
|
||||||
|
mkdir -p po || die
|
||||||
|
mkdir -p m4 || die
|
||||||
|
cp -R po_/* po/ || die
|
||||||
|
touch po/Makefile.in.in || die
|
||||||
|
touch m4/Makefile.am || die
|
||||||
|
|
||||||
|
sed -i -r \
|
||||||
|
-e '/CFLAGS/s/ -m64//' \
|
||||||
|
configure.ac || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-cppflags $(usex debug -DDEBUG -DNDEBUG)
|
||||||
|
|
||||||
|
econf \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use pkcs11 || echo --disable-pkcs11-support)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST free42-nologo-2.0.20.tgz 7390214 BLAKE2B 306f3378bcbb44fa7982c5d9c29bfbea62e915ca50ca5e5216f46fbf483f110a1288d4800991a74622a042517496ff8dd94c3fa3249e8bb4181957e6b23d5ea3 SHA512 9b540fbc50df2f94b135b5e778354f330df77a54ef2ad99b257b5b91d1e3e8d1241e8a834522fc46fe33571ea2695ad8889b427dbcf653870672e89cd56d60f5
|
DIST free42-nologo-2.0.20.tgz 7390214 BLAKE2B 306f3378bcbb44fa7982c5d9c29bfbea62e915ca50ca5e5216f46fbf483f110a1288d4800991a74622a042517496ff8dd94c3fa3249e8bb4181957e6b23d5ea3 SHA512 9b540fbc50df2f94b135b5e778354f330df77a54ef2ad99b257b5b91d1e3e8d1241e8a834522fc46fe33571ea2695ad8889b427dbcf653870672e89cd56d60f5
|
||||||
DIST free42-nologo-2.5.18.tgz 7413195 BLAKE2B c3d7d92c2f9b527fb6932f46644cb306217ab103bde1ecfd52a2659a1a71eaef199abeda8b24977e338757bfd57c824c31bc3bf9aa396e3372629b04737e6232 SHA512 3543d0a0cc4dff9c96c1121f221dded40f2574fffbd4747ef179b0d5cf75a003f49bc548df554fb46504af787d9d2fdb434c23a420f4b3592c838f4d00ac7140
|
|
||||||
DIST free42-nologo-2.5.20.tgz 7414358 BLAKE2B f1e0963e6a808121efc4d9bd82863d8c7898f65504d4c59f6a6beadc0c4e5c1335ce4c65d25550a3f4d5c080e1933ad30f6325661af4a513f69941c48adda1a5 SHA512 04a01f29ed5a3c9374de98ead6c54191dbde6b0e3d9923b5c89f18f868630b50235711820e751e4a1e3efc0600b1a7a105e8800f660d67124458a8f2826c840f
|
DIST free42-nologo-2.5.20.tgz 7414358 BLAKE2B f1e0963e6a808121efc4d9bd82863d8c7898f65504d4c59f6a6beadc0c4e5c1335ce4c65d25550a3f4d5c080e1933ad30f6325661af4a513f69941c48adda1a5 SHA512 04a01f29ed5a3c9374de98ead6c54191dbde6b0e3d9923b5c89f18f868630b50235711820e751e4a1e3efc0600b1a7a105e8800f660d67124458a8f2826c840f
|
||||||
|
DIST free42-nologo-2.5.21.tgz 7416422 BLAKE2B e86d24a9d2a1fb10e2e1ed0ec9abb43fa5bab3717432402968682ac7e18b27ea0876c72466942220d234d720fc76cd239bafa993d1aba21ab845be26b53d3132 SHA512 25cec0ca7c5b9271de3d6ebf6254dbf54c6127b958e19a0c5b824c3aeffe0c84edfb6dd75eef8930c7db15c46c052bf01cdb06b0c60ac7cd2272492fe4016924
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
https://bugs.gentoo.org/753761
|
||||||
|
|
||||||
|
diff --git a/src/util/virgdbus.c b/src/util/virgdbus.c
|
||||||
|
index 4360a6a..4ad1a5c 100644
|
||||||
|
--- a/src/util/virgdbus.c
|
||||||
|
+++ b/src/util/virgdbus.c
|
||||||
|
@@ -54,11 +54,15 @@ virGDBusBusInit(GBusType type, GError **error)
|
||||||
|
if (sharedBus) {
|
||||||
|
return g_bus_get_sync(type, NULL, error);
|
||||||
|
} else {
|
||||||
|
+ GDBusConnectionFlags dbusFlags =
|
||||||
|
+ G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT |
|
||||||
|
+ G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION;
|
||||||
|
+
|
||||||
|
address = g_dbus_address_get_for_bus_sync(type, NULL, error);
|
||||||
|
- if (error)
|
||||||
|
+ if (*error)
|
||||||
|
return NULL;
|
||||||
|
return g_dbus_connection_new_for_address_sync(address,
|
||||||
|
- G_DBUS_CONNECTION_FLAGS_NONE,
|
||||||
|
+ dbusFlags,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
error);
|
@ -0,0 +1 @@
|
|||||||
|
DIST snapd-2.47.1.tar.xz 3664756 BLAKE2B 90cb117ea385890c38c6efdecd3652c115158ad769858ebe1a5035d37c9543da5b2a8768ce4f56cfcee053701d308f826bf7993d9b5f9d5313f2840ca829ab23 SHA512 e08dd7057b85b970a1177996c483d3f663b1424cdbf6643a69923a7012d38fc13109b449ce3a2c5c8d65e5836f93a36567f2f641a62caea6e9989a458f7f2892
|
@ -0,0 +1,47 @@
|
|||||||
|
Use this command to enable the snapd service:
|
||||||
|
|
||||||
|
systemctl enable snapd.socket
|
||||||
|
|
||||||
|
You can source /etc/profile.d/snapd.sh in your shell in order to
|
||||||
|
update PATH and XDG_DATA_DIRS environment variables to include
|
||||||
|
installed snaps.
|
||||||
|
|
||||||
|
Once you have snapd running (first refer to the *AppArmor Section*
|
||||||
|
below if you have that enabled), see the snap-store installation
|
||||||
|
instructions here:
|
||||||
|
|
||||||
|
https://snapcraft.io/docs/installing-snap-store-app
|
||||||
|
|
||||||
|
If snap-store does not work correctly then it may be due to a temporary
|
||||||
|
service outage which will hopefully be reported on this page:
|
||||||
|
|
||||||
|
https://status.snapcraft.io/
|
||||||
|
|
||||||
|
When snap-store is not working due to a service outage, it may still
|
||||||
|
be possible to install apps via the snap cli. See snap --help for
|
||||||
|
details. Many apps can be installed without a snap store (Ubuntu One)
|
||||||
|
account. The snap login, logout, and whoami subcommands are available
|
||||||
|
to manage snap store account details.
|
||||||
|
|
||||||
|
Note that you will need a polkit authentication agent running in
|
||||||
|
order to authenticate as root when installing snaps as a non-root user.
|
||||||
|
The agent is typically started by a desktop entry found in
|
||||||
|
/etc/xdg/autostart such as one of these:
|
||||||
|
|
||||||
|
polkit-gnome-authentication-agent-1.desktop
|
||||||
|
polkit-kde-authentication-agent-1.desktop
|
||||||
|
|
||||||
|
*AppArmor Section*
|
||||||
|
|
||||||
|
When apparmor is enabled you should enable these services:
|
||||||
|
|
||||||
|
systemctl enable apparmor.service snapd.apparmor.service
|
||||||
|
|
||||||
|
You also need it enabled in your kernel and you may need to add these
|
||||||
|
kernel parameters to your boot loader configuration:
|
||||||
|
|
||||||
|
apparmor=1 security=apparmor
|
||||||
|
|
||||||
|
Refer here for more information about apparmor:
|
||||||
|
|
||||||
|
https://wiki.gentoo.org/wiki/AppArmor
|
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>zmedico@gentoo.org</email>
|
||||||
|
<name>Zac Medico</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">snapcore/snapd</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="apparmor">
|
||||||
|
Enable AppArmor support.
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,180 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
EGO_PN="github.com/snapcore/${PN}"
|
||||||
|
inherit autotools bash-completion-r1 golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Service and tools for management of snap packages"
|
||||||
|
HOMEPAGE="http://snapcraft.io/"
|
||||||
|
|
||||||
|
MY_S="${S}/src/github.com/snapcore/${PN}"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/snapcore/${PN}/releases/download/${PV}/${PN}_${PV}.vendor.tar.xz -> ${P}.tar.xz"
|
||||||
|
MY_PV=${PV}
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
LICENSE="GPL-3 Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="apparmor gtk kde systemd"
|
||||||
|
REQUIRED_USE="systemd"
|
||||||
|
|
||||||
|
CONFIG_CHECK="~CGROUPS
|
||||||
|
~CGROUP_DEVICE
|
||||||
|
~CGROUP_FREEZER
|
||||||
|
~NAMESPACES
|
||||||
|
~SQUASHFS
|
||||||
|
~SQUASHFS_ZLIB
|
||||||
|
~SQUASHFS_LZO
|
||||||
|
~SQUASHFS_XZ
|
||||||
|
~BLK_DEV_LOOP
|
||||||
|
~SECCOMP
|
||||||
|
~SECCOMP_FILTER"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-libs/libseccomp:=
|
||||||
|
apparmor? (
|
||||||
|
sec-policy/apparmor-profiles
|
||||||
|
sys-apps/apparmor:=
|
||||||
|
)
|
||||||
|
dev-libs/glib
|
||||||
|
virtual/libudev
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
sys-libs/libcap:=
|
||||||
|
sys-fs/squashfs-tools"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-lang/go-1.9
|
||||||
|
dev-python/docutils
|
||||||
|
sys-devel/gettext"
|
||||||
|
|
||||||
|
PDEPEND="sys-auth/polkit[gtk?,kde?]"
|
||||||
|
|
||||||
|
README_GENTOO_SUFFIX=""
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use apparmor; then
|
||||||
|
CONFIG_CHECK+=" ~SECURITY_APPARMOR"
|
||||||
|
fi
|
||||||
|
linux-info_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Update apparmor profile to allow libtinfow.so*
|
||||||
|
sed -i 's/libtinfo/libtinfo{,w}/' \
|
||||||
|
"${MY_S}/cmd/snap-confine/snap-confine.apparmor.in" || die
|
||||||
|
|
||||||
|
# Add "gentoo" to altDirDistros: https://github.com/snapcore/snapd/pull/9588
|
||||||
|
echo -e '@@ -289,2 +289,3 @@ func SetRootDir(rootdir string) {
|
||||||
|
\x20 "fedora",
|
||||||
|
+ "gentoo",
|
||||||
|
\x20 "manjaro",' | patch "${MY_S}/dirs/dirs.go" || die
|
||||||
|
|
||||||
|
sed -i 's:command -v git >/dev/null:false:' -i "${MY_S}/mkversion.sh" || die
|
||||||
|
|
||||||
|
pushd "${MY_S}" >/dev/null || die
|
||||||
|
./mkversion.sh "${PV}"
|
||||||
|
popd >/dev/null || die
|
||||||
|
pushd "${MY_S}/cmd" >/dev/null || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
SNAPD_MAKEARGS=(
|
||||||
|
"BINDIR=${EPREFIX}/usr/bin"
|
||||||
|
"DBUSSERVICESDIR=${EPREFIX}/usr/share/dbus-1/services"
|
||||||
|
"LIBEXECDIR=${EPREFIX}/usr/lib"
|
||||||
|
"SNAP_MOUNT_DIR=${EPREFIX}/var/lib/snapd/snap"
|
||||||
|
"SYSTEMDSYSTEMUNITDIR=$(systemd_get_systemunitdir)"
|
||||||
|
)
|
||||||
|
export CGO_ENABLED="1"
|
||||||
|
export CGO_CFLAGS="${CFLAGS}"
|
||||||
|
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||||
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||||
|
export CGO_LDFLAGS="${LDFLAGS}"
|
||||||
|
|
||||||
|
pushd "${MY_S}/cmd" >/dev/null || die
|
||||||
|
econf --libdir="${EPREFIX}/usr/lib" \
|
||||||
|
--libexecdir="${EPREFIX}/usr/lib/snapd" \
|
||||||
|
$(use_enable apparmor) \
|
||||||
|
--enable-nvidia-biarch \
|
||||||
|
--with-snap-mount-dir="${EPREFIX}/var/lib/snapd/snap"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export -n GOCACHE XDG_CACHE_HOME
|
||||||
|
export GO111MODULE=off GOBIN="${S}/bin" GOPATH="${S}"
|
||||||
|
|
||||||
|
local file
|
||||||
|
for file in "${MY_S}/po/"*.po; do
|
||||||
|
msgfmt "${file}" -o "${file%.po}.mo" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
emake -C "${MY_S}/data" "${SNAPD_MAKEARGS[@]}"
|
||||||
|
|
||||||
|
local -a flags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath)
|
||||||
|
local -a staticflags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS} -static'" -trimpath)
|
||||||
|
|
||||||
|
local cmd
|
||||||
|
for cmd in snap snapd snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do
|
||||||
|
go build -o "${GOBIN}/${cmd}" "${flags[@]}" \
|
||||||
|
-v -x "github.com/snapcore/${PN}/cmd/${cmd}"
|
||||||
|
[[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}"
|
||||||
|
done
|
||||||
|
for cmd in snapctl snap-exec snap-update-ns; do
|
||||||
|
go build -o "${GOBIN}/${cmd}" "${staticflags[@]}" \
|
||||||
|
-v -x "github.com/snapcore/${PN}/cmd/${cmd}"
|
||||||
|
[[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -C "${MY_S}/data" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}"
|
||||||
|
emake -C "${MY_S}/cmd" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}"
|
||||||
|
|
||||||
|
if use apparmor; then
|
||||||
|
mv "${ED}/etc/apparmor.d/usr.lib.snapd.snap-confine"{,.real} || die
|
||||||
|
keepdir /var/lib/snapd/apparmor/profiles
|
||||||
|
fi
|
||||||
|
keepdir /var/lib/snapd/{apparmor/snap-confine,cache,cookie,snap,void}
|
||||||
|
fperms 700 /var/lib/snapd/{cache,cookie}
|
||||||
|
|
||||||
|
dobin "${GOBIN}/"{snap,snapctl}
|
||||||
|
ln "${ED}/usr/bin/snapctl" "${ED}/usr/lib/snapd/snapctl" || die
|
||||||
|
|
||||||
|
exeinto /usr/lib/snapd
|
||||||
|
doexe "${GOBIN}/"{snapd,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \
|
||||||
|
"${MY_S}/"{cmd/snap-confine/snap-device-helper,cmd/snap-discard-ns/snap-discard-ns,cmd/snap-gdb-shim/snap-gdb-shim,cmd/snap-mgmt/snap-mgmt} \
|
||||||
|
"${MY_S}/data/completion/bash/"{complete.sh,etelpmoc.sh,}
|
||||||
|
|
||||||
|
dobashcomp "${MY_S}/data/completion/bash/snap"
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins "${MY_S}/data/completion/zsh/_snap"
|
||||||
|
|
||||||
|
insinto "/usr/share/polkit-1/actions"
|
||||||
|
doins "${MY_S}/data/polkit/io.snapcraft.snapd.policy"
|
||||||
|
|
||||||
|
dodoc "${MY_S}/packaging/ubuntu-16.04/changelog"
|
||||||
|
domo "${MY_S}/po/"*.mo
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles &&
|
||||||
|
$(wc -l < /sys/kernel/security/apparmor/profiles) -gt 0 ]]; then
|
||||||
|
apparmor_parser -r "${EPREFIX}/etc/apparmor.d/usr.lib.snapd.snap-confine.real"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
|
DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
|
||||||
|
DIST jq-1.7_pre20201109.tar.gz 1181867 BLAKE2B 9db187ab927b635c43fbc6191aeffa00451b12253ae023bbabe6fba5fdf8fb393f8450ee2011ef58cb93e2f27994d454fac967984a721439aaac93259c02f7f1 SHA512 f2997d70edb36d0a23b71a7d933a763cedd7c74ffa3129c2a6cb7189aaff1c5095cdc51062b7cd119324ec2c83ebae6ff0b7da3941315303b7a31146b9eb285a
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 0441d4a..8f1aa23 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -283,4 +283,11 @@ AC_SUBST([BUNDLER], ["$bundle_cmd"])
|
||||||
|
AC_CONFIG_MACRO_DIR([config/m4])
|
||||||
|
AC_CONFIG_FILES([Makefile libjq.pc])
|
||||||
|
AC_OUTPUT
|
||||||
|
-
|
||||||
|
+AC_ARG_ENABLE([rpathhack],
|
||||||
|
+ [AC_HELP_STRING([--enable-rpathhack], [patch libtool to remove RPATH])],
|
||||||
|
+ [
|
||||||
|
+AC_MSG_RESULT([patching libtool to fix rpath])
|
||||||
|
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
+ ],
|
||||||
|
+ [])
|
@ -0,0 +1,41 @@
|
|||||||
|
diff --git a/src/jv_print.c b/src/jv_print.c
|
||||||
|
index 2e781bb..e621b31 100644
|
||||||
|
--- a/src/jv_print.c
|
||||||
|
+++ b/src/jv_print.c
|
||||||
|
@@ -32,7 +32,7 @@ static const jv_kind color_kinds[] =
|
||||||
|
static char color_bufs[sizeof(color_kinds)/sizeof(color_kinds[0])][16];
|
||||||
|
static const char *color_bufps[8];
|
||||||
|
static const char* def_colors[] =
|
||||||
|
- {COL("1;30"), COL("0;37"), COL("0;37"), COL("0;37"),
|
||||||
|
+ {COL("1;90"), COL("0;37"), COL("0;37"), COL("0;37"),
|
||||||
|
COL("0;32"), COL("1;37"), COL("1;37")};
|
||||||
|
#define FIELD_COLOR COL("34;1")
|
||||||
|
|
||||||
|
diff --git a/tests/shtest b/tests/shtest
|
||||||
|
index 8ed62b2..2d3f0da 100755
|
||||||
|
--- a/tests/shtest
|
||||||
|
+++ b/tests/shtest
|
||||||
|
@@ -280,12 +280,12 @@ fi
|
||||||
|
|
||||||
|
# Check $JQ_COLORS
|
||||||
|
$JQ -Ccn . > $d/color
|
||||||
|
-printf '\033[1;30mnull\033[0m\n' > $d/expect
|
||||||
|
+printf '\033[1;90mnull\033[0m\n' > $d/expect
|
||||||
|
cmp $d/color $d/expect
|
||||||
|
JQ_COLORS='4;31' $JQ -Ccn . > $d/color
|
||||||
|
printf '\033[4;31mnull\033[0m\n' > $d/expect
|
||||||
|
cmp $d/color $d/expect
|
||||||
|
-JQ_COLORS='1;30:0;31:0;32:0;33:0;34:1;35:1;36' \
|
||||||
|
+JQ_COLORS='1;90:0;31:0;32:0;33:0;34:1;35:1;36' \
|
||||||
|
$JQ -Ccn '[{"a":true,"b":false},123,null]' > $d/color
|
||||||
|
(
|
||||||
|
printf '\033[1;35m[\033[1;36m{'
|
||||||
|
@@ -298,7 +298,7 @@ printf '[0m\033[0;31mfalse\033'
|
||||||
|
printf '[0m\033[1;36m\033[1;36'
|
||||||
|
printf 'm}\033[0m\033[1;35m,\033['
|
||||||
|
printf '0;33m123\033[0m\033[1;'
|
||||||
|
-printf '35m,\033[1;30mnull\033'
|
||||||
|
+printf '35m,\033[1;90mnull\033'
|
||||||
|
printf '[0m\033[1;35m\033[1;35'
|
||||||
|
printf 'm]\033[0m\n'
|
||||||
|
) > $d/expect
|
@ -0,0 +1,44 @@
|
|||||||
|
diff --git a/src/builtin.c b/src/builtin.c
|
||||||
|
index bf80c7b..12db573 100644
|
||||||
|
--- a/src/builtin.c
|
||||||
|
+++ b/src/builtin.c
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
#define _BSD_SOURCE
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
+#define _DEFAULT_SOURCE
|
||||||
|
#ifndef __sun__
|
||||||
|
# define _XOPEN_SOURCE
|
||||||
|
# define _XOPEN_SOURCE_EXTENDED 1
|
||||||
|
diff --git a/src/jv_dtoa.c b/src/jv_dtoa.c
|
||||||
|
index 33feb99..fcbd902 100644
|
||||||
|
--- a/src/jv_dtoa.c
|
||||||
|
+++ b/src/jv_dtoa.c
|
||||||
|
@@ -2327,7 +2327,7 @@ retlow1:
|
||||||
|
jvp_strtod
|
||||||
|
(struct dtoa_context* C, const char *s00, char **se)
|
||||||
|
{
|
||||||
|
- int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, e, e1, test_scale;
|
||||||
|
+ int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, e, e1;
|
||||||
|
int esign, i, j, k, nd, nd0, nf, nz, nz0, nz1, sign;
|
||||||
|
CONST char *s, *s0, *s1;
|
||||||
|
double aadj, aadj1;
|
||||||
|
diff --git a/src/jv_dtoa_tsd.c b/src/jv_dtoa_tsd.c
|
||||||
|
index 0f95df4..e5209dd 100644
|
||||||
|
--- a/src/jv_dtoa_tsd.c
|
||||||
|
+++ b/src/jv_dtoa_tsd.c
|
||||||
|
@@ -24,7 +24,7 @@ static void tsd_dtoa_ctx_fini() {
|
||||||
|
}
|
||||||
|
|
||||||
|
static void tsd_dtoa_ctx_init() {
|
||||||
|
- if (pthread_key_create(&dtoa_ctx_key, tsd_dtoa_ctx_dtor) != 0) {
|
||||||
|
+ if (pthread_key_create(&dtoa_ctx_key, (void (*)(void *))tsd_dtoa_ctx_dtor) != 0) {
|
||||||
|
fprintf(stderr, "error: cannot create thread specific key");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
@@ -43,4 +43,4 @@ inline struct dtoa_context *tsd_dtoa_context_get() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ctx;
|
||||||
|
-}
|
||||||
|
\ No newline at end of file
|
||||||
|
+}
|
@ -0,0 +1,85 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
COMMIT_HASH="a17dd3248a666d01be75f6b16be37e80e20b0954"
|
||||||
|
|
||||||
|
DESCRIPTION="A lightweight and flexible command-line JSON processor"
|
||||||
|
HOMEPAGE="https://stedolan.github.io/jq/"
|
||||||
|
#SRC_URI="https://github.com/stedolan/jq/releases/download/${P}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/stedolan/jq/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
|
||||||
|
|
||||||
|
LICENSE="MIT CC-BY-3.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos"
|
||||||
|
IUSE="+oniguruma static-libs test"
|
||||||
|
|
||||||
|
ONIGURUMA_MINPV='>=dev-libs/oniguruma-6.1.3' # Keep this in sync with bundled modules/oniguruma/
|
||||||
|
DEPEND="
|
||||||
|
>=sys-devel/bison-3.0
|
||||||
|
sys-devel/flex
|
||||||
|
oniguruma? ( ${ONIGURUMA_MINPV}:=[static-libs?] )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
!static-libs? (
|
||||||
|
oniguruma? ( ${ONIGURUMA_MINPV}[static-libs?] )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/jq-1.6-r3-never-bundle-oniguruma.patch
|
||||||
|
"${FILESDIR}"/jq-1.7-runpath.patch
|
||||||
|
"${FILESDIR}"/jq-1.7-warnings.patch
|
||||||
|
"${FILESDIR}"/jq-1.7-visible-null.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
REQUIRED_USE="test? ( oniguruma )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die
|
||||||
|
sed -r -e "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \
|
||||||
|
-i configure.ac || die
|
||||||
|
|
||||||
|
# jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma,
|
||||||
|
# but the bundled copy of oniguruma still gets eautoreconf'd since it
|
||||||
|
# exists; save the cycles by nuking it.
|
||||||
|
sed -e '/modules\/oniguruma/d' -i Makefile.am || die
|
||||||
|
rm -rf "${S}"/modules/oniguruma || die
|
||||||
|
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local econfargs=(
|
||||||
|
# don't try to rebuild docs
|
||||||
|
--disable-docs
|
||||||
|
--disable-valgrind
|
||||||
|
--disable-maintainer-mode
|
||||||
|
--enable-rpathhack
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_with oniguruma oniguruma yes)
|
||||||
|
)
|
||||||
|
econf "${econfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if ! LD_LIBRARY_PATH="${S}/.libs" nonfatal emake check; then
|
||||||
|
if [[ -r "${S}/test-suite.log" ]]; then
|
||||||
|
eerror "Tests failed, outputting testsuite log"
|
||||||
|
cat "${S}/test-suite.log"
|
||||||
|
fi
|
||||||
|
die "Tests failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local DOCS=( AUTHORS NEWS README.md )
|
||||||
|
default
|
||||||
|
|
||||||
|
use static-libs || { find "${D}" -name '*.la' -delete || die; }
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621 SHA512 f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
|
DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621 SHA512 f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
|
||||||
DIST tmuxp-1.5.5.tar.gz 856665 BLAKE2B fa18222840b9c221de48a78291243776a66a7aec3221f23be3218f81eae0d15ce5a4568f7eff679c01793d4ac4d441f6714c37d9ac3c9f705af49214f5dc2570 SHA512 61c14197af7742b48dab95443bb818ede20d26aa46ab2e89b883a34e2bcec910d8210fc1358fc88f96ccc637c47d6432082cd58995b80a43234cebba95240ebc
|
DIST tmuxp-1.5.5.tar.gz 856665 BLAKE2B fa18222840b9c221de48a78291243776a66a7aec3221f23be3218f81eae0d15ce5a4568f7eff679c01793d4ac4d441f6714c37d9ac3c9f705af49214f5dc2570 SHA512 61c14197af7742b48dab95443bb818ede20d26aa46ab2e89b883a34e2bcec910d8210fc1358fc88f96ccc637c47d6432082cd58995b80a43234cebba95240ebc
|
||||||
DIST tmuxp-1.5.6.tar.gz 883700 BLAKE2B c8ad08c709aa1763cc046a05c6241983d2cdd33ca530ce0510ae7bb68ce3e340d40c6ec23c9544ef8b0d8da38aad74305e13d7b6348b0f46da929e94b3e862ff SHA512 1db74aa9ee6274aacec127aff210e8ed64176142991a9691c31c59ef0370503dddeb35b69c0a8229204968308c68788d408d6a5e0bc2ad1fb3320727ea4994f9
|
DIST tmuxp-1.5.6.tar.gz 883700 BLAKE2B c8ad08c709aa1763cc046a05c6241983d2cdd33ca530ce0510ae7bb68ce3e340d40c6ec23c9544ef8b0d8da38aad74305e13d7b6348b0f46da929e94b3e862ff SHA512 1db74aa9ee6274aacec127aff210e8ed64176142991a9691c31c59ef0370503dddeb35b69c0a8229204968308c68788d408d6a5e0bc2ad1fb3320727ea4994f9
|
||||||
|
DIST tmuxp-1.6.2.tar.gz 1014758 BLAKE2B c6c60978938892311151cfff35bdc74e2daa9a615b2952a14c4a0020e434af7c28d36466a5ae82db683c6bda9a95f12f7e032d04eb58c5b164aeb05b144b2005 SHA512 a38c3f46a726df0cd885113d82ed5a186d68f6d643a7bde6d169908373e6881fac14c8c46c00ede727e47e4e1af5f9d3cd79cb0057457478ace1ec0ba0632cfb
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 2019-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6..8} pypy3 )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="tmux session manager. built on libtmux"
|
||||||
|
HOMEPAGE="https://tmuxp.git-pull.com"
|
||||||
|
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-misc/tmux-3.0a
|
||||||
|
>=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/libtmux-0.8.5[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/libtmux-0.9[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
>=dev-python/pytest-4.1.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
||||||
|
!dev-python/flaky
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
Binary file not shown.
@ -1,29 +0,0 @@
|
|||||||
From 5f3f17a9c64e33fb787a79dc94d902147da77d71 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Noel Grandin <noelgrandin@gmail.com>
|
|
||||||
Date: Sat, 19 Sep 2020 20:38:29 +0200
|
|
||||||
Subject: fix non-pdfium build
|
|
||||||
|
|
||||||
Change-Id: Ic1e30a412927748ba58a21cf2ee922cd1a490aa4
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103040
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
||||||
---
|
|
||||||
vcl/source/filter/ipdf/pdfread.cxx | 2 +-
|
|
||||||
xmlsecurity/source/pdfio/pdfdocument.cxx | 12 +++++++-----
|
|
||||||
2 files changed, 8 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
|
|
||||||
index 39c2933be8d5..a9b079a75bc3 100644
|
|
||||||
--- a/vcl/source/filter/ipdf/pdfread.cxx
|
|
||||||
+++ b/vcl/source/filter/ipdf/pdfread.cxx
|
|
||||||
@@ -220,7 +220,7 @@ size_t RenderPDFBitmaps(const void* pBuffer, int nSize, std::vector<Bitmap>& rBi
|
|
||||||
(void)rBitmaps;
|
|
||||||
(void)nFirstPage;
|
|
||||||
(void)nPages;
|
|
||||||
- (void)fResolutionDPI;
|
|
||||||
+ (void)pSizeHint;
|
|
||||||
return 0;
|
|
||||||
#endif // HAVE_FEATURE_PDFIUM
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
|
DIST TexMaths-0.48.2.oxt 1163062 BLAKE2B 5afcecfd436ff0c6eae7d6ba3cbd2e2b56b0d7b08220279eabda5264c995d9ab43252166a227103c7bd3f40acfa36d9258d158d774bc2dde7d5e7cdcd26918d6 SHA512 1bdaa018c4b5702a9fb5e8e0cac6e4bf177ab179c033ea232b4ef9524b69ef28f6a1bd6ecc2a4e5e0c941cc8b620d883cbb82b70b5dc441478e51e186fd3e783
|
||||||
DIST TexMaths-0.48.oxt 666714 BLAKE2B 63d811ec60fde66faaaa0ac6d41760eee87df2a1e9cfa023b5f3177bc845a693b54d99bb56fbcbfda64a9ec23ed342e11fa7af0be4241dadb267e06cf6543413 SHA512 29e42fd8fe75d1f14bec7fa0eaf531877d50720c8240a144a1cc3a47ee1feb4ba4b163672deb8e0d0b5ecf354370116d31a1ea3bb013a188122433f41e48cd0b
|
DIST TexMaths-0.48.oxt 666714 BLAKE2B 63d811ec60fde66faaaa0ac6d41760eee87df2a1e9cfa023b5f3177bc845a693b54d99bb56fbcbfda64a9ec23ed342e11fa7af0be4241dadb267e06cf6543413 SHA512 29e42fd8fe75d1f14bec7fa0eaf531877d50720c8240a144a1cc3a47ee1feb4ba4b163672deb8e0d0b5ecf354370116d31a1ea3bb013a188122433f41e48cd0b
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_P="TexMaths-${PV}"
|
||||||
|
|
||||||
|
OFFICE_EXTENSIONS=(
|
||||||
|
"${MY_P}.oxt"
|
||||||
|
)
|
||||||
|
|
||||||
|
inherit office-ext-r1
|
||||||
|
|
||||||
|
DESCRIPTION="LaTeX Equation Editor for LibreOffice"
|
||||||
|
HOMEPAGE="http://roland65.free.fr/texmaths/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.oxt"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-text/dvisvgm
|
||||||
|
virtual/tex-base
|
||||||
|
"
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST unsymlink-lib-18.tar.gz 10807 BLAKE2B 0c15ba8fadc96641139db68068c6402f24bd9129b452a8996c393ee899b274e7a5c96d58c2745b74ec3dbb469008a6756041b153abbbe3f29aca5f93c8700834 SHA512 bb08f1c35046d756aee752c7cd28f8eb93c562587f2fbc0070817c11fd42f3d12fade9c8ad29c508813e10993f5b622c9d33da52e49dfa7e16b1997a72d491f5
|
DIST unsymlink-lib-18.tar.gz 10807 BLAKE2B 0c15ba8fadc96641139db68068c6402f24bd9129b452a8996c393ee899b274e7a5c96d58c2745b74ec3dbb469008a6756041b153abbbe3f29aca5f93c8700834 SHA512 bb08f1c35046d756aee752c7cd28f8eb93c562587f2fbc0070817c11fd42f3d12fade9c8ad29c508813e10993f5b622c9d33da52e49dfa7e16b1997a72d491f5
|
||||||
|
DIST unsymlink-lib-19.tar.gz 11235 BLAKE2B 955583517c485125722bdc808e1038c038509fad0afe0774f16299f2eb3a6088d7433e11565567bb3c9976a27910fbd9fe92289eaa210062f38eb9e3b15e120b SHA512 98943c887aeb70fc667c2092b985fe0078f127123d271cc45e1abb3e9b6218f1190bd23f140fa9775dca1d473d03113e6cfa8aeca8985cfc31f1cb459c4c620e
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
inherit python-single-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Convert your system to SYMLINK_LIB=no"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/unsymlink-lib"
|
||||||
|
SRC_URI="https://github.com/mgorny/unsymlink-lib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
# tests are docker-based, you need a running docker daemon and you
|
||||||
|
# should expect leftover images
|
||||||
|
#RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
sys-apps/portage[${PYTHON_MULTI_USEDEP}]
|
||||||
|
')"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
python_doscript unsymlink-lib
|
||||||
|
dodoc README
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST mm-common-1.0.1.tar.xz 271144 BLAKE2B a5c540c9004103298627146e6483de1345f1c3c1c6a48e3f0821a42f1e875f1753df5d5e8164d4c95e844a3b0229a45e697a49596a0671c9717a7561bfc621de SHA512 1dd5fe5fbcc04c6d42cbf4ff33a06058fdb247f6ed9ce958f7231eb99ca7e4b41ea2b91611e0d3909e0fcc9f45a6a4b2c119c0bd3da8afb1741256ca31e1a33b
|
DIST mm-common-1.0.1.tar.xz 271144 BLAKE2B a5c540c9004103298627146e6483de1345f1c3c1c6a48e3f0821a42f1e875f1753df5d5e8164d4c95e844a3b0229a45e697a49596a0671c9717a7561bfc621de SHA512 1dd5fe5fbcc04c6d42cbf4ff33a06058fdb247f6ed9ce958f7231eb99ca7e4b41ea2b91611e0d3909e0fcc9f45a6a4b2c119c0bd3da8afb1741256ca31e1a33b
|
||||||
|
DIST mm-common-1.0.2.tar.xz 271720 BLAKE2B 955a541290ffc9489a7061a1bdcc4b2cca7ac5e0a834a008b4e15173e3b6df38a5fb719f26fe6f83c073c025c7113bba3586f28a6341d37c7c98cfc93ec50f0a SHA512 106f3aae8bb836386148098037c52fef19c3779f5e8cfbafcbe52eca17340a6e2fb7e5c57154cc0a90b75c0bb23900a4274591a71d85f81391be780c53238de0
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit gnome.org meson
|
||||||
|
|
||||||
|
DESCRIPTION="Build infrastructure and utilities for GNOME C++ bindings"
|
||||||
|
HOMEPAGE="https://www.gtkmm.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Include project version in docdir name
|
||||||
|
sed -i -e "s:^install_docdir.*:& + '-' + meson.project_version():" meson.build || die
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST mariadb-connector-c-3.1.10-src.tar.gz 746801 BLAKE2B 5c6c5b46306cd081d28f2e8be81fea5fd92b5dd75aac7711cfe5958f8a493b1bd84e79c96295b584effcd828303b35c0152a28892fe0bbd2994a6738ef62d5a5 SHA512 6b95b54e1c05a81010659d1b143330cbce411e3327e543eb240a4ab378336826c6958983b96beeaaff64836f4c5cc5c48eb8a7be6bb521dcb2bbe15e4048f38a
|
DIST mariadb-connector-c-3.1.10-src.tar.gz 746801 BLAKE2B 5c6c5b46306cd081d28f2e8be81fea5fd92b5dd75aac7711cfe5958f8a493b1bd84e79c96295b584effcd828303b35c0152a28892fe0bbd2994a6738ef62d5a5 SHA512 6b95b54e1c05a81010659d1b143330cbce411e3327e543eb240a4ab378336826c6958983b96beeaaff64836f4c5cc5c48eb8a7be6bb521dcb2bbe15e4048f38a
|
||||||
|
DIST mariadb-connector-c-3.1.11-src.tar.gz 752342 BLAKE2B 5bee575bffdceb1eff60b7ba3fa334882cf2b2a12446cd6c52663cc5ce2e179bcd19c8452e9bdae3877ac7e9e08f4f6a974d136170c399439c42e1759d226c84 SHA512 2da3a5e438037dde2b9fafb07c084c742983ff4ce18f06cf7a34836aace5317cdb2ddb1bca63143367f5ae827c988d99ee20e8f598fabdb06190d9e2191eb3f4
|
||||||
DIST mariadb-connector-c-3.1.9-src.tar.gz 745374 BLAKE2B 47c1bf1ffe888f6c2aefdb4661ad8bfe41c527d6ddc2b2aaf8da8003eebce90da420a52143265510ac47f07286d6dbfa27c4d82ce193c23aa928d0b22f83b87a SHA512 cf7cd3a7592a15e2a4800c6a899e6b515ef899f4525c9f5f7d09faafbd72ac5b70a85e1c60119f58d1b5caa0f0f3657a544555bb47cdc22eabe74308c0c4bf42
|
DIST mariadb-connector-c-3.1.9-src.tar.gz 745374 BLAKE2B 47c1bf1ffe888f6c2aefdb4661ad8bfe41c527d6ddc2b2aaf8da8003eebce90da420a52143265510ac47f07286d6dbfa27c4d82ce193c23aa928d0b22f83b87a SHA512 cf7cd3a7592a15e2a4800c6a899e6b515ef899f4525c9f5f7d09faafbd72ac5b70a85e1c60119f58d1b5caa0f0f3657a544555bb47cdc22eabe74308c0c4bf42
|
||||||
|
@ -0,0 +1,89 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
VCS_INHERIT=""
|
||||||
|
if [[ "${PV}" == 9999 ]] ; then
|
||||||
|
VCS_INHERIT="git-r3"
|
||||||
|
EGIT_REPO_URI="https://github.com/MariaDB/mariadb-connector-c.git"
|
||||||
|
else
|
||||||
|
MY_PN=${PN#mariadb-}
|
||||||
|
MY_PV=${PV/_b/-b}
|
||||||
|
SRC_URI="https://downloads.mariadb.org/f/${MY_PN}-${PV%_beta}/${PN}-${MY_PV}-src.tar.gz?serve -> ${P}-src.tar.gz"
|
||||||
|
S="${WORKDIR%/}/${PN}-${MY_PV}-src"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit cmake-utils multilib-minimal toolchain-funcs ${VCS_INHERIT}
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=( /usr/bin/mariadb_config )
|
||||||
|
|
||||||
|
MULTILIB_WRAPPED_HEADERS+=(
|
||||||
|
/usr/include/mariadb/mariadb_version.h
|
||||||
|
)
|
||||||
|
|
||||||
|
DESCRIPTION="C client library for MariaDB/MySQL"
|
||||||
|
HOMEPAGE="https://mariadb.org/"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
|
||||||
|
SLOT="0/3"
|
||||||
|
IUSE="+curl gnutls kerberos libressl +ssl static-libs test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||||
|
virtual/libiconv:=[${MULTILIB_USEDEP}]
|
||||||
|
curl? ( net-misc/curl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( || ( app-crypt/mit-krb5[${MULTILIB_USEDEP}]
|
||||||
|
app-crypt/heimdal[${MULTILIB_USEDEP}] ) )
|
||||||
|
ssl? (
|
||||||
|
gnutls? ( >=net-libs/gnutls-3.3.24:0=[${MULTILIB_USEDEP}] )
|
||||||
|
!gnutls? (
|
||||||
|
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/gentoo-layout-3.0.patch
|
||||||
|
"${FILESDIR}"/${PN}-3.1.3-fix-pkconfig-file.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# bug 508724 mariadb cannot use ld.gold
|
||||||
|
tc-ld-disable-gold
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_EXTERNAL_ZLIB=ON
|
||||||
|
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
|
||||||
|
-DWITH_CURL=$(usex curl ON OFF)
|
||||||
|
-DWITH_ICONV=ON
|
||||||
|
-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF)
|
||||||
|
-DMARIADB_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||||
|
-DINSTALL_LIBDIR="$(get_libdir)"
|
||||||
|
-DINSTALL_PCDIR="$(get_libdir)/pkgconfig"
|
||||||
|
-DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin"
|
||||||
|
-DINSTALL_BINDIR=bin
|
||||||
|
-DWITH_UNIT_TESTS=$(usex test ON OFF)
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake-utils_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
if ! use static-libs ; then
|
||||||
|
find "${D}" -name "*.a" -delete || die
|
||||||
|
fi
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,7 @@
|
|||||||
DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82 SHA512 eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd
|
DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82 SHA512 eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd
|
||||||
DIST mongodb-src-r3.6.17.tar.gz 40932592 BLAKE2B 94bbb943fd929318a2b32344cb4574243ad234d1cd14ffef864d7fd2d60841866fd5a1966eae8f14266a9648deb62b7b55386d41338b515d5e6849e980143d42 SHA512 b4d9e9bfc7ff886532641058c99da29420d1aa472cb4cf2b254e0fd0af5ecc72ac8bf28dcd55ab738b799b00132ffacddd154dea37ccfbf459c7cc603c2582e0
|
DIST mongodb-src-r3.6.17.tar.gz 40932592 BLAKE2B 94bbb943fd929318a2b32344cb4574243ad234d1cd14ffef864d7fd2d60841866fd5a1966eae8f14266a9648deb62b7b55386d41338b515d5e6849e980143d42 SHA512 b4d9e9bfc7ff886532641058c99da29420d1aa472cb4cf2b254e0fd0af5ecc72ac8bf28dcd55ab738b799b00132ffacddd154dea37ccfbf459c7cc603c2582e0
|
||||||
DIST mongodb-src-r4.0.19.tar.gz 50126414 BLAKE2B 2691e2a9c8833ff9a086b28fd137bc8e8f10d58570117657c7cc01edbf61568ae62f58440d72e8711de98b9fc6868c1095b4ee88eb7b0eb63ea45ce19e842edd SHA512 57032a009ea7e79de4cac496a2d1266b83b99cc45eb9f1169be2fcdca1ed2003a659ceedf9eafbd4aa7fc5b3b0513066a5d712af7666cee5a897b2a2d7dd30cb
|
DIST mongodb-src-r4.0.19.tar.gz 50126414 BLAKE2B 2691e2a9c8833ff9a086b28fd137bc8e8f10d58570117657c7cc01edbf61568ae62f58440d72e8711de98b9fc6868c1095b4ee88eb7b0eb63ea45ce19e842edd SHA512 57032a009ea7e79de4cac496a2d1266b83b99cc45eb9f1169be2fcdca1ed2003a659ceedf9eafbd4aa7fc5b3b0513066a5d712af7666cee5a897b2a2d7dd30cb
|
||||||
|
DIST mongodb-src-r4.0.20.tar.gz 50160192 BLAKE2B 3395399791b0620d3852b5d0a2ab2419f08127d909fac52035dd2624eb22660069401e71b036f449d8fd46be03b9e48ee548fb0c327b67c1eecc72a6ee9045b8 SHA512 dc18216d9096520b309ff769898fb65cf26f765eb74e5e0517617bdb0732c456620bbce351be5ad9f89bc72fea0b6d3afe13bd4cffe2c2b4ea06c9cb2b3b1696
|
||||||
|
DIST mongodb-src-r4.2.10.tar.gz 61800545 BLAKE2B 773f3da589107d932808c30ee3bd09ec006b1c570884fbe6929ea4767581e951fd32b1771e9adf1e392ef97bd4c0e2b4ce5ce30c8bbbfbd63aa36b6ebaa8cbe4 SHA512 3947b2880bc0aaa958f26dfddfe79c7878f389eeeb8d0783360667124d3b253928ef746433c260bf395a219d650a6907bbf712ef61da6137ab85e4e1ba38fcbd
|
||||||
DIST mongodb-src-r4.2.8.tar.gz 61730247 BLAKE2B f1d98b8ac8f62c0c7aff100ef663bb20345de0e77e0ff420817db0843fe735b58af8075578a7f8d83cc9dc4e597c95ae09f89ce7a21cf8146ff15bcb11eba924 SHA512 163fce480762bd377d6c78b661bfe51fc883223a5309a68f9556e1bafb99e26e476d81dbe6de825d90469e835442be097be630ca9678e54b9d09091e0b5d67c4
|
DIST mongodb-src-r4.2.8.tar.gz 61730247 BLAKE2B f1d98b8ac8f62c0c7aff100ef663bb20345de0e77e0ff420817db0843fe735b58af8075578a7f8d83cc9dc4e597c95ae09f89ce7a21cf8146ff15bcb11eba924 SHA512 163fce480762bd377d6c78b661bfe51fc883223a5309a68f9556e1bafb99e26e476d81dbe6de825d90469e835442be097be630ca9678e54b9d09091e0b5d67c4
|
||||||
|
DIST mongodb-src-r4.4.1.tar.gz 49644743 BLAKE2B 7d84998c69b9b55164ebab04b49c38a4113a0f58d431612389ec37eb044fba1adf9284e9d4454bd40bb7a071fd042308a5cd350129d6d52480412cf6b868ec2b SHA512 16aa66995ea8cfe0cc47b96c1c5643a28ab47fc9f27bd93404cf572944ab30492df7c9255553f918b353cd7157a6ccde9ac6f58bfba322fb52c2d7409c6fb9b0
|
||||||
|
@ -0,0 +1,54 @@
|
|||||||
|
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
|
||||||
|
index 6c78164c..b4b7c579 100644
|
||||||
|
--- a/src/mongo/SConscript
|
||||||
|
+++ b/src/mongo/SConscript
|
||||||
|
@@ -805,41 +805,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
|
||||||
|
for target in env["DIST_BINARIES"]:
|
||||||
|
installBinary(env, "db/modules/" + target)
|
||||||
|
|
||||||
|
-compass_type = 'compass'
|
||||||
|
-
|
||||||
|
-compass_script = "install_compass"
|
||||||
|
-if env.TargetOSIs('windows'):
|
||||||
|
- # On windows the .in needs to be explicitly added to the file.
|
||||||
|
- compass_script = "Install-Compass.ps1.in"
|
||||||
|
-
|
||||||
|
-compass_python_interpreter = '/usr/bin/env python2'
|
||||||
|
-if env.TargetOSIs('darwin'):
|
||||||
|
- compass_python_interpreter = '/usr/bin/env python'
|
||||||
|
-
|
||||||
|
-compass_installer = env.Substfile('#/src/mongo/installer/compass/' + compass_script,
|
||||||
|
- SUBST_DICT=[
|
||||||
|
- ('@compass_type@', compass_type),
|
||||||
|
- ('@python_interpreter@', compass_python_interpreter),
|
||||||
|
- ])
|
||||||
|
-distBinaries.append(compass_installer)
|
||||||
|
-
|
||||||
|
-if not hygienic:
|
||||||
|
- compass_script_installer = env.Install("$INSTALL_DIR/bin", compass_installer)
|
||||||
|
-else:
|
||||||
|
- compass_script_installer = env.AutoInstall(
|
||||||
|
- 'bin',
|
||||||
|
- source=[
|
||||||
|
- compass_installer,
|
||||||
|
- ],
|
||||||
|
- INSTALL_ALIAS=[
|
||||||
|
- 'tools',
|
||||||
|
- ],
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
-if env.TargetOSIs('posix'):
|
||||||
|
- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
|
||||||
|
- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
|
||||||
|
-
|
||||||
|
# "dist" target is valid only when --use-new-tools is specified
|
||||||
|
# Attempts to build release artifacts without tools must fail
|
||||||
|
if has_option("use-new-tools"):
|
||||||
|
@@ -857,7 +822,6 @@ if has_option("use-new-tools"):
|
||||||
|
'--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'--transform $BUILD_DIR/mongo/stripped/src/mongo-tools=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'--transform src/mongo-tools=$SERVER_DIST_BASENAME/bin',
|
||||||
|
- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'${TEMPFILE(SOURCES[1:])}'
|
||||||
|
],
|
||||||
|
),
|
@ -0,0 +1,23 @@
|
|||||||
|
diff --git a/SConstruct b/SConstruct
|
||||||
|
index 89c044ab..0484e475 100644
|
||||||
|
--- a/SConstruct
|
||||||
|
+++ b/SConstruct
|
||||||
|
@@ -3511,17 +3511,11 @@ def doConfigure(myenv):
|
||||||
|
"BOOST_LOG_NO_SHORTHAND_NAMES",
|
||||||
|
"BOOST_LOG_USE_NATIVE_SYSLOG",
|
||||||
|
"BOOST_LOG_WITHOUT_THREAD_ATTR",
|
||||||
|
+ "BOOST_LOG_DYN_LINK",
|
||||||
|
"ABSL_FORCE_ALIGNED_ACCESS",
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
- if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':
|
||||||
|
- conf.env.AppendUnique(
|
||||||
|
- CPPDEFINES=[
|
||||||
|
- "BOOST_LOG_DYN_LINK",
|
||||||
|
- ]
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
if use_system_version_of_library("boost"):
|
||||||
|
if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
|
||||||
|
myenv.ConfError("can't find boost headers")
|
@ -0,0 +1,33 @@
|
|||||||
|
diff --git a/SConstruct b/SConstruct
|
||||||
|
index 89c044ab..a6d02072 100644
|
||||||
|
--- a/SConstruct
|
||||||
|
+++ b/SConstruct
|
||||||
|
@@ -2064,7 +2064,6 @@ if env.TargetOSIs('posix'):
|
||||||
|
env.Append( CCFLAGS=["-fno-omit-frame-pointer",
|
||||||
|
"-fno-strict-aliasing",
|
||||||
|
"-fasynchronous-unwind-tables",
|
||||||
|
- "-ggdb" if not env.TargetOSIs('emscripten') else "-g",
|
||||||
|
"-pthread",
|
||||||
|
"-Wall",
|
||||||
|
"-Wsign-compare",
|
||||||
|
@@ -2076,6 +2075,9 @@ if env.TargetOSIs('posix'):
|
||||||
|
env.Append( CCFLAGS=["-Werror"] )
|
||||||
|
|
||||||
|
env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
|
||||||
|
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
|
||||||
|
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
|
||||||
|
+
|
||||||
|
if env.ToolchainIs('clang'):
|
||||||
|
env.Append( CXXFLAGS=['-Werror=unused-result'] )
|
||||||
|
|
||||||
|
@@ -2096,8 +2098,8 @@ if env.TargetOSIs('posix'):
|
||||||
|
|
||||||
|
env.Append( LIBS=[] )
|
||||||
|
|
||||||
|
- #make scons colorgcc friendly
|
||||||
|
- for key in ('HOME', 'TERM'):
|
||||||
|
+ #make scons colorgcc, distcc, ccache friendly
|
||||||
|
+ for key in ('HOME', 'PATH', 'TERM'):
|
||||||
|
try:
|
||||||
|
env['ENV'][key] = os.environ[key]
|
||||||
|
except KeyError:
|
@ -0,0 +1,56 @@
|
|||||||
|
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
|
||||||
|
index 8acf5469..737c31d4 100644
|
||||||
|
--- a/src/mongo/SConscript
|
||||||
|
+++ b/src/mongo/SConscript
|
||||||
|
@@ -834,43 +834,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
|
||||||
|
for target in env["DIST_BINARIES"]:
|
||||||
|
installBinary(env, "db/modules/" + target)
|
||||||
|
|
||||||
|
-compass_type = 'compass'
|
||||||
|
-
|
||||||
|
-compass_script = "install_compass.in"
|
||||||
|
-if env.TargetOSIs('windows'):
|
||||||
|
- compass_script = "Install-Compass.ps1.in"
|
||||||
|
-
|
||||||
|
-compass_python_interpreter = '/usr/bin/env python2'
|
||||||
|
-if env.TargetOSIs('darwin'):
|
||||||
|
- compass_python_interpreter = '/usr/bin/env python'
|
||||||
|
-
|
||||||
|
-compass_installer = env.Substfile(
|
||||||
|
- target="$BUILD_DIR/mongo/installer/compass/" + compass_script[:-3],
|
||||||
|
- source='installer/compass/' + compass_script,
|
||||||
|
- SUBST_DICT=[
|
||||||
|
- ('@compass_type@', compass_type),
|
||||||
|
- ('@python_interpreter@', compass_python_interpreter),
|
||||||
|
- ],
|
||||||
|
-)
|
||||||
|
-
|
||||||
|
-distBinaries.append(compass_installer)
|
||||||
|
-
|
||||||
|
-if not hygienic:
|
||||||
|
- compass_script_installer = env.Install("$DESTDIR/bin", compass_installer)
|
||||||
|
-else:
|
||||||
|
- compass_script_installer = env.AutoInstall(
|
||||||
|
- target='$PREFIX_BINDIR',
|
||||||
|
- source=[
|
||||||
|
- compass_installer,
|
||||||
|
- ],
|
||||||
|
- AIB_COMPONENT='dist',
|
||||||
|
- AIB_ROLE='runtime',
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
-if env.TargetOSIs('posix'):
|
||||||
|
- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
|
||||||
|
- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
|
||||||
|
-
|
||||||
|
if not hygienic:
|
||||||
|
server_archive = env.Command(
|
||||||
|
target='#/${SERVER_ARCHIVE}',
|
||||||
|
@@ -884,7 +847,6 @@ if not hygienic:
|
||||||
|
'--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
|
||||||
|
- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
|
||||||
|
'${TEMPFILE(SOURCES[1:])}'
|
||||||
|
],
|
||||||
|
),
|
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/third_party/unwind/SConscript b/src/third_party/unwind/SConscript
|
||||||
|
index ed947c8e..7308956f 100644
|
||||||
|
--- a/src/third_party/unwind/SConscript
|
||||||
|
+++ b/src/third_party/unwind/SConscript
|
||||||
|
@@ -90,6 +90,7 @@ if env['TARGET_ARCH'] == 'aarch64':
|
||||||
|
|
||||||
|
env.Append(
|
||||||
|
CCFLAGS=[
|
||||||
|
+ '-fcommon',
|
||||||
|
'-fexceptions',
|
||||||
|
'-Wno-unused-result',
|
||||||
|
'-Wno-unused-value',
|
@ -0,0 +1,173 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
SCONS_MIN_VERSION="2.5.0"
|
||||||
|
CHECKREQS_DISK_BUILD="2400M"
|
||||||
|
CHECKREQS_DISK_USR="512M"
|
||||||
|
CHECKREQS_MEMORY="1024M"
|
||||||
|
|
||||||
|
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||||
|
|
||||||
|
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||||
|
HOMEPAGE="https://www.mongodb.com"
|
||||||
|
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 SSPL-1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="acct-group/mongodb
|
||||||
|
acct-user/mongodb
|
||||||
|
>=app-arch/snappy-1.1.3
|
||||||
|
>=dev-cpp/yaml-cpp-0.5.3:=
|
||||||
|
>=dev-libs/boost-1.60:=[threads(+)]
|
||||||
|
>=dev-libs/libpcre-8.41[cxx]
|
||||||
|
dev-libs/snowball-stemmer
|
||||||
|
net-libs/libpcap
|
||||||
|
>=sys-libs/zlib-1.2.11:=
|
||||||
|
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||||
|
mms-agent? ( app-admin/mms-agent )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
test? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||||
|
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cheetah[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/typing[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
sys-libs/readline:0=
|
||||||
|
debug? ( dev-util/valgrind )"
|
||||||
|
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
|
||||||
|
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
|
||||||
|
"${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||||
|
if ver_test "$REPLACING_VERSIONS" -lt 3.6; then
|
||||||
|
ewarn "To upgrade from a version earlier than the 3.6-series, you must"
|
||||||
|
ewarn "successively upgrade major releases until you have upgraded"
|
||||||
|
ewarn "to 3.6-series. Then upgrade to 4.0 series."
|
||||||
|
else
|
||||||
|
ewarn "Be sure to set featureCompatibilityVersion to 3.6 before upgrading."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
if use test; then
|
||||||
|
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" ||
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||||
|
has_version "dev-python/cheetah[${PYTHON_USEDEP}]" &&
|
||||||
|
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
|
||||||
|
has_version "dev-python/typing[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# remove bundled libs
|
||||||
|
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die
|
||||||
|
|
||||||
|
# remove compass
|
||||||
|
rm -r src/mongo/installer/compass || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||||
|
# --use-system-icu fails tests
|
||||||
|
# --use-system-tcmalloc is strongly NOT recommended:
|
||||||
|
scons_opts=(
|
||||||
|
CC="$(tc-getCC)"
|
||||||
|
CXX="$(tc-getCXX)"
|
||||||
|
|
||||||
|
--disable-warnings-as-errors
|
||||||
|
--use-system-boost
|
||||||
|
--use-system-pcre
|
||||||
|
--use-system-snappy
|
||||||
|
--use-system-stemmer
|
||||||
|
--use-system-yaml
|
||||||
|
--use-system-zlib
|
||||||
|
)
|
||||||
|
|
||||||
|
use debug && scons_opts+=( --dbg=on )
|
||||||
|
use kerberos && scons_opts+=( --use-sasl-client )
|
||||||
|
use lto && scons_opts+=( --lto=on )
|
||||||
|
use ssl && scons_opts+=( --ssl )
|
||||||
|
|
||||||
|
# respect mongoDB upstream's basic recommendations
|
||||||
|
# see bug #536688 and #526114
|
||||||
|
if ! use debug; then
|
||||||
|
filter-flags '-m*'
|
||||||
|
filter-flags '-O?'
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
escons "${scons_opts[@]}" core tools
|
||||||
|
}
|
||||||
|
|
||||||
|
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||||
|
src_test() {
|
||||||
|
"${EPYTHON}" ./buildscripts/resmoke.py --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||||
|
|
||||||
|
doman debian/mongo*.1
|
||||||
|
dodoc README docs/building.md
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||||
|
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||||
|
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||||
|
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||||
|
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
# see bug #526114
|
||||||
|
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||||
|
|
||||||
|
local x
|
||||||
|
for x in /var/{lib,log}/${PN}; do
|
||||||
|
diropts -m0750 -o mongodb -g mongodb
|
||||||
|
keepdir "${x}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||||
|
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||||
|
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue