Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 13:00:11 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/dns/fpdns Makefile distinfo pkg-plist ports/dns/fpdns/files patch-fpdns.pl
Message-ID:  <20041214020011.GA1436@k7.mavetju>
In-Reply-To: <200412140145.iBE1jqkW098156@repoman.freebsd.org>
References:  <200412140145.iBE1jqkW098156@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041214020011.GA1436>