1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

update to GeoIP-1.3.1, so version bumped to 4.

install default configuration file

PR:		62900
Submitted by:	Ying-Chieh Liao <ijliao@FreeBSD.csie.NCTU.edu.tw>
Approved by:	maintainer timeout
This commit is contained in:
Yen-Ming Lee 2004-05-29 23:14:31 +00:00
parent b01476185c
commit 90d6883398
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110336
5 changed files with 23 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= GeoIP
PORTVERSION= 1.2.2
PORTVERSION= 1.3.1
CATEGORIES= net
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
@ -20,6 +20,8 @@ INSTALLS_SHLIB= yes
MAN1= geoiplookup.1 geoipupdate.1
post-install:
@${CAT} ${PKGMESSAGE}
.if !exists(${PREFIX}/etc/GeoIP.conf.default)
@${CP} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
.endif
.include <bsd.port.mk>

View File

@ -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

View File

@ -0,0 +1,15 @@
--- ltmain.sh.orig Mon Feb 16 14:36:27 2004
+++ ltmain.sh Mon Feb 16 14:36:37 2004
@@ -4175,10 +4175,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false ; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -1,4 +0,0 @@
***
*** Please do this after you've ran the installation:
*** - Copy ${PREFIX}/etc/GeoIP.conf.default to ${PREFIX}/etc/GeoIP.conf
***

View File

@ -2,21 +2,19 @@ bin/geoipexport
bin/geoipexportlocations
bin/geoiplookup
bin/geoipupdate
@unexec if cmp -s %D/etc/GeoIP.conf %D/etc/GeoIP.conf.default; then rm -f %D/etc/GeoIP.conf; fi
etc/GeoIP.conf.default
include/GeoIP.h
include/GeoIPBitReader.h
include/GeoIPCity.h
include/GeoIPUpdate.h
lib/libGeoIP.a
lib/libGeoIP.la
lib/libGeoIP.so
lib/libGeoIP.so.3
lib/libGeoIP.so.4
lib/libGeoIPBitReader.a
lib/libGeoIPBitReader.la
lib/libGeoIPBitReader.so
lib/libGeoIPBitReader.so.0
lib/libGeoIPUpdate.a
lib/libGeoIPUpdate.la
lib/libGeoIPUpdate.so
lib/libGeoIPUpdate.so.0
share/GeoIP/GeoIP.dat