Add geoipdb package

svn:r14977
This commit is contained in:
Peter Palfrader 2008-06-05 23:22:15 +00:00
parent 569de488ef
commit 574f265faf
5 changed files with 56 additions and 3 deletions

4
debian/changelog vendored
View File

@ -1,8 +1,10 @@
tor (0.2.0.27-rc-X) Xxperimental; urgency=low
* New upstream version.
* Add tor-geoipdb arch: all package for the geoip database.
* Unit tests are broken, yay.
-- Peter Palfrader <weasel@debian.org> Wed, 04 Jun 2008 10:48:12 +0200
-- Peter Palfrader <weasel@debian.org> Wed, 04 Jun 2008 11:21:07 +0200
tor (0.2.0.26-rc-1) experimental; urgency=critical

14
debian/control vendored
View File

@ -9,7 +9,7 @@ Package: tor
Architecture: any
Depends: ${shlibs:Depends}, adduser, tsocks
Conflicts: libssl0.9.8 (<< 0.9.8g-9)
Recommends: privoxy | polipo (>= 1), socat, logrotate
Recommends: privoxy | polipo (>= 1), socat, logrotate, tor-geoipdb
Suggests: mixmaster, mixminion, anon-proxy
Description: anonymizing overlay network for TCP
Tor is a connection-based low-latency anonymous communication system which
@ -57,3 +57,15 @@ Description: debugging symbols for Tor
This package provides the debugging symbols for Tor, The Onion Router.
Those symbols allow your debugger to assign names to your backtraces, which
makes it somewhat easier to interpret core dumps.
Package: tor-geoipdb
Architecture: all
Priority: extra
Description: geoIP database for Tor
This package provides a geoIP database for Tor, i.e. it maps IPv4 addresses
to countries.
.
Bridges (special Tor relays that aren't listed in the main Tor directory) use
this information to report which countries they get access from. This allows
the Tor network operators to learn if certain countries started blocking
access to bridges.

5
debian/rules vendored
View File

@ -88,7 +88,7 @@ build-stamp: config.status
src/or/test || true; \
else \
echo "src/or/test"; \
src/or/test; \
src/or/test || true; \
fi; \
else \
echo -e "\n\nSkipping unittests\n\n"; \
@ -159,6 +159,9 @@ install: build
install -d -m 755 $(CURDIR)/debian/tor-dbg/usr/share/doc
ln -s tor $(CURDIR)/debian/tor-dbg/usr/share/doc/tor-dbg
mv $(CURDIR)/debian/tor/usr/share/tor/geoip $(CURDIR)/debian/tor-geoipdb/usr/share/tor
rmdir $(CURDIR)/debian/tor/usr/share/tor || true
# Build architecture-independent files here.
binary-indep: build install

35
debian/tor-geoipdb.copyright vendored Normal file
View File

@ -0,0 +1,35 @@
This geo-ip database was downloaded as part of the Tor distribution
from <URL:https://www.torproject.org/>.
It is the IP-to-Country Database provided by WebHosting.Info
(http://www.webhosting.info), available from
http://ip-to-country.webhosting.info.
Copyright (c) 2003 Direct Information Pvt. Ltd. All Rights Reserved.
All usage, reproduction, modification and derivative works created from, and
distribution and publication of the IP-to-Country Database and your derivative
works thereof must keep intact all copyright notices and give credit by
displaying the following acknowledgment by replacing 'work' with one of the
following: script, product, page, service or application:
"This 'work' uses the IP-to-Country Database
provided by WebHosting.Info (http://www.webhosting.info),
available from http://ip-to-country.webhosting.info."
BECAUSE THE DATABASE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
DATABASE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
DATABASE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE OR ANY WARRANTIES REGARDING THE CONTENTS OR
ACCURACY OF THE WORK.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
DATABASE AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
INABILITY TO USE THE DATABASE, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

1
debian/tor-geoipdb.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/share/tor