Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 980616

Summary: Use xz compressed GeoLiteCity.dat
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: geoip-geoliteAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: rbean
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-20 02:19:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 968074    
Bug Blocks:    

Description Ville Skyttä 2013-07-02 20:54:14 UTC
Using xz compressed GeoLiteCity.dat would save about 5 MB, see http://thread.gmane.org/gmane.linux.redhat.fedora.devel/181336 and let me know if you'd like me to take care of this for devel.

diff --git a/geoip-geolite.spec b/geoip-geolite.spec
index 077234a..731a22d 100644
--- a/geoip-geolite.spec
+++ b/geoip-geolite.spec
@@ -18 +18 @@ Source1:    http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
-Source2:    http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+Source2:    http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.xz
@@ -39 +39 @@ cp %{SOURCE1} GeoIPv6.dat.gz
-cp %{SOURCE2} GeoLiteCity.dat.gz
+cp %{SOURCE2} GeoLiteCity.dat.xz
@@ -47 +47 @@ gunzip GeoIPv6.dat.gz
-gunzip GeoLiteCity.dat.gz
+unxz GeoLiteCity.dat.xz

Comment 1 Ralph Bean 2013-07-09 00:39:45 UTC
Hi Ville,

Thanks for the patch, but as per the discussion in 968074, I intend to retire the geoip-geolite package as soon as the GeoIP package maintainers are ready.

Comment 2 Ralph Bean 2013-08-20 02:19:11 UTC
geoip-geolite has been retired from rawhide.  Please use the GeoIP package.