From owner-svn-ports-head@freebsd.org Sun Jun 2 12:04:49 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6568015B3FC3; Sun, 2 Jun 2019 12:04:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0535A95D81; Sun, 2 Jun 2019 12:04:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D024A26B49; Sun, 2 Jun 2019 12:04:48 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x52C4mQS005358; Sun, 2 Jun 2019 12:04:48 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x52C4mfO005355; Sun, 2 Jun 2019 12:04:48 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201906021204.x52C4mfO005355@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Jun 2019 12:04:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503307 - in head/sysutils/runit-faster: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/sysutils/runit-faster: . files X-SVN-Commit-Revision: 503307 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0535A95D81 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2019 12:04:49 -0000 Author: tobik Date: Sun Jun 2 12:04:47 2019 New Revision: 503307 URL: https://svnweb.freebsd.org/changeset/ports/503307 Log: sysutils/runit-faster: Update to 2.1.3 Runit and all patches have been imported into the upstream repository. Simplify the port accordingly. Pet portclippy while here. Changes: https://github.com/t6/freebsd-runit/releases/tag/v2.1.3 Deleted: head/sysutils/runit-faster/files/patch-src_chkshsgr.c head/sysutils/runit-faster/files/patch-src_pathexec__run.c head/sysutils/runit-faster/files/patch-src_prot.c head/sysutils/runit-faster/files/patch-src_prot.h head/sysutils/runit-faster/files/patch-src_runit.c head/sysutils/runit-faster/files/patch-src_svlogd.c head/sysutils/runit-faster/files/patch-utmpx Modified: head/sysutils/runit-faster/Makefile head/sysutils/runit-faster/distinfo head/sysutils/runit-faster/pkg-plist Modified: head/sysutils/runit-faster/Makefile ============================================================================== --- head/sysutils/runit-faster/Makefile Sun Jun 2 11:39:56 2019 (r503306) +++ head/sysutils/runit-faster/Makefile Sun Jun 2 12:04:47 2019 (r503307) @@ -2,93 +2,47 @@ # $FreeBSD$ PORTNAME= runit -DISTVERSION= ${RUNITVERSION}-${CONFVERSION} -RUNITVERSION= 2.1.2 -CONFVERSION= 0.1.36 +DISTVERSION= 2.1.3 CATEGORIES= sysutils -MASTER_SITES= http://smarden.org/runit/ \ - http://www.bayofrum.net/dist/runit/ \ - https://github.com/t6/freebsd-runit/releases/download/v${CONFVERSION}/:config \ - LOCAL/tobik:config \ - https://pkg.tobik.me/distfiles/:config +MASTER_SITES= https://github.com/t6/freebsd-runit/releases/download/v${DISTVERSION}/ \ + LOCAL/tobik PKGNAMESUFFIX= -faster -DISTFILES= runit-${RUNITVERSION}${EXTRACT_SUFX} \ - freebsd-runit-${CONFVERSION}${EXTRACT_SUFX}:config +DISTNAME= freebsd-runit-${DISTVERSION} MAINTAINER= tobik@FreeBSD.org COMMENT= Runit based init replacement for ${OPSYS} LICENSE= BSD3CLAUSE CC0-1.0 LICENSE_COMB= multi -LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/package/COPYING -LICENSE_FILE_CC0-1.0= ${WRKDIR}/freebsd-runit-${CONFVERSION}/README.md +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= snooze:sysutils/snooze +USE_RC_SUBR= runsvdir + +MAKE_ENV= RUNITDIR=${RUNITDIR} \ + SBINDIR=${SBINDIR} \ + SVDIR=${PREFIX}/etc/sv + CONFLICTS_INSTALL= runit -PLIST_SUB= RUNITDIR=${RUNITDIR} SUB_FILES= pkg-message SUB_LIST= RUNITDIR=${RUNITDIR} -USE_RC_SUBR= runsvdir -WRKSRC= ${WRKDIR}/admin/runit-${RUNITVERSION} +PLIST_SUB= RUNITDIR=${RUNITDIR} +PORTDOCS= * + OPTIONS_DEFINE= DOCS ROOT OPTIONS_SUB= yes ROOT_DESC= Install bootstrap files into /etc/runit and /sbin -PORTDOCS= * - -ROOT_VARS= RUNITDIR=/etc/runit SBINDIR=/sbin ROOT_VARS_OFF= RUNITDIR=${ETCDIR} SBINDIR=${PREFIX}/sbin +ROOT_VARS= RUNITDIR=/etc/runit SBINDIR=/sbin post-patch: - @${REINPLACE_CMD} -e 's,/service/,/var/service,' \ - -e 's,/etc/runit,${RUNITDIR},' \ - -e 's,/sbin/runit,${SBINDIR}/runit,' \ - ${WRKSRC}/man/* ${WRKSRC}/doc/*.html \ - ${WRKSRC}/src/sv.c \ - ${WRKSRC}/src/runsvchdir.c \ - ${WRKSRC}/src/runit.c \ - ${WRKSRC}/src/runit.h + @${REINPLACE_CMD} 's,all: docs,all:,' ${WRKSRC}/Makefile -do-configure: - @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc - @${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-ld - -do-build: - @cd ${WRKSRC} && package/compile - -do-install: - @${MKDIR} ${STAGEDIR}${RUNITDIR} ${STAGEDIR}${SBINDIR} - cd ${WRKSRC}/command && ${INSTALL_PROGRAM} runit runit-init \ - ${STAGEDIR}${SBINDIR} - cd ${WRKSRC}/command && ${INSTALL_PROGRAM} \ - chpst runsv runsvchdir runsvdir sv svlogd utmpset \ - ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/man/*.8 ${STAGEDIR}${PREFIX}/man/man8 - @${DO_MAKE_BUILD} -C ${WRKDIR}/freebsd-runit-${CONFVERSION} \ - DESTDIR=${STAGEDIR} \ - LOCALBASE=${LOCALBASE} \ - PREFIX=${PREFIX} \ - RUNITDIR=${RUNITDIR} \ - SVDIR=${PREFIX}/etc/sv \ - install -# Point runit to the run directory (a necessity to let runit work on -# read-only root filesystems) and make sure rebooting and powering off -# can work correctly. - @${LN} -s /var/run/runit/reboot ${STAGEDIR}${RUNITDIR}/reboot - @${LN} -s /var/run/runit/stopit ${STAGEDIR}${RUNITDIR}/stopit - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} \ - package/CHANGES package/README package/THANKS doc/*.html \ - ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/freebsd-runit-${CONFVERSION}/docs/runit-faster.md \ - ${STAGEDIR}${DOCSDIR} - post-install: # Micromanaging pkg-plist is no fun here... Generate it on the fly # instead. @@ -97,6 +51,6 @@ post-install: >> ${TMPPLIST} do-test: - @cd ${WRKSRC} && package/check + @cd ${WRKSRC}/runit && package/check .include Modified: head/sysutils/runit-faster/distinfo ============================================================================== --- head/sysutils/runit-faster/distinfo Sun Jun 2 11:39:56 2019 (r503306) +++ head/sysutils/runit-faster/distinfo Sun Jun 2 12:04:47 2019 (r503307) @@ -1,5 +1,3 @@ -TIMESTAMP = 1554109612 -SHA256 (runit-2.1.2.tar.gz) = 6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18 -SIZE (runit-2.1.2.tar.gz) = 110916 -SHA256 (freebsd-runit-0.1.36.tar.gz) = 38dd91d6b92517eb0b4ad1c8be2c21037024e124f843e781ad415641103cf034 -SIZE (freebsd-runit-0.1.36.tar.gz) = 34592 +TIMESTAMP = 1559475686 +SHA256 (freebsd-runit-2.1.3.tar.gz) = 26721897eeb778cebe129f2520c502183e354270fc204b61cc0d038b8e26137e +SIZE (freebsd-runit-2.1.3.tar.gz) = 141256 Modified: head/sysutils/runit-faster/pkg-plist ============================================================================== --- head/sysutils/runit-faster/pkg-plist Sun Jun 2 11:39:56 2019 (r503306) +++ head/sysutils/runit-faster/pkg-plist Sun Jun 2 12:04:47 2019 (r503307) @@ -36,6 +36,7 @@ bin/svmod %%RUNITDIR%%/core-services/95-mount-late.sh %%RUNITDIR%%/core-services/95-swap-late.sh %%RUNITDIR%%/core-services/99-binmisc.sh +%%RUNITDIR%%/core-services/99-linux.sh %%RUNITDIR%%/core-services/99-ports-env.sh %%RUNITDIR%%/core-services/99-start-jails.sh %%RUNITDIR%%/ctrlaltdel