Bug 980616 - Use xz compressed GeoLiteCity.dat
Summary: Use xz compressed GeoLiteCity.dat
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: geoip-geolite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 968074
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-02 20:54 UTC by Ville Skyttä
Modified: 2013-08-20 02:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-20 02:19:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.