cvs commit: ports/net/GeoIP Makefile distinfo pkg-message pkg-plist ports/net/GeoIP/files patch-ltmain.sh

Kris Kennaway kris at obsecurity.org
Sat May 29 19:05:58 PDT 2004


On Sat, May 29, 2004 at 04:14:31PM -0700, Yen-Ming Lee wrote:

> | -	@${CAT} ${PKGMESSAGE}
> | +.if !exists(${PREFIX}/etc/GeoIP.conf.default)
> | +	@${CP} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
> | +.endif

What about when this is installed from the package?  This should be an
@exec in the pkg-plist.  You only did the other half (removal):

> | + at unexec if cmp -s %D/etc/GeoIP.conf %D/etc/GeoIP.conf.default; then rm -f %D/etc/GeoIP.conf; fi

> | +++ ports/net/GeoIP/distinfo	2004/05/29 23:14:31	1.14
> | @@ -1,2 +1,3 @@
> | -MD5 (GeoIP-1.2.2.tar.gz) = 6844bee99c6426924a11b1998460e6f6
> | +MD5 (GeoIP-1.3.1.tar.gz) = cbfb7be70e2b02140677008d6e902dac
> | +SIZE (GeoIP-1.3.1.tar.gz) = 526429
> |  SIZE (GeoIP-1.2.2.tar.gz) = 512557

You forgot to remove the old SIZE.  Running 'make makesum' would have
done this automatically.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040529/5e57ee83/attachment.bin


More information about the cvs-all mailing list