diff options
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/Manifest.gz | bin | 9000 -> 8847 bytes | |||
-rw-r--r-- | sys-process/atop/Manifest | 3 | ||||
-rw-r--r-- | sys-process/atop/atop-2.5.0-r1.ebuild | 71 | ||||
-rw-r--r-- | sys-process/atop/files/atop-2.5.0-install_fix.patch | 31 | ||||
-rw-r--r-- | sys-process/daemontools/Manifest | 2 | ||||
-rw-r--r-- | sys-process/daemontools/daemontools-0.76-r8.ebuild (renamed from sys-process/daemontools/daemontools-0.76-r7.ebuild) | 26 | ||||
-rw-r--r-- | sys-process/dcron/Manifest | 2 | ||||
-rw-r--r-- | sys-process/dcron/dcron-4.5-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-process/pidof-bsd/Manifest | 7 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch | 14 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch | 13 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/pidof-bsd-20050501-gfbsd.patch | 128 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/pidof-bsd-20050501-pname.patch | 46 | ||||
-rw-r--r-- | sys-process/pidof-bsd/metadata.xml | 5 | ||||
-rw-r--r-- | sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild | 33 |
15 files changed, 122 insertions, 261 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex e7108f397416..8e1bdc7bdaf0 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/atop/Manifest b/sys-process/atop/Manifest index bcd20cd89105..bc21ed18e8cb 100644 --- a/sys-process/atop/Manifest +++ b/sys-process/atop/Manifest @@ -1,6 +1,7 @@ AUX atop-2.2-build.patch 898 BLAKE2B 41be74ee6676a0cfeda2b42274618568e156b6bb56b5ff5809ab3f38a96e07b18a67b51921509fe46966c43ceb535ead806f58e0f3b3bf5f7a70fa1996ab0c74 SHA512 f291cf34d975367f0e972b7fb62f8c91234d0d8da2c903f82e18f160f435e8e8a57ad7eeb5ef9c438e6a5f86c0e9c237d518a4fe09dcf43dcfa5ff39ab769ffc AUX atop-2.2-sysmacros.patch 283 BLAKE2B 175d69f6c8d0fe6ce909ab95375cd5f23aef2bb9cf86a80c94e6002e5268cbea2d37f64a159f0d1db9d2ff8288115712f9544129f4a4eedb9b94569e5155f54e SHA512 8dd708193a57abad2e53625278ab60cfc74bca7ae2851d54584542257dd16161f8262eb7f3f26a9c2e274f8c481012850a5a30c193353b506e4d1e7a43e1565a AUX atop-2.4.0-build.patch 704 BLAKE2B 76b19a4a7926d9d9e737e529cba0aa03ab4331f91b2a30ef6ebbc5a7f03004e9c9e953eb7f3119c30bd9bf150fde146b17148fdba088e67ce5d5739ddf9d00e9 SHA512 77e125d8bc0a7e798b0d1f00cbdbe03c29842336aa178231a1b667759ebbbfe39ec14627c2a9185c2fc33a5f4b0a2d03c6309e5f60098ce0eeb6438c60b29211 +AUX atop-2.5.0-install_fix.patch 1031 BLAKE2B ebb92dc150b2827d6d4beaec367a425fe0a40cff272a1c10980c924692d75a2b824006f9738afbde23afc71d9289bf41187e86a5bfd6b1e0ef1311f48f90dcb2 SHA512 0085b9dfee310e7bb204e55867b7bf27f61ef654ae978e3315f27307528fded3bda87376f3a8726164806094c2d0b0ded81f3bb48440a77c029817e91c32a87a AUX atop.rc-r2 268 BLAKE2B d0673e73ee13d7ac5f1c31544f8f9ba8aefe14c2ebf4e90b090d5a64a308bdd2e42b4131ea5c931e9e2f2386139343cfceb7c04c1378ebd3a260a5d55d0dd5b6 SHA512 07699f1190faa3a8343314b5c8419e7ea49280fef664334f03558907eb5654bc33c7f4baa3fa54cc6f07866c378c984ff81e020e69f0b146c68b8503ab010d0c AUX atop.service 190 BLAKE2B 905a7b42d38b3ab25916c90d7b50c52721f9b061c99e8ce5b9d8cc6c452d1dfeba5478389471778e2a988fd058301bae001139c1396bd9c4a76f2b7f79968377 SHA512 194e9703f34b6a1c749ed5bae3e8708dc625d30e174e285a0998c8aa0d2b1b34da70a3d1db86380abc40615b28a5bdb37b2d511be983da5fd7f154b9686ba343 AUX atopacct.rc 1054 BLAKE2B 80f301506d805ae54552f088c53bf18cab1ee52b76a37387500176e61eba317059b10c9955d13ac5718547253401ec21f0add4b189e5d04ff724af43c8c50b73 SHA512 ddb026c4ebf63dccc6f49b2b7db829d7ba0388da080a65562bac3f2d7ebacc95093099a0fc9d636af5462ace4a9e118eacfe3eb626a70245e7c5c1e874866f02 @@ -10,6 +11,8 @@ DIST atop-2.3.0-version_c.patch 1537 BLAKE2B eda9f0aa427e39ef12aa1584e6277de0057 DIST atop-2.3.0-version_h.patch 748 BLAKE2B 95aa0e819d35498436ddb2554f457e9bf74a70395f077d8f0625b52469d3f4a1f5793afc061aa1f7105fbea6223bb19bbcb999be4231b761523eb28cb5243542 SHA512 79ea49421e9bd82322cae26148d608560910a3d2e089228d2218d93744dcba8398058dd75255b64d15301c8bc4bde1dd6e15b6c6949a01534557b24b3d79089d DIST atop-2.3.0.tar.gz 190560 BLAKE2B 4c7a8f33f7e32fb6107275c21db54af91ffdb06cea14039ba85c6e844efc05e5c64708dae48eb3a7b8e075378838937ddd4756a954e6a040d4b3e8c4e7dd9e93 SHA512 8347f480b3e8f957be9aa8982b9c69c5fbc59b8a32044662995495cc2218de48342788aae40538d2ad67d402c8c470d0514261791ead70303f97221ea6983621 DIST atop-2.4.0.tar.gz 230066 BLAKE2B 75070f0a87f9745f0e018ef5aac7e71060acea77e2043d43594a492875126945ef4c5bfe15f69b300ce6ac25c38f54360ba761ad7fc510016a91b71dc3377957 SHA512 8872626db447b2b7265fa257bc78795c3a5bc2f0dfffae94d01df4090de75feeb092e5a33421877aa12563dde3df18734b5db947c828cec6949284fbeb9dbc8d +DIST atop-2.5.0.tar.gz 233835 BLAKE2B e40ae26cb1f8ddecbf6ea8f8f83d09bf9d62003a54e0679d5eefdf7c6fdaaff1940ba5f097fc1fc181ddb6aedcb8e1482feeb451cce5905b98c929c786db147d SHA512 8c50482194b60afedfd9d593ea7e916b63310bd3b43965fbd2769a2673f6f2247dec764ed1576866321a4b9c7301d5d8369c97fb6d351246395d01772ad04489 EBUILD atop-2.3.0-r1.ebuild 1835 BLAKE2B 8508bba0c31f2fc5f73a708b464d45e0603178a23966cd8e9bd0fc1968f02f036664d5ec2f3f917a51b2ed303bd845bc370258ac9e6fb569e97a57306c78eb7e SHA512 a83ace4dcab3d628151cd5f976f4d10baf4c23ff48b0b814e75f1cab90a9553575bb71b4744d5ed4cecc6fac0a3708d0c316fc66d94bf65cf7818ae0393e8838 EBUILD atop-2.4.0.ebuild 1287 BLAKE2B 88b75183ccc9516e64fd0ec7eb68a822384fc3ab8d5d78e06c38a5cc1c4447785533d862aac711e830853d3c0e2a480d1899db9d16e2175c8d0c3c2ec1a0e6a4 SHA512 b90c22b77398e513b3ce0c17e599264615142254a11240039dc83592a3e066f1fd176ec608e204d6b466c26b6f79970d5a78379618442033afdbd300f940e278 +EBUILD atop-2.5.0-r1.ebuild 1465 BLAKE2B 5c5948ad87d288110204181693ee8c239c5f68c8cf446709b1b6bb605ee6a570817ea7dfaef760540e28f519cab3a7f3cf32b859aee22992dcb6d0d3ac59a36a SHA512 7c245add0f96e276d7ba288e899d23ec29f2e0f2e2a817971848cf41838168febaf40abc69c7514e5697187f5fdf4ef7515b04b771bc9d8637426e7dcea6c446 MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-process/atop/atop-2.5.0-r1.ebuild b/sys-process/atop/atop-2.5.0-r1.ebuild new file mode 100644 index 000000000000..dde668f9ea5c --- /dev/null +++ b/sys-process/atop/atop-2.5.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd toolchain-funcs + +DESCRIPTION="Resource-specific view of processes" +HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop" +SRC_URI="https://github.com/Atoptool/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + sys-libs/ncurses:0= + >=sys-process/acct-6.6.4-r1 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.4.0-build.patch + "${FILESDIR}"/${PN}-2.5.0-install_fix.patch + + # taken from upstream. +) + +pkg_pretend() { + if use kernel_linux ; then + CONFIG_CHECK="~BSD_PROCESS_ACCT" + check_extra_config + fi +} + +src_prepare() { + default + tc-export CC PKG_CONFIG + sed -i 's: root : :' atop.cronsysv || die #191926 + # prefixify + sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die +} + +src_install() { + emake DESTDIR="${D}" genericinstall + + # useless -${PV} copies ? + rm "${ED}"/usr/bin/atop*-${PV} || die + + newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN} + newinitd "${FILESDIR}"/atopacct.rc atopacct + + systemd_dounit "${FILESDIR}"/${PN}.service + systemd_dounit "${FILESDIR}"/atopacct.service + + dodoc atop.cronsysv AUTHOR README + + exeinto /usr/share/${PN} + doexe ${PN}.daily + + insinto /etc/default + newins ${PN}{.default,} + + keepdir /var/log/${PN} +} diff --git a/sys-process/atop/files/atop-2.5.0-install_fix.patch b/sys-process/atop/files/atop-2.5.0-install_fix.patch new file mode 100644 index 000000000000..b46e88c76f3c --- /dev/null +++ b/sys-process/atop/files/atop-2.5.0-install_fix.patch @@ -0,0 +1,31 @@ +From 485a453d2ae5700874a57dffc297030254b5ae7c Mon Sep 17 00:00:00 2001 +From: BlackEagle <ike.devolder@gmail.com> +Date: Mon, 4 Nov 2019 09:00:54 +0100 +Subject: [PATCH] DEFPATH not created so touch fails + +``` +touch /build/atop/pkg/atop/etc/default/atop +touch: cannot touch '/build/atop/pkg/atop/etc/default/atop': No such file or directory +``` + +Add DEFPATH mkdir in genericinstall to make sure the folder +`$(DESTDIR)/etc/default` exits + +Signed-off-by: BlackEagle <ike.devolder@gmail.com> +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile b/Makefile +index 929b0d7..a662fd6 100644 +--- a/Makefile ++++ b/Makefile +@@ -140,6 +140,8 @@ sysvinstall: genericinstall + genericinstall: atop atopacctd atopconvert + if [ ! -d $(DESTDIR)$(LOGPATH) ]; \ + then mkdir -p $(DESTDIR)$(LOGPATH); fi ++ if [ ! -d $(DESTDIR)$(DEFPATH) ]; \ ++ then mkdir -p $(DESTDIR)$(DEFPATH); fi + if [ ! -d $(DESTDIR)$(BINPATH) ]; \ + then mkdir -p $(DESTDIR)$(BINPATH); fi + if [ ! -d $(DESTDIR)$(SBINPATH) ]; \ diff --git a/sys-process/daemontools/Manifest b/sys-process/daemontools/Manifest index ccfea57528cf..d2bbb524d594 100644 --- a/sys-process/daemontools/Manifest +++ b/sys-process/daemontools/Manifest @@ -4,5 +4,5 @@ AUX svscan.init 681 BLAKE2B fbee204b3d8b109bca9912e23487a4ee28fabe3761b7b5fbf6d9 AUX svscan.init-0.76-r7 688 BLAKE2B f5dcf76ed7c0a4aacabd20c1d2462fdfe5ffc22c5ae1b5eb45e58a238dd7a16c2efe647dfa94a3e014234288919df83b2825a1c63048ba89acd5476fb6085395 SHA512 171ca666fc788c564e1d081e90591e98367c9a9db37d9a05d31aa80c01c9f089360f91fb2b71337f7a046e857548c287df5aef054c43d5c93cc083163d602cc4 DIST daemontools-0.76-man-20020131.tar.gz 8005 BLAKE2B 0c8f0ae71754516fda772b3771a9e68499aed17f3035dee3c2bb36012fb4e411cac9146eb5889306f00e03a14ef65194e1b6f76d45890175642405797da2201b SHA512 1767fafb2d92902f903637f08363031971bda007d1b7b53059551c740976d1c643229ccc44171796c1dcb43cbd875a17178edc634e140671817e0ef0ba3ad80b DIST daemontools-0.76.tar.gz 36975 BLAKE2B cb45c92fc06169b617befe9f9193377a07d31e9e6ae05526c299ce2a63c8009b599384a87f768fbe9283b229083ef74007b85662976cf7add5c855f5018fafa8 SHA512 e4a7938352b745a03ccc41acdddba1e6782f0ca245e5cae060de62ab6c5a23c841a994c30140298d274405a7f26d53ba7e84e5810a3d185b2c01e4c0feffe6c7 -EBUILD daemontools-0.76-r7.ebuild 1386 BLAKE2B 1de66d5871baebd7a2d0c219bc00e85449b490848106e4c342bd63e8e96410223b53871b8a09ac8abf7faa5eae24a3041bcd1810fca37dd844f3d5dfe966de9c SHA512 2ff5d7a3eb84bcd00680adedf63679dc05f10f1f7589968a58ee55c4d3d3236ae6c6916ebf92959e21dd767a332efb270bce96b74f5143d34d9b5a2222f5937e +EBUILD daemontools-0.76-r8.ebuild 1354 BLAKE2B e96c7d6d877a20a862bdfb2682ddb7851413f84548993701713c0c022b0ec5e2d8b6246aa74af6deef978370bffdfcee60bc360ea9c8900f56e93f9ccc3459f3 SHA512 e34d580a04d502f39bb8967cdb0c9715ae8796d736043b9ef9f0914934ea8d375b3c1754514e8ec9f3274232ba5f10235656cd936a084a6989e62c27255d434e MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-process/daemontools/daemontools-0.76-r7.ebuild b/sys-process/daemontools/daemontools-0.76-r8.ebuild index 5f2a20bcb1e3..98a029774410 100644 --- a/sys-process/daemontools/daemontools-0.76-r7.ebuild +++ b/sys-process/daemontools/daemontools-0.76-r8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils flag-o-matic qmail +inherit flag-o-matic qmail DESCRIPTION="Collection of tools for managing UNIX services" HOMEPAGE="http://cr.yp.to/daemontools.html" @@ -19,14 +19,16 @@ DEPEND="" RDEPEND="selinux? ( sec-policy/selinux-daemontools ) !app-doc/daemontools-man" -S="${WORKDIR}"/admin/${P}/src +S="${WORKDIR}/admin/${P}/src" -src_unpack() { - unpack ${A} - cd "${S}" +PATCHES=( + "${FILESDIR}"/${PV}-errno.patch + "${FILESDIR}"/${PV}-warnings.patch +) + +src_prepare() { + default - epatch "${FILESDIR}"/${PV}-errno.patch - epatch "${FILESDIR}"/${PV}-warnings.patch ht_fix_file Makefile print-{cc,ld}.sh use static && append-ldflags -static @@ -34,14 +36,14 @@ src_unpack() { } src_compile() { - touch home - emake || die + touch home || die + emake } src_install() { keepdir /service - dobin $(<../package/commands) || die + dobin $(<../package/commands) dodoc CHANGES ../package/README TODO doman "${WORKDIR}"/${PN}-man/*.8 diff --git a/sys-process/dcron/Manifest b/sys-process/dcron/Manifest index 2d84871e5324..16fa95c757a1 100644 --- a/sys-process/dcron/Manifest +++ b/sys-process/dcron/Manifest @@ -6,5 +6,5 @@ AUX dcron.init 449 BLAKE2B 2c2ff6e7e39282dd17b9d64705a96aebfda589f7276b0047c5ebb AUX dcron.service 151 BLAKE2B b8e3fa583592f6a3719356ed4d7b7429ba0cfaec2a6398af398df3a3b959b74659b6b89b7899c1bfb1c9ce048c00be6790aae650a88b5cfb5cc7ea51020e9fce SHA512 7249396786f5fc3b52981d0344c52bd56151d8ead161111a90a5b30c2985a39486aea3e263a6ddbefcb53d88a67277038bd88cc6480ce3d788093bac16835d1c DIST dcron-4.5.tar.gz 44978 BLAKE2B c77cea026b074eed11200bb335cc2f58f7346410f88ae50685db137583beddab14e50394233b8e0f27ae7e3bf30c7875b539db84c32236f78f52bf91862b3272 SHA512 08521391d16ba5adf80278ec2a734319c26c48841fd94b119c0b27d744c2cfb3562b1a3630135a03d1c43b1668d49262713abb20ff5f7ecd397a2a19a2f6105a EBUILD dcron-4.5-r1.ebuild 1150 BLAKE2B 95d02f72bece8da3b0b693622e259876c6044a2719c578f9f6687c07711581632aab686b9e8adf6a982223cd16b47e72e11edbfc18b8243e3e89d2d6d4ef0a44 SHA512 b1c9e815fc98048e4a362d39b9165abcf5dbf4c38fc8c5fea91493c024e61af9535cd985176d0d9c1c5a9273ea22d4048d3d2d760023ca04d5f1e7f39713fbfe -EBUILD dcron-4.5-r2.ebuild 1158 BLAKE2B af116dde7f620f1140d412473114440ce7990dd92add2024a057dcef9ffecac631e1e90127e13f91dabdb721c41e6107172df48bf31b943f653e80fa0a6af5ee SHA512 6b144f9d6ffb66739d369041a94fe86f567da1e61d27acc644e53f870160510f42361f1742a549a48a6bfae36bed093d03e32cf8cb24a9d0b8bf09dad8738824 +EBUILD dcron-4.5-r2.ebuild 1157 BLAKE2B a5046d382c4955350ea024a49b9b2e2c3750645ccbf608150e9732ddd973f43df7d11742c64643be25a609434d808695140c8ea2de189bdd460b5845076029a3 SHA512 f893ff44b5b24f9bd389d0b07b7a7153a58e60e5f52033b11750dfac9d66cb7bcc10bb4f21a475095c2a5b20c3ae3578d00f6577e1c8161e892c3dd2b881732a MISC metadata.xml 646 BLAKE2B 5f14f2604db704722425788bfffc6416afd2abd34b019cc8596dcbcb575e3e4d0aac99ed0310a7fc8bf384db80116f8fd80d8177c0f6b79b9ab96394548bb473 SHA512 4a4fdf29b18fba800638c08f29bfec7afe0976a2c0e9c554c55c2f713e12e5aff509d0472387b782b7444fa951985d1af9a44779bab3cffb66645a3877deb44e diff --git a/sys-process/dcron/dcron-4.5-r2.ebuild b/sys-process/dcron/dcron-4.5-r2.ebuild index 7a1d340cff82..75d0ffacdb6b 100644 --- a/sys-process/dcron/dcron-4.5-r2.ebuild +++ b/sys-process/dcron/dcron-4.5-r2.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="A cute little cron from Matt Dillon" HOMEPAGE="http://www.jimpryor.net/linux/dcron.html http://apollo.backplane.com/FreeSrc/" SRC_URI="http://www.jimpryor.net/linux/releases/${P}.tar.gz" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" LICENSE="GPL-2" SLOT="0" diff --git a/sys-process/pidof-bsd/Manifest b/sys-process/pidof-bsd/Manifest deleted file mode 100644 index 990077814254..000000000000 --- a/sys-process/pidof-bsd/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX pidof-bsd-20050501-fbsd11.patch 252 BLAKE2B 7e915a58cd01f1939e56c7d900c873689cae09894747ea6fa6b42ea758c71d6f5432453ca1ed5e0312574d86dd61516555cc3f6a9f08991898d435d5d84f5bf7 SHA512 32c19975f2bc14e809a0416c52418416c9cfba62ed5bbda69b2773dd1dc931b7b2740054bf70f590403692f1944463e7cc6bef2dfc050d93bc5c7bc9f59559c3 -AUX pidof-bsd-20050501-firstarg.patch 485 BLAKE2B 669d832cbe90d0ec716fa9b544b9ae77318db132ee1434d208e992b6e3f3576b1b134e83b6bce6c903fcc6a5402cdf674a6c4198519ca6325bd1c9716797e9f8 SHA512 c7dd9d9c7d2d90c41b0c612284c9f23990e11d598ee6815480b2a31c2910703030511077781e9fc24e5054cc88fc6c50b6bf8eae1a9141a671f78c1be3cf9f09 -AUX pidof-bsd-20050501-gfbsd.patch 2825 BLAKE2B 48972ae404a5f0da4eb73d4a203879625305d351b2b2a759ce50f1ec33d746765329dc41dfd377e2d046c90c5ad591e0947d5ab5584c604cd49315975d76df4d SHA512 459bc1bb1452067207082c2b55ba86e47cb5a683cbc2ddf8b10545d8e961a0a8d9f5bba34236e150e391056364a4115be975b30e34df4c3dc82ed16bdad981a9 -AUX pidof-bsd-20050501-pname.patch 1374 BLAKE2B 3af207c7370141f6ddda3083902735bd0eb78c339540ece462d6ba7533c30e9978d4789fb624ac2cba971b10f5aff6004b198ab00539a84630c598fe9fb8c46d SHA512 5f3912a0f48db867181def6a6bb36f3544b069be89af0d0290d073f7d92041abda449c8b84694fed45e1d35a50bfa4bd157d695ab166fb61cc3b6c8d99e5f417 -DIST pidof-bsd-20050501.tar.gz 1769 BLAKE2B 6f64d23913e08adc52eef5550becb7f54a1eab805e1a7fe7883632756647bb633d617486fb7a4fa09459d32cdcfb09f41b5c157cc877a71fb07744e2cfced562 SHA512 27691305165848363415a7d487b36a87db0750a9c08e6327eef05f5e87326c91fbf46c415673f83268981a22bbfcfaaf5ef280c06c24b3ebb50d1483527f9c94 -EBUILD pidof-bsd-20050501-r4.ebuild 622 BLAKE2B 6089385eab27a2d962756445bf007d5ab68d62e8bba93e7af8b931e324d9c3ddb6d7b890174aae8ef38a2361bbe5b3eecfcbbce29e0a7a621be6190a574b7db2 SHA512 06cbad4e0531a16ffa83ae5d7ac8ccf9f951057476b32bc3a4b5b6096e28e969e23148ebb050310226bb311011082945980df2444d558f3b9d543a4a2f579880 -MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch deleted file mode 100644 index 4a1b16285205..000000000000 --- a/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/pidof/Makefile b/pidof/Makefile -index d2d760b..67d2725 100644 ---- a/pidof/Makefile -+++ b/pidof/Makefile -@@ -2,8 +2,7 @@ - - PROG= pidof - SRCS= pidof.c --NOMAN= yes -+NO_MAN= yes - LDADD= -lkvm --LINKS= ${BINDIR}/pidof - - .include <bsd.prog.mk> diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch deleted file mode 100644 index dfb15ae7b94b..000000000000 --- a/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pidof/pidof.c -=================================================================== ---- pidof.orig/pidof.c -+++ pidof/pidof.c -@@ -67,7 +67,7 @@ get_pid_of_process(const char *process_n - char **p_argv = NULL; - - if ((p_argv = kvm_getargv(kd, p+i, 0)) != NULL) -- for (; *p_argv != NULL; p_argv++) -+ if ( *p_argv != NULL ) - if (strcmp(process_name, basename(*p_argv)) == 0) { - (void)printf("%d ", (int)p[i].ki_pid); - processes_found++; diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-gfbsd.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-gfbsd.patch deleted file mode 100644 index bb7a776b630d..000000000000 --- a/sys-process/pidof-bsd/files/pidof-bsd-20050501-gfbsd.patch +++ /dev/null @@ -1,128 +0,0 @@ -? .pidof.c.swp -? pidof -? pidof.core -Index: pidof.c -=================================================================== -RCS file: /cvsroot/bmp-plugins/pidof/pidof.c,v -retrieving revision 1.4 -diff -u -r1.4 pidof.c ---- pidof.c 1 May 2005 16:26:19 -0000 1.4 -+++ pidof.c 13 Sep 2005 16:11:08 -0000 -@@ -26,6 +26,7 @@ - * $Id$ - */ - -+#include <unistd.h> - #include <stdio.h> - #include <string.h> - #include <err.h> -@@ -37,56 +38,91 @@ - #include <fcntl.h> - #include <stdlib.h> - #include <sysexits.h> -+#include <libgen.h> - --static int get_pid_of_process(char *process_name); -+static int get_pid_of_process(const char *process_name); - static void usage(void); - -+static int match_argv; -+static pid_t own_pid; -+ - static int --get_pid_of_process(char *process_name) -+get_pid_of_process(const char *process_name) - { - static kvm_t *kd = NULL; - struct kinfo_proc *p; -- int i, n_processes, processes_found; -- -- processes_found = 0; -+ int i, n_processes, -+ processes_found = 0; - - if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, "kvm_open")) == NULL) - (void)errx(1, "%s", kvm_geterr(kd)); - else { - p = kvm_getprocs(kd, KERN_PROC_PROC, 0, &n_processes); -- for (i = 0; i<n_processes; i++) -- if (strncmp(process_name, p[i].ki_comm, COMMLEN+1) == 0) { -- (void)printf("%d ", (int)p[i].ki_pid); -- processes_found++; -- } -+ for (i = 0; i<n_processes; i++) { -+ if (p[i].ki_pid != own_pid) -+ if (strncmp(process_name, p[i].ki_comm, COMMLEN+1) == 0) { -+ (void)printf("%d ", (int)p[i].ki_pid); -+ processes_found++; -+ } else if (match_argv == 1) { -+ char **p_argv = NULL; -+ -+ if ((p_argv = kvm_getargv(kd, p+i, 0)) != NULL) -+ for (; *p_argv != NULL; p_argv++) -+ if (strcmp(process_name, basename(*p_argv)) == 0) { -+ (void)printf("%d ", (int)p[i].ki_pid); -+ processes_found++; -+ break; -+ } -+ } -+ } - - kvm_close(kd); - } -- -- return processes_found; -+ -+ return (processes_found); - } - - static void - usage() - { - -- (void)fprintf(stderr, "usage: pidof name1 name2 ...\n"); -+ (void)fprintf(stderr, "usage: pidof [-x] name1 name2 ...\n"); - exit(EX_USAGE); - } - - int - main(int argc, char **argv) - { -- int i, procs_found; -+ int i, procs_found, -+ ch; - - procs_found = 0; -+ match_argv = 0; - -- if (argc <= 1) -- usage(); -+ own_pid = getpid(); -+ -+ while ((ch = getopt(argc, argv, "x")) != -1) { -+ switch (ch) { -+ case 'x': -+ match_argv = 1; -+ break; -+ case '?': -+ default: -+ usage(); -+ break; -+ } -+ } -+ argc -= optind; -+ argv += optind; - -- for (i = 1; i<argc; procs_found += get_pid_of_process(argv[i++])); -+ if (argc < 1) -+ usage(); -+ -+ for (i = 0; i<argc; i++) { -+ procs_found += get_pid_of_process(argv[i]); -+ } - - (void)printf("\n"); - -- return (procs_found > 0) ? 0 : 1; -+ return ((procs_found > 0) ? 0 : 1); - } diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-pname.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-pname.patch deleted file mode 100644 index 13e890c6a37c..000000000000 --- a/sys-process/pidof-bsd/files/pidof-bsd-20050501-pname.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/pidof.c 2006-09-21 15:14:03 +0100 -+++ b/pidof.c 2006-09-21 15:13:47 +0100 -@@ -53,14 +53,22 @@ - struct kinfo_proc *p; - int i, n_processes, - processes_found = 0; -+ char *pname = NULL; -+ -+ if (process_name == NULL) -+ return 0; -+ -+ if ((pname = strdup(basename(process_name))) == NULL) -+ return 0; - -- if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, "kvm_open")) == NULL) -- (void)errx(1, "%s", kvm_geterr(kd)); -- else { -+ if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, NULL)) == NULL) { -+ free(pname); -+ (void)errx(1, "%s", kvm_geterr(kd)); -+ } else { - p = kvm_getprocs(kd, KERN_PROC_PROC, 0, &n_processes); - for (i = 0; i<n_processes; i++) { - if (p[i].ki_pid != own_pid) -- if (strncmp(process_name, p[i].ki_comm, COMMLEN+1) == 0) { -+ if (strncmp(pname, p[i].ki_comm, COMMLEN+1) == 0) { - (void)printf("%d ", (int)p[i].ki_pid); - processes_found++; - } else if (match_argv == 1) { -@@ -68,7 +76,7 @@ - - if ((p_argv = kvm_getargv(kd, p+i, 0)) != NULL) - if ( *p_argv != NULL ) -- if (strcmp(process_name, basename(*p_argv)) == 0) { -+ if (strcmp(pname, basename(*p_argv)) == 0) { - (void)printf("%d ", (int)p[i].ki_pid); - processes_found++; - break; -@@ -77,6 +85,7 @@ - } - - kvm_close(kd); -+ free(pname); - } - - return (processes_found); diff --git a/sys-process/pidof-bsd/metadata.xml b/sys-process/pidof-bsd/metadata.xml deleted file mode 100644 index 6f49eba8f496..000000000000 --- a/sys-process/pidof-bsd/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> diff --git a/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild b/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild deleted file mode 100644 index cc88235d1961..000000000000 --- a/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit bsdmk - -DESCRIPTION="pidof(1) utility for *BSD" -HOMEPAGE="https://people.freebsd.org/~novel/pidof.html" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="sys-freebsd/freebsd-mk-defs" -RDEPEND="!sys-process/psmisc" - -S="${WORKDIR}/pidof" - -PATCHES=( "${FILESDIR}/${P}-gfbsd.patch" - "${FILESDIR}/${P}-firstarg.patch" - "${FILESDIR}/${P}-pname.patch" - "${FILESDIR}/${P}-fbsd11.patch" ) - -src_prepare() { - epatch "${PATCHES[@]}" -} - -src_install() { - into / - dobin pidof -} |