From 3aaba09bc276494e8c6762960b579d835349cf45 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sat, 14 Jan 2006 07:00:30 +0000 Subject: This package's installation bears little resemblance to DJB's instructions. We're not ready to accommodate /package yet, but we can at least avoid giving bad advice and installing a misleading rc.d script. Setting up svscan and /service for the first time can be confusing enough for a new user on its own merits. Bump PKGREVISION. --- sysutils/daemontools/DEINSTALL | 13 ----------- sysutils/daemontools/DESCR | 15 ++++++++++--- sysutils/daemontools/Makefile | 21 +++--------------- sysutils/daemontools/PLIST | 4 +--- sysutils/daemontools/files/svscan.sh.sample | 34 ----------------------------- 5 files changed, 16 insertions(+), 71 deletions(-) delete mode 100644 sysutils/daemontools/DEINSTALL delete mode 100644 sysutils/daemontools/files/svscan.sh.sample (limited to 'sysutils') diff --git a/sysutils/daemontools/DEINSTALL b/sysutils/daemontools/DEINSTALL deleted file mode 100644 index a09d50a4f97..00000000000 --- a/sysutils/daemontools/DEINSTALL +++ /dev/null @@ -1,13 +0,0 @@ -# $NetBSD: DEINSTALL,v 1.2 2004/05/02 17:50:05 xtraeme Exp $ - -case "$2" in - DEINSTALL) rmdir 2>/dev/null @@SERVICEDIR@@ || cat < ${WRKDIR}/${SAMPLERC} - ${SED} "s,@@SERVICEDIR@@,${SERVICEDIR},g" \ - ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} - do-install: (while read cmd; do \ if ${FILE_CMD} ${CMDDIR}/$$cmd | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1; then \ @@ -47,10 +36,6 @@ do-install: 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}/*-man; for i in 8; do \ for j in *.$$i; do ${INSTALL_MAN} $$j ${PREFIX}/man/man$$i; done \ done diff --git a/sysutils/daemontools/PLIST b/sysutils/daemontools/PLIST index 526143f4b22..c2e43d16f24 100644 --- a/sysutils/daemontools/PLIST +++ b/sysutils/daemontools/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2004/05/02 17:50:05 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.5 2006/01/14 07:00:30 schmonz Exp $ bin/envdir bin/envuidgid bin/fghack @@ -33,5 +33,3 @@ 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 diff --git a/sysutils/daemontools/files/svscan.sh.sample b/sysutils/daemontools/files/svscan.sh.sample deleted file mode 100644 index 7060aafd3ad..00000000000 --- a/sysutils/daemontools/files/svscan.sh.sample +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# Surely advice you to enable some of the below -# control variables and the apropriate ulimit. -# These are only examples. -# Furthermore, you should think about additional -# limits you might need. -# Or, check login.conf(5) for a suitable -# alternative -# -# I really do suggest you use @@SERVICEDIR@@ as your -# service spool directory. Check hier(7) for -# reasons. - -# 10 Mb -#MINSEGMENT=10240 -# 20 Mb -#MAXSEGMENT=20480 -# 10 Mb -#MAXFILESIZE=10240 -# 100 -#MAXFD=100 -# 40 -#MAXCHILD=40 - -# ulimits -#ulimit -d ${MINSEGMENT} -#ulimit -f ${MAXFILESIZE} -#ulimit -m ${MAXSEGMENT} -#ulimit -n ${MAXFD} -#ulimit -s ${MINSEGMENT} -#ulimit -u ${MAXCHILD} - -exec /bin/csh -cf '@@PREFIX@@/bin/svscan @@SERVICEDIR@@ &' -- cgit v1.2.3