From a450e21f4760a33acdf1cc3b06f31a2483414c1c Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sun, 2 May 2004 17:50:05 +0000 Subject: Update sysutils/daemontools to 0.76. This closes PR pkg/25153. Changes: The package now installs in /package/admin/daemontools. There are three new utilities: svscanboot, readproctitle, and pgrphack. multilog now accepts SIGALRM to force log rotation. svscan now checks for the existence of /service/blah/log rather than checking whether /service/blah is sticky. --- sysutils/daemontools/DEINSTALL | 9 +++------ sysutils/daemontools/Makefile | 33 ++++++++++++++++++++++----------- sysutils/daemontools/PLIST | 9 +++++++-- sysutils/daemontools/distinfo | 10 +++++----- 4 files changed, 37 insertions(+), 24 deletions(-) (limited to 'sysutils/daemontools') diff --git a/sysutils/daemontools/DEINSTALL b/sysutils/daemontools/DEINSTALL index d77d41a71a7..a09d50a4f97 100644 --- a/sysutils/daemontools/DEINSTALL +++ b/sysutils/daemontools/DEINSTALL @@ -1,14 +1,11 @@ -#! /bin/sh -# -# $NetBSD: DEINSTALL,v 1.1 2001/10/31 22:53:02 zuntum Exp $ -# +# $NetBSD: DEINSTALL,v 1.2 2004/05/02 17:50:05 xtraeme Exp $ case "$2" in DEINSTALL) rmdir 2>/dev/null @@SERVICEDIR@@ || cat < ${WRKSRC}/conf-cc - @${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld - @${ECHO} ${PREFIX} > ${WRKSRC}/conf-home + @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/src/conf-cc + @${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/src/conf-ld + @${ECHO} ${PREFIX} > ${WRKSRC}/src/conf-home + +do-build: + cd ${WRKSRC} && package/compile post-build: ${SED} -e "s,@@PREFIX@@,${PREFIX}," \ @@ -37,13 +41,20 @@ post-build: ${SED} "s,@@SERVICEDIR@@,${SERVICEDIR},g" \ ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} +do-install: + (while read cmd; do \ + if ${FILE_CMD} ${CMDDIR}/$$cmd | ${GREP} -q "shell script"; then \ + ${INSTALL_SCRIPT} ${CMDDIR}/$$cmd ${PREFIX}/bin; \ + else \ + ${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${PREFIX}/bin; \ + fi \ + done) < ${WRKSRC}/package/commands + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/daemontools ${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} \ ${PREFIX}/share/examples/daemontools ${INSTALL_DATA_DIR} ${SERVICEDIR} - - cd ${WRKDIR}/${DISTNAME}-man && \ - ${INSTALL_MAN} *.8 ${PREFIX}/man/man8 + cd ${WRKDIR}/${PKGBASE}-man && ${INSTALL_MAN} *.8 ${PREFIX}/man/man8 .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/daemontools/PLIST b/sysutils/daemontools/PLIST index 31b6abe6349..526143f4b22 100644 --- a/sysutils/daemontools/PLIST +++ b/sysutils/daemontools/PLIST @@ -1,8 +1,10 @@ -@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:43 tron Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/05/02 17:50:05 xtraeme Exp $ bin/envdir bin/envuidgid bin/fghack bin/multilog +bin/pgrphack +bin/readproctitle bin/setlock bin/setuidgid bin/softlimit @@ -10,6 +12,7 @@ bin/supervise bin/svc bin/svok bin/svscan +bin/svscanboot bin/svstat bin/tai64n bin/tai64nlocal @@ -17,6 +20,8 @@ man/man8/envdir.8 man/man8/envuidgid.8 man/man8/fghack.8 man/man8/multilog.8 +man/man8/pgrphack.8 +man/man8/readproctitle.8 man/man8/setlock.8 man/man8/setuidgid.8 man/man8/softlimit.8 @@ -24,9 +29,9 @@ man/man8/supervise.8 man/man8/svc.8 man/man8/svok.8 man/man8/svscan.8 +man/man8/svscanboot.8 man/man8/svstat.8 man/man8/tai64n.8 man/man8/tai64nlocal.8 share/examples/daemontools/svscan.sh.sample @dirrm share/examples/daemontools -@exec ${MKDIR} ${SERVICEDIR} || ${TRUE} diff --git a/sysutils/daemontools/distinfo b/sysutils/daemontools/distinfo index fdb46667d3b..8d4d43537c6 100644 --- a/sysutils/daemontools/distinfo +++ b/sysutils/daemontools/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2001/10/22 13:42:28 zuntum Exp $ +$NetBSD: distinfo,v 1.4 2004/05/02 17:50:05 xtraeme Exp $ -SHA1 (daemontools-0.70.tar.gz) = e4af3b5e6fa5a85fb86fe8d80248421f0f8765ff -Size (daemontools-0.70.tar.gz) = 36144 bytes -SHA1 (daemontools-0.70-man-20001116.tar.gz) = 08fd1d5c1af4b620cc80116470468b2f92130d6c -Size (daemontools-0.70-man-20001116.tar.gz) = 8279 bytes +SHA1 (daemontools-0.76.tar.gz) = 70a1be67e7dbe0192a887905846acc99ad5ce5b7 +Size (daemontools-0.76.tar.gz) = 36975 bytes +SHA1 (daemontools-0.76-man.tar.gz) = 28e167def0e457f2be10aa90504c402fa08723ab +Size (daemontools-0.76-man.tar.gz) = 8005 bytes -- cgit v1.2.3