/[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 587858 by umeabot, Fri Oct 18 22:22:44 2013 UTC revision 587859 by luigiwalser, Mon Feb 10 01:04:35 2014 UTC
# Line 1  Line 1 
1  %define runuser toruser  %define runuser toruser
2    
3  Name:           tor  Name:           tor
4  Version:        0.2.3.25  Version:        0.2.4.20
5  Release:        %mkrel 4  Release:        %mkrel 1
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 13  Requires(preun): rpm-helper >= 0.24.8-1 Line 13  Requires(preun): rpm-helper >= 0.24.8-1
13  Requires(post):   sysvinit  Requires(post):   sysvinit
14  Requires(preun):  sysvinit  Requires(preun):  sysvinit
15  Requires(postun): sysvinit  Requires(postun): sysvinit
16  Requires:       openssl >= 0.9.6  Requires:       openssl >= 0.9.8
17  Requires:       tsocks  Requires:       tsocks
18  BuildRequires:  openssl-devel >= 0.9.6  BuildRequires:  openssl-devel >= 0.9.8
19  BuildRequires:  libevent-devel  BuildRequires:  libevent-devel
20  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
21  BuildRequires:  autoconf2.5  BuildRequires:  autoconf2.5
22  BuildRequires:  transfig, tetex-latex  BuildRequires:  transfig
23    BuildRequires:  texlive
24  BuildRequires:  ghostscript  BuildRequires:  ghostscript
25  Source0:        http://www.torproject.org/dist/%{name}-%{version}.tar.gz  Source0:        http://www.torproject.org/dist/%{name}-%{version}.tar.gz
26  Source1:        %{name}.logrotate  Source1:        %{name}.logrotate
# Line 84  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir} Line 85  mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}
85  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}
86    
87  # Systemd support  # Systemd support
88  install -D -p -m 0644 %SOURCE4 $RPM_BUILD_ROOT%_unitdir/%name.service  install -D -p -m 0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service
89  install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf  install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf
90    
91  %pre  %pre
# Line 114  rm -f %{_localstatedir}/%{name}/fingerpr Line 115  rm -f %{_localstatedir}/%{name}/fingerpr
115  %{_bindir}/tor-resolve  %{_bindir}/tor-resolve
116  %{_bindir}/tor-gencert  %{_bindir}/tor-gencert
117  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}
118  %_unitdir/%name.service  %{_unitdir}/%{name}.service
119  %{_tmpfilesdir}/%{name}.conf  %{_tmpfilesdir}/%{name}.conf
120  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}
121  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/

Legend:
Removed from v.587858  
changed lines
  Added in v.587859

  ViewVC Help
Powered by ViewVC 1.1.28