From owner-svn-ports-head@freebsd.org Wed Oct 9 04:05:26 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B12DC14002E; Wed, 9 Oct 2019 04:05:26 +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 46p0xL4BsMz3PBN; Wed, 9 Oct 2019 04:05:26 +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 7388BAD89; Wed, 9 Oct 2019 04:05:26 +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 x9945Q6L019205; Wed, 9 Oct 2019 04:05:26 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9945QSq019203; Wed, 9 Oct 2019 04:05:26 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201910090405.x9945QSq019203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 9 Oct 2019 04:05:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514114 - head/sysutils/runit-faster X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/sysutils/runit-faster X-SVN-Commit-Revision: 514114 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Wed, 09 Oct 2019 04:05:26 -0000 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