Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lemmy04
xtables-geoip
xtables-geoip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xtables-geoip.spec of Package xtables-geoip
# # spec file for package xtables-geoip # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: xtables-geoip Version: 20200703 Release: 0 Summary: Geolocation database files for xt_geoip License: CC-BY-SA-4.0 Group: Productivity/Networking/Security URL: https://dev.maxmind.com/geoip/geoip2/geolite2/ #DL-URL: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip Source: GeoLite2-Country-CSV.zip Source1: GeoLite2xtables.tar.bz2 Source2: countryInfo.txt Source3: %name-rpmlintrc BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: unzip BuildRequires: perl(NetAddr::IP) >= 4.79 BuildRequires: perl(Text::CSV_XS) >= 1.34 BuildRequires: xtables-addons >= 2.14 #db format changed at that time Conflicts: xtables-addons < 1.33 %description The package contains the GeoIP definition files (which IP addresses belong to which country) that are needed for Xtables-addons's xt_geoip module. This product includes GeoLite data created by MaxMind, available from http://maxmind.com/. Author(s): ---------- The GeoIP data is from MaxMind.com. Please do not contact them for errors with this package. %prep %setup -c -a 1 %build cat GeoLite2-Country-CSV_*/GeoLite2-Country-Blocks-IPv4.csv GeoLite2-Country-CSV_*/GeoLite2-Country-Blocks-IPv6.csv | GeoLite2xtables/20_convert_geolite2 %{SOURCE2} > GeoIP-legacy.csv b="%buildroot" mkdir -p "$b/%_datadir/xt_geoip" %_libexecdir/xtables-addons/xt_geoip_build -D "$b/%_datadir/xt_geoip/" $RPM_BUILD_DIR/%{name}-%{version}/GeoIP-legacy.csv %install echo nothing to do %files %defattr(-,root,root) %_datadir/xt_geoip/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor