Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
daemontools is a collection of tools for managing UNIX services.
supervise monitors a service. It starts the service and restarts
the service if it dies. Setting up a new service is easy: all
supervise needs is a directory with a run script that runs the
service.
multilog saves error messages to one or more logs. It optionally
timestamps each line and, for each log, includes or excludes lines
matching specified patterns. It automatically rotates logs to limit
the amount of disk space used. If the disk fills up, it pauses and
tries again, without losing any data.

View File

@@ -0,0 +1,47 @@
# $NetBSD: Makefile,v 1.36 2013/05/17 14:48:49 jperkin Exp $
DISTNAME= daemontools-0.76
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ ftp://cr.yp.to/daemontools/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/daemontools.html
COMMENT= Service monitoring and logging utilities by djb
LICENSE= public-domain
MANPAGES= ${DISTNAME}-man-20020131.tar.gz
SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/
DJB_RESTRICTED= no
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
DJB_SLASHPACKAGE= YES
CMDDIR= ${WRKSRC}/command
USE_TOOLS+= file
INSTALLATION_DIRS= bin man ${PKGMANDIR}/man8
SUBST_FILES.djbware+= src/error.h
MAKE_ENV+= PKGSRC_SHELL=${TOOLS_PLATFORM.sh}
do-install:
(while read cmd; do \
if ${FILE_CMD} ${CMDDIR}/$$cmd | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1; then \
${INSTALL_SCRIPT} ${CMDDIR}/$$cmd ${DESTDIR}${PREFIX}/bin; \
else \
${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${DESTDIR}${PREFIX}/bin; \
fi \
done) < ${WRKSRC}/package/commands
cd ${WRKDIR}/*-man; for i in 8; do \
for j in *.$$i; do ${INSTALL_MAN} $$j ${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \
done
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.5 2006/01/14 07:00:30 schmonz Exp $
bin/envdir
bin/envuidgid
bin/fghack
bin/multilog
bin/pgrphack
bin/readproctitle
bin/setlock
bin/setuidgid
bin/softlimit
bin/supervise
bin/svc
bin/svok
bin/svscan
bin/svscanboot
bin/svstat
bin/tai64n
bin/tai64nlocal
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
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

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.7 2011/09/14 17:43:32 hans Exp $
SHA1 (daemontools-0.76.tar.gz) = 70a1be67e7dbe0192a887905846acc99ad5ce5b7
RMD160 (daemontools-0.76.tar.gz) = 9819dae18b3f15a366e49fea81ecef76d5b4f53f
Size (daemontools-0.76.tar.gz) = 36975 bytes
SHA1 (daemontools-0.76-man-20020131.tar.gz) = 28e167def0e457f2be10aa90504c402fa08723ab
RMD160 (daemontools-0.76-man-20020131.tar.gz) = d82f0bad55f0751fdfadfa0f3bf2883740fa65d9
Size (daemontools-0.76-man-20020131.tar.gz) = 8005 bytes
SHA1 (patch-aa) = 52fca4d350ed3f9422c3c8727ed505f31f17ae28

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2011/09/14 17:43:32 hans Exp $
--- src/Makefile.orig 2001-07-12 18:49:49.000000000 +0200
+++ src/Makefile 2011-07-28 20:57:29.930235807 +0200
@@ -265,7 +265,7 @@ readproctitle.o: compile error.h readpro
rts: envdir envuidgid fghack matchtest multilog pgrphack \
readproctitle rts.tests setlock setuidgid softlimit supervise svc \
svok svscan svscanboot svstat tai64n tai64nlocal
- env - /bin/sh rts.tests 2>&1 | cat -v > rts
+ env - ${PKGSRC_SHELL} rts.tests 2>&1 | cat -v > rts
scan_ulong.o: compile scan.h scan_ulong.c
./compile scan_ulong.c