SHA256
1
0
forked from pool/wireshark
OBS User unknown 2009-06-20 02:08:32 +00:00 committed by Git OBS Bridge
parent fba6032dfe
commit e4f1d1a67c
3 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- epan/geoip_db.c
+++ epan/geoip_db.c
@@ -160,6 +160,9 @@
geoip_dat_scan_dir(geoip_db_paths[i].path);
}
}
+ if (num_geoip_db_paths < 1) {
+ geoip_dat_scan_dir("/var/lib/GeoIP");
+ }
/* add fake databases for latitude and longitude (using "City" in reality) */
{

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 17 17:13:53 CEST 2009 - prusnak@suse.cz
- search in /var/lib/GeoIP if user hasn't set any GeoIP folders
(geoip.patch)
-------------------------------------------------------------------
Wed Jun 17 12:36:52 CEST 2009 - prusnak@suse.cz

View File

@ -23,13 +23,18 @@ License: GPL v2 or later
Group: Productivity/Networking/Diagnostic
Summary: A Network Traffic Analyser
Version: 1.2.0
Release: 1
Release: 2
Url: http://www.wireshark.org/
Source: http://www.wireshark.org/download/src/%{name}-%{version}.tar.bz2
Source1: include.filelist
# PATCH-FIX-OPENSUSE wireshark-1.0.8-desktop.patch bnc#349782 prusnak@suse.cz -- fix icon and run as root
Patch0: %{name}-1.0.8-desktop.patch
# PATCH-FIX-OPENSUSE wireshark-1.2.0-disable-warning-dialog.patch bnc#349782 prusnak@suse.cz -- don't show warning when running as root
Patch1: %{name}-1.2.0-disable-warning-dialog.patch
# PATCH-FIX-OPENSUSE wireshark-1.2.0-asneeded.patch cmorve69@yahoo.es -- compile with --as-needed
Patch2: %{name}-1.2.0-asneeded.patch
# PATCH-FEATURE-OPENSUSE wireshark-1.2.0-geoip.patch prusnak@suse.cz -- search in /var/lib/GeoIP if user hasn't set any GeoIP folders
Patch3: %{name}-1.2.0-geoip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: xdg-utils
Provides: ethereal = %{version}
@ -145,6 +150,7 @@ Authors:
%patch0
%patch1
%patch2
%patch3
%build
%configure
@ -194,6 +200,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jun 17 2009 prusnak@suse.cz
- search in /var/lib/GeoIP if user hasn't set any GeoIP folders
(geoip.patch)
* Wed Jun 17 2009 prusnak@suse.cz
- updated to 1.2.0
Bug Fixes
Too many bugs have been fixed since the 1.0 release to list here.