diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 49673 -> 49687 bytes | |||
-rw-r--r-- | sys-apps/ack/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/ack/ack-3.7.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/ethtool/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/ethtool/ethtool-6.3.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild | 109 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/plocate/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/plocate/plocate-1.1.19.ebuild | 86 |
12 files changed, 227 insertions, 8 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex 09d56fda7f5a..1d41dd49b8ab 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/ack/Manifest b/sys-apps/ack/Manifest index c4c4b8cd6793..cf197b313100 100644 --- a/sys-apps/ack/Manifest +++ b/sys-apps/ack/Manifest @@ -2,5 +2,5 @@ AUX ack-3.3.0-gentoo.patch 315 BLAKE2B 8fb44f3540a3567519f626c954f52c37945a48644 DIST ack-v3.6.0.tar.gz 251556 BLAKE2B 6e65633ea9b8b24b03d3ff60c0554eb05009ebbaacbeede8109bdfd36340ac6151f3be9b461349793d6a222d4fb9b21579d44cff3aa541b7bdbc94d16269d2d1 SHA512 1cef0d873be47c8e27d5c3b3b47ea965cf39755d1556c3f653c28d75e1cea9b1ff183297c897d919e220cfcb556e3d5b88eb0b5343d933a05fa2c1fff1234173 DIST ack-v3.7.0.tar.gz 252426 BLAKE2B 0f13e2bfea838a4748b757dc396e56944f9c8f3bfb29569d4f5ddccd2d669906e782b0cb75da0076ec4de8f8fce27de6ab36ed23352e22b32d46273d60b23a1a SHA512 3d97309956ce65f972a7636d195b13031f4441981d5bdddf0b67e577c32c88972f7ed02ffafbbf73c4db9a22f200f95cce9c8eb2a6f47fd60143d93469038f57 EBUILD ack-3.6.0.ebuild 824 BLAKE2B 52fe08bf8ca7f0de230bb4626bb0d1ccfe1417882c0edcd9b0a06475d303375b223371621911ccfa0c43ec0251056896283d24c05d04723267946c2b76db88c7 SHA512 b63cac119a9e147defe06eafaa5497a7e64d7de505f7a03e5c32d78431696a502b4c01698fc7eb63513dfbb7c548e92fe3485de0ed2ebdb4a84214b951844c0a -EBUILD ack-3.7.0.ebuild 826 BLAKE2B ff4027697d9df36222ae61e2f09e48fd097377d4fe7b1c9e800dae88781616b0896f9acba5389a796044fa7148f5ece9cb2684dedcab1b226d5820aec0c31f15 SHA512 16d11cf7cc52659f03a2bba45e0d59122494d01f6bfcee53a303b8221fe442437dddda06bbf971231669c64a445b19da9a3025cfd345015cd55d7a23200af358 +EBUILD ack-3.7.0.ebuild 824 BLAKE2B 52fe08bf8ca7f0de230bb4626bb0d1ccfe1417882c0edcd9b0a06475d303375b223371621911ccfa0c43ec0251056896283d24c05d04723267946c2b76db88c7 SHA512 b63cac119a9e147defe06eafaa5497a7e64d7de505f7a03e5c32d78431696a502b4c01698fc7eb63513dfbb7c548e92fe3485de0ed2ebdb4a84214b951844c0a MISC metadata.xml 1805 BLAKE2B 694cff62403cd9b60fb25326146cbc3f02ba68305a9b15e58e49c3ed18ee40ec3167850ed11aac1bcf83d85cf64bfb4ef4d826839e9e822375c35b3bdf2c51a2 SHA512 cefa2668b4e13afba72615bd595cbd335fbf863e639d7742bd19e4f05addde55fbc6d73d8f0d15a9e4a93fb23264f041bd802eaed2d63cd20e7ebe97c0d16257 diff --git a/sys-apps/ack/ack-3.7.0.ebuild b/sys-apps/ack/ack-3.7.0.ebuild index f55f1beafcec..8f36190f2ce2 100644 --- a/sys-apps/ack/ack-3.7.0.ebuild +++ b/sys-apps/ack/ack-3.7.0.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://beyondgrep.com" LICENSE="Artistic-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~riscv x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/sys-apps/ethtool/Manifest b/sys-apps/ethtool/Manifest index 5716cd9569dc..de86f042b4d0 100644 --- a/sys-apps/ethtool/Manifest +++ b/sys-apps/ethtool/Manifest @@ -8,5 +8,5 @@ EBUILD ethtool-5.15.ebuild 590 BLAKE2B 8850ed177a2ac5d814239e4eec4c72a216d562496 EBUILD ethtool-5.19.ebuild 605 BLAKE2B 1f0b0a87665434d31c5dc09d7902c629c118db82a39cbb3d63859bcfe7a60d69ac18e5a35c0244805926d9d044777e4ac6b4474d7526975436ed733970cb06bd SHA512 39862ccb79c301109d774a13e8862cc53654ff08278ac143a4a7b8b62178a47d6b2a341fa19804afd4d8691110c1c60cd4024f99b389bc9365ce82977f4996dc EBUILD ethtool-6.1.ebuild 641 BLAKE2B 30923d70692c4b580e03c17347f104d4b99ee23ebd9664c717d00273bfc22fda66e53800c71c0d2a873a186dc3ccdbef72fe3a4d7d64d5d253963f9138141b08 SHA512 7d313abdedf7c2bbe68d2f676ba85a12914b5fc80e6a132ab2da52c7c25212b06e591a186cb8f9ed949d3ab4bab404d47d357b278a6367f2c5385008a0f1112e EBUILD ethtool-6.2.ebuild 597 BLAKE2B 9c69f88683d78a567bff9953e758a8fd8a94582d6763cd104432a025137b7f2691a195c82e97d4499ff9194e3e7245f06ce62bff21e946d6b1f946eba394440d SHA512 a2f7a0224e8d6d7b3a2d3a7ab002cdfe7f5c40ce005f07460ecb445aea02f46979ecee1a05e4ff8ab6f0ca2e01e2135f6cd9654fe9f4ee9a9ba207711ce2d178 -EBUILD ethtool-6.3.ebuild 605 BLAKE2B 5f3dc535aca5067e234b9a3893c6101f78fc9998351a958be068f8aa16a1bcc5d46df9459f061c801a49a79af7390e3a86281dc5f5c130ad8a9c1d9fb44fe9f3 SHA512 40e6f1d78d664fd8f5b0e15269018ae6973dcb8447cef86a49dd0a78c5d5e5eee1d73005141d49082c5735576197d21bc7bd10241d2359050b1d2d056416223f +EBUILD ethtool-6.3.ebuild 597 BLAKE2B 9c69f88683d78a567bff9953e758a8fd8a94582d6763cd104432a025137b7f2691a195c82e97d4499ff9194e3e7245f06ce62bff21e946d6b1f946eba394440d SHA512 a2f7a0224e8d6d7b3a2d3a7ab002cdfe7f5c40ce005f07460ecb445aea02f46979ecee1a05e4ff8ab6f0ca2e01e2135f6cd9654fe9f4ee9a9ba207711ce2d178 MISC metadata.xml 993 BLAKE2B 92777546a5d0d904b319409448ce71991ddd4b89941888b19d2cb093b9f3227361fac1ef39535524a5bcb7b1cfd91c90fb4557d5501b46d44df64e647fb7d3aa SHA512 696f633f299189a01bc9ff309faac585a849323e0d471e1ddb7631bc917c83220844bae7ba1568a181b08029f4109bb2cf0c3063cee5f0d91705a04abe353793 diff --git a/sys-apps/ethtool/ethtool-6.3.ebuild b/sys-apps/ethtool/ethtool-6.3.ebuild index a7eff7664c78..fd370de49db8 100644 --- a/sys-apps/ethtool/ethtool-6.3.ebuild +++ b/sys-apps/ethtool/ethtool-6.3.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" IUSE="+netlink" RDEPEND="netlink? ( net-libs/libmnl )" diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest index 68dd5319fd6a..c36a0afbbed8 100644 --- a/sys-apps/pcsc-lite/Manifest +++ b/sys-apps/pcsc-lite/Manifest @@ -5,5 +5,7 @@ AUX pcscd-init.7 408 BLAKE2B 54e4995a169b7f816b0de9b409ae94a8328e792b50872d58398 AUX pcscd-udev 330 BLAKE2B 50e99953aec238fe98c6aee5219d3978b44d37c90ce74c9cb8e19b37c8677001e9b1b3701df8246bf051c6cf8b5c971f86bf1f580bfcbff270b8937328ca887d SHA512 06b672135fda9f83af4f030ff8078f8e1194ced529334c17c1a93f81ee9a5d4448bcea5ffec398f01d957a6607fbde7f69fbc23d727bb3ffad48a305cefe5c26 AUX pcscd.conf 32 BLAKE2B 2407e00c654d7e259ebf69ab420800f5605cb3ead23eb4aa07317928c38b6328eae2e566fab84c8844fb80e8a165cd32982fee753498b20c7a750f52fbb1f995 SHA512 ae27cdab8a60201639b9d9aca2d7f760146a5c5238878a0ebb562740385bf58f04bbc37a19cd1a2c8c69ee463f10beecc6531dde733cb6a6d4b06816f54b1569 DIST pcsc-lite-1.9.9.tar.bz2 789914 BLAKE2B 4a28e71e5fb23685f8ef1e0c577157708a3130e2f0eb3cb5d93c4da307d40578a862fce6726f8e4b7c6296b86f953448eb0748412d8933cc2e58a28daf285190 SHA512 748ec3d82ff48af1a8dc5a581863e5d94adc47ab8f3158ceb838c2b521ece3a746b737c7b4bb2ba8b545be85ff18b9639443864e50b2e065cf2fbfdf79ef9700 +DIST pcsc-lite-2.0.0.tar.bz2 799011 BLAKE2B d93fffebbe3daf389fcd8195c9fb3d76db64dbb98ac9c7ecd08338331389298e710ca71187cb73165868b0b5e66cb9735b60e22d508db1c1a81e04555103948a SHA512 4b34628d3269ae1859f19d2ab7eb74a76a55f3d76fbc9e4e420a081a065b1d0d7b98680552c7208f3265c684bed844afc6be1c2e5f103ad916ce7f38b52ee68c EBUILD pcsc-lite-1.9.9.ebuild 3335 BLAKE2B f16cd542eecf6d5987c0f74d337fefda3f38e4c24fdd7a395390489552af99108e91bf7f95682c08e45acf2254d87f77cf70b66f67115e9da80fa648bd86b238 SHA512 5f9258b8376612e6de95d1f5e83aaebe2fdc3789da5fd1c5ba16b994e70d27f94e3c46cdc725565f89a9d78ac9ff78afa14c0d873555e0aaa01a855f2110a01d +EBUILD pcsc-lite-2.0.0.ebuild 3342 BLAKE2B 11a56352ca501ff57be3f1ce1f0c45ca1cf2bf21ed42c39479a9de2d17b48e11233d0c573a6bb3c9762f1d2f1f77c91df24927f0c563b6570cd0b63b79542238 SHA512 d711830fe16909f1d81c281d679fee34a1e32639b2d059065797c0857ed00792225cf36395551e5a8f1104a6ccac8cbd67f0d1d777c45aabc065f2bce6e11ab4 MISC metadata.xml 1165 BLAKE2B 7574a214e85108c9507deae579da38edca6cca7fcdc20fe8295ded39067f4de37d966f96522f21aec7530e27c76d14d8490ff672f35af3601d6dbb0d33813395 SHA512 22ee7464a81a4c2d7bbf0dd9c6713f20c06aba47dd5e3f6a6e71fc3addf03636b3d17aebdc5d97926e892c01510579c19bdf7ed291720f135bdce70828ee420c diff --git a/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild b/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild new file mode 100644 index 000000000000..21633d5f7a05 --- /dev/null +++ b/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-single-r1 systemd tmpfiles udev multilib-minimal + +DESCRIPTION="PC/SC Architecture smartcard middleware library" +HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" +SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" + +# GPL-2 is there for the init script; everything else comes from +# upstream. +LICENSE="BSD ISC MIT GPL-3+ GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +# This is called libusb so that it doesn't fool people in thinking that +# it is _required_ for USB support. Otherwise they'll disable udev and +# that's going to be worse. +IUSE="doc embedded libusb policykit selinux systemd +udev" +REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" + +# No dependencies need the MULTILIB_DEPS because the libraries are actually +# standalone, the deps are only needed for the daemon itself. +DEPEND=" + libusb? ( virtual/libusb:1 ) + udev? ( virtual/libudev:= ) + policykit? ( >=sys-auth/polkit-0.111 ) + acct-group/openct + acct-group/pcscd + acct-user/pcscd + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-pcscd )" +BDEPEND=" + sys-devel/flex + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch + "${FILESDIR}"/${PN}-1.9.8-systemd-user.patch +) + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-maintainer-mode \ + --disable-strict \ + --enable-usbdropdir="${EPREFIX}"/usr/$(get_libdir)/readers/usb \ + --enable-ipcdir=/run/pcscd \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + $(multilib_native_use_enable doc documentation) \ + $(multilib_native_use_enable embedded) \ + $(multilib_native_use_enable systemd libsystemd) \ + $(multilib_native_use_enable udev libudev) \ + $(multilib_native_use_enable libusb) \ + $(multilib_native_use_enable policykit polkit) +} + +multilib_src_install_all() { + einstalldocs + dodoc HELP SECURITY + + newinitd "${FILESDIR}"/pcscd-init.7 pcscd + dotmpfiles "${FILESDIR}"/pcscd.conf + + if use udev; then + exeinto "$(get_udevdir)" + newexe "${FILESDIR}"/pcscd-udev pcscd.sh + + insinto "$(get_udevdir)"/rules.d + newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules + fi + + python_fix_shebang "${ED}"/usr/bin/pcsc-spy + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" + elog "the pcscd group, to avoid running as root." + elog + elog "This also means you need the newest drivers available so that the" + elog "devices get the proper owner." + elog + elog "Furthermore, a conf.d file is no longer installed by default, as" + elog "the default configuration does not require one. If you need to" + elog "pass further options to pcscd, create a file and set the" + elog "EXTRA_OPTS variable." + elog + + if use udev; then + elog "Hotplug support is provided by udev rules." + elog "When using OpenRC you additionally need to tell it to hotplug" + elog "pcscd by setting this variable in /etc/rc.conf:" + elog + elog " rc_hotplug=\"pcscd\"" + fi + + tmpfiles_process pcscd.conf + + use udev && udev_reload +} + +pkg_postrm() { + use udev && udev_reload +} diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest index 0d2ddeaa067b..0b9d04f42558 100644 --- a/sys-apps/pkgcraft-tools/Manifest +++ b/sys-apps/pkgcraft-tools/Manifest @@ -1,4 +1,4 @@ DIST pkgcraft-tools-0.0.7.tar.xz 18854348 BLAKE2B 1a7c22df87b994c3c58ae00d964e422ff1d9d5eb479b183178e33e517e5c0c1ff802c4c43ef4e49437c699eeeb81c1db8aa4825736fdef2d0548f92ea15c3f13 SHA512 a97da4a477f399238f0257c1dc1e93cdcaa14bf1c39014e42d39220566fc582a4c24a6cbaf23b8635cf1bc74d24ff1cdc6aa04619437788f2d2ef73e5f833cc8 -EBUILD pkgcraft-tools-0.0.7.ebuild 752 BLAKE2B bcf92c51d9a641a4432a8ef9f98a7041e816c38c021804d86497897a3b80b994922a1647f52a16426e8c193fc3f1fb49db8a7d61aa18695294a9b5d0072975b9 SHA512 ec6e10e8c68587221f4a4efb62c67f5d29db105bb05927e172d4a8ca885d866533f11390ff2746e3bab4f08217c4a8e7757553ff6bca565927b29d33a422613f -EBUILD pkgcraft-tools-9999.ebuild 752 BLAKE2B bcf92c51d9a641a4432a8ef9f98a7041e816c38c021804d86497897a3b80b994922a1647f52a16426e8c193fc3f1fb49db8a7d61aa18695294a9b5d0072975b9 SHA512 ec6e10e8c68587221f4a4efb62c67f5d29db105bb05927e172d4a8ca885d866533f11390ff2746e3bab4f08217c4a8e7757553ff6bca565927b29d33a422613f +EBUILD pkgcraft-tools-0.0.7.ebuild 928 BLAKE2B c311f2252f0115157228d19f875a12455aa8a2f98f7f2a8a2bc2c5fb2b1781d276fa95b53871eb16f1cf5cc2958ec99702ffa84bafb12a29a917f97ee2e96a9a SHA512 6da2ed74401627b471499eb936aa2e374430cb809edab5c33a8eda911d8820296c3c6c6b1338991a1f061ee8341f1fa4420f4a7a3fb940cc623d558b29a04770 +EBUILD pkgcraft-tools-9999.ebuild 928 BLAKE2B c311f2252f0115157228d19f875a12455aa8a2f98f7f2a8a2bc2c5fb2b1781d276fa95b53871eb16f1cf5cc2958ec99702ffa84bafb12a29a917f97ee2e96a9a SHA512 6da2ed74401627b471499eb936aa2e374430cb809edab5c33a8eda911d8820296c3c6c6b1338991a1f061ee8341f1fa4420f4a7a3fb940cc623d558b29a04770 MISC metadata.xml 322 BLAKE2B b0ee0fc53eb8b4b485f74806a78b5560aaf53f1772d7bd3e5af4e03385b3f3aed18fc52462c2d49de6c0d735db0cae3fab175b8adc0e5f7c4baa89e28973776f SHA512 9343cd5028750182fe9325c44f4c4c7df0976b79e0422b66e0fd16f94be76eaa203e8ecad5ec2cbed3535f455f038e51968850ced9afb27af9a98b6b968df88a diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild index de119a49d803..249efde287e3 100644 --- a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.7.ebuild @@ -4,7 +4,8 @@ EAPI=8 CRATES=" " -inherit cargo +LLVM_MAX_SLOT=16 +inherit cargo llvm DESCRIPTION="pkgcraft-based tools for Gentoo" HOMEPAGE="https://pkgcraft.github.io/" @@ -27,6 +28,15 @@ SLOT="0" QA_FLAGS_IGNORED="usr/bin/pk" +# Clang needed for bindgen +BDEPEND=" + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)) +" + +llvm_check_deps() { + has_version -b "sys-devel/clang:${LLVM_SLOT}" +} + src_unpack() { if [[ ${PV} == 9999 ]] ; then git-r3_src_unpack diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild index de119a49d803..249efde287e3 100644 --- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild @@ -4,7 +4,8 @@ EAPI=8 CRATES=" " -inherit cargo +LLVM_MAX_SLOT=16 +inherit cargo llvm DESCRIPTION="pkgcraft-based tools for Gentoo" HOMEPAGE="https://pkgcraft.github.io/" @@ -27,6 +28,15 @@ SLOT="0" QA_FLAGS_IGNORED="usr/bin/pk" +# Clang needed for bindgen +BDEPEND=" + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)) +" + +llvm_check_deps() { + has_version -b "sys-devel/clang:${LLVM_SLOT}" +} + src_unpack() { if [[ ${PV} == 9999 ]] ; then git-r3_src_unpack diff --git a/sys-apps/plocate/Manifest b/sys-apps/plocate/Manifest index 62f911f79c25..c4de04f022c7 100644 --- a/sys-apps/plocate/Manifest +++ b/sys-apps/plocate/Manifest @@ -5,6 +5,8 @@ AUX plocate.cron 1392 BLAKE2B 89f7eb05879c0c1a6c30376d36dc469dde0b94df3758ae6590 AUX updatedb.conf 898 BLAKE2B de832ebc92e103ccaf8923b2eb872ad8e1ef36be2dfaa463a054e3e9fc256102db676ab0568501b695d943fcb74ae6ab01585bf7301cc6aa9ce6d709cc1690b5 SHA512 8b0b32e949636aef46c5439b0c963cc113306cedb1e5c84dbbfa2efba6562ca6dd602fdbfa0b3bc9095b0cf30a619ebb366535406cdb461f20d012ec1af7ff9d DIST plocate-1.1.17.tar.gz 73528 BLAKE2B b5694c3669a9717a9410093b1fba2eef029550989ffcbf9b6e7b48cc715c215b909c140cd98d47d30d31ccb6e04fd54e9b565bc8e16c1d9901ccf82a906de311 SHA512 36fa7ad01b5136ce75aad56d154cac511f2f4952a52ef2f16143e46b65a8b129e9011dbdd66d80a0288ef15291864cef0e51d26181b966a2f67b5e4f9fc42c7d DIST plocate-1.1.18.tar.gz 73906 BLAKE2B 60f11df992c2865259c2c9cfda033b1b303738c19cc7ffa8a885bbc6fd26140263c7fe31acb2541fe9b298034d28a719935580561c7d4e88c564fa0e74eeccbe SHA512 da059980472df2269139a5b71d34579e239365714d54dfa2af68276c6e28178602eda302d2ec39cb7e5e07312019425159048047ddfc08bd3266e3bf7972d1c6 +DIST plocate-1.1.19.tar.gz 73964 BLAKE2B bf488c124b219822c0b426f57f3389f2611395abb7ddd22c72c51086480af1811ab2ed5f2a96cb6ad7d769be7dd60c3482de46841f2d5be85abdc1a1ce586ee8 SHA512 7bbbe914dbab75adb7f38302b7a06cfbb7c18b0e580892dced89d72dc0076e98a75482833b76200bb68b99a0a6093639967b962d0b69be526360995f7d833fcd EBUILD plocate-1.1.17.ebuild 2195 BLAKE2B 990070bd488c31df7be758e359f092a52701b76846a3ccd009b6d95ac686936af6e05bce7ee04dac945f8237d8035ba836040609912ce31569e22bc7c26e4da0 SHA512 3d0416e8ed8e6ce74e7518a11076c7cfb64ccd15c0d7cf67462d6643420753671812dc834652bedd56e79e4383ebfa8dfdfdacc9b1f1bc8cdccee4bf16be9b47 EBUILD plocate-1.1.18.ebuild 2237 BLAKE2B 34fdb449a8f9fd821f8e6762b86e565abbc696ac055ba764b23924be35a1f1692cd265d964e91d27ac2c1100732f37f259f8b41bbb1a1b1bdc220b9dbad31942 SHA512 1a51e91f8cfd8a98f84173a3c5e8c26e94fdfe92df784af3b728184a97a3c7f1bd0067a48a53e823cab5febde837428f7f055949fa1d3f04047b2de62dac6207 +EBUILD plocate-1.1.19.ebuild 2196 BLAKE2B c225c730c52b6a052dd8043f4008306672bfe4d297f9b5c13409427ae64a154803594df968dbc0f8813f230c9350fb2cdb89f294e8d0b5e56ca9ec49df33629b SHA512 8f46d0e1ffaf18db4c240408e8566cb99b29749e413ccc8db1d7f9fc1a939988c35e7dd7411f0baa1556b10a0901f60448a602f6b70122e21297cc94dd126222 MISC metadata.xml 1424 BLAKE2B c0120cd8ebfe537535ef4c9d1c0af50782a8f70f5be649ea732d7196fa7c04cb3cd5eb88635ad1d8296a16ff0eaacce402024f3dd921b1b0d0aa5512f4ffe692 SHA512 633c882489bd93a3c5f1fce385e7957589e99e58185ff751fe2f0e06a49a82f6cafc9a0b490a7dbb3a3761d24904f9e360b53369b341cb65b2a58dac28e5d0e8 diff --git a/sys-apps/plocate/plocate-1.1.19.ebuild b/sys-apps/plocate/plocate-1.1.19.ebuild new file mode 100644 index 000000000000..d232fce2fe29 --- /dev/null +++ b/sys-apps/plocate/plocate-1.1.19.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info meson systemd + +DESCRIPTION="Posting locate is a much faster locate" +HOMEPAGE="https://plocate.sesse.net/" +SRC_URI="https://plocate.sesse.net/download/${P}.tar.gz" + +# GPL-2 for updatedb +# GPL-2+ for plocate itself +LICENSE="GPL-2 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+io-uring" + +RDEPEND=" + acct-group/locate + app-arch/zstd:= + io-uring? ( sys-libs/liburing:= ) + !sys-apps/mlocate +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.15-meson-use-feature-option-for-libiouring.patch +) + +pkg_setup() { + if use io-uring && linux_config_exists; then + if ! linux_chkconfig_present IO_URING; then + ewarn "CONFIG_IO_URING must be enabled for USE=io-uring" + fi + fi +} + +src_prepare() { + # We'll install the manpage ourself to locate.1 + sed -i "/install_man('plocate.1')/d" meson.build || die + + default +} + +src_configure() { + local emesonargs=( + -Dlocategroup=locate + -Dinstall_systemd=true + -Dinstall_cron=false + -Dsystemunitdir="$(systemd_get_systemunitdir)" + "$(meson_feature io-uring use_libiouring)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + dodoc README NEWS + newman "${S}"/${PN}.1 locate.1 + dosym plocate /usr/bin/locate + + insinto /etc + doins "${FILESDIR}"/updatedb.conf + doins "${FILESDIR}"/plocate-cron.conf + fperms 0644 /etc/{updatedb,plocate-cron}.conf + + insinto /etc/cron.daily + # Ensure that the cron file has the same name as the + # systemd-timer, to avoid plocate being run twice daily on systems + # with a systemd compatiblity layer. See also bug #780351. + newins "${FILESDIR}"/plocate.cron plocate-updatedb + fperms 0755 /etc/cron.daily/plocate-updatedb + + systemd_dounit "${BUILD_DIR}"/${PN}-updatedb.service "${S}"/${PN}-updatedb.timer +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + elog "The database for the locate command is generated daily by a cron job," + elog "if you install for the first time you can run the updatedb command manually now." + elog + elog "Note that the ${EROOT}/etc/updatedb.conf file is generic," + elog "please customize it to your system requirements." + fi +} |