[tor-bugs] #32831 [Core Tor/Tor]: create JAR artifacts for consuming geoip files in Android apps
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 20 23:45:41 UTC 2019
#32831: create JAR artifacts for consuming geoip files in Android apps
---------------------------------+------------------------------
Reporter: eighthave | Owner: (none)
Type: defect | Status: new
Priority: Medium | Component: Core Tor/Tor
Version: | Severity: Normal
Keywords: Android, tbb-mobile | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------+------------------------------
For Android apps, JAR files in Maven repositories are the standard way to
use libraries. The _geoip_ and _geoip6_ files are a kind of library of
data. So this adds the `-make-maven-artifacts` option to _src/config
/mmdb-convert.py_ to generate the standard Maven artifacts of these
datafiles that are directly consumable in a standard Android build setup,
e.g. in _build.gradle_:
{{{
implementation 'org.torproject:geoip:20191217'
}}}
These should be reproducible running them anywhere, since the timestamps
come from the MaxMind file.
https://github.com/torproject/tor/pull/1631
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32831>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list