From owner-cvs-all Sun Mar 17 0: 8:21 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [218.44.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 8C73937B402; Sun, 17 Mar 2002 00:08:12 -0800 (PST) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id CD9D94D8EC; Sun, 17 Mar 2002 17:08:08 +0900 (JST) Date: Sun, 17 Mar 2002 17:08:08 +0900 Message-ID: <86n0x7d3br.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Doug Barton Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/net/bind9 Makefile distinfo pkg-plist In-Reply-To: <200203170647.g2H6lPb65782@freefall.freebsd.org> References: <200203170647.g2H6lPb65782@freefall.freebsd.org> User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just ports style fixes, though, At Sat, 16 Mar 2002 22:47:25 -0800 (PST), Doug Barton wrote: > dougb 2002/03/16 22:47:25 PST > > Modified files: > net/bind9 Makefile distinfo pkg-plist > Log: > Upgrade to the latest release candidate, 9.2.1rc1. Numerous 9.x bugs You should avoid using 9.2.1rc1 as PORTVERSION because 9.2.1rc1 is larger than 9.2.1 by definition. Instead, how about using 9.2.1.p1 (note the dot before `p') as PORTVERSION and define another variable with the value of `9.2.1rc1' for convenience? (${PORTVERSION:S/.p/rc/}) > * Change PORTNAME to bind9 so that 'pkg_add -r bind' does the right thing LATEST_LINK is the variable to set the package link name. Please use it instead of changing PORTNAME just for the link name. Attached is the patch that fixes the above issues. While at it, I replaced ${PORTREVISION} in MASTER_SITES with %SUBDIR% and MASTER_SITE_SUBDIR. Apply it if you like it. :) -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.." Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/bind9/Makefile,v retrieving revision 1.41 diff -u -r1.41 Makefile --- Makefile 17 Mar 2002 06:47:25 -0000 1.41 +++ Makefile 17 Mar 2002 07:56:28 -0000 @@ -11,18 +11,22 @@ # version. If you are concerned about using the most recent ISC # release you can generally build it cleanly from the source - Doug -PORTNAME= bind9 -PORTVERSION= 9.2.1rc1 +PORTNAME= bind +PORTVERSION= 9.2.1.p1 CATEGORIES= net ipv6 -MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${PORTVERSION}/ \ - ftp://ftp.nominum.com/pub/isc/bind9/${PORTVERSION}/ \ - ftp://ftp.nerdc.ufl.edu/pub/mirrors/ftp.isc.org/isc/bind9/${PORTVERSION}/ \ - ftp://ftp.sunet.se/pub/network/isc/bind9/${PORTVERSION}/ \ - ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/bind9/${PORTVERSION}/,} -DISTFILES= bind-9.2.1rc1.tar.gz +MASTER_SITES= ftp://ftp.isc.org/isc/bind9/%SUBDIR%/ \ + ftp://ftp.nominum.com/pub/isc/bind9/%SUBDIR%/ \ + ftp://ftp.nerdc.ufl.edu/pub/mirrors/ftp.isc.org/isc/bind9/%SUBDIR%/ \ + ftp://ftp.sunet.se/pub/network/isc/bind9/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/bind9/%SUBDIR%,} +MASTER_SITE_SUBDIR= ${DISTVERSION} +DISTNAME= ${PORTNAME}-${DISTVERSION} MAINTAINER= DougB@FreeBSD.org +DISTVERSION= ${PORTVERSION:S/.p/rc/} +LATEST_LINK= bind9 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps @@ -78,7 +82,6 @@ lwresd.8 named-checkconf.8 named-checkzone.8 named.8 nsupdate.8 \ rndc-confgen.8 rndc.8 -WRKSRC= ${WRKDIR}/bind-${PORTVERSION} DIR= ${WRKSRC}/bin/ post-patch: .for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message