Hello community, here is the log from the commit of package xtables-geoip for openSUSE:Factory checked in at Mon Nov 8 14:56:30 CET 2010. -------- --- xtables-geoip/xtables-geoip.changes 2010-10-03 11:51:31.000000000 +0200 +++ xtables-geoip/xtables-geoip.changes 2010-11-05 19:53:33.000000000 +0100 @@ -1,0 +2,12 @@ +Fri Nov 5 18:53:12 UTC 2010 - jengelh@medozas.de + +- update database files to 2010.11 + +------------------------------------------------------------------- +Sat Oct 9 13:22:04 UTC 2010 - jengelh@medozas.de + +- the database generation script is now packaged within + xtables-addons; use it +- package missing network-order variants + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- geoip_csv_iv0.pl New: ---- geoip_download.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtables-geoip.spec ++++++ --- /var/tmp/diff_new_pack.3CdG6K/_old 2010-11-08 14:55:54.000000000 +0100 +++ /var/tmp/diff_new_pack.3CdG6K/_new 2010-11-08 14:55:54.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package xtables-geoip (Version 2010.10) +# spec file for package xtables-geoip (Version 2010.11) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,18 +18,18 @@ Name: xtables-geoip -Version: 2010.10 +Version: 2010.11 Release: 1 Group: Productivity/Networking/Security Summary: GeoIP database files for xt_geoip License: BSD Url: http://maxmind.com/ -#Source: http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip Source1: GeoIPCountryWhois.csv.xz -Source2: geoip_csv_iv0.pl Source3: MAXMIND_LICENSE.txt +Source4: geoip_download.sh BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: xtables-addons BuildRequires: perl perl-Text-CSV_XS xz %description @@ -46,19 +46,20 @@ Please do not contact them for errors with this package. %prep -chmod a+x "%{S:2}" -cp "%{S:3}" . +cp "%{S:3}" .; %build +xz -cd "%{S:1}" >ipv4.csv; %install b="%buildroot" rm -Rf "$b" mkdir "$b" -mkdir -p "$b/%_datadir/xt_geoip/LE" -pushd "$b/%_datadir/xt_geoip/LE" -xz -cd "%{S:1}" | "%{S:2}" -popd +mkdir -p "$b/%_datadir/xt_geoip"/{BE,LE}; +%_libexecdir/xtables-addons/geoip_build_db.pl \ + -D "$b/%_datadir/xt_geoip/LE/" <ipv4.csv; +%_libexecdir/xtables-addons/geoip_build_db.pl \ + -b -D "$b/%_datadir/xt_geoip/BE/" <ipv4.csv; %clean rm -Rf "%buildroot" ++++++ GeoIPCountryWhois.csv.xz ++++++ Files /var/tmp/diff_new_pack.3CdG6K/_old and /var/tmp/diff_new_pack.3CdG6K/_new differ ++++++ geoip_download.sh ++++++ #!/bin/sh # file copied from xtables-addons/geoip/geoip_download.sh # it's here so that you can run it before osc :) rm -f GeoIPv6.csv{,.gz} GeoIPCountryCSV.zip GeoIPCountryWhois.csv; wget \ http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz \ http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip; gzip -d GeoIPv6.csv.gz; unzip GeoIPCountryCSV.zip; # opensuse specific additions: xz -9 *.csv; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org