Date: Sun, 17 Mar 2002 17:08:08 +0900 From: "Akinori MUSHA" <knu@iDaemons.org> To: Doug Barton <dougb@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/net/bind9 Makefile distinfo pkg-plist Message-ID: <86n0x7d3br.wl@archon.local.idaemons.org> In-Reply-To: <200203170647.g2H6lPb65782@freefall.freebsd.org> References: <200203170647.g2H6lPb65782@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86n0x7d3br.wl>