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

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

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

Revision 1.104 by jpp, Sat Mar 6 06:35:18 2021 UTC Revision 1.105 by jpp, Tue Mar 16 16:33:05 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.103 2021/03/03 20:18:12 jpp Exp $  # $Id: e-smith-base.spec,v 1.104 2021/03/06 06:35:18 jpp Exp $
2    
3  Summary: e-smith server and gateway - base module  Summary: e-smith server and gateway - base module
4  %define name e-smith-base  %define name e-smith-base
5  Name: %{name}  Name: %{name}
6  %define version 5.8.0  %define version 5.8.0
7  %define release 87  %define release 88
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 72  Patch58: e-smith-base-5.8.0-bz11356-bz11 Line 72  Patch58: e-smith-base-5.8.0-bz11356-bz11
72  Patch59: e-smith-base-5.8.0-bz11415-dropDyndns.patch  Patch59: e-smith-base-5.8.0-bz11415-dropDyndns.patch
73  Patch60: e-smith-base-5.8.0-bz11363-klogd.patch  Patch60: e-smith-base-5.8.0-bz11363-klogd.patch
74  Patch61: e-smith-base-5.8.0-bz11374-pptp2vpn.patch  Patch61: e-smith-base-5.8.0-bz11374-pptp2vpn.patch
75    Patch62: e-smith-base-5.8.0-bz9692-cleanup.patch
76    
77  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
78  Requires: pwauth  Requires: pwauth
# Line 130  AutoReqProv: no Line 131  AutoReqProv: no
131  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
132    
133  %changelog  %changelog
134    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.0-88.sme
135    - cleanup /etc/rc.d and /var/service [SME: 9692]
136    
137  * Wed Mar 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-87.sme  * Wed Mar 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-87.sme
138  - remove klogd references [SME: 11363]  - remove klogd references [SME: 11363]
139  - restore part of pptp code and move to generik vpn entry [SME: 11374]  - restore part of pptp code and move to generik vpn entry [SME: 11374]
# Line 2208  rm -rf root/etc/e-smith/db/configuration Line 2212  rm -rf root/etc/e-smith/db/configuration
2212  rm -rf root/var/service/klogd  rm -rf root/var/service/klogd
2213  rm -rf root/etc/e-smith/db/configuration/defaults/klogd  rm -rf root/etc/e-smith/db/configuration/defaults/klogd
2214  %patch61 -p1  %patch61 -p1
2215    %patch62 -p1
2216    rm -rf root/etc/rc6.d
2217    rm -rf root/etc/rc.d/rc1.d
2218    rm -rf root/etc/rc.d/rc6.d
2219    rm -rf root/etc/rc.d/init.d
2220    rm -rf root/etc/rc.d/rc1.d
2221    
2222  %pre  %pre
2223  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
# Line 2255  mkdir -p $RPM_BUILD_ROOT/etc/selinux Line 2265  mkdir -p $RPM_BUILD_ROOT/etc/selinux
2265  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
2266      --file /sbin/e-smith/systemd/mdmonitor-pre 'attr(0554,root,root)' \      --file /sbin/e-smith/systemd/mdmonitor-pre 'attr(0554,root,root)' \
2267      --file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \      --file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \
     --file /etc/rc.d/rc.e-smith 'attr(0750,root,root)' \  
     --dir /var/service/dhcpd 'attr(01755,root,root)' \  
     --file /var/service/dhcpd/down 'attr(0644,root,root)' \  
     --file /var/service/dhcpd/run 'attr(0755,root,root)' \  
     --dir /var/service/dhcpd/log 'attr(0755,root,root)' \  
     --dir /var/service/dhcpd/log/supervise 'attr(0700,root,root)' \  
     --dir /var/service/dhcpd/supervise 'attr(0700,root,root)' \  
     --file /var/service/dhcpd/log/run 'attr(0755,root,root)' \  
2268      --dir /var/log/dhcpd 'attr(2750,smelog,smelog)' \      --dir /var/log/dhcpd 'attr(2750,smelog,smelog)' \
     --dir /var/service/raidmonitor 'attr(01755,root,root)' \  
     --file /var/service/raidmonitor/down 'attr(0644,root,root)' \  
     --file /var/service/raidmonitor/run 'attr(0755,root,root)' \  
     --dir /var/service/raidmonitor/log 'attr(0755,root,root)' \  
     --dir /var/service/raidmonitor/log/supervise 'attr(0700,root,root)' \  
     --dir /var/service/raidmonitor/supervise 'attr(0700,root,root)' \  
     --file /var/service/raidmonitor/log/run 'attr(0755,root,root)' \  
     --dir /var/log/raidmonitor 'attr(2750,smelog,smelog)' \  
     --file /var/service/syslog/run 'attr(0755,root,root)' \  
     --file /var/service/syslog/down 'attr(0644,root,root)' \  
     --file /var/service/klogd/run 'attr(0755,root,root)' \  
     --file /var/service/klogd/down 'attr(0644,root,root)' \  
2269      --dir /etc/e-smith/pam 'attr(0700,root,root)' \      --dir /etc/e-smith/pam 'attr(0700,root,root)' \
2270      --dir /home/e-smith/ssl.key 'attr(0700,root,root)' \      --dir /home/e-smith/ssl.key 'attr(0700,root,root)' \
2271      --dir /home/e-smith/ssl.crt 'attr(0700,root,root)' \      --dir /home/e-smith/ssl.crt 'attr(0700,root,root)' \
# Line 2302  mkdir -p $RPM_BUILD_ROOT/etc/selinux Line 2292  mkdir -p $RPM_BUILD_ROOT/etc/selinux
2292      --dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \      --dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \
2293      --dir /var/log/ippp 'attr(2750,smelog,smelog)' \      --dir /var/log/ippp 'attr(2750,smelog,smelog)' \
2294      --dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \      --dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \
     --file /var/service/local/run 'attr(0750,root,root)' \  
2295      --file /etc/sysconfig/modules/dummy.modules 'attr(0755,root,root)' \      --file /etc/sysconfig/modules/dummy.modules 'attr(0755,root,root)' \
2296      --dir /etc/selinux 'attr(0755,root,root)' \      --dir /etc/selinux 'attr(0755,root,root)' \
2297      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
# Line 2317  do Line 2306  do
2306  done  done
2307  echo "%doc COPYING"          >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING"          >> %{name}-%{version}-%{release}-filelist
2308    
2309    %post
2310      if [ -d "/var/service/dhcpd" ]; then
2311            rm -rf /var/service/dhcpd
2312      fi
2313      if [ -d "/var/service/raidmonitor" ]; then
2314            rm -rf /var/service/raidmonitor
2315      fi
2316      if [ -d "/var/service/local" ]; then
2317            rm -rf /var/service/local
2318      fi
2319    
2320  %clean  %clean
2321  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
2322    


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