/[smeserver]/rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec
ViewVC logotype

Diff of /rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec

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

Revision 1.10 by jpp, Wed Dec 9 02:33:21 2020 UTC Revision 1.11 by jpp, Wed Dec 9 02:38:43 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-radiusd.spec,v 1.9 2019/12/19 06:00:24 jpp Exp $  # $Id: e-smith-radiusd.spec,v 1.10 2020/12/09 02:33:21 jpp Exp $
2    
3  Summary: e-smith server and gateway - configure PPTP inbound VPN  Summary: e-smith server and gateway - configure PPTP inbound VPN
4  %define name e-smith-radiusd  %define name e-smith-radiusd
# Line 202  rm -f %{name}-%{version}-%{release}-file Line 202  rm -f %{name}-%{version}-%{release}-file
202      --file /sbin/e-smith/systemd/radiusd-configure 'attr(0554,root,root)' \      --file /sbin/e-smith/systemd/radiusd-configure 'attr(0554,root,root)' \
203      --file /sbin/e-smith/systemd/radiusd-certificate 'attr(0554,root,root)' \      --file /sbin/e-smith/systemd/radiusd-certificate 'attr(0554,root,root)' \
204      --dir /var/service/radiusd 'attr(01755,root,root)' \      --dir /var/service/radiusd 'attr(01755,root,root)' \
205      --file /var/service/radiusd/down 'attr(0644,root,root)' \      --dir /var/log/stunnel 'attr(0755,stunnel,stunnel)' \
206      --file /var/service/radiusd/run 'attr(0755,root,root)' \      --dir /var/log/stunnel/ssl 'attr(0755,stunnel,stunnel)' \
     --file /var/service/radiusd/log/run 'attr(0755,root,root)' \  
     --dir /var/service/radiusd/supervise 'attr(0700,root,root)' \  
207      --dir /var/log/radiusd 'attr(0755,smelog,smelog)' \      --dir /var/log/radiusd 'attr(0755,smelog,smelog)' \
208   |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \   |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \
209   |sed  -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \   |sed  -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \
# Line 214  echo "%doc COPYING" >> %{name}-%{version Line 212  echo "%doc COPYING" >> %{name}-%{version
212    
213  %pre  %pre
214  /sbin/e-smith/create-system-user stunnel %{stunnelid} \  /sbin/e-smith/create-system-user stunnel %{stunnelid} \
215      'chrooted stunnel user user' /var/log/imap/ssl /bin/false      'chrooted stunnel user user' /var/log/stunnel/ssl /bin/false
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %files -f %{name}-%{version}-%{release}-filelist  
 %defattr(-,root,root)  
   
 %pre  
216  if [ $1 -gt 1 ] ; then  if [ $1 -gt 1 ] ; then
217    if [ -e /var/service/radiusd/run ] ; then    if [ -e /var/service/radiusd/run ] ; then
218          /usr/bin/sv d radiusd          /usr/bin/sv d radiusd
# Line 234  if [ $1 -gt 1 ] ; then Line 224  if [ $1 -gt 1 ] ; then
224    
225  fi  fi
226    
227    
228    %clean
229    rm -rf $RPM_BUILD_ROOT
230    
231    %files -f %{name}-%{version}-%{release}-filelist
232    %defattr(-,root,root)
233    
234    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed