cvs commit: ports/dns/fpdns Makefile distinfo pkg-plist ports/dns/fpdns/files patch-fpdns.pl

Edwin Groothuis edwin at mavetju.org
Mon Dec 13 18:00:17 PST 2004


On Tue, Dec 14, 2004 at 01:45:52AM +0000, Doug Barton wrote:
> dougb       2004-12-14 01:45:52 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     dns/fpdns            Makefile distinfo 
>   Removed files:
>     dns/fpdns            pkg-plist 
>     dns/fpdns/files      patch-fpdns.pl 
>   Log:
>   Update to 0.9.1, the latest version, which includes a man page.
>   
>   And while I'm here:
>   
>   1. Download the PGP .sig file, in case the user wants to verify the package
>   2. Switch to PLIST_FILES for the one file this port installs
>   3. Replace the lone patch file with a ${SED} command
>   
>   For those keeping score at home, that's 3 inodes gone with one commit! :)

10 points for the inodes, but minus several thousand for the sed statement!

Compare:
    --- fpdns.pl.orig	Sun Jul  4 00:21:01 2004
    +++ fpdns.pl	Sun Jul  4 00:21:33 2004
    @@ -461,6 +461,7 @@
	    -t time    (set query timeout) [5]
	    -v         (show version)
     
    +See http://www.rfc.se/fpdns/ for more information about $progname.
     EOF
	     exit 2;

with:

    +post-patch:
    +	@${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
    +		${WRKDIR}/fpdns.1 > ${WRKDIR}/fpdns.1.sed
    +	@${MV} ${WRKDIR}/fpdns.1.sed ${WRKDIR}/fpdns.1

Oh well, as long as you can read it :-P

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the cvs-ports mailing list