From owner-freebsd-ports Sun Nov 25 8:40:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7DF0537B41E for ; Sun, 25 Nov 2001 08:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAPGe3967503; Sun, 25 Nov 2001 08:40:03 -0800 (PST) (envelope-from gnats) Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 0576D37B419 for ; Sun, 25 Nov 2001 08:32:08 -0800 (PST) Received: from pc3-card3-0-cust122.cdf.cable.ntl.com ([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 1682CM-0003da-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 25 Nov 2001 16:32:06 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 1682CJ-0003xu-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 25 Nov 2001 16:32:03 +0000 Message-Id: Date: Sun, 25 Nov 2001 16:32:03 +0000 From: Ceri Reply-To: Ceri To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32271: [PATCH] pkg-plist for net/isc-dhcp2 incorrect Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32271 >Category: ports >Synopsis: [PATCH] pkg-plist for net/isc-dhcp2 incorrect >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Nov 25 08:40:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: setantae@submonkey.net >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 21:14:33 GMT 2001 root@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386 >Description: The plist for net/isc-dhcp2 says that it installs a dhclient.conf. It doesn't, nor should it. >How-To-Repeat: cat /usr/ports/net/isc-dhcp2 >Fix: Apply the attached patch. Please note that this is my first attempt at doing anything like this in the ports tree, and although the patches pass portlint, there may well be issues with the patch attached. Please do advise if I have made obvious errors. Anyway, here's the patch : diff -u net/isc-dhcp2.old/Makefile net/isc-dhcp2/Makefile --- net/isc-dhcp2.old/Makefile Sun Nov 25 16:26:17 2001 +++ net/isc-dhcp2/Makefile Sun Nov 25 16:24:46 2001 @@ -7,6 +7,7 @@ PORTNAME= isc-dhcp PORTVERSION= 2.0.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/ \ ftp://ftp.isc.org/isc/dhcp/dhcp-2.0-history/ @@ -27,6 +28,7 @@ post-install: ${TOUCH} /var/db/dhcpd.leases + ${TOUCH} ${PREFIX}/etc/dhcpd.conf .for file in dhcpd dhcrelay if [ -f ${PREFIX}/sbin/${file} ]; then \ strip ${PREFIX}/sbin/${file}; \ Only in net/isc-dhcp2.old/: Makefile.old Common subdirectories: net/isc-dhcp2.old/files and net/isc-dhcp2/files diff -u net/isc-dhcp2.old/pkg-plist net/isc-dhcp2/pkg-plist --- net/isc-dhcp2.old/pkg-plist Sun Nov 25 16:26:21 2001 +++ net/isc-dhcp2/pkg-plist Sun Nov 25 16:19:15 2001 @@ -2,4 +2,4 @@ sbin/dhcrelay etc/rc.d/%%STARTUP_SCRIPT%% @exec touch /var/db/dhcpd.leases -@exec touch %D/etc/dhclient.conf +@exec touch %D/etc/dhcpd.conf >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message