Date: Sat, 26 Jun 2004 13:20:22 GMT From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/68357: Maintainer update: net/isc-dhcp3 (startup script rewritten) Message-ID: <200406261320.i5QDKMRH043976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/68357; it has been noted by GNATS. From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: Oliver Eikemeier <eikemeier@fillmore-labs.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406261320.i5QDKMRH043976>