From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 26 13:20:52 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9B1316A4D0 for ; Sat, 26 Jun 2004 13:20:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FCB243D54 for ; Sat, 26 Jun 2004 13:20:52 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5QDKMjw043977 for ; Sat, 26 Jun 2004 13:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5QDKMRH043976; Sat, 26 Jun 2004 13:20:22 GMT (envelope-from gnats) Date: Sat, 26 Jun 2004 13:20:22 GMT Message-Id: <200406261320.i5QDKMRH043976@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Cyrille Lefevre Subject: Re: ports/68357: Maintainer update: net/isc-dhcp3 (startup script rewritten) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cyrille Lefevre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 13:20:52 -0000 The following reply was made to PR ports/68357; it has been noted by GNATS. From: Cyrille Lefevre To: Oliver Eikemeier Cc: FreeBSD-gnats-submit@FreeBSD.org, eik@FreeBSD.org, trhodes@FreeBSD.org Subject: Re: ports/68357: Maintainer update: net/isc-dhcp3 (startup script rewritten) Date: Sat, 26 Jun 2004 15:10:29 +0200 (CEST) On Jun 26, 2004 10:34:14 am +0200, Oliver Eikemeier wrote: > Cyrille Lefevre wrote: > > > pkg-install > > new file > > Try > > make package; make deinstall; pkg_add `make -VPKGFILE` was I drunk when I wrote this script ? no, I was tired and I don't redo for the nth time make install; make deinstall; pkg_add ..., etc. dhcpd really is isc-dhcpd.sh and I missed a double colon (well, this is a last time change) in pkg-install ! I also forgot PKGDEINSTALL in Makefile, to relocate PKGINSTALL and to document dhcpd_umask. this time, I really do all the make */pkg_* chain w/ success and all seems to be fine. sorry. --- Makefile.orig Sat Jun 26 04:00:17 2004 +++ Makefile Sat Jun 26 15:03:52 2004 @@ -61,6 +61,8 @@ MSG_FILE= ${.CURDIR}/pkg-message DESCR= ${.CURDIR}/pkg-descr +PKGINSTALL= ${.CURDIR}/pkg-install +PKGDEINSTALL= ${PKGINSTALL} PKGMESSAGE= ${WRKDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist --- pkg-install.orig Sat Jun 26 14:44:29 2004 +++ pkg-install Sat Jun 26 14:48:28 2004 @@ -9,10 +9,11 @@ case $2 in POST-INSTALL) - ${PKG_PREFIX}/etc/rc.d/dhcpd forceinstall + ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceinstall ;; DEINSTALL) - ${PKG_PREFIX}/etc/rc.d/dhcpd forceuninstall + ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceuninstall + ;; POST-DEINSTALL|PRE-INSTALL) ;; *) --- pkg-message.orig Sat Jun 26 04:21:28 2004 +++ pkg-message Sat Jun 26 05:13:23 2004 @@ -8,6 +8,7 @@ dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) + dhcpd_umask="022" # file creation mask **** If compiled with paranoia support (the default), the following lines are also supported: Cyrille Lefevre -- mailto:cyrille.lefevre@laposte.net