Browse Source

Keep using torrc instead of torrc.sample as dpkg handles conffile upgrades.

svn:r1387
Peter Palfrader 20 years ago
parent
commit
f058d99712
3 changed files with 4 additions and 4 deletions
  1. 0 1
      debian/changelog
  2. 3 3
      debian/patches/01_uncomment_datadirectory.dpatch
  3. 1 0
      debian/rules

+ 0 - 1
debian/changelog

@@ -1,6 +1,5 @@
 tor (1) UNRELEASED; urgency=low
 
-    FIXME
   * Upstream installs a torrc.sample file now, rather than torrc.
     Keep using torrc as dpkg handles conffile upgrades.
 

+ 3 - 3
debian/patches/01_uncomment_datadirectory.dpatch

@@ -23,9 +23,9 @@ esac
 exit 0
 
 @DPATCH@
-diff -urNad /home/weasel/projects/tor/cvs/src/config/torrc.in cvs/src/config/torrc.in
---- /home/weasel/projects/tor/cvs/src/config/torrc.in	2004-03-01 23:41:26.000000000 +0100
-+++ cvs/src/config/torrc.in	2004-03-03 13:47:25.000000000 +0100
+diff -urNad /home/weasel/projects/tor/cvs/src/config/torrc.sample.in cvs/src/config/torrc.sample.in
+--- /home/weasel/projects/tor/cvs/src/config/torrc.sample.in	2004-03-01 23:41:26.000000000 +0100
++++ cvs/src/config/torrc.sample.in	2004-03-03 13:47:25.000000000 +0100
 @@ -11,7 +11,7 @@
  ##################### Below is just for servers #####################
  

+ 1 - 0
debian/rules

@@ -68,6 +68,7 @@ install: build
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tor
 	# move tor to where it belongs
+	mv $(CURDIR)/debian/tor/etc/tor/torrc.sample $(CURDIR)/debian/tor/etc/tor/torrc
 	mv $(CURDIR)/debian/tor/usr/bin/tor $(CURDIR)/debian/tor/usr/sbin/tor
 	install -m 755 contrib/torify $(CURDIR)/debian/tor/usr/bin
 	install -m 644 contrib/torify.1 $(CURDIR)/debian/tor/usr/share/man/man1