aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2006-09-25 19:44:38 +0800
committerroam <roam@FreeBSD.org>2006-09-25 19:44:38 +0800
commita2f6210749aeed0a17beda28680f0b974b374da1 (patch)
treec48a59348c4ac350de835de83667de459a7ab804
parentb928a1559c6fc2373c8a7215644642cc962b5ad5 (diff)
downloadfreebsd-ports-gnome-a2f6210749aeed0a17beda28680f0b974b374da1.tar.gz
freebsd-ports-gnome-a2f6210749aeed0a17beda28680f0b974b374da1.tar.zst
freebsd-ports-gnome-a2f6210749aeed0a17beda28680f0b974b374da1.zip
Add the sigq12 patch, which allows the svc utility to tell supervise to
send SIGQUIT, SIGUSR1, or SIGUSR2 to the daemon process. OPTIONS'ify - all but the STARTUP_SCRIPT variable, which is a string, not a flag. Appease portlint partially - unquote the RESTRICTED message. Bump PORTREVISION. Requested by: "Brent B. Powers" <bbp2006@columbia.edu> (the sigq12 patch)
-rw-r--r--sysutils/daemontools/Makefile17
-rw-r--r--sysutils/daemontools/distinfo3
2 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 1c2b01ea356a..f429215080c6 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= daemontools
PORTVERSION= 0.76
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ \
ftp://cr.yp.to/daemontools/
@@ -16,6 +16,11 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= roam@FreeBSD.org
COMMENT= Service monitoring and logging utilities by djb
+OPTIONS= MAN "Install Gerrit Pape's manual pages" on \
+ SIGQ12 "Add svc support for QUIT, USR1, and USR2 signals" off
+
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_MAN)
MANDATE= -20010714
MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1
@@ -28,11 +33,17 @@ MAN8= envdir.8 envuidgid.8 fghack.8 multilog.8 pgrphack.8 \
MANCOMPRESSED= no
.endif
+.if defined(WITH_SIGQ12)
+PATCH_SITES+= http://thedjbway.org/patches/:sigq12
+PATCHFILES+= daemontools-0.76.sigq12.patch:sigq12
+PATCH_DIST_STRIP= -p2
+.endif
+
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR}
WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src
-RESTRICTED= "Unsure of djb\'s license"
+RESTRICTED= Unsure of the license of djb software
ALL_TARGET= it
INSTALL_TARGET= setup check
@@ -42,8 +53,6 @@ SERVICEDIR?= /var/service
STARTUP_SCRIPT?= ${SAMPLERC:S/.sample//}
PLIST_SUB+= STARTUP_SCRIPT="${STARTUP_SCRIPT}"
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} >= 500023 || ${OSVERSION} < 500000 && ${OSVERSION} >= 460102
RC_SCRIPTS_SUB+= DAEMON="/usr/sbin/daemon -f"
.else
diff --git a/sysutils/daemontools/distinfo b/sysutils/daemontools/distinfo
index 45e12769f253..2e364398b7da 100644
--- a/sysutils/daemontools/distinfo
+++ b/sysutils/daemontools/distinfo
@@ -4,3 +4,6 @@ SIZE (daemontools-0.76.tar.gz) = 36975
MD5 (daemontools-0.76-man-20010714.tar.gz) = 7f8105a2d6f3f7f9482dbdb6f4c78d1f
SHA256 (daemontools-0.76-man-20010714.tar.gz) = d99a12be71a7bff2fc46546dce02bf102eba401dbadddc29f0fe4bb6d8826c1b
SIZE (daemontools-0.76-man-20010714.tar.gz) = 7992
+MD5 (daemontools-0.76.sigq12.patch) = fe2b0ddbd1ea2e72b29c7d78d5e9b0f3
+SHA256 (daemontools-0.76.sigq12.patch) = 149569b2c1a81435d4b9be5905564b2743cdcb8e5ebd1c626d5cb401761e06ae
+SIZE (daemontools-0.76.sigq12.patch) = 1975