update to 20181126 [release 20181126-1mamba;Mon Nov 26 2018]
This commit is contained in:
parent
5374d38785
commit
e7a12847b3
4
Geo-db-LiteCountry-autoupdate
Normal file
4
Geo-db-LiteCountry-autoupdate
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
[ $1 ] || exit 1
|
||||||
|
curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -o GeoIP-$1.dat.gz
|
||||||
|
curl http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz -o GeoIPv6-$1.dat.gz
|
@ -1,14 +1,16 @@
|
|||||||
Name: Geo-db-LiteCountry
|
Name: Geo-db-LiteCountry
|
||||||
Version: 20080803
|
Version: 20181126
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: GeoLite LiteCountry - Country database for GeoIP
|
Summary: GeoLite LiteCountry - Country database for GeoIP
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.maxmind.com/app/geolitecountry
|
URL: http://www.maxmind.com/app/geolitecountry
|
||||||
Source0: http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
|
Source0: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP-%{version}.dat.gz
|
||||||
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
|
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
|
||||||
|
Source2: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIPv6-%{version}.dat.gz
|
||||||
|
Source3: Geo-db-LiteCountry-autoupdate
|
||||||
License: OPEN DATA LICENSE
|
License: OPEN DATA LICENSE
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -34,7 +36,9 @@ or use of this database must display the following acknowledgment:
|
|||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
cp %{SOURCE0} .
|
cp %{SOURCE0} .
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
gunzip GeoIP.dat.gz
|
cp %{SOURCE2} .
|
||||||
|
gunzip GeoIP-%{version}.dat.gz
|
||||||
|
gunzip GeoIPv6-%{version}.dat.gz
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -42,7 +46,8 @@ gunzip GeoIP.dat.gz
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -d %{buildroot}%{_datadir}/GeoIP
|
install -d %{buildroot}%{_datadir}/GeoIP
|
||||||
|
|
||||||
install GeoIP.dat %{buildroot}%{_datadir}/GeoIP
|
install GeoIP-%{version}.dat %{buildroot}%{_datadir}/GeoIP/GeoIP.dat
|
||||||
|
install GeoIPv6-%{version}.dat %{buildroot}%{_datadir}/GeoIP/GeoIPv6.dat
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -54,6 +59,9 @@ install GeoIP.dat %{buildroot}%{_datadir}/GeoIP
|
|||||||
%doc *.txt
|
%doc *.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 26 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20181126-1mamba
|
||||||
|
- update to 20181126
|
||||||
|
|
||||||
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 20080803-2mamba
|
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 20080803-2mamba
|
||||||
- automatic rebuild by autodist
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
BIN
GeoIP-20181126.dat.gz
Normal file
BIN
GeoIP-20181126.dat.gz
Normal file
Binary file not shown.
BIN
GeoIP.dat.gz
BIN
GeoIP.dat.gz
Binary file not shown.
BIN
GeoIPv6-20181126.dat.gz
Normal file
BIN
GeoIPv6-20181126.dat.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user