https://bugs.contribs.org/show_bug.cgi?id=10859

--- Comment #4 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to mab974 from comment #3)
> change "component" here to smeserver-geoip 
> as it appears to be Duplicate with bug 10860.

not quite a duplicate, but rather same issue that can get a common resolution

setting back to xt_geoip

as discussed somewhere else :

instead of getting the csv files and manipulate it, we could use the epel rpm
at the beginning (requiring it on install), and alter the script to use it.

Requires: geolite2-country
Requires: mdbtools
Requires: libmaxminddb-devel

then we could simply decide to depends on smeserver-geoip to do the job for
updating the db more frequently than the rpm from epel. This would avoid to
download twice the db: once as csv and once as mmdb.


However from y test I get:
# mdb-tables  /usr/share/GeoIP/GeoLite2-Country.mmdb 
Unknown Jet version.
Couldn't open database.
# mdb-export /usr/share/GeoIP/GeoLite2-Country.mmdb
Unknown Jet version.


seems an issue we can not control unless we try to rebuild the tools ..Is it
worth ?????


######################

so what I suggest would to simply share a db key with smeserver-geoip and store
it in smeserver-geoip for default db key and template for GeoIP.conf.

config set geoip service status enabled AccountID xxx LicenseKey xxx EditionIDs
''

with default EditionIDs GeoLite2-ASN GeoLite2-City GeoLite2-Country if empty

Would we be able to package the CSV file once in the contribs for initial run ?
according to https://dev.maxmind.com/geoip/geoip2/geolite2/  db  is CC-BY-SA so
we could add one initial version.


also we could choose to either requires smeserver-geoip or to simply explain on
the wiki how tomanually create the properties and key


we might have to add this in spec file and wiki pages :

License

The GeoLite2 end-user license agreement, which incorporates components of the
Creative Commons Attribution-ShareAlike 4.0 International License can be found
here. The attribution requirement may be met by including the following in all
advertising and documentation mentioning features of or use of this database:

This product includes GeoLite2 data created by MaxMind, available from
<a href="https://www.maxmind.com";>https://www.maxmind.com</a>.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to