/[packages]/cauldron/tor/current/SPECS/tor.spec
ViewVC logotype

Diff of /cauldron/tor/current/SPECS/tor.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 196572 by dmorgan, Sun Jan 15 21:56:08 2012 UTC revision 196574 by dmorgan, Sun Jan 15 22:28:56 2012 UTC
# Line 2  Line 2 
2    
3  Name:           tor  Name:           tor
4  Version:        0.2.2.35  Version:        0.2.2.35
5  Release:        %mkrel 1  Release:        %mkrel 2
6  Summary:        Anonymizing overlay network for TCP (The onion router)  Summary:        Anonymizing overlay network for TCP (The onion router)
7  URL:            http://www.torproject.org/  URL:            http://www.torproject.org/
8  Group:          Networking/Other  Group:          Networking/Other
# Line 11  Requires(pre): rpm-helper Line 11  Requires(pre): rpm-helper
11  Requires(post): rpm-helper  Requires(post): rpm-helper
12  Requires(preun):        rpm-helper  Requires(preun):        rpm-helper
13  Requires(postun):       rpm-helper  Requires(postun):       rpm-helper
14    Requires(post):   sysvinit
15    Requires(preun):  sysvinit
16    Requires(postun): sysvinit
17  Requires:       openssl >= 0.9.6  Requires:       openssl >= 0.9.6
18  Requires:       tsocks  Requires:       tsocks
19  BuildRequires:  openssl-devel >= 0.9.6  BuildRequires:  openssl-devel >= 0.9.6
# Line 23  Source0:       http://www.torproject.org/dist/ Line 26  Source0:       http://www.torproject.org/dist/
26  Source1:        %{name}.logrotate  Source1:        %{name}.logrotate
27  Source2:        %{name}.init  Source2:        %{name}.init
28  Source3:        %{name}.sysconfig  Source3:        %{name}.sysconfig
29    Source4:        tor.systemd.service
30    
31  %description  %description
32  Tor is a connection-based low-latency anonymous communication system.  Tor is a connection-based low-latency anonymous communication system.
# Line 78  mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_logd Line 82  mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_logd
82  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d
83  echo 'complete -F _command $filenames torify' > ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d/%{name}  echo 'complete -F _command $filenames torify' > ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d/%{name}
84    
85    # Systemd support
86    install -D -p -m 0644 %SOURCE4 $RPM_BUILD_ROOT%_unitdir/%name.service
87    
88  %pre  %pre
89  %_pre_useradd %{runuser} / /bin/false  %_pre_useradd %{runuser} / /bin/false
90    
# Line 104  rm -f %{_localstatedir}/%{name}/fingerpr Line 111  rm -f %{_localstatedir}/%{name}/fingerpr
111  %{_bindir}/tor-resolve  %{_bindir}/tor-resolve
112  %{_bindir}/tor-gencert  %{_bindir}/tor-gencert
113  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}
114    %_unitdir/%name.service
115  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}
116  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/
117  %config(noreplace) %attr(0644,root,%{runuser}) %{_sysconfdir}/%{name}/*  %config(noreplace) %attr(0644,root,%{runuser}) %{_sysconfdir}/%{name}/*
# Line 114  rm -f %{_localstatedir}/%{name}/fingerpr Line 122  rm -f %{_localstatedir}/%{name}/fingerpr
122  %{_sysconfdir}/bash_completion.d/%{name}  %{_sysconfdir}/bash_completion.d/%{name}
123  %{_datadir}/%{name}  %{_datadir}/%{name}
124    
   

Legend:
Removed from v.196572  
changed lines
  Added in v.196574

  ViewVC Help
Powered by ViewVC 1.1.28