Date: Wed, 9 Oct 2019 04:05:26 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514114 - head/sysutils/runit-faster Message-ID: <201910090405.x9945QSq019203@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Wed Oct 9 04:05:25 2019 New Revision: 514114 URL: https://svnweb.freebsd.org/changeset/ports/514114 Log: sysutils/runit-faster: Remove default 'current' runlevel link on deinstall 'current' refers to the current runlevel and we cannot just delete it during upgrades without disrupting or breaking systems that are using a runlevel other than 'default'. Removing it is out of the question in the general case, but should be fine if we are using 'default' at the moment of the upgrade. The 'default' link is recreated again afterwards. This will also silence Poudriere's leftovers warning for this port. Modified: head/sysutils/runit-faster/Makefile head/sysutils/runit-faster/pkg-plist Modified: head/sysutils/runit-faster/Makefile ============================================================================== --- head/sysutils/runit-faster/Makefile Wed Oct 9 04:01:30 2019 (r514113) +++ head/sysutils/runit-faster/Makefile Wed Oct 9 04:05:25 2019 (r514114) @@ -3,6 +3,7 @@ PORTNAME= runit DISTVERSION= 2.1.3.4 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://github.com/t6/freebsd-runit/releases/download/v${DISTVERSION}/ \ LOCAL/tobik Modified: head/sysutils/runit-faster/pkg-plist ============================================================================== --- head/sysutils/runit-faster/pkg-plist Wed Oct 9 04:01:30 2019 (r514113) +++ head/sysutils/runit-faster/pkg-plist Wed Oct 9 04:05:25 2019 (r514114) @@ -71,4 +71,5 @@ sbin/svlogd sbin/utmpset @postexec [ ! -e %%RUNITDIR%%/runsvdir/current ] && cd %%RUNITDIR%%/runsvdir && ln -s default current @postexec ln -sF /var/run/runit/runsvdir/current /var/service +@postunexec [ %%RUNITDIR%%/runsvdir/default -ef %%RUNITDIR%%/runsvdir/current ] && rm -f %%RUNITDIR%%/runsvdir/current 2>/dev/null || true @rmtry /var/service
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910090405.x9945QSq019203>