aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pidof
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-22 09:01:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-22 09:01:02 +0000
commita25f00c15d6d78fa3c413a73dd54307f5836eb39 (patch)
tree68779411046cbbb12bad0f9b4b845c77c2887a09 /sysutils/pidof
parentf73cbe45f332344c6ef538e8aba8cf03987a79cf (diff)
downloadports-a25f00c15d6d78fa3c413a73dd54307f5836eb39.tar.gz
ports-a25f00c15d6d78fa3c413a73dd54307f5836eb39.zip
- Add LICENSE
- Regenerate patches - Update WWW Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=446376
Diffstat (limited to 'sysutils/pidof')
-rw-r--r--sysutils/pidof/Makefile2
-rw-r--r--sysutils/pidof/files/patch-pidof.c6
-rw-r--r--sysutils/pidof/pkg-descr2
3 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/pidof/Makefile b/sysutils/pidof/Makefile
index 87166307ecd0..0caac78750e8 100644
--- a/sysutils/pidof/Makefile
+++ b/sysutils/pidof/Makefile
@@ -10,6 +10,8 @@ DISTNAME= ${PORTNAME}
MAINTAINER= novel@FreeBSD.org
COMMENT= Tool which prints PID of given process name
+LICENSE= BSD2CLAUSE
+
CONFLICTS= psmisc-1*
PLIST_FILES= bin/pidof
diff --git a/sysutils/pidof/files/patch-pidof.c b/sysutils/pidof/files/patch-pidof.c
index 7cc71b28d638..3777ef07527a 100644
--- a/sysutils/pidof/files/patch-pidof.c
+++ b/sysutils/pidof/files/patch-pidof.c
@@ -1,6 +1,6 @@
---- pidof.c.orig Mon May 2 07:26:03 2005
-+++ pidof.c Mon May 2 07:40:31 2005
-@@ -53,10 +53,19 @@
+--- pidof.c.orig 2005-05-01 16:26:19 UTC
++++ pidof.c
+@@ -53,10 +53,19 @@ get_pid_of_process(char *process_name)
if ((kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY, "kvm_open")) == NULL)
(void)errx(1, "%s", kvm_geterr(kd));
else {
diff --git a/sysutils/pidof/pkg-descr b/sysutils/pidof/pkg-descr
index 74f2f5ca311d..1bacd4d1acf1 100644
--- a/sysutils/pidof/pkg-descr
+++ b/sysutils/pidof/pkg-descr
@@ -1,3 +1,3 @@
A tool which prints PID of given process name.
-WWW: http://people.freebsd.org/~novel/pidof.html
+WWW: https://people.freebsd.org/~novel/pidof.html