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

[or-cvs] r14987: 0.2.0.27-rc-1 (tor/branches/tor-0_2_0-patches/debian)



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

Modified:
   tor/branches/tor-0_2_0-patches/debian/changelog
   tor/branches/tor-0_2_0-patches/debian/rules
Log:
0.2.0.27-rc-1


Modified: tor/branches/tor-0_2_0-patches/debian/changelog
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/changelog	2008-06-05 23:22:41 UTC (rev 14986)
+++ tor/branches/tor-0_2_0-patches/debian/changelog	2008-06-05 23:22:44 UTC (rev 14987)
@@ -1,7 +1,11 @@
-tor (0.2.0.27-rc-X) Xxperimental; urgency=low
+tor (0.2.0.27-rc-1) experimental; urgency=low
 
   * New upstream version.
   * Add tor-geoipdb arch: all package for the geoip database.
+  * Update debian/rules so that there now is a binary-common target
+    and the binary-indep and binary-arch targets call make with
+    proper DH_OPTIONS options.  This is taken from the template
+    that dh_make nowadays uses for multi-binary packages.
   * Unit tests are broken, yay.
   * Use ${binary:Version} to depend on the right tor binary package from
     the tor-dbg package instead of ${Source-Version}.  Some guy on the
@@ -13,7 +17,7 @@
   * Support passing of parallel=<n> in build options.
   * Change declared Standards-Version to 3.8.0.
 
- -- Peter Palfrader <weasel@xxxxxxxxxx>  Fri, 06 Jun 2008 00:59:24 +0200
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Fri, 06 Jun 2008 01:11:33 +0200
 
 tor (0.2.0.26-rc-1) experimental; urgency=critical
 

Modified: tor/branches/tor-0_2_0-patches/debian/rules
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/rules	2008-06-05 23:22:41 UTC (rev 14986)
+++ tor/branches/tor-0_2_0-patches/debian/rules	2008-06-05 23:22:44 UTC (rev 14987)
@@ -176,12 +176,10 @@
 
 	install -m 644 debian/tor-geoipdb.lintian-override $(CURDIR)/debian/tor-geoipdb/usr/share/lintian/overrides/tor-geoipdb
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs --package=tor ChangeLog
@@ -200,7 +198,15 @@
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
 	@if [ "$(LOCALHOST_IP)" != "127.0.0.1" ]; then echo; echo; echo; echo; echo; echo "######################################################################"; echo "WARNING: This system does not think localhost is 127.0.0.1.  Result of testsuite has been ignored.  Please fix your system/chroot."; echo "######################################################################"; echo; echo; echo; echo; echo "Note: 'getent hosts localhost' should return '127.0.0.1 localhost'"; echo; fi
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-common binary-indep binary-arch binary install