/[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 389214 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 405136 by colin, Sun Mar 24 21:52:18 2013 UTC
# Line 2  Line 2 
2    
3  Name:           tor  Name:           tor
4  Version:        0.2.3.25  Version:        0.2.3.25
5  Release:        %mkrel 2  Release:        %mkrel 3
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
9  License:        BSD-like  License:        BSD-like
10  Requires(post):  systemd  Requires(post):  systemd >= %{systemd_required_version}
11  Requires(post):  rpm-helper >= 0.24.8-1  Requires(post):  rpm-helper >= 0.24.8-1
12  Requires(preun): rpm-helper >= 0.24.8-1  Requires(preun): rpm-helper >= 0.24.8-1
13  Requires(post):   sysvinit  Requires(post):   sysvinit
# Line 85  echo 'complete -F _command $filenames to Line 85  echo 'complete -F _command $filenames to
85    
86  # Systemd support  # Systemd support
87  install -D -p -m 0644 %SOURCE4 $RPM_BUILD_ROOT%_unitdir/%name.service  install -D -p -m 0644 %SOURCE4 $RPM_BUILD_ROOT%_unitdir/%name.service
88  install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf  install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf
89    
90  %pre  %pre
91  %_pre_useradd %{runuser} / /bin/false  %_pre_useradd %{runuser} / /bin/false
92    
93  %post  %post
94  systemd-tmpfiles --create %{name}.conf  %_tmpfilescreate %{name}
95  %_post_service %{name}  %_post_service %{name}
96    
97  %preun  %preun
# Line 115  rm -f %{_localstatedir}/%{name}/fingerpr Line 115  rm -f %{_localstatedir}/%{name}/fingerpr
115  %{_bindir}/tor-gencert  %{_bindir}/tor-gencert
116  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}  %config(noreplace) %attr(0755,%{runuser},%{runuser}) %{_initrddir}/%{name}
117  %_unitdir/%name.service  %_unitdir/%name.service
118  %{_prefix}/lib/tmpfiles.d/%{name}.conf  %{_tmpfilesdir}/%{name}.conf
119  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}  %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name}
120  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/  %dir %attr(0755,root,%{runuser}) %{_sysconfdir}/%{name}/
121  %config(noreplace) %attr(0644,root,%{runuser}) %{_sysconfdir}/%{name}/*  %config(noreplace) %attr(0644,root,%{runuser}) %{_sysconfdir}/%{name}/*

Legend:
Removed from v.389214  
changed lines
  Added in v.405136

  ViewVC Help
Powered by ViewVC 1.1.30