/[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.40 by jpp, Wed Nov 15 15:33:35 2017 UTC Revision 1.49 by jpp, Tue Jun 23 19:01:52 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.39 2017/11/14 22:58:28 jpp Exp $  # $Id: e-smith-base.spec,v 1.48 2020/05/25 02:32:01 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 37  %define release 45
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 34  Patch20: e-smith-base-5.8.0.bz9550.fixco Line 34  Patch20: e-smith-base-5.8.0.bz9550.fixco
34  Patch21: e-smith-base-5.8.0.bz10121-moretranslationlinks.patch  Patch21: e-smith-base-5.8.0.bz10121-moretranslationlinks.patch
35  Patch22: e-smith-base-5.8.0.bz9478-move-smtpd-to-qpsmtpd.patch  Patch22: e-smith-base-5.8.0.bz9478-move-smtpd-to-qpsmtpd.patch
36  Patch23: e-smith-base-5.8.0-expand_route_bond0.patch  Patch23: e-smith-base-5.8.0-expand_route_bond0.patch
37    Patch24: e-smith-base-5.8.0.bz10519.xinet-cleaning.patch
38    Patch25: e-smith-base-5.8.0-modify-default-city.patch
39    Patch26: e-smith-base-5.8.0.bz8876-set-system-name.patch
40    Patch27: e-smith-base-5.8.0-bz9677-suid_wrapper.patch
41    Patch28: e-smith-base-5.8.0-enable_smartd.patch
42    Patch29: e-smith-base-5.8.0.bz8156.wildcard-certificate-and-subjaltname.patch
43    Patch30: e-smith-base-5.8.0-bz9590-cleanup.patch
44    
45  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
46  Requires: pwauth  Requires: pwauth
# Line 80  AutoReqProv: no Line 87  AutoReqProv: no
87  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
88    
89  %changelog  %changelog
90    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-45.sme
91    - remove info.txt [SME: 9590]
92    
93    * Sun May 24 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-44.sme
94    - wildcard self-signed certificate [SME: 8156]
95      * ip in self-signed certificate
96      * subject altname in self-signed certificate
97      * ability to define Country code and State using
98        modSSL{Country} and modSSL{State} properties
99      * /etc/openssl.conf is used now and templated for self-signed certificate
100    
101    * Sat May 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-43.sme
102    - enable smartd for existing installation [SME: 5890]
103    
104    * Sun May 17 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 5.8.0-42.sme
105    - Enable smartd by default [SME: 5890]
106    - Credit to Chris Burnat
107    
108    * Wed Dec 18 2019 Michel Begue <mab974@gmail.com> 5.8.0-41.sme
109    - Add a link to manager C wrapper to execute userpassword's cgi to replace perl-suid [SME: 9677]
110    
111    * Fri Nov 22 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 5.8.0-40.sme
112    - fix SystemName [SME: 8876]
113    
114    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-39.sme
115    - modify the default city and company [SME: 10715]
116    
117    * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-38.sme
118    - cleaning xinetd.conf fragment out of the package [SME: 10219]
119    
120  * Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-37.sme  * Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-37.sme
121  - revert previous change - wrong package  - revert previous change - wrong package
122    
# Line 1941  e-smith server and gateway software - ba Line 1978  e-smith server and gateway software - ba
1978  %patch21 -p1  %patch21 -p1
1979  %patch22 -p1  %patch22 -p1
1980  %patch23 -p1  %patch23 -p1
1981    %patch24 -p1
1982    %patch25 -p1
1983    %patch26 -p1
1984    %patch27 -p1
1985    %patch28 -p1
1986    %patch29 -p1
1987    %patch30 -p1
1988    rm  -rf root/home/e-smith/web/common/edition/info.txt
1989    
1990  %pre  %pre
1991  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
1992      'sme last system user marker' /tmp /bin/false      'sme last system user marker' /tmp /bin/false
1993    
1994  %post  %post
1995    LEXICONS=$(find /etc/e-smith/locale/*/etc/e-smith/web/panels/password/cgi-bin/userpassword -type f)
1996    
1997    for lexicon in $LEXICONS
1998    do
1999        if [ -f $lexicon ]
2000        then
2001            cd $(dirname "$lexicon")
2002            mv ./userpassword ../../../functions
2003        fi
2004    done
2005    
2006    
2007  %build  %build
2008    
2009  LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \  LEXICONS=$(find root/etc/e-smith/web/functions -type f | grep -v CVS)
     -type f | grep -v CVS)  
2010    
2011  for lexicon in $LEXICONS  for lexicon in $LEXICONS
2012  do  do
# Line 1967  perl createlinks Line 2022  perl createlinks
2022    
2023  gcc -o root/sbin/e-smith/console console_wrapper.c  gcc -o root/sbin/e-smith/console console_wrapper.c
2024    
2025    # Force creation of potentially empty directories
2026    mkdir -p root/etc/e-smith/web/panels/password/cgi-bin
2027    ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/password/cgi-bin/userpassword
2028    
2029  %install  %install
2030  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
2031  mkdir -p $RPM_BUILD_ROOT/etc/selinux  mkdir -p $RPM_BUILD_ROOT/etc/selinux


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