/[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 670542 by wally, Mon Sep 1 15:14:05 2014 UTC revision 670543 by wally, Mon Sep 1 15:21:40 2014 UTC
# Line 57  for high-stakes anonymity. Line 57  for high-stakes anonymity.
57  %install  %install
58  %makeinstall  %makeinstall
59    
60  install -p -m 644 %{buildroot}%{_sysconfdir}/%{name}/torrc.sample %{buildroot}%{_sysconfdir}/%{name}/torrc  # config file
61    install -p -m 644 %{buildroot}%{_sysconfdir}/%{name}/torrc.sample \
62            %{buildroot}%{_sysconfdir}/%{name}/torrc
63    
64    # logrotate config
65  mkdir -p -m 755 %{buildroot}%{_sysconfdir}/logrotate.d  mkdir -p -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
66  cat %{SOURCE1} > %{buildroot}%{_sysconfdir}/logrotate.d/%{name}  cat %{SOURCE1} > %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
67    
68    # needed directories
69  mkdir -p -m 700 %{buildroot}%{_localstatedir}/lib/%{name}  mkdir -p -m 700 %{buildroot}%{_localstatedir}/lib/%{name}
70  mkdir -p -m 755 %{buildroot}%{_var}/%{name}  mkdir -p -m 755 %{buildroot}%{_var}/%{name}
71  mkdir -p -m 755 %{buildroot}%{_logdir}/%{name}  mkdir -p -m 755 %{buildroot}%{_logdir}/%{name}

Legend:
Removed from v.670542  
changed lines
  Added in v.670543

  ViewVC Help
Powered by ViewVC 1.1.26