diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-13 19:34:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-13 19:34:15 +0000 |
commit | 274e1eeb2701b328b7aa026d6700c06f2c89f0a5 (patch) | |
tree | 24cb2954e19c641333a3af6fce6934f65ff43b10 /sys-process/pidof-bsd | |
parent | Changed 3.3.11a to use klibc 1.2.1 instead of 1.1.16, which should resolve bu... (diff) | |
download | gentoo-2-274e1eeb2701b328b7aa026d6700c06f2c89f0a5.tar.gz gentoo-2-274e1eeb2701b328b7aa026d6700c06f2c89f0a5.tar.bz2 gentoo-2-274e1eeb2701b328b7aa026d6700c06f2c89f0a5.zip |
Add patch to check only first argument when using pidof -x, fixes rc-daemon.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-process/pidof-bsd')
-rw-r--r-- | sys-process/pidof-bsd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/pidof-bsd/Manifest | 19 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/digest-pidof-bsd-20050501-r2 | 3 | ||||
-rw-r--r-- | sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch | 13 | ||||
-rw-r--r-- | sys-process/pidof-bsd/pidof-bsd-20050501-r2.ebuild | 28 |
5 files changed, 60 insertions, 11 deletions
diff --git a/sys-process/pidof-bsd/ChangeLog b/sys-process/pidof-bsd/ChangeLog index 4ca7a3491b13..10a4ce26ad4f 100644 --- a/sys-process/pidof-bsd/ChangeLog +++ b/sys-process/pidof-bsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/pidof-bsd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/pidof-bsd/ChangeLog,v 1.1 2006/04/01 17:01:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/pidof-bsd/ChangeLog,v 1.2 2006/04/13 19:34:15 flameeyes Exp $ + +*pidof-bsd-20050501-r2 (13 Apr 2006) + + 13 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/pidof-bsd-20050501-firstarg.patch, +pidof-bsd-20050501-r2.ebuild: + Add patch to check only first argument when using pidof -x, fixes rc-daemon. *pidof-bsd-20050501-r1 (01 Apr 2006) diff --git a/sys-process/pidof-bsd/Manifest b/sys-process/pidof-bsd/Manifest index a15a5078cebc..8d5978496210 100644 --- a/sys-process/pidof-bsd/Manifest +++ b/sys-process/pidof-bsd/Manifest @@ -1,12 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 c9ffc67d764afaf51844679b14eafbc2 ChangeLog 453 RMD160 1db68f05ab9b8b5facbec508a8ed5ba3d507e63b ChangeLog 453 SHA256 30d41654966dc6c22bc13de4426bf473c023ce00e463c1c0cccb9a65e73b47d6 ChangeLog 453 MD5 f9b18b0eda11067150277402f75a049c files/digest-pidof-bsd-20050501-r1 250 RMD160 f5d0cfefbbc271302ca64f57a40ed1d80029b979 files/digest-pidof-bsd-20050501-r1 250 SHA256 73ddd421a0ef9f2c58364aa65a37226d03777c743e7fc0f5007c557967a627f0 files/digest-pidof-bsd-20050501-r1 250 +MD5 f9b18b0eda11067150277402f75a049c files/digest-pidof-bsd-20050501-r2 250 +RMD160 f5d0cfefbbc271302ca64f57a40ed1d80029b979 files/digest-pidof-bsd-20050501-r2 250 +SHA256 73ddd421a0ef9f2c58364aa65a37226d03777c743e7fc0f5007c557967a627f0 files/digest-pidof-bsd-20050501-r2 250 +MD5 0159354ad58d682c59680e1ebbe8b9cf files/pidof-20050501-firstarg.patch 485 +RMD160 5959417c6ac48e808cf77d27bc4b91690c7d8523 files/pidof-20050501-firstarg.patch 485 +SHA256 40bc0e215cce2b963c949bc84ac615970d10dd5f6e820a2bb826b5307ee9aee3 files/pidof-20050501-firstarg.patch 485 MD5 2e17a247d71dbbdbbf7460cc7e672fed files/pidof-bsd-20050501-gfbsd.patch 2898 RMD160 e62fa1d1c714014b51be61b95e2e599c92ec1622 files/pidof-bsd-20050501-gfbsd.patch 2898 SHA256 333984dcdfe27db0478e168366ee31449e5b457764530a840908890d31a688eb files/pidof-bsd-20050501-gfbsd.patch 2898 @@ -16,10 +19,6 @@ SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata MD5 9bb14a0cc5ee038cead950b6bf6ab6af pidof-bsd-20050501-r1.ebuild 586 RMD160 c243da65076acb17f35ed8e78eac56c9a9b64d30 pidof-bsd-20050501-r1.ebuild 586 SHA256 9f9b3ea930f417a7d43c285de859342e205b2ca077092047ec3ba253e481d1da pidof-bsd-20050501-r1.ebuild 586 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFELrHqAiZjviIA2XgRAgF4AKC+yZJ4r47UZVeTyvx5fpWWl5/SzgCgwr4T -b8p1KPSHxeNRrkaB/Fo46VA= -=eUaL ------END PGP SIGNATURE----- +MD5 096a5d4bf241af9bfe567fe642f0b4d4 pidof-bsd-20050501-r2.ebuild 619 +RMD160 4f22dbbf3c77be0b21cdf8d13d30dec48426a9ca pidof-bsd-20050501-r2.ebuild 619 +SHA256 845a28a263786ac5b901d557a0f5e87675be0702ee622354591c1fbcb3922b14 pidof-bsd-20050501-r2.ebuild 619 diff --git a/sys-process/pidof-bsd/files/digest-pidof-bsd-20050501-r2 b/sys-process/pidof-bsd/files/digest-pidof-bsd-20050501-r2 new file mode 100644 index 000000000000..a225f6856ac3 --- /dev/null +++ b/sys-process/pidof-bsd/files/digest-pidof-bsd-20050501-r2 @@ -0,0 +1,3 @@ +MD5 58bcaf9a6e325ef6e5fd175175788e56 pidof-bsd-20050501.tar.gz 1769 +RMD160 1306e7f4b2d6231358d10b45705a16c925bb1d51 pidof-bsd-20050501.tar.gz 1769 +SHA256 c3ed8826178debe872f7717b8810d477d4611ab19af73bed97c5af1c552d20e6 pidof-bsd-20050501.tar.gz 1769 diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch new file mode 100644 index 000000000000..dfb15ae7b94b --- /dev/null +++ b/sys-process/pidof-bsd/files/pidof-bsd-20050501-firstarg.patch @@ -0,0 +1,13 @@ +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/pidof-bsd-20050501-r2.ebuild b/sys-process/pidof-bsd/pidof-bsd-20050501-r2.ebuild new file mode 100644 index 000000000000..87014a1aaf1b --- /dev/null +++ b/sys-process/pidof-bsd/pidof-bsd-20050501-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/pidof-bsd/pidof-bsd-20050501-r2.ebuild,v 1.1 2006/04/13 19:34:15 flameeyes Exp $ + +inherit base bsdmk + +DESCRIPTION="pidof(1) utility for *BSD" +HOMEPAGE="http://people.freebsd.org/~novel/pidof.html" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="!sys-process/psmisc" + +S="${WORKDIR}/pidof" + +PATCHES="${FILESDIR}/${P}-gfbsd.patch + ${FILESDIR}/${P}-firstarg.patch" + +src_install() { + into / + dobin pidof +} + |