I don't use runit anymore, that's a lousy excuse for letting this rot. Here's a diff for the latest upstream release. The default service directory moved back to /service. This is mentioned in README but I'll also add an entry to current.html for that.
Also: - drop time_t patch committed upstream - stop mentioning old programs, it's been 10+ years - drop maintainership ok? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/runit/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile 8 May 2015 09:08:45 -0000 1.17 +++ Makefile 25 Apr 2016 09:55:05 -0000 @@ -2,16 +2,13 @@ COMMENT= daemontools alike replacement for init -DISTNAME= runit-1.7.2 -REVISION= 2 +DISTNAME= runit-2.1.2 CATEGORIES= sysutils HOMEPAGE= http://www.smarden.org/runit/ -MAINTAINER= Jeremie Courreges-Anglas <[email protected]> - PERMIT_PACKAGE_CDROM= Yes -WANTLIB= c +WANTLIB= c MASTER_SITES= ${HOMEPAGE} WRKDIST= ${WRKDIR}/admin/${DISTNAME} Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/runit/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 18 Jan 2015 03:15:15 -0000 1.7 +++ distinfo 25 Apr 2016 09:55:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (runit-1.7.2.tar.gz) = zJEEH/jvsyN2Owc9VLpuvvZQKEu9GJPJrxmW/FaAnf4= -SIZE (runit-1.7.2.tar.gz) = 102942 +SHA256 (runit-2.1.2.tar.gz) = b9AWDLDPEgfeTmZ1S205dQz/FLsKpmq0lJCZLAxHuhg= +SIZE (runit-2.1.2.tar.gz) = 110916 Index: patches/patch-src_fmt_ptime_c =================================================================== RCS file: patches/patch-src_fmt_ptime_c diff -N patches/patch-src_fmt_ptime_c --- patches/patch-src_fmt_ptime_c 22 Apr 2014 09:50:06 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_fmt_ptime_c,v 1.1 2014/04/22 09:50:06 jca Exp $ ---- src/fmt_ptime.c.orig Tue Nov 21 16:14:12 2006 -+++ src/fmt_ptime.c Tue Apr 22 01:27:37 2014 -@@ -4,7 +4,7 @@ - - unsigned int fmt_ptime2(char *s, struct taia *ta, char sep) { - struct tm *t; -- unsigned long u; -+ time_t u; - - if (ta->sec.x < 4611686018427387914ULL) return(0); /* impossible? */ - u =ta->sec.x -4611686018427387914ULL; Index: pkg/README =================================================================== RCS file: /cvs/ports/sysutils/runit/pkg/README,v retrieving revision 1.1 diff -u -p -r1.1 README --- pkg/README 1 Nov 2014 14:54:51 -0000 1.1 +++ pkg/README 25 Apr 2016 09:55:05 -0000 @@ -10,10 +10,10 @@ You will need to add to /etc/rc.local in order to have runit start at boot. -The service directory has moved from /service to ${LOCALSTATEDIR}/service. +The service directory has moved back from ${LOCALSTATEDIR}/service to +/service. To keep on using ${LOCALSTATEDIR}/service, a symlink is +enough: -With this version the runsvctrl, runsvstat, svwaitdown, and svwaitup -programs no longer are being installed. The functionality of these -programs has been incorporated into the sv program. + # ln -s /var/service / Read ${PREFIX}/share/doc/runit/upgrade.html on update. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
