diff options
author | manu <manu@pkgsrc.org> | 2014-07-22 08:09:16 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2014-07-22 08:09:16 +0000 |
commit | 660c309ad82112c2985c4a437f35dcba3c20968b (patch) | |
tree | 4d82bcd7fdfccec4a074c473bd23c2ba29ec373d | |
parent | 71c7d6b8c50e6a16f76fac0e238d14b64a1f0929 (diff) | |
download | pkgsrc-660c309ad82112c2985c4a437f35dcba3c20968b.tar.gz |
pidof finds the process id's (pids) of the named programs. It prints
those id's on the standard output. This Linux pidof port is intended to
help porting scripts.
-rw-r--r-- | sysutils/Makefile | 3 | ||||
-rw-r--r-- | sysutils/pidof/DESCR | 3 | ||||
-rw-r--r-- | sysutils/pidof/Makefile | 26 | ||||
-rw-r--r-- | sysutils/pidof/PLIST | 3 | ||||
-rw-r--r-- | sysutils/pidof/distinfo | 6 |
5 files changed, 40 insertions, 1 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 5fe9bbe6b54..87b5763f4d0 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.608 2014/07/22 08:01:39 manu Exp $ +# $NetBSD: Makefile,v 1.609 2014/07/22 08:10:21 manu Exp $ # COMMENT= System utilities @@ -378,6 +378,7 @@ SUBDIR+= pflogsumm SUBDIR+= pfstat SUBDIR+= pftop SUBDIR+= pluged +SUBDIR+= pidof SUBDIR+= polysh SUBDIR+= pscpug SUBDIR+= psftools diff --git a/sysutils/pidof/DESCR b/sysutils/pidof/DESCR new file mode 100644 index 00000000000..a807820a53e --- /dev/null +++ b/sysutils/pidof/DESCR @@ -0,0 +1,3 @@ +pidof finds the process id's (pids) of the named programs. It prints +those id's on the standard output. This Linux pidof port is intended to +help porting scripts. diff --git a/sysutils/pidof/Makefile b/sysutils/pidof/Makefile new file mode 100644 index 00000000000..aca9ad70fec --- /dev/null +++ b/sysutils/pidof/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2014/07/22 08:09:16 manu Exp $ + +DISTNAME= sysvinit-2.88dsf +PKGNAME= ${DISTNAME:S/sysvinit/pidof/} +CATEGORIES= sysutils +MASTER_SITES= http://download.savannah.gnu.org/releases/sysvinit/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://download.savannah.gnu.org/releases/sysvinit/ +COMMENT= Linux pidof(8) command +LICENSE= gnu-gpl-v2 + +USE_TOOLS+= gmake +BUILD_DIRS= src +BUILD_TARGET= killall5 +AUTO_MKDIRS= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/killall5 \ + ${DESTDIR}${PREFIX}/sbin/pidof + ${INSTALL_MAN} ${WRKSRC}/man/pidof.8 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + +# url2pkg-marker (please do not remove this line.) +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/pidof/PLIST b/sysutils/pidof/PLIST new file mode 100644 index 00000000000..11b5acf061f --- /dev/null +++ b/sysutils/pidof/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2014/07/22 08:09:17 manu Exp $ +sbin/pidof +man/man8/pidof.8 diff --git a/sysutils/pidof/distinfo b/sysutils/pidof/distinfo new file mode 100644 index 00000000000..803fdf338f3 --- /dev/null +++ b/sysutils/pidof/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/07/22 08:09:17 manu Exp $ + +SHA1 (sysvinit-2.88dsf.tar.bz2) = f2ca149df1314a91f3007cccd7a0aa47d990de26 +RMD160 (sysvinit-2.88dsf.tar.bz2) = 8109e9b90caff544be4a3b37c808baf16914d0bd +Size (sysvinit-2.88dsf.tar.bz2) = 105551 bytes +SHA1 (patch-aa) = 45c9f8ebc73af24a28e511e44c5bcd9f97e9d475 |