Index: head/sysutils/stalepid/Makefile =================================================================== --- head/sysutils/stalepid/Makefile (revision 494700) +++ head/sysutils/stalepid/Makefile (revision 494701) @@ -1,22 +1,23 @@ # Created by: roam@FreeBSD.org # $FreeBSD$ PORTNAME= stalepid -PORTVERSION= 1.0.b1 -PORTREVISION= 1 +PORTVERSION= 1.0.2 CATEGORIES= sysutils -MASTER_SITES= http://devel.ringlet.net/sysutils/stalepid/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/pre/} +MASTER_SITES= https://devel.ringlet.net/files/sys/stalepid/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= driesm.michiels@gmail.com COMMENT= Check for stale pid files and remove them +LICENSE= BSD2CLAUSE + RUN_DEPENDS= p5-Error>=0:lang/p5-Error USES= perl5 shebangfix uidfix USE_PERL5= run + SHEBANG_FILES= ${WRKSRC}/stalepid.pl PLIST_FILES= bin/stalepid man/man1/stalepid.1.gz .include Index: head/sysutils/stalepid/distinfo =================================================================== --- head/sysutils/stalepid/distinfo (revision 494700) +++ head/sysutils/stalepid/distinfo (revision 494701) @@ -1,2 +1,3 @@ -SHA256 (stalepid-1.0pre1.tar.gz) = 986d4dacceaae2a620ceb79a4636ee2cc6829e3171b34d0e9aa44a9eda795bff -SIZE (stalepid-1.0pre1.tar.gz) = 4739 +TIMESTAMP = 1551546599 +SHA256 (stalepid-1.0.2.tar.gz) = b5281e67d799973f73392eafbef62ec2571d801f9c16e16fc579c663407eea1c +SIZE (stalepid-1.0.2.tar.gz) = 6059 Index: head/sysutils/stalepid/files/patch-Makefile =================================================================== --- head/sysutils/stalepid/files/patch-Makefile (nonexistent) +++ head/sysutils/stalepid/files/patch-Makefile (revision 494701) @@ -0,0 +1,25 @@ +--- Makefile.orig 2017-02-17 15:31:21 UTC ++++ Makefile +@@ -29,7 +29,7 @@ MAN1= stalepid.1 + LOCALBASE?= /usr/local + PREFIX?= ${LOCALBASE} + BINDIR?= ${PREFIX}/bin +-MANDIR?= ${PREFIX}/share/man/man ++MANDIR?= ${PREFIX}/man/man + + MAN1Z= ${MAN1}.gz + +@@ -39,11 +39,11 @@ RM?= rm -f + MV?= mv -f + + BINOWN?= root +-BINGRP?= root ++BINGRP?= wheel + BINMODE?= 755 + + SHAREOWN?= root +-SHAREGRP?= root ++SHAREGRP?= wheel + SHAREMODE?= 644 + + INSTALL_DATA?= install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} Property changes on: head/sysutils/stalepid/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/stalepid/pkg-descr =================================================================== --- head/sysutils/stalepid/pkg-descr (revision 494700) +++ head/sysutils/stalepid/pkg-descr (revision 494701) @@ -1,17 +1,17 @@ The stalepid utility was developed to facilitate the startup of servers that write their process ID to a file and refuse to start if that file exists (e.g. when the process was last terminated by an unclean shutdown, or simply killed without given the chance to clean up the process ID file). The stalepid utility is used to check for and possibly remove those stale process ID files. Upon its invocation, stalepid checks for the following conditions: - the file specified by the pidfile argument exists; - it contains a single line, and the line contains a single number; - there is no process with the process ID specified in the file, or if there is one, it is not named processname. If all those conditions are met, the stalepid utility will remove the file specified by the pidfile argument, thus allowing the next invocation of the server to proceed normally. -WWW: http://devel.ringlet.net/sysutils/stalepid/ +WWW: https://devel.ringlet.net/sysutils/stalepid/