From owner-freebsd-ports@FreeBSD.ORG Sun Sep 12 13:03:22 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D57D71065672 for ; Sun, 12 Sep 2010 13:03:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2928FC0C for ; Sun, 12 Sep 2010 13:03:22 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o8CD38x8018269 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 12 Sep 2010 14:03:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C8CCF83.9010508@infracaninophile.co.uk> Date: Sun, 12 Sep 2010 14:02:59 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20100911222902.bb57444a.nork@FreeBSD.org> <20100911173359.68d71af6@it.buh.tecnik93.com> <20100911224547.GA35333@mail.hs.ntnu.edu.tw> <20100912094602.497f93c7@it.buh.tecnik93.com> In-Reply-To: <20100912094602.497f93c7@it.buh.tecnik93.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig506D6A61EEFBE673288DC5BD" X-Virus-Scanned: clamav-milter 0.96.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2010 13:03:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig506D6A61EEFBE673288DC5BD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/09/2010 07:46:02, Ion-Mihai Tetcu wrote: > And you can't really know if it's a new install or an upgrade. An app like portmaster or portupgrade would be able to know that. It's an oddity of the ports/pkg system that because 'upgrade' is implemented as 'delete' followed by 'install' that there is difficulty in making that distinction. In fact, portupgrade has a nifty feature you can enable which causes it to run '/usr/local/etc/rc.d/foo start' for any rc scripts installed by a port it is working on. Which is almost, but not quite, exactly what is wanted; it should issue 'restart' for services already running, or 'start' for services stopped during the upgrade process. Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig506D6A61EEFBE673288DC5BD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyMz4wACgkQ8Mjk52CukIx4vACdHaUW2EEBkuCtmgI47ODCibRP DBcAnRHUGEPaDBQ4b+YVkU6PaMmUp353 =qLGN -----END PGP SIGNATURE----- --------------enig506D6A61EEFBE673288DC5BD--