1151 changed files with 19591 additions and 12593 deletions
-
BINManifest.files.gz
-
BINapp-accessibility/Manifest.gz
-
1app-accessibility/at-spi2-atk/Manifest
-
46app-accessibility/at-spi2-atk/at-spi2-atk-2.38.0.ebuild
-
1app-accessibility/at-spi2-core/Manifest
-
62app-accessibility/at-spi2-core/at-spi2-core-2.38.0.ebuild
-
BINapp-admin/Manifest.gz
-
2app-admin/abrt/Manifest
-
129app-admin/abrt/abrt-2.14.0.ebuild
-
129app-admin/abrt/abrt-2.14.1.ebuild
-
1app-admin/clsync/Manifest
-
144app-admin/clsync/clsync-0.4.5.ebuild
-
5app-admin/clsync/clsync-9999.ebuild
-
1app-admin/clsync/metadata.xml
-
1app-admin/gnome-abrt/Manifest
-
60app-admin/gnome-abrt/gnome-abrt-1.2.7.ebuild
-
58app-admin/mcelog/mcelog-173-r1.ebuild
-
3app-admin/mongo-tools/Manifest
-
61app-admin/mongo-tools/mongo-tools-100.2.0.ebuild
-
71app-admin/mongo-tools/mongo-tools-4.0.20.ebuild
-
71app-admin/mongo-tools/mongo-tools-4.2.10.ebuild
-
4app-admin/pwgen/metadata.xml
-
2app-admin/salt/salt-3000.5.ebuild
-
1app-admin/spectre-meltdown-checker/Manifest
-
23app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.44.ebuild
-
1app-admin/system-config-printer/Manifest
-
76app-admin/system-config-printer/system-config-printer-1.5.13.ebuild
-
BINapp-antivirus/Manifest.gz
-
1app-antivirus/clamtk/Manifest
-
142app-antivirus/clamtk/clamtk-6.05.ebuild
-
2app-antivirus/clamtk/clamtk-6.06.ebuild
-
BINapp-backup/Manifest.gz
-
1app-backup/burp/Manifest
-
121app-backup/burp/burp-2.3.38.ebuild
-
BINapp-crypt/Manifest.gz
-
4app-crypt/libmd/metadata.xml
-
168app-crypt/mit-krb5/mit-krb5-1.18.2-r2.ebuild
-
1app-crypt/openpgp-keys-django/Manifest
-
8app-crypt/openpgp-keys-django/metadata.xml
-
23app-crypt/openpgp-keys-django/openpgp-keys-django-20201105.ebuild
-
1app-crypt/tpm-tools/Manifest
-
53app-crypt/tpm-tools/tpm-tools-1.3.9.2.ebuild
-
BINapp-editors/Manifest.gz
-
4app-editors/emacs/metadata.xml
-
BINapp-emulation/Manifest.gz
-
2app-emulation/free42/Manifest
-
0app-emulation/free42/free42-2.5.21.ebuild
-
24app-emulation/libvirt/files/libvirt-6.8.0-fix-libvirt-lxc-dbus.patch
-
1app-emulation/libvirt/libvirt-6.8.0-r1.ebuild
-
1app-emulation/libvirt/libvirt-6.9.0-r1.ebuild
-
1app-emulation/snapd/Manifest
-
47app-emulation/snapd/files/README.gentoo
-
16app-emulation/snapd/metadata.xml
-
180app-emulation/snapd/snapd-2.47.1.ebuild
-
BINapp-misc/Manifest.gz
-
2app-misc/emelfm2/emelfm2-0.9.1-r4.ebuild
-
2app-misc/emelfm2/emelfm2-0.9.1-r5.ebuild
-
2app-misc/gnutu/gnutu-2.9.ebuild
-
2app-misc/inputlircd/inputlircd-0.0.1_pre15-r2.ebuild
-
1app-misc/jq/Manifest
-
17app-misc/jq/files/jq-1.7-runpath.patch
-
41app-misc/jq/files/jq-1.7-visible-null.patch
-
44app-misc/jq/files/jq-1.7-warnings.patch
-
85app-misc/jq/jq-1.7_pre20201109.ebuild
-
2app-misc/lirc/lirc-0.10.1-r4.ebuild
-
1app-misc/tmuxp/Manifest
-
41app-misc/tmuxp/tmuxp-1.6.2.ebuild
-
BINapp-office/Manifest.gz
-
29app-office/libreoffice/files/libreoffice-7.0.3.1-fix-non-pdfium-build.patch
-
BINapp-officeext/Manifest.gz
-
1app-officeext/texmaths/Manifest
-
26app-officeext/texmaths/texmaths-0.48.2.ebuild
-
BINapp-portage/Manifest.gz
-
2app-portage/portage-utils/portage-utils-0.90.ebuild
-
1app-portage/unsymlink-lib/Manifest
-
29app-portage/unsymlink-lib/unsymlink-lib-19.ebuild
-
BINapp-text/Manifest.gz
-
2app-text/epstool/epstool-3.09.ebuild
-
61app-text/llpp/llpp-30.ebuild
-
50app-text/llpp/llpp-33.ebuild
-
35app-text/mupdf/mupdf-1.18.0-r2.ebuild
-
10app-text/xpdf/xpdf-4.02-r4.ebuild
-
BINdev-cpp/Manifest.gz
-
1dev-cpp/mm-common/Manifest
-
20dev-cpp/mm-common/mm-common-1.0.2.ebuild
-
BINdev-db/Manifest.gz
-
1dev-db/mariadb-connector-c/Manifest
-
89dev-db/mariadb-connector-c/mariadb-connector-c-3.1.11.ebuild
-
8dev-db/mariadb/Manifest
-
1018dev-db/mariadb/mariadb-10.2.35.ebuild
-
1009dev-db/mariadb/mariadb-10.3.26.ebuild
-
1040dev-db/mariadb/mariadb-10.4.16.ebuild
-
1035dev-db/mariadb/mariadb-10.5.7.ebuild
-
3dev-db/mongodb/Manifest
-
54dev-db/mongodb/files/mongodb-4.2.10-no-compass.patch
-
23dev-db/mongodb/files/mongodb-4.4.1-boost.patch
-
33dev-db/mongodb/files/mongodb-4.4.1-fix-scons.patch
-
56dev-db/mongodb/files/mongodb-4.4.1-no-compass.patch
-
12dev-db/mongodb/files/mongodb-4.4.1-unwind-gcc10.patch
-
173dev-db/mongodb/mongodb-4.0.20.ebuild
@ -1 +1,2 @@ |
|||
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.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 |
|||
} |
@ -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 |
@ -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.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 |
@ -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.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.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.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.6.tar.gz 15016596 BLAKE2B 5ee37bf21ea05ec5ba2764c935c1dd3632753e772a01f854dc8a9949620e9a41fe95ba658a0efae0332ed2c059561e39e681f672cf5f4302a7f92c364cfab4b6 SHA512 e91bfba4b015f80d35b6c2ca766c599c5eedea113d6415ec0aef433d46b5e5fe06956481a063e26908a45fdcee4002125ea01a29fa3ea9a541a9210d25625f8e |
|||
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.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 |
|||
} |
@ -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 |
|||
} |
@ -1,2 +1,3 @@ |
|||
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.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 |
|||
} |
@ -1,7 +1,5 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type='project'> |
|||
<email>deb-tools@gentoo.org</email> |
|||
</maintainer> |
|||
<!-- maintainer-needed --> |
|||
</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.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) \ |
|||
< |