summaryrefslogtreecommitdiff
path: root/sysutils/pidof
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2014-07-22 08:09:16 +0000
committermanu <manu@pkgsrc.org>2014-07-22 08:09:16 +0000
commit755d045695ffef2db232a8e60624253e6e3d19ef (patch)
tree4d82bcd7fdfccec4a074c473bd23c2ba29ec373d /sysutils/pidof
parent5da5920b690508d873625ae3bcd11103cb20388e (diff)
downloadpkgsrc-755d045695ffef2db232a8e60624253e6e3d19ef.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.
Diffstat (limited to 'sysutils/pidof')
-rw-r--r--sysutils/pidof/DESCR3
-rw-r--r--sysutils/pidof/Makefile26
-rw-r--r--sysutils/pidof/PLIST3
-rw-r--r--sysutils/pidof/distinfo6
4 files changed, 38 insertions, 0 deletions
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