pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/daemontools-encore Initial import of daemonto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99408fc85da8
branches:  trunk
changeset: 410399:99408fc85da8
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jan 21 21:54:25 2020 +0000

description:
Initial import of daemontools-encore, a collection of tools for managing
UNIX services. daemontools-encore is derived from the public-domain
release of daemontools by D. J. Bernstein, adding numerous enhancements
while maintaining backwards compatibility.

diffstat:

 sysutils/daemontools-encore/DESCR                                         |   3 +
 sysutils/daemontools-encore/Makefile                                      |  22 +++++
 sysutils/daemontools-encore/PLIST                                         |  40 ++++++++++
 sysutils/daemontools-encore/patches/patch-MAN                             |  14 +++
 sysutils/daemontools-encore/patches/patch-Makefile                        |  27 ++++++
 sysutils/daemontools-encore/patches/patch-rts.tests_supervise-downtime.sh |  17 ++++
 6 files changed, 123 insertions(+), 0 deletions(-)

diffs (147 lines):

diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/DESCR Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,3 @@
+daemontools-encore is derived from the public-domain release of
+daemontools by D. J. Bernstein, adding numerous enhancements while
+maintaining backwards compatibility.
diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/Makefile      Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/01/21 21:54:25 schmonz Exp $
+
+DISTNAME=              daemontools-encore-1.11
+CATEGORIES=            sysutils
+MASTER_SITES=          ${HOMEPAGE}
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://untroubled.org/daemontools-encore/
+COMMENT=               Collection of tools for managing UNIX services
+LICENSE=               mit
+
+CONFLICTS+=            daemontools-[0-9]*
+
+DJB_RESTRICTED=                no
+
+MAKE_ENV+=             PKGSRC_SHELL=${TOOLS_PLATFORM.sh}
+INSTALL_TARGET=                install
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/PLIST Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/21 21:54:25 schmonz Exp $
+bin/envdir
+bin/envini
+bin/envuidgid
+bin/fghack
+bin/multilog
+bin/pgrphack
+bin/readproctitle
+bin/setlock
+bin/setuidgid
+bin/setuser
+bin/softlimit
+bin/supervise
+bin/svc
+bin/svok
+bin/svscan
+bin/svscanboot
+bin/svstat
+bin/svup
+bin/tai64n
+bin/tai64nlocal
+man/man8/envdir.8
+man/man8/envini.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/svup.8
+man/man8/tai64n.8
+man/man8/tai64nlocal.8
diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/patches/patch-MAN
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/patches/patch-MAN     Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-MAN,v 1.1 2020/01/21 21:54:25 schmonz Exp $
+
+Don't try to install missing file.
+
+--- MAN.orig   2018-10-14 00:48:50.000000000 +0000
++++ MAN
+@@ -8,7 +8,6 @@ c:::644:/man8/:pgrphack.8:
+ c:::644:/man8/:readproctitle.8:
+ c:::644:/man8/:setlock.8:
+ c:::644:/man8/:setuidgid.8:
+-c:::644:/man8/:setuser.8:
+ c:::644:/man8/:softlimit.8:
+ c:::644:/man8/:supervise.8:
+ c:::644:/man8/:svc.8:
diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/patches/patch-Makefile        Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-Makefile,v 1.1 2020/01/21 21:54:25 schmonz Exp $
+
+Use a pkgsrc-capable shell on all platforms.
+Support DESTDIR.
+
+--- Makefile.orig      2018-10-14 00:48:50.000000000 +0000
++++ Makefile
+@@ -227,8 +227,8 @@ choose compile haswaitp.h1 haswaitp.h2 l
+ 
+ install: \
+ installer BIN conf-bin MAN conf-man
+-      ./installer `head -n 1 conf-bin` <BIN
+-      ./installer `head -n 1 conf-man` <MAN
++      ./installer ${DESTDIR}`head -n 1 conf-bin` <BIN
++      ./installer ${DESTDIR}`head -n 1 conf-man` <MAN
+ 
+ installer: \
+ load installer.o getln.a unix.a byte.a
+@@ -357,7 +357,7 @@ compile readproctitle.c error.h
+ 
+ rts: \
+ programs rts.sh rts.exp
+-      env - /bin/sh rts.sh 2>&1 | cat -v > rts
++      env - ${PKGSRC_SHELL} rts.sh 2>&1 | cat -v > rts
+       diff -u rts.exp rts
+ 
+ rts.exp: \
diff -r eb1c2455be34 -r 99408fc85da8 sysutils/daemontools-encore/patches/patch-rts.tests_supervise-downtime.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemontools-encore/patches/patch-rts.tests_supervise-downtime.sh Tue Jan 21 21:54:25 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-rts.tests_supervise-downtime.sh,v 1.1 2020/01/21 21:54:25 schmonz Exp $
+
+Avoid GNUism.
+
+--- rts.tests/supervise-downtime.sh.orig       2018-10-14 00:48:50.000000000 +0000
++++ rts.tests/supervise-downtime.sh
+@@ -20,8 +20,8 @@ svpid=$!
+ waitok test.sv
+ 
+ svstat test.sv \
+-| sed -r 's, \(.+\),,' \
+-| sed -r 's, ([0-9]|1[0-9]) second.+$, ok,'
++| sed -E 's, \(.+\),,' \
++| sed -E 's, ([0-9]|1[0-9]) second.+$, ok,'
+ 
+ kill $svpid
+ wait



Home | Main Index | Thread Index | Old Index