[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #32299 [Core Tor/Tor]: read GeoIPFile and GeoIP6File straight out of APK file (Android-only)
#32299: read GeoIPFile and GeoIP6File straight out of APK file (Android-only)
-------------------------------------------------+------------------------
Reporter: eighthave | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: Android, tbb-mobile, needs-proposal | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+------------------------
Comment (by eighthave):
I imagine OpenWRT is one of the disk-constrained systems you are talking
about, though these days perhaps it makes sense to also include Debian
e.g. Raspberry Pi.
* `zip:/path/to/my.zip/path/to/geoip` makes sense to me. `.apk` and
`.jar` files are both ZIP files with some extra standards, so it might
make sense to include `jar:` and `apk:` as aliases for `zip:`. Most
people are not aware that `.apk` and `.jar` files are ZIP format. iOS's
[https://en.wikipedia.org/wiki/.ipa_(file_extension) .ipa] format is also
a ZIP container, and it looks like iOS also reads PNGs straight from that
file once installed.
* [https://en.wikipedia.org/wiki/Deb_package .deb/.udeb] are `.ar` files
with compressed `.tar` files (`.gz`, `bz2`, `.lzma`, `.xz`). Supporting
that case would probably require
`deb:/path/to/tor_0.4.1.5-1.deb/path/to/geoip`. libs for `.gz`, `.lzma`
and `.xz` are already reguarly linked into `tor`. `.ar` and `.tar` support
would need to be added.
* OpenWRT's `.ipk` files seem to follow the same structure as `.deb`, but
I couldn't find clear docs on that. But
[https://cognito.me.uk/computing/2014/05/06/manual-extractioninstallation-
of-ipk-packages-on-gargoyleopenwrt.html it might use tar] instead of ar.
* [https://en.wikipedia.org/wiki/RPM_Package_Manager#Binary_format .rpm]
are compressed cpio files, the compression can be with gzip, zstd, lzma,
xz, .bzip2. RPM 5.0 allows xar instead of cpio.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32299#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs