Use GeoIP 1.4.8 which includes a DLL instead of a static library.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 29 May 2012 23:31:00 +0000 (23:31 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 29 May 2012 23:31:00 +0000 (23:31 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@42905 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.nmake
config.nmake
packaging/nsis/Makefile.nmake
packaging/nsis/wireshark.nsi
tools/win32-setup.sh
tools/win64-setup.sh

index c5313977b4085a3692db9dcbd581833f67d42dfc..c4cfa8393cda4c93d256eb5e349eebc5dc8dab9d 100644 (file)
@@ -900,7 +900,7 @@ process_libs:
 !ENDIF
 !IFDEF GEOIP_DIR
        @$(SH) $(WIN_SETUP) "$(WIN_SETUP_OPT)" "$(WIRESHARK_LIB_DIR)" \
-               . GeoIP-1.4.6-$(WIRESHARK_TARGET_PLATFORM)ws.zip
+               GeoIP-$(GEOIP_PKG)-$(WIRESHARK_TARGET_PLATFORM)ws GeoIP-$(GEOIP_PKG)-$(WIRESHARK_TARGET_PLATFORM)ws.zip
 !ENDIF
 !IFDEF HHC_DIR
        @$(SH) $(WIN_SETUP) "$(WIN_SETUP_OPT)" "$(WIRESHARK_LIB_DIR)" \
@@ -973,6 +973,7 @@ clean_setup:
     rm -r -f AirPcap_Devpack_4_1_0_1622
     rm -r -f GeoIP-1.4.5ws
     rm -r -f GeoIP-1.4.6-win??ws
+    rm -r -f GeoIP-1.4.8-win??ws
     rm -r -f WpdPack
     cd "$(MAKEDIR)"
 
@@ -1191,6 +1192,9 @@ install-all: install-generated-files
        xcopy "$(SMI_DIR)\share\mibs\tubs\*" $(INSTALL_DIR)\snmp\mibs /d
        xcopy "$(SMI_DIR)\share\pibs\*" $(INSTALL_DIR)\snmp\mibs /d
        xcopy "$(SMI_DIR)\share\yang\*.yang" $(INSTALL_DIR)\snmp\mibs /d
+!ENDIF
+!IFDEF GEOIP_DIR
+       xcopy "$(GEOIP_DIR)\bin\libGeoip-1.dll" $(INSTALL_DIR) /d
 !ENDIF
        cd $(INSTALL_DIR)
        peflags --dynamicbase=true --nxcompat=true *.dll
index 19a41b83fc373a992b7e89436a8044d810d965ed..8a43ef3a49027f9b5da7b866478d49574ba6b05a 100644 (file)
@@ -406,7 +406,7 @@ SMI_PKG=svn-40773
 #
 # Used to map IP addresses to MaxMind GeoIP database entries
 #
-GEOIP_DIR=$(WIRESHARK_LIB_DIR)\GeoIP-1.4.6-win32ws\libGeoIP
+GEOIP_PKG=1.4.8
 
 !else
 ##### Win64 Libraries #####
@@ -615,7 +615,7 @@ SMI_PKG=svn-40773
 #
 # Used to map IP addresses to MaxMind GeoIP database entries
 #
-GEOIP_DIR=$(WIRESHARK_LIB_DIR)\GeoIP-1.4.6-win64ws\libGeoIP
+GEOIP_PKG=1.4.8
 
 !endif
 
@@ -1322,12 +1322,14 @@ SMI_CFLAGS=
 SMI_CONFIG=
 !ENDIF
 
-!IFDEF GEOIP_DIR
+!IFDEF GEOIP_PKG
+GEOIP_DIR=$(WIRESHARK_LIB_DIR)\GeoIP-$(GEOIP_PKG)-$(WIRESHARK_TARGET_PLATFORM)ws
 GEOIP_CONFIG=^#define HAVE_GEOIP 1
 GEOIP_V6_CONFIG=^#define HAVE_GEOIP_V6 1
-GEOIP_CFLAGS=/I$(GEOIP_DIR)
-GEOIP_LIBS=$(GEOIP_DIR)\GeoIP.lib
+GEOIP_CFLAGS=/I$(GEOIP_DIR)/include
+GEOIP_LIBS=$(GEOIP_DIR)\lib\libGeoIP-1.lib
 !ELSE
+GEOIP_DIR=
 GEOIP_LIBS=
 GEOIP_CFLAGS=
 GEOIP_CONFIG=
index 2ccbab6bd66fce4b22d95c550926cab6bf47eb30..6d3f2f8f0a664e85e0b920425b38e36405be3674 100644 (file)
@@ -185,6 +185,9 @@ wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe : user-guide.chm $(NSI) $(
 !IFDEF SMI_DIR
        /DSMI_DIR=$(SMI_DIR) \
 !ENDIF
+!IFDEF GEOIP_DIR
+       /DGEOIP_DIR=$(GEOIP_DIR) \
+!ENDIF
 !IFDEF HHC_DIR
        /DHHC_DIR="$(HHC_DIR)" \
 !ENDIF
index b4cfd05205b9cc88725c3dee8ad6f25b56da19d4..90d99a600c3acfd7a2fd24a92a951c3ae4427ef0 100644 (file)
@@ -410,6 +410,9 @@ File "..\..\epan\wslua\dtd_gen.lua"
 !ifdef SMI_DIR
 File "..\..\wireshark-gtk2\libsmi-2.dll"
 !endif
+!ifdef GEOIP_DIR
+File "..\..\wireshark-gtk2\libGeoIP-1.dll"
+!endif
 File "..\..\wireshark-gtk2\COPYING.txt"
 File "..\..\wireshark-gtk2\NEWS.txt"
 File "..\..\wireshark-gtk2\README.txt"
index fdb6a2cce830c8006ec6dda1503e936cc3df5d09..6edc890f539dd303319def9707d63499d40650f6 100755 (executable)
@@ -4,7 +4,7 @@
 
 # 32-bit wrapper for win-setup.sh.
 
-export DOWNLOAD_TAG="2012-05-14"
+export DOWNLOAD_TAG="2012-05-29"
 export WIRESHARK_TARGET_PLATFORM="win32"
 
 WIN_SETUP=`echo $0 | sed -e s/win32/win/`
index fb181484b3fa17b33829e578dc9953ab22174d09..34c6e32811ee9dbaddede614c58a331b1194d622 100755 (executable)
@@ -4,7 +4,7 @@
 
 # 64-bit wrapper for win-setup.sh.
 
-export DOWNLOAD_TAG="2012-05-14"
+export DOWNLOAD_TAG="2012-05-29"
 export WIRESHARK_TARGET_PLATFORM="win64"
 
 WIN_SETUP=`echo $0 | sed -e s/win64/win/`