/[smecontribs]/rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog.spec
ViewVC logotype

Diff of /rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog.spec

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

Revision 1.3 by jpp, Fri Jul 29 05:44:21 2022 UTC Revision 1.4 by jpp, Fri Jul 29 06:24:27 2022 UTC
# Line 14  Patch2: smeserver-isoqlog-2.2.1-domcreat Line 14  Patch2: smeserver-isoqlog-2.2.1-domcreat
14  Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch  Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch
15  Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch  Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch
16  Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch  Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch
17    Patch6: smeserver-isoqlog-2.2.1-systemd.patch
18    
19  Packager: Peter Schubert <psc@@s-a-c-o.de>  Packager: Peter Schubert <psc@@s-a-c-o.de>
20  BuildRoot: /var/tmp/%{name}-%{version}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-buildroot
# Line 28  AutoReqProv: no Line 29  AutoReqProv: no
29  * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme  * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme
30  - add to core backup [SME: 12010]  - add to core backup [SME: 12010]
31  - use httpd 2.4 access syntax [SME: 12049]  - use httpd 2.4 access syntax [SME: 12049]
32    - systemd enabled [SME: 11061]
33    - update event [SME: 11061]
34    - update httpd.conf needed modules [SME: 11061]
35    
36  * Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme  * Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme
37  - new tkt options [SME: 1509]  - new tkt options [SME: 1509]
# Line 69  Installs Isoqlog on SME Server. Line 73  Installs Isoqlog on SME Server.
73  %patch3 -p1  %patch3 -p1
74  %patch4 -p1  %patch4 -p1
75  %patch5 -p1  %patch5 -p1
76    %patch6 -p1
77    rm -rf root/service
78    rm -rf /root/var/service
79    
80  %build  %build
81  perl createlinks  perl createlinks
# Line 80  rm -rf $RPM_BUILD_ROOT Line 87  rm -rf $RPM_BUILD_ROOT
87  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
88  #echo "%doc COPYING"          >> %{name}-%{version}-filelist  #echo "%doc COPYING"          >> %{name}-%{version}-filelist
89    
 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/supervise  
 %{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/log/supervise  
 %{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-isoqlog  
90  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session  %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session
91    
92    
93  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
94  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
95  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
         --dir /var/service/httpd-isoqlog 'attr(01755,root,root)' \  
         --file /var/service/httpd-isoqlog/run 'attr(0700,root,root)' \  
         --dir /var/service/httpd-isoqlog/supervise 'attr(0700,root,root)' \  
         --dir /var/service/httpd-isoqlog/log 'attr(0755,root,root)' \  
         --file /var/service/httpd-isoqlog/log/run 'attr(0755,root,root)' \  
         --dir /var/service/httpd-isoqlog/log/supervise 'attr(0700,root,root)' \  
         --dir /var/log/httpd-isoqlog 'attr(0750,smelog,smelog)' \  
96          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \          --dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \
97          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
98    
# Line 116  fi Line 113  fi
113  true  true
114    
115  %post  %post
 /sbin/e-smith/signal-event isoqlog-conf  
116  /usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null  /usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null
117    
118  %postun  %postun
119  rm -f /etc/httpd/conf.d/isoqlog.conf  rm -f /etc/httpd/conf.d/isoqlog.conf
 /etc/rc.d/init.d/httpd-e-smith restart  
120    
121    
122  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


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