From owner-freebsd-ports@FreeBSD.ORG Sat Jul 5 04:44:57 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D241B12; Sat, 5 Jul 2014 04:44:57 +0000 (UTC) Received: from nskntmtas06p.mx.bigpond.com (nskntmtas06p.mx.bigpond.com [61.9.168.152]) by mx1.freebsd.org (Postfix) with ESMTP id C13CE24CF; Sat, 5 Jul 2014 04:44:55 +0000 (UTC) Received: from nskntcmgw05p ([61.9.169.165]) by nskntmtas06p.mx.bigpond.com with ESMTP id <20140705044453.JSKA7536.nskntmtas06p.mx.bigpond.com@nskntcmgw05p>; Sat, 5 Jul 2014 04:44:53 +0000 Received: from ghanamia.reilly.home ([144.132.133.235]) by nskntcmgw05p with BigPond Outbound id NUkt1o00A54tVzk01Uktrf; Sat, 05 Jul 2014 04:44:53 +0000 X-Authentication-Info: Submitted using ID areilly@bigpond.net.au X-Authority-Analysis: v=2.0 cv=W5W6pGqk c=1 sm=1 a=kXW9y0UefL4tu5/M6AKeXA==:17 a=qRXlfeeNbjAA:10 a=Sv2sojjTAAAA:8 a=njhHYMC86CTxNdhIcUcA:9 a=pILNOxqGKmIA:10 a=TOiMbcdK3UoA:10 a=PL8wz40JlIwA:10 a=6Z7Hw2Uyg3Oz1PRyAswA:9 a=ROVivWiMAQMA:10 a=2BCpLIvPyN0A:10 a=Bbu8YfaDkAoA:10 a=6I5d2MoRAAAA:8 a=Nw-YNJ3Uwur4ikLOFJQA:9 a=kXW9y0UefL4tu5/M6AKeXA==:117 From: Andrew Reilly Content-Type: multipart/mixed; boundary="Apple-Mail=_D2D5439C-D364-49AE-AAD3-FDCB7E3416A2" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Upgrade to sysutils/nut-2.7.2 yesterday broke rc.d scripts by deleting libexec/nut/upsdrvctl Date: Sat, 5 Jul 2014 14:45:01 +1000 References: To: cy@freebsd.org, itetcu@freebsd.org, ports@freebsd.org In-Reply-To: X-Mailer: Apple Mail (2.1878.2) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 04:44:57 -0000 --Apple-Mail=_D2D5439C-D364-49AE-AAD3-FDCB7E3416A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi again, Found it: it has moved to /usr/local/sbin. So the attached patch is = needed to the sysutils/nut port. Works for me. --Apple-Mail=_D2D5439C-D364-49AE-AAD3-FDCB7E3416A2 Content-Disposition: attachment; filename=nut.in.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="nut.in.diff" Content-Transfer-Encoding: 7bit --- nut.in.orig 2014-07-05 14:39:50.947539562 +1000 +++ nut.in 2014-07-05 14:41:34.335532042 +1000 @@ -34,11 +34,11 @@ stop_postcmd="nut_poststop" nut_prestart() { - ${nut_prefix}/libexec/nut/upsdrvctl start + ${nut_prefix}/sbin/upsdrvctl start } nut_poststop() { - ${nut_prefix}/libexec/nut/upsdrvctl stop + ${nut_prefix}/sbin/upsdrvctl stop } extra_commands=reload --Apple-Mail=_D2D5439C-D364-49AE-AAD3-FDCB7E3416A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Cheers, =97=20 Andrew On 5 Jul 2014, at 14:14 , Andrew Reilly wrote: > Hi cy, itetcu, >=20 > An upgrade to the sysutils/nut port happened on Friday July 4, and was = portmaster -a=92d on my system this morning, and now doesn=92t start = properly. Specifically rc.d/nut has a prestart command that attempts to = run "/usr/local/libexec/upsdrvctl start", but that file was deleted by = this change. > = http://svnweb.freebsd.org/ports/head/sysutils/nut/pkg-plist?r1=3D360497&r2= =3D360496&pathrev=3D360497 >=20 > I didn=92t see any descriptions or work-arounds in UPDATING. Any = suggestions for how to proceed? >=20 > Cheers, >=20 > =97=20 > Andrew >=20 --Apple-Mail=_D2D5439C-D364-49AE-AAD3-FDCB7E3416A2--