From owner-freebsd-ports Wed Apr 25 4:40: 9 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 5293737B42C for ; Wed, 25 Apr 2001 04:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3PBe3H56571; Wed, 25 Apr 2001 04:40:03 -0700 (PDT) (envelope-from gnats) Date: Wed, 25 Apr 2001 04:40:03 -0700 (PDT) Message-Id: <200104251140.f3PBe3H56571@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/26835: Updated port: net/isc-dhcp3 (release candidate 2 patch level 1) Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/26835; it has been noted by GNATS. From: Peter Pentchev To: Cyrille Lefevre Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/26835: Updated port: net/isc-dhcp3 (release candidate 2 patch level 1) Date: Wed, 25 Apr 2001 14:29:59 +0300 On Wed, Apr 25, 2001 at 01:18:25PM +0200, Cyrille Lefevre wrote: > > >Number: 26835 > >Category: ports > >Synopsis: Updated port: net/isc-dhcp3 (release candidate 2 patch level 1) > >Originator: Cyrille Lefevre > >Environment: > > FreeBSD gits 4.3-STABLE FreeBSD 4.3-STABLE #21: Sun Apr 22 22:20:03 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 > > >Description: > > well! the chase to the dhcp versions race continue... > but, someone found a trick. until now, I didn't see > that there is a .../dhcp-3.0-history subdir for download > which contains older releases. > > Makefile > PORTVERSION bumped to 3.0.r2.1 > MASTER_SITES enhanced. > PLIST_SUB added. > distname > updated > pkg-plist > %%PORTDOCS%% added. OK, the version update and the PKGBASE plist change are both very good. I still think the MASTER_SITES thing should be done with a MASTER_SITE_SUBDIR though. How about the attached patch? G'luck, Peter -- If you think this sentence is confusing, then change one pig. Index: ports/net/isc-dhcp3/Makefile =================================================================== RCS file: /home/ncvs/ports/net/isc-dhcp3/Makefile,v retrieving revision 1.59 diff -u -r1.59 Makefile --- ports/net/isc-dhcp3/Makefile 2001/04/22 11:59:08 1.59 +++ ports/net/isc-dhcp3/Makefile 2001/04/25 11:30:43 @@ -7,9 +7,10 @@ # PORTNAME= dhcp -PORTVERSION= 3.0.r2 +PORTVERSION= 3.0.r2.1 CATEGORIES= net -MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/ +MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/%SUBDIR%/ +MASTER_SITE_SUBDIR= . dhcp-3.0-history PKGNAMEPREFIX= isc- PKGNAMESUFFIX= 3 DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL} @@ -21,6 +22,8 @@ # HAS_CONFIGURE= yes + +PLIST_SUB= PKGBASE="${PKGBASE}" MAN3= dhcpctl.3 omapi.3 MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-contrib.5 \ Index: ports/net/isc-dhcp3/distinfo =================================================================== RCS file: /home/ncvs/ports/net/isc-dhcp3/distinfo,v retrieving revision 1.27 diff -u -r1.27 distinfo --- ports/net/isc-dhcp3/distinfo 2001/04/22 11:59:08 1.27 +++ ports/net/isc-dhcp3/distinfo 2001/04/25 11:30:43 @@ -1 +1 @@ -MD5 (dhcp-3.0rc2.tar.gz) = 411e8e14291cd4158abcad5bf1bafa1d +MD5 (dhcp-3.0rc2pl1.tar.gz) = 7c81d953f4c82fa7835edc09df945fd7 Index: ports/net/isc-dhcp3/pkg-plist =================================================================== RCS file: /home/ncvs/ports/net/isc-dhcp3/pkg-plist,v retrieving revision 1.15 diff -u -r1.15 pkg-plist --- ports/net/isc-dhcp3/pkg-plist 2001/02/17 14:17:29 1.15 +++ ports/net/isc-dhcp3/pkg-plist 2001/04/25 11:30:43 @@ -19,13 +19,13 @@ sbin/dhclient-script sbin/dhcpd sbin/dhcrelay -share/doc/isc-dhcp3/CHANGES -share/doc/isc-dhcp3/COPYRIGHT -share/doc/isc-dhcp3/README -share/doc/isc-dhcp3/RELNOTES +%%PORTDOCS%%share/doc/%%PKGBASE%%/CHANGES +%%PORTDOCS%%share/doc/%%PKGBASE%%/COPYRIGHT +%%PORTDOCS%%share/doc/%%PKGBASE%%/README +%%PORTDOCS%%share/doc/%%PKGBASE%%/RELNOTES @dirrm include/isc @dirrm include/omapip -@dirrm share/doc/isc-dhcp3 +%%PORTDOCS%%@dirrm share/doc/%%PKGBASE%% @exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases @unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases @exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message