]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Keep using torrc instead of torrc.sample as dpkg handles conffile upgrades.
authorPeter Palfrader <peter@palfrader.org>
Tue, 30 Mar 2004 12:29:33 +0000 (12:29 +0000)
committerPeter Palfrader <peter@palfrader.org>
Tue, 30 Mar 2004 12:29:33 +0000 (12:29 +0000)
svn:r1387

debian/changelog
debian/patches/01_uncomment_datadirectory.dpatch
debian/rules

index 2e28e517e3ea02d32c1d741e73298d0e26d2779d..ecb1b36725fa469563edb947c8c21d18f539908f 100644 (file)
@@ -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.
 
index 8f1081d5b9128bf6f139bf8c25b1071d000bb9e7..112399b64b802518b981f2bdd2fdfff2018baefd 100755 (executable)
@@ -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 #####################
  
index 8646e93c320407dcf7b1904e8287754ea7d1f1f7..31aeb9ddb51900ea9f3cb25314890953cc2ef02e 100755 (executable)
@@ -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