diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 12:58:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 12:58:33 +0000 |
commit | 0374a8491c853f9331b95ed2a38e688e4d2edce5 (patch) | |
tree | 563dd0e0f6ee34895358db0f88d683934ca21756 /sys-apps | |
parent | 070c77515d1406e762e9e344856546f0a15765b6 (diff) |
gentoo auto-resync : 18:11:2022 - 12:58:32
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 49316 -> 49305 bytes | |||
-rw-r--r-- | sys-apps/hdparm/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-9.65.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/hwdata/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/hwdata/hwdata-0.364.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/irqbalance/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.9.1.ebuild | 68 | ||||
-rw-r--r-- | sys-apps/man-db/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/man-db/man-db-2.11.0.ebuild | 203 |
9 files changed, 4 insertions, 279 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex 38749bed1b75..858c141a2fff 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index 2ee46da9c3f9..b09321629d78 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -5,5 +5,5 @@ AUX hdparm-init-8 1360 BLAKE2B 779329470a9980621d6d25e44ecb9a830565f3501fa51a10d DIST hdparm-9.64.tar.gz 140307 BLAKE2B 0196f3ccec4005c542b834d8426cc6f64694783da3d4a064e898e25d17aab3aa0d9621276607169f2104c9a9804f9020554d836ded9efb16367a8ac4c9c9b146 SHA512 c561825143d8872cc2940bd6ba72162f91792bd63b6a8511058e79cc96feb6a4a9d22275581ef2eefab64a4035587b3a63175ccc58fa46f1059b4680d9d58ec4 DIST hdparm-9.65.tar.gz 140425 BLAKE2B 79b1c16e7807f82a992ed7f22faef57045c56da4a281fbd8db3b8846b193ccc4b42329fa6abbebf8b652fbefb13aa0f18dfa726e802e8e1a45c94f414fb303b9 SHA512 4ffc8902b90cee10d68af8ddb9f3b9454d523ecd49cdaaed254b4d7a999462a8ad5ec1bb5d7684b09fefa41b5941ab533b167dad290003b51c795a633ca88913 EBUILD hdparm-9.64.ebuild 1039 BLAKE2B 950f829073358b28274bd86291cdf5172a1705ae4df6a05837b3ea8a5d55a405020b4bca3a2b7097c3adc9eefbc66f6d2725d0dab5290c7b40279621b333279e SHA512 318ebe1daab14ee45738e2bd5c951b9b2bb652cdb6b38e1eed405b9a8385d57317d8a2015156104d344f1d13cfb4ac32c4054f3dab48e39f99d083521b9318e1 -EBUILD hdparm-9.65.ebuild 1004 BLAKE2B a6853297a8289a130d8adf0e99dfea2222facb232383a4281906b4047efd48f55dde7b6a97a2a1533ccbb58cd11d3a162493d7547f4f7dae50b9f335b9509057 SHA512 c4868f36229233a161f9864da477104b79036b9de36a4dbdd1eb0db6bf3ef802b1f7582b02da4fce4ed81eac4796b0b43b3d05fd978fb98b12e6b39b1d8b59a4 +EBUILD hdparm-9.65.ebuild 996 BLAKE2B 1c2a9a8af1caa482459c00b63ab37551e712bb576dc3003abdf282cf27d2234fac5a1eab1a974b501b126f920aaacf23d95f05a7e0c3a3bad80230d30b87dd85 SHA512 6bbd130af03a8460186f3e2be15e4a60cfb3ecfe64acc913eb0a8720591c0831029bb9255798d65c70dbb7d4f0779632074051eacf8864419da22b5b298ab3dc MISC metadata.xml 334 BLAKE2B 4401fa870e66675b64077c7dc271c1775a3b7148a4c720ac670222d0f61ce634507725e77e5ef2b9efb6d363ca23dc2a884645ab630ffccc8e737b7139e23d47 SHA512 a71c8c705afd12b3609542d13b18697e9c4626c0c41006ccbdacd248c1c621b0fa93a522561494120c0be181d091fc27e466a25af3be25b4f3b4cc14ec5e652a diff --git a/sys-apps/hdparm/hdparm-9.65.ebuild b/sys-apps/hdparm/hdparm-9.65.ebuild index 16d39cbe5836..dff0610ab397 100644 --- a/sys-apps/hdparm/hdparm-9.65.ebuild +++ b/sys-apps/hdparm/hdparm-9.65.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" # GPL-2 only LICENSE="BSD GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="static" PATCHES=( diff --git a/sys-apps/hwdata/Manifest b/sys-apps/hwdata/Manifest index 7a2f37f12208..e83b7d744f58 100644 --- a/sys-apps/hwdata/Manifest +++ b/sys-apps/hwdata/Manifest @@ -3,5 +3,5 @@ DIST hwdata-0.363.tar.gz 2283349 BLAKE2B dd7aa9c7d202882a31a5359cf674c9399b23b07 DIST hwdata-0.364.tar.gz 2290206 BLAKE2B f41fbc85fffa0561ccee55c2bbb9c32f2f67532dd2cd8c3731a2805712969a5950f31b4e5662adf3b55c6226c31cb00f0670af4a1fbff1a7c19d46ba067792fd SHA512 94cae67d9155b7abbaa7fc9047702a6f166721477b6320736d7984efd7c7c3c028b9f794269750f0ef421275a7e243fe1ae59816f63576fffc1bcd8deb49c6e9 EBUILD hwdata-0.361.ebuild 696 BLAKE2B 792e672c8fb3277cf445be60a5966dd3ce1afdc0466235021726b182c70e653eb930d94dfed09bca71fccb514eb0b89b5d6e1eac3cdd9e3be7e30261fe4900fe SHA512 1499d7696d4561943d6521937d2818d1000a7d6ceb939bbf670e56f301a54109b7a6eca28f2f7bdbeb3094b9236dd8bad81cf34f893f401659c3168f1c8d3af2 EBUILD hwdata-0.363.ebuild 697 BLAKE2B 7b2dfd3b060a7866502b4275650d936cfee8201310e87fd36e5b88a71512a5202f3fc0f7dcbb3beccf6c97ae59d74d4a04de602447d6f092a31acad37af43435 SHA512 3155c833ee8012d8f17fca390099af9a1842aa8157b6cecd5cc606d429bfe9411f39d2d2b343bd88229edaf8b92c09ff260b7b06b065f4e0bf7183ffdd4c73ef -EBUILD hwdata-0.364.ebuild 697 BLAKE2B 7b2dfd3b060a7866502b4275650d936cfee8201310e87fd36e5b88a71512a5202f3fc0f7dcbb3beccf6c97ae59d74d4a04de602447d6f092a31acad37af43435 SHA512 3155c833ee8012d8f17fca390099af9a1842aa8157b6cecd5cc606d429bfe9411f39d2d2b343bd88229edaf8b92c09ff260b7b06b065f4e0bf7183ffdd4c73ef +EBUILD hwdata-0.364.ebuild 689 BLAKE2B 5741aa0d55c317fc34ffedc839cf3d56da852a053613c394b0a6a354927efb180b90a280e06e4de18aed1f3e1a07f00c01862a664b4658a56dd3ccaf2d0d26c8 SHA512 2811b15e68613b48a64a4caf9ed093ede0280bc1e2d1c32eedc98b622cf21a004fcba5075dd4e099d0041bf8ee8b57957ca2c21163b29884bcaccc86a1fe82b6 MISC metadata.xml 328 BLAKE2B cf72c9663e944154e41475067b5e89dbfcd50f0c771e17dddfb6042a2ccb10693d7ef6eb7508e9ec7a50cbc59e8e47698030a5c1e18accd79040d4318416eb54 SHA512 f366d006f709fabe624840768aa780982884ba8a74f3ac121e323995e218a577dc5a4d34d9dcbec44571580d388967d78350d4540316444ddaf014b99db804e7 diff --git a/sys-apps/hwdata/hwdata-0.364.ebuild b/sys-apps/hwdata/hwdata-0.364.ebuild index 9df06b92fe5f..369d4ad0ce66 100644 --- a/sys-apps/hwdata/hwdata-0.364.ebuild +++ b/sys-apps/hwdata/hwdata-0.364.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/vcrhonek/hwdata/archive/refs/tags/v${PV}.tar.gz -> $ LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RESTRICT="test" diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest index a532691dbbad..77945a54a9f0 100644 --- a/sys-apps/irqbalance/Manifest +++ b/sys-apps/irqbalance/Manifest @@ -1,9 +1,7 @@ AUX irqbalance.confd-1 577 BLAKE2B 2744f203cb1d20ec44bec2f4cd2adc92209575a4742c601f45780cc55ff44434248987c31faf6ae2205ae02b2ecfdbd914f271169cb345e403f41376e3bc48b8 SHA512 90e7ed187b4dccd6f6c4383ba54d6e1aed1645240e44aaf02db1b70b56594b1a828644d671e6db91212417981b1d5e53d1ecfd4b366496dbcb484d1064d7d24c AUX irqbalance.init.4 555 BLAKE2B a90aa453f6d59ec8da954d47a386cfcc2395e36b3b7f9b0cef74714e348e23b091aa00d8db586593e2e85a01f8fc2d97be7a8c754d44a6f5728f7e2e98393df1 SHA512 0252900f183a714f2c1c9f57bca7b26e2c2b3d12e6ca46085203b4b04aff41cc97c6a54b1f0e66b37d7f214f127633c0179cede8deee57dcc1f3635ec17c337c DIST irqbalance-1.9.0.tar.gz 55779 BLAKE2B 11df51b03a473da10340c0c9ca9a28b3d9f9ed81e202e434b135a4be1cf54bc5558b33a4a922eba89bdd8cebbd6d3448527507fa72f03c4ff494ae83d513854e SHA512 878977da5eff18e53bdceeaa4aca952f73ba8b03eb028cf176816af971ffc65f0b1f1bb3a68e3a2502491895cc2b9438652dc97d5696232bb2f64860109e9a24 -DIST irqbalance-1.9.1.tar.gz 62126 BLAKE2B 218e6f90d0e9ca9b2e276a69fd0c97438ff16c96772f30281c10a051eafdf929a66f13c03d512232fff836aa1c2095bc404006dfc16904c2c2cba245f4b57b59 SHA512 ec2abd3aad61e5370ca13a767fb6b5b206b61f5751853995780dd62e1657d88d74819ff5838ad2599855c701ea5d53755bf108a5427469faa7b1f042351b6068 DIST irqbalance-1.9.2.tar.gz 62188 BLAKE2B bc640323c3a594090f77983e63d9b7df177a05b859e4d29edb5b654f886c9e9f0d748ce22b1323bee443ea8369e014b9e0ce383bfe6f396692346649199d10a2 SHA512 d0fb157fbfc096fa9cfb4562e51fd4c3f4fa8788f72377c58b27df67c70073b787bba05e39809dcbe17532bb5b8e74b6d27c5e5b3d9af09bc9ce1a9b6aab9378 EBUILD irqbalance-1.9.0.ebuild 1334 BLAKE2B 74900103bf0167ae4d3dc4fe0d73de353ccc818f29b9edddffe9c163f47f46d3baee119b403ceb24058598739c9c691a69bd4a896f47a591687435c22ab32124 SHA512 03363872eae5a613833a7e1b6506f5440cc40b1bdce4aafbb891e5091f1c1815848c3df8f0b578a3742b25b5f3a0dd3f22100fb1c2068882a3affb4fbfa625ad -EBUILD irqbalance-1.9.1.ebuild 1447 BLAKE2B 7eaa404c0b23614b66d9a877bb4e01cab888771d03687a9ce00523fbbc112a4b3c14f3a049591050b7931f56b5a7fd9e18addb8465a2f4d3218d421794536cd8 SHA512 2c330e7c59e80f7bb929d146ad9fc38470c7b013a9c92c0673618b076542fe13f3fb34c324c753f0b666fac70cb169da30c10ff4e461f299b14402792d3af0d6 EBUILD irqbalance-1.9.2.ebuild 1447 BLAKE2B 7eaa404c0b23614b66d9a877bb4e01cab888771d03687a9ce00523fbbc112a4b3c14f3a049591050b7931f56b5a7fd9e18addb8465a2f4d3218d421794536cd8 SHA512 2c330e7c59e80f7bb929d146ad9fc38470c7b013a9c92c0673618b076542fe13f3fb34c324c753f0b666fac70cb169da30c10ff4e461f299b14402792d3af0d6 MISC metadata.xml 547 BLAKE2B 0a83f459995622fe247317aa9f045c0696f888712e9e5b56ac4eedb12862772044aaf407e25181ac84d64b9fced0e950b74c9dfcfa7a44e2451356dbab03461a SHA512 90b145e0e3fd1519eb1e6a412fc06700eed8bd27bea262e3d0bed02b0140586c0a9a01b9e301d3c0ec464c2cfbc6f80118c48eead3c830ba13dfd3b1588f6c9f diff --git a/sys-apps/irqbalance/irqbalance-1.9.1.ebuild b/sys-apps/irqbalance/irqbalance-1.9.1.ebuild deleted file mode 100644 index 1edb1533cf88..000000000000 --- a/sys-apps/irqbalance/irqbalance-1.9.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools systemd linux-info - -DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" -HOMEPAGE="https://github.com/Irqbalance/irqbalance" -SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86" -IUSE="caps +numa systemd selinux tui" -# Hangs -RESTRICT="test" - -DEPEND=" - dev-libs/glib:2 - dev-libs/libnl:3 - caps? ( sys-libs/libcap-ng ) - numa? ( sys-process/numactl ) - systemd? ( sys-apps/systemd:= ) - tui? ( sys-libs/ncurses:=[unicode(+)] ) -" -BDEPEND=" - virtual/pkgconfig -" -RDEPEND=" - ${DEPEND} - selinux? ( sec-policy/selinux-irqbalance ) -" - -pkg_setup() { - CONFIG_CHECK="~PCI_MSI" - linux-info_pkg_setup -} - -src_prepare() { - # Follow systemd policies - # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy - sed \ - -e 's/ $IRQBALANCE_ARGS//' \ - -e '/EnvironmentFile/d' \ - -i misc/irqbalance.service || die - - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_with caps libcap-ng) - $(use_enable numa) - $(use_with systemd) - $(use_with tui irqbalance-ui) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance - newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance - systemd_dounit misc/irqbalance.service -} diff --git a/sys-apps/man-db/Manifest b/sys-apps/man-db/Manifest index 41a96dd75ce2..461651a0cc2a 100644 --- a/sys-apps/man-db/Manifest +++ b/sys-apps/man-db/Manifest @@ -1,10 +1,8 @@ AUX man-db-2.9.3-sandbox-env-tests.patch 315 BLAKE2B d6f4835e9e32f8afffe6ab1a70ee664192db05fbe74013724fcdbe112ead2d4288f90be032777a58ee41515c23d5561ab9cde495a92aa9f74ee353479ef884e3 SHA512 d8840d45c3b115f51bb9b3fc11ece2fecadfe284cd7db29cd012ed32faed990b12a9920cf11282358e5dd27df4bcf3c1a0316116ecae58917ef3c65efb1eb22b AUX man-db.cron-r1 252 BLAKE2B 1d48851bd11ddf65ee24cae65a8bdb43b2c0df515a790661680775598fae21ef0776f04736425d511d48e97873d44b36a04d6ff41a53fceda0d8254482a4b53a SHA512 c2c7c05bcf241bb066c3ef98e33fb8c3b06abf92c20709f97c1e1e048d47aa4cf5ea412231a490008b3f1d87b284e381e611bb3275e8413ad031dac113112054 DIST man-db-2.10.2.tar.xz 1902840 BLAKE2B 8d1748503cdf66a613d7544a27b42df9436bdf4e07ccb130d2fa62343488d2c4ab791238c348236a253abddb564db9d1bb851249da9911737ff822d822819599 SHA512 5ad7a7b601aadf4d2d7cc068881fffe3d91dc85fcf4c17e66fbe6e2b04bb1c46f5ba5d4bc7f6ab3f39e00065be39061b101d3064c12b1e89f0fee61c088611bf -DIST man-db-2.11.0.tar.xz 1923260 BLAKE2B a95e6b5fb78d14a85199eb6c6177c057a3993fcc24afab83f1090cca6b3b107717ccb3de94460f55e293198f33e768605417fc0e4c98294b009e3461bd797f1d SHA512 0790dd6109e537f7dffb29258efd929d79274150755cab6bb8d6f239ad32df3a2006e00f61988808dc280fd3c1493a969e75cb8c4aab653f805bae8b73d9c910 DIST man-db-2.11.1.tar.xz 1948788 BLAKE2B 60c3895a6326222e0a3f40902caa18991b5f767018ccb60f844c3a329e50fdda3db96b1c80b5337f4a5f129bdf0e7084cca7b216473328e4d2606cf811a88dab SHA512 249d65d01d83feac2503bfc1fba6d018ea0f7485c1112f1bfb4849ef7fbc3c1a50b97ab0844a7792d83bb1084a89abb4fa309ce1bc2bdf1183fe35b9e4f06263 EBUILD man-db-2.10.2-r1.ebuild 5128 BLAKE2B 532d907a06f95b28f8b6705fe58d9d62797ae5ac2633b25981cae36ed16678e44a7026c19d7449244b7fcbdc5187d08a898753af1c7c2c3d2e718ab4c450032b SHA512 a80d67860f7ebc8b029fb5b83adbbef32ab1714102351cee8c2605228e00caf87627dfc08e129d255c80f04a232e0b30eeaee196bb7da969c3cad1021153751d -EBUILD man-db-2.11.0.ebuild 5134 BLAKE2B 7f74b9f76ded199ca53810805bb293c0f67e9ad6a6e4a6baab206e5349ba1f724b4a6324cc71806654eb7e939f545c3ff8f9cccbe1ff771d5468841d8d7a1bbd SHA512 ed1b2ec0c66fc547b11789292a66d0822d00bfe6d7f60cde2a231a066e5f5fae877b9ffd6fd96818e32cf899a3a42259275ff23544c884b5b4f7aad4660421c2 EBUILD man-db-2.11.1.ebuild 5126 BLAKE2B d9cdcdd39ed3a813330092d43d1e6c2431669e9b083dde0f1efd99481c8364c4cd7cb01a52b25aeec518a93926a82693a19ed58cf51338c2f74e09347210fb64 SHA512 99a2c0aa6fcb1426887fe320c6dc6368b80b9a0fbe45ca320c831ea27f42dca2abd96b1421b86696bddef90d122225bd6bc97d7372d144fe4cc009d02469d041 EBUILD man-db-9999.ebuild 5126 BLAKE2B d9cdcdd39ed3a813330092d43d1e6c2431669e9b083dde0f1efd99481c8364c4cd7cb01a52b25aeec518a93926a82693a19ed58cf51338c2f74e09347210fb64 SHA512 99a2c0aa6fcb1426887fe320c6dc6368b80b9a0fbe45ca320c831ea27f42dca2abd96b1421b86696bddef90d122225bd6bc97d7372d144fe4cc009d02469d041 MISC metadata.xml 428 BLAKE2B 6d0c1067a27f4ba0467b268fefcab6a208d3367592284349e15eb2ed967f29e9505eb786bbd0236b1fb41d58c2788d8f5e61ce34b97cc7a5702ff3dbe32a1f36 SHA512 2542a4c5c15ad471d143fb713617d6868e9dba49ef14840f44ae3c9d05e74041a845b3a820c4dfb9a819a72eae763f9f8883e933e4012318043baada11fc85b4 diff --git a/sys-apps/man-db/man-db-2.11.0.ebuild b/sys-apps/man-db/man-db-2.11.0.ebuild deleted file mode 100644 index 4fa6a76276ee..000000000000 --- a/sys-apps/man-db/man-db-2.11.0.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd prefix tmpfiles - -DESCRIPTION="A man replacement that utilizes dbm instead of flat files" -HOMEPAGE="https://gitlab.com/cjwatson/man-db https://www.nongnu.org/man-db/" -if [[ ${PV} == *9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI="https://gitlab.com/cjwatson/man-db.git" -else - # TODO: Change tarballs to gitlab too...? - SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="+manpager nls +seccomp selinux static-libs zlib" - -CDEPEND=" - >=dev-libs/libpipeline-1.5.0 - sys-apps/groff - sys-libs/gdbm:= - seccomp? ( sys-libs/libseccomp ) - zlib? ( sys-libs/zlib )" -DEPEND="${CDEPEND}" -BDEPEND="app-arch/xz-utils - virtual/pkgconfig - nls? ( - >=app-text/po4a-0.45 - sys-devel/gettext - virtual/libiconv - virtual/libintl - )" -RDEPEND="${CDEPEND} - acct-group/man - acct-user/man - selinux? ( sec-policy/selinux-mandb )" -PDEPEND="manpager? ( app-text/manpager )" - -PATCHES=( - "${FILESDIR}"/man-db-2.9.3-sandbox-env-tests.patch -) - -src_unpack() { - if [[ ${PV} == *9999 ]] ; then - git-r3_src_unpack - - # We need to mess with gnulib - EGIT_REPO_URI="https://git.savannah.gnu.org/r/gnulib.git" \ - EGIT_CHECKOUT_DIR="${WORKDIR}/gnulib" \ - git-r3_src_unpack - else - default - fi -} - -src_prepare() { - default - - if [[ ${PV} == *9999 ]] ; then - local bootstrap_opts=( - --gnulib-srcdir=../gnulib - --no-bootstrap-sync - --copy - --no-git - ) - AUTORECONF="/bin/true" \ - LIBTOOLIZE="/bin/true" \ - sh ./bootstrap "${bootstrap_opts[@]}" || die - - eautoreconf - fi - - hprefixify src/man_db.conf.in - if use prefix ; then - { - echo "#" - echo "# Added settings for Gentoo Prefix" - [[ ${CHOST} == *-darwin* ]] && \ - echo "MANDATORY_MANPATH ${EPREFIX}/MacOSX.sdk/usr/share/man" - echo "MANDATORY_MANPATH /usr/share/man" - } >> src/man_db.conf.in - fi -} - -src_configure() { - # Set sections we want to search by default - local sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o" - sections+=" 1x 2x 3x 4x 5x 6x 7x 8x" - case ${CHOST} in - *-solaris*) - # Solaris tends to use sections named after the pkgs that - # owns them, in particular for libc functions we want those - # sections - local s - for s in $(cd /usr/share/man/ && echo man*) ; do - s=${s#man} - [[ " ${sections} " != *" ${s} "* ]] && sections+=" ${s}" - done - ;; - esac - - export ac_cv_lib_z_gzopen=$(usex zlib) - local myeconfargs=( - --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - --disable-setuid # bug #662438 - --enable-cache-owner=man - --with-sections="${sections}" - - $(use_enable nls) - $(use_enable static-libs static) - $(use_with seccomp libseccomp) - - --with-db=gdbm - ) - - case ${CHOST} in - *-solaris*|*-darwin*) - myeconfargs+=( - $(use_with nls libiconv-prefix "${EPREFIX}"/usr) - $(use_with nls libintl-prefix "${EPREFIX}"/usr) - ) - ;; - esac - - econf "${myeconfargs[@]}" - - # Disable color output from groff so that the manpager can add it. bug #184604 - if use manpager; then - sed -i \ - -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ - src/man_db.conf || die - fi - - cat > 15man-db <<-EOF || die - SANDBOX_PREDICT="/var/cache/man" - EOF -} - -src_install() { - default - dodoc docs/{HACKING.md,TODO} - find "${ED}" -type f -name "*.la" -delete || die - - exeinto /etc/cron.daily - newexe "${FILESDIR}"/man-db.cron-r1 man-db # bug #289884 - - insinto /etc/sandbox.d - doins 15man-db -} - -pkg_preinst() { - local cachedir="${EROOT}/var/cache/man" - # If the system was already exploited, and the attacker is hiding in the - # cachedir of the old man-db, let's wipe them out. - # see bug #602588 comment 18 - local _replacing_version= - local _setgid_vuln=0 - for _replacing_version in ${REPLACING_VERSIONS} ; do - if ver_test '2.7.6.1-r2' -le "${_replacing_version}" ; then - debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" - else - _setgid_vuln=1 - debug-print "Applying cleanup for security bug #602588" - fi - done - [[ ${_setgid_vuln} -eq 1 ]] && rm -rf "${cachedir}" - - # Fall back to recreating the cachedir - if [[ ! -d ${cachedir} ]] ; then - mkdir -p "${cachedir}" || die - chown man:man "${cachedir}" || die - fi - - # Update the whatis cache - if [[ -f ${cachedir}/whatis ]] ; then - einfo "Cleaning ${cachedir} from sys-apps/man" - find "${cachedir}" -type f '!' '(' -name index.bt -o -name index.db ')' -delete - fi -} - -pkg_postinst() { - tmpfiles_process man-db.conf - - if [[ -n "${REPLACING_VERSIONS}" ]] ; then - local _replacing_version= - - for _replacing_version in ${REPLACING_VERSIONS} ; do - if [[ $(ver_cut 2 ${_replacing_version}) -lt 7 ]] ; then - einfo "Rebuilding man-db from scratch with new database format!" - su man -s /bin/sh -c 'mandb --quiet --create' 2>/dev/null - - # No need to run it again if we hit one - break - fi - done - fi -} |