Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
ntop
> ntop-3.3.9-geoip.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ntop-3.3.9-geoip.patch of Package ntop (Revision 54)
Currently displaying revision
54
,
show latest
--- configure.in.orig 2009-01-11 20:37:48.000000000 +0100 +++ configure.in 2009-01-11 21:16:15.000000000 +0100 @@ -1887,20 +1887,6 @@ fi dnl> GeoIP (http://www.maxmind.com/) -if test -f "GeoIP.tar.gz"; then - echo "GeoIP already present on this machine" -else - wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz - tar xvfz GeoIP.tar.gz - GEO_DIR=`find $PWD -type d -name "GeoIP-*"` - cd $GEO_DIR; ./configure; make; cd .. - # OSX Fix - GEO_DYLIB="$GEO_DIR/libGeoIP/.libs/libGeoIP.dylib" - if test -f $GEO_DYLIB; then - ln -s $GEO_DYLIB . - fi -fi - if test -f "GeoLiteCity.dat"; then echo "GeoLiteCity.dat already present" else @@ -1916,10 +1902,9 @@ fi -GEO_DIR=`find $PWD -type d -name "GeoIP-*"` -GEO_IP="$GEO_DIR/libGeoIP/" +GEO_IP="/usr/include" CFLAGS="$CFLAGS -I$GEO_IP" -LDFLAGS="$LDFLAGS -L$GEO_IP.libs/ -lGeoIP" +LDFLAGS="$LDFLAGS -L$LIBDIR -lGeoIP" dnl> NTOPCONFIGDEBUG_SETTINGS([precet]) --- Makefile.am.orig 2009-01-11 21:25:20.000000000 +0100 +++ Makefile.am 2009-01-11 21:25:30.000000000 +0100 @@ -270,8 +270,6 @@ install: install-recursive - cd @GEO_DIR@; make install - @mkdir -p $(DESTDIR)/$(CFG_DBFILE_DIR) @echo ""