Date: Sun, 3 Aug 2014 21:08:11 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363937 - in head/sysutils: . daemontools-encore daemontools-encore/files Message-ID: <53dea4bc.57c0.190a1aff@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Aug 3 21:08:11 2014 New Revision: 363937 URL: http://svnweb.freebsd.org/changeset/ports/363937 QAT: https://qat.redports.org/buildarchive/r363937/ Log: Add new port: sysutils/daemontools-encore PR: 181765 Submitted by: uffe ================================================================= daemontools-encore is a collection of tools for managing UNIX services. It is derived from the public-domain release of daemontools by D. J. Bernstein. daemontools-encore adds numerous enhancements above what daemontools could do while maintaining backwards compatibility with daemontools. See the CHANGES file for more details on what features have been added. Added: head/sysutils/daemontools-encore/ head/sysutils/daemontools-encore/Makefile (contents, props changed) head/sysutils/daemontools-encore/distinfo (contents, props changed) head/sysutils/daemontools-encore/files/ head/sysutils/daemontools-encore/files/patch-Makefile.diff (contents, props changed) head/sysutils/daemontools-encore/files/patch-conf-cc.diff (contents, props changed) head/sysutils/daemontools-encore/files/patch-conf-ld.diff (contents, props changed) head/sysutils/daemontools-encore/files/patch-sleeper-c.diff (contents, props changed) head/sysutils/daemontools-encore/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sun Aug 3 20:50:57 2014 (r363936) +++ head/sysutils/Makefile Sun Aug 3 21:08:11 2014 (r363937) @@ -158,6 +158,7 @@ SUBDIR += dae SUBDIR += daedalus SUBDIR += daemontools + SUBDIR += daemontools-encore SUBDIR += dar SUBDIR += dateutils SUBDIR += dc3dd Added: head/sysutils/daemontools-encore/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/Makefile Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,76 @@ +# Created by: Uffe Jakobsen <uffe@uffe.org> +# $FreeBSD$ + +PORTNAME= daemontools-encore +PORTVERSION= 1.10 +CATEGORIES= sysutils +MASTER_SITES= http://untroubled.org/daemontools-encore/ + +MAINTAINER= uffe@uffe.org +COMMENT= Daemontools-encore is a collection of tools for managing UNIX services + +USES= gmake + +ALL_TARGET= default + +MANFILES= \ + envdir.8 \ + envuidgid.8 \ + fghack.8 \ + multilog.8 \ + pgrphack.8 \ + readproctitle.8 \ + setlock.8 \ + setuidgid.8 \ + softlimit.8 \ + supervise.8 \ + svc.8 \ + svok.8 \ + svscan.8 \ + svscanboot.8 \ + svstat.8 \ + svup.8 \ + tai64n.8 \ + tai64nlocal.8 + +PLIST_FILES= \ + 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/svup \ + bin/tai64n \ + bin/tai64nlocal \ + %%DOCSDIR%%/README \ + %%DOCSDIR%%/LICENSE \ + %%DOCSDIR%%/CHANGES \ + %%DOCSDIR%%/CHANGES.djb \ + ${MANFILES:S,^,man/man8/,:S,$,.gz,} + +PLIST_DIRSTRY= %%DOCSDIR%% + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/svscanboot.sh ${STAGEDIR}${PREFIX}/bin/svscanboot +.for binfile in envdir envuidgid fghack multilog pgrphack readproctitle setlock setuidgid softlimit supervise svc svok svscan svstat svup tai64n tai64nlocal + ${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/ +.endfor + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for docfile in README LICENSE CHANGES CHANGES.djb + ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} +.endfor +.for manfile in ${MANFILES} + ${INSTALL_MAN} ${WRKSRC}/${manfile} ${STAGEDIR}${MAN1PREFIX}/man/man8/ +.endfor + +.include <bsd.port.mk> Added: head/sysutils/daemontools-encore/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/distinfo Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,2 @@ +SHA256 (daemontools-encore-1.10.tar.gz) = 9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31 +SIZE (daemontools-encore-1.10.tar.gz) = 87096 Added: head/sysutils/daemontools-encore/files/patch-Makefile.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/files/patch-Makefile.diff Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,11 @@ +--- Makefile.orig 2014-04-02 00:58:19.000000000 +0200 ++++ Makefile 2014-07-27 23:29:50.000000000 +0200 +@@ -239,7 +239,7 @@ + ./compile iopause.c + + it: \ +-rts sysdeps man ++programs sysdeps man + + load: \ + conf-ld print-ld.sh systype warn-auto.sh Added: head/sysutils/daemontools-encore/files/patch-conf-cc.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/files/patch-conf-cc.diff Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,7 @@ +--- conf-cc.orig 2014-07-27 23:11:57.000000000 +0200 ++++ conf-cc 2014-07-27 23:12:04.000000000 +0200 +@@ -1,3 +1,3 @@ +-gcc -O2 -Wall -Wshadow -Wcast-align -Wwrite-strings ++cc -O2 -Wall -Wshadow -Wcast-align -Wwrite-strings + + This will be used to compile .c files. Added: head/sysutils/daemontools-encore/files/patch-conf-ld.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/files/patch-conf-ld.diff Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,7 @@ +--- conf-ld.orig 2014-07-27 23:12:53.000000000 +0200 ++++ conf-ld 2014-07-27 23:13:03.000000000 +0200 +@@ -1,3 +1,3 @@ +-gcc -s ++cc -s + + This will be used to link .o files into an executable. Added: head/sysutils/daemontools-encore/files/patch-sleeper-c.diff ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/files/patch-sleeper-c.diff Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,33 @@ +--- sleeper.c.orig 2014-07-27 23:16:55.000000000 +0200 ++++ sleeper.c 2014-07-27 23:18:11.000000000 +0200 +@@ -8,20 +8,18 @@ + const char *name; + int ignored; + switch (sig) { +- case SIGALRM: name = "ALRM"; break; +- case SIGCONT: name = "CONT"; break; +- case SIGHUP: name = "HUP"; break; +- case SIGINT: name = "INT"; break; +- case SIGQUIT: name = "QUIT"; break; +- case SIGTERM: name = "TERM"; break; +- case SIGUSR1: name = "USR1"; break; +- case SIGUSR2: name = "USR2"; break; +- case SIGWINCH: name = "WINCH"; break; +- default: name = "unknown signal"; ++ case SIGALRM: name = "Caught ALRM\n"; break; ++ case SIGCONT: name = "Caught CONT\n"; break; ++ case SIGHUP: name = "Caught HUP\n"; break; ++ case SIGINT: name = "Caught INT\n"; break; ++ case SIGQUIT: name = "Caught QUIT\n"; break; ++ case SIGTERM: name = "Caught TERM\n"; break; ++ case SIGUSR1: name = "Caught USR1\n"; break; ++ case SIGUSR2: name = "Caught USR2\n"; break; ++ case SIGWINCH: name = "Caught WINCH\n"; break; ++ default: name = "unknown signal\n"; + } +- ignored = write(1, "Caught ", 7); + ignored = write(1, name, str_len(name)); +- ignored = write(1, "\n", 1); + if (sig != SIGCONT) + _exit(1); + } Added: head/sysutils/daemontools-encore/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/daemontools-encore/pkg-descr Sun Aug 3 21:08:11 2014 (r363937) @@ -0,0 +1,8 @@ +daemontools-encore is a collection of tools for managing UNIX services. +It is derived from the public-domain release of daemontools by D. J. +Bernstein. daemontools-encore adds numerous enhancements above what +daemontools could do while maintaining backwards compatibility with +daemontools. See the CHANGES file for more details on what features +have been added. + +WWW: http://untroubled.org/daemontools-encore/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53dea4bc.57c0.190a1aff>