[tor/el6] No need to change the default configuration file

Jamie Nguyen jamielinux at fedoraproject.org
Tue Mar 5 00:17:59 UTC 2013


commit 9dafa5a3fd3dfecb3460262fe7a23d25d47a7f1b
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Mar 4 23:26:51 2013 +0000

    No need to change the default configuration file

 tor.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/tor.spec b/tor.spec
index 52816aa..1bddcdc 100644
--- a/tor.spec
+++ b/tor.spec
@@ -6,7 +6,7 @@
 
 Name:              tor
 Version:           0.2.3.25
-Release:           5%{?dist}
+Release:           6%{?dist}
 
 Summary:           Anonymizing overlay network for TCP (The onion router)
 Group:             System Environment/Daemons
@@ -66,12 +66,6 @@ make %{?_smp_mflags}
 make install DESTDIR=%{buildroot}
 
 mv %{buildroot}%{_sysconfdir}/tor/torrc{.sample,}
-sed -i -e "s|#DataDirectory.*$|DataDirectory %{tor_homedir}/tor|g" \
-    %{buildroot}%{_sysconfdir}/tor/torrc
-cat << EOF >> %{buildroot}%{_sysconfdir}/tor/torrc
-Log notice syslog
-User %{tor_user}
-EOF
 
 mkdir -p %{buildroot}%{tor_homedir}
 mkdir -p %{buildroot}%{tor_logdir}
@@ -129,6 +123,9 @@ fi
 
 
 %changelog
+* Mon Mar 04 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3.25-6
+- no need to change the default configuration file
+
 * Wed Feb 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3.25-5
 - add torsocks to Requires
 


More information about the scm-commits mailing list