From 1528d8cfc9de36c241239bec04f8bc544229799b Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Tue, 5 Mar 2019 14:14:35 +0000 Subject: [PATCH] sysutils/stalepid: update to 1.0.2 While here, assign maintainership to submitter PR: 236163 Submitted by: Dries Michiels --- sysutils/stalepid/Makefile | 11 ++++++----- sysutils/stalepid/distinfo | 5 +++-- sysutils/stalepid/files/patch-Makefile | 25 +++++++++++++++++++++++++ sysutils/stalepid/pkg-descr | 2 +- 4 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 sysutils/stalepid/files/patch-Makefile diff --git a/sysutils/stalepid/Makefile b/sysutils/stalepid/Makefile index 90a7503e1c1e..542a2eccdbb4 100644 --- a/sysutils/stalepid/Makefile +++ b/sysutils/stalepid/Makefile @@ -2,19 +2,20 @@ # $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 diff --git a/sysutils/stalepid/distinfo b/sysutils/stalepid/distinfo index 696a83b9c4ee..aa1562cf55d8 100644 --- a/sysutils/stalepid/distinfo +++ b/sysutils/stalepid/distinfo @@ -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 diff --git a/sysutils/stalepid/files/patch-Makefile b/sysutils/stalepid/files/patch-Makefile new file mode 100644 index 000000000000..068351b3912c --- /dev/null +++ b/sysutils/stalepid/files/patch-Makefile @@ -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} diff --git a/sysutils/stalepid/pkg-descr b/sysutils/stalepid/pkg-descr index 2f46727a6429..b75c8b8b2b55 100644 --- a/sysutils/stalepid/pkg-descr +++ b/sysutils/stalepid/pkg-descr @@ -14,4 +14,4 @@ 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/