[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14977: Add geoipdb package (tor/branches/tor-0_2_0-patches/debian)



Author: weasel
Date: 2008-06-05 19:22:15 -0400 (Thu, 05 Jun 2008)
New Revision: 14977

Added:
   tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.copyright
   tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.dirs
Modified:
   tor/branches/tor-0_2_0-patches/debian/changelog
   tor/branches/tor-0_2_0-patches/debian/control
   tor/branches/tor-0_2_0-patches/debian/rules
Log:
Add geoipdb package


Modified: tor/branches/tor-0_2_0-patches/debian/changelog
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/changelog	2008-06-05 23:22:13 UTC (rev 14976)
+++ tor/branches/tor-0_2_0-patches/debian/changelog	2008-06-05 23:22:15 UTC (rev 14977)
@@ -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@xxxxxxxxxx>  Wed, 04 Jun 2008 10:48:12 +0200
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Wed, 04 Jun 2008 11:21:07 +0200
 
 tor (0.2.0.26-rc-1) experimental; urgency=critical
 

Modified: tor/branches/tor-0_2_0-patches/debian/control
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/control	2008-06-05 23:22:13 UTC (rev 14976)
+++ tor/branches/tor-0_2_0-patches/debian/control	2008-06-05 23:22:15 UTC (rev 14977)
@@ -9,7 +9,7 @@
 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 @@
  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.

Modified: tor/branches/tor-0_2_0-patches/debian/rules
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/rules	2008-06-05 23:22:13 UTC (rev 14976)
+++ tor/branches/tor-0_2_0-patches/debian/rules	2008-06-05 23:22:15 UTC (rev 14977)
@@ -88,7 +88,7 @@
 			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,7 +159,10 @@
 	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
 # We have nothing to do by default.

Added: tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.copyright
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.copyright	                        (rev 0)
+++ tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.copyright	2008-06-05 23:22:15 UTC (rev 14977)
@@ -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.

Added: tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.dirs
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.dirs	                        (rev 0)
+++ tor/branches/tor-0_2_0-patches/debian/tor-geoipdb.dirs	2008-06-05 23:22:15 UTC (rev 14977)
@@ -0,0 +1 @@
+usr/share/tor