pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Thu Oct 19 13:54:26 UTC 2023

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/runit: DESCR Makefile PLIST distinfo

Log Message:
New package, sysutils/runit. From wip.

This has been in wip for many years, various people have added updates
and are presumably using it. Time to pull it into the main repo.

runit is a cross-platform Unix init scheme with service supervision,
a replacement for sysvinit, and other init schemes. It runs on
GNU/Linux, *BSD, MacOSX, Solaris, and can easily be adapted to
other Unix operating systems.


To generate a diff of this commit:
cvs rdiff -u -r1.1077 -r1.1078 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/runit/DESCR \
    pkgsrc/sysutils/runit/Makefile pkgsrc/sysutils/runit/PLIST \
    pkgsrc/sysutils/runit/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1077 pkgsrc/sysutils/Makefile:1.1078
--- pkgsrc/sysutils/Makefile:1.1077     Tue Oct 17 12:47:36 2023
+++ pkgsrc/sysutils/Makefile    Thu Oct 19 13:54:26 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1077 2023/10/17 12:47:36 bouyer Exp $
+# $NetBSD: Makefile,v 1.1078 2023/10/19 13:54:26 bsiegert Exp $
 #
 
 COMMENT=       System utilities
@@ -670,6 +670,7 @@ SUBDIR+=    ruby-serverspec
 SUBDIR+=       ruby-specinfra
 SUBDIR+=       ruby-syslog-logger
 SUBDIR+=       runas
+SUBDIR+=       runit
 SUBDIR+=       rw
 SUBDIR+=       s6
 SUBDIR+=       safetynet

Added files:

Index: pkgsrc/sysutils/runit/DESCR
diff -u /dev/null pkgsrc/sysutils/runit/DESCR:1.1
--- /dev/null   Thu Oct 19 13:54:26 2023
+++ pkgsrc/sysutils/runit/DESCR Thu Oct 19 13:54:26 2023
@@ -0,0 +1,4 @@
+runit is a cross-platform Unix init scheme with service supervision,
+a replacement for sysvinit, and other init schemes. It runs on
+GNU/Linux, *BSD, MacOSX, Solaris, and can easily be adapted to
+other Unix operating systems.
Index: pkgsrc/sysutils/runit/Makefile
diff -u /dev/null pkgsrc/sysutils/runit/Makefile:1.1
--- /dev/null   Thu Oct 19 13:54:26 2023
+++ pkgsrc/sysutils/runit/Makefile      Thu Oct 19 13:54:26 2023
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2023/10/19 13:54:26 bsiegert Exp $
+
+DISTNAME=      runit-2.1.2
+CATEGORIES=    sysutils
+MASTER_SITES=  ${HOMEPAGE}
+
+MAINTAINER=    neil%daikokuya.co.uk@localhost
+HOMEPAGE=      http://smarden.org/runit/
+COMMENT=       UNIX init scheme with service supervision
+LICENSE=       modified-bsd
+
+WRKSRC=                ${WRKDIR}/admin/${DISTNAME}
+CMDDIR=                ${WRKSRC}/command
+PKGDOCDIR=     ${PREFIX}/share/doc/${PKGBASE}
+PKGEXAMPLEDIR= ${PREFIX}/share/examples/${PKGBASE}
+
+USE_TOOLS+=            pax
+BUILD_DEFS+=           VARBASE
+DJB_SLASHPACKAGE=      YES
+
+SERVICEDIR?=   ${VARBASE}/spool/service
+OWN_DIRS_PERMS=        ${SERVICEDIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+
+DOCS=          package/CHANGES package/COPYING package/README \
+               package/THANKS package/TODO doc/*.html
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+SUBST_CLASSES+=                static
+SUBST_STAGE.static=    pre-configure
+SUBST_MESSAGE.static=  Disable static linking on SunOS
+SUBST_FILES.static=    src/Makefile
+SUBST_SED.static=      -e 's/-static//'
+.endif
+
+INSTALLATION_DIRS+=    ${PKGMANDIR} ${PKGMANDIR}/man8 sbin share/examples/runit
+
+do-install:
+       ${INSTALL_PROGRAM} ${CMDDIR}/* ${DESTDIR}${PREFIX}/sbin
+       ${INSTALL_MAN} ${WRKSRC}/man/*.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       cd ${WRKSRC}/etc && ${PAX} -rwppm . ${DESTDIR}${PKGEXAMPLEDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PKGDOCDIR}
+       cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DESTDIR}${PKGDOCDIR}
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/runit/PLIST
diff -u /dev/null pkgsrc/sysutils/runit/PLIST:1.1
--- /dev/null   Thu Oct 19 13:54:26 2023
+++ pkgsrc/sysutils/runit/PLIST Thu Oct 19 13:54:26 2023
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/19 13:54:26 bsiegert Exp $
+man/man8/chpst.8
+man/man8/runit-init.8
+man/man8/runit.8
+man/man8/runsv.8
+man/man8/runsvchdir.8
+man/man8/runsvdir.8
+man/man8/sv.8
+man/man8/svlogd.8
+man/man8/utmpset.8
+sbin/chpst
+sbin/runit
+sbin/runit-init
+sbin/runsv
+sbin/runsvchdir
+sbin/runsvdir
+sbin/sv
+sbin/svlogd
+sbin/utmpset
+share/doc/runit/CHANGES
+share/doc/runit/COPYING
+share/doc/runit/README
+share/doc/runit/THANKS
+share/doc/runit/TODO
+share/doc/runit/benefits.html
+share/doc/runit/chpst.8.html
+share/doc/runit/dependencies.html
+share/doc/runit/faq.html
+share/doc/runit/index.html
+share/doc/runit/install.html
+share/doc/runit/replaceinit.html
+share/doc/runit/runit-init.8.html
+share/doc/runit/runit.8.html
+share/doc/runit/runlevels.html
+share/doc/runit/runscripts.html
+share/doc/runit/runsv.8.html
+share/doc/runit/runsvchdir.8.html
+share/doc/runit/runsvdir.8.html
+share/doc/runit/sv.8.html
+share/doc/runit/svlogd.8.html
+share/doc/runit/upgrade.html
+share/doc/runit/usedietlibc.html
+share/doc/runit/useinit.html
+share/doc/runit/utmpset.8.html
+share/examples/runit/2
+share/examples/runit/debian/1
+share/examples/runit/debian/2
+share/examples/runit/debian/3
+share/examples/runit/debian/ctrlaltdel
+share/examples/runit/debian/getty-tty5/finish
+share/examples/runit/debian/getty-tty5/run
+share/examples/runit/freebsd/1
+share/examples/runit/freebsd/2
+share/examples/runit/freebsd/3
+share/examples/runit/freebsd/ctrlaltdel
+share/examples/runit/freebsd/getty-ttyv4/finish
+share/examples/runit/freebsd/getty-ttyv4/run
+share/examples/runit/macosx/2
+share/examples/runit/macosx/StartupItems/StartupParameters.plist
+share/examples/runit/macosx/StartupItems/runit
+share/examples/runit/macosx/org.smarden.runit.plist
+share/examples/runit/openbsd/1
+share/examples/runit/openbsd/2
+share/examples/runit/openbsd/3
+share/examples/runit/openbsd/ctrlaltdel
+share/examples/runit/openbsd/getty-ttyC4/finish
+share/examples/runit/openbsd/getty-ttyC4/run
Index: pkgsrc/sysutils/runit/distinfo
diff -u /dev/null pkgsrc/sysutils/runit/distinfo:1.1
--- /dev/null   Thu Oct 19 13:54:26 2023
+++ pkgsrc/sysutils/runit/distinfo      Thu Oct 19 13:54:26 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/19 13:54:26 bsiegert Exp $
+
+BLAKE2s (runit-2.1.2.tar.gz) = 5ada95c1ed1ac5c01158ae110faf655e4dd6b44690ce09fe3404df889bcf54e6
+SHA512 (runit-2.1.2.tar.gz) = a18773ebf1aa22305dd89ed67363165b9fcf86c192b2be4e268d08005dd82d51265160c637abe072f2f2e378c4b315a75bd3d3e602c3e75bdd451a3b0190f8cf
+Size (runit-2.1.2.tar.gz) = 110916 bytes



Home | Main Index | Thread Index | Old Index