Date: Tue, 7 Mar 2017 11:45:34 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435595 - in head/sysutils/runit: . files Message-ID: <201703071145.v27BjYuE023545@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Mar 7 11:45:34 2017 New Revision: 435595 URL: https://svnweb.freebsd.org/changeset/ports/435595 Log: - Add a patch to allow sending logs via UDP [1] - Convert to option helper target and optimize away ``.for'' loop in its recipe while here PR: 207747 [1] Added: head/sysutils/runit/files/patch-src_svlogd.c (contents, props changed) Modified: head/sysutils/runit/Makefile Modified: head/sysutils/runit/Makefile ============================================================================== --- head/sysutils/runit/Makefile Tue Mar 7 10:53:10 2017 (r435594) +++ head/sysutils/runit/Makefile Tue Mar 7 11:45:34 2017 (r435595) @@ -3,7 +3,7 @@ PORTNAME= runit PORTVERSION= 2.1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= http://smarden.org/${PORTNAME}/ \ http://www.bayofrum.net/dist/${PORTNAME}/ @@ -28,6 +28,8 @@ CONFIG= etc/freebsd/1 etc/2 etc/freebsd etc/freebsd/getty-ttyv4/run etc/freebsd/getty-ttyv4/finish \ etc/freebsd/getty-ttyv4/whichtty +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -i '' 's!/service/!${SERVICE_DIR}!' \ ${PATCH_WRKSRC}/man/* ${PATCH_WRKSRC}/src/sv.c @@ -57,9 +59,9 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/etc/[123c]* ${STAGEDIR}${ETCDIR} ${INSTALL_SCRIPT} ${WRKDIR}/etc/getty-ttyv4/* \ ${STAGEDIR}${ETCDIR}/getty-ttyv4 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for doc in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} -.endfor + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Added: head/sysutils/runit/files/patch-src_svlogd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/runit/files/patch-src_svlogd.c Tue Mar 7 11:45:34 2017 (r435595) @@ -0,0 +1,10 @@ +--- src/svlogd.c.orig 2014-08-10 18:22:34 UTC ++++ src/svlogd.c +@@ -430,6 +430,7 @@ unsigned int logdir_open(struct logdir * + ld->name =(char*)fn; + ld->ppid =0; + ld->match ='+'; ++ ld->udpaddr.sin_family =AF_INET; + ld->udpaddr.sin_port =0; + ld->udponly =0; + while (! stralloc_copys(&ld->prefix, "")) pause_nomem();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703071145.v27BjYuE023545>