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

From: Edwin Groothuis <edwin_at_mavetju.org>
Date: Tue, 14 Dec 2004 13:00:11 +1100
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
    _at__at_ -461,6 +461,7 _at__at_
	    -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:
    +	_at_${SED} -e 's#\\&\\fIperl\\fR\\|(1), \\fINet::DNS\\fR\\|(1)#&, http://www.rfc.se/fpdns/#' \
    +		${WRKDIR}/fpdns.1 > ${WRKDIR}/fpdns.1.sed
    +	_at_${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/
Received on Tue Dec 14 2004 - 02:00:17 UTC