/[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.43 by jpp, Wed Jan 23 04:18:17 2019 UTC Revision 1.48 by jpp, Mon May 25 02:32:01 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.42 2018/02/13 22:36:45 jpp Exp $  # $Id: e-smith-base.spec,v 1.47 2020/05/23 05:31:30 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 39  %define release 44
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 36  Patch22: e-smith-base-5.8.0.bz9478-move- Line 36  Patch22: e-smith-base-5.8.0.bz9478-move-
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  Patch24: e-smith-base-5.8.0.bz10519.xinet-cleaning.patch
38  Patch25: e-smith-base-5.8.0-modify-default-city.patch  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    
44  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
45  Requires: pwauth  Requires: pwauth
# Line 82  AutoReqProv: no Line 86  AutoReqProv: no
86  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
87    
88  %changelog  %changelog
89    * Sun May 24 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-44.sme
90    - wildcard self-signed certificate [SME: 8156]
91      * ip in self-signed certificate
92      * subject altname in self-signed certificate
93      * ability to define Country code and State using
94        modSSL{Country} and modSSL{State} properties
95      * /etc/openssl.conf is used now and templated for self-signed certificate
96    
97    * Sat May 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-43.sme
98    - enable smartd for existing installation [SME: 5890]
99    
100    * Sun May 17 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 5.8.0-42.sme
101    - Enable smartd by default [SME: 5890]
102    - Credit to Chris Burnat
103    
104    * Wed Dec 18 2019 Michel Begue <mab974@gmail.com> 5.8.0-41.sme
105    - Add a link to manager C wrapper to execute userpassword's cgi to replace perl-suid [SME: 9677]
106    
107    * Fri Nov 22 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 5.8.0-40.sme
108    - fix SystemName [SME: 8876]
109    
110  * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-39.sme  * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-39.sme
111  - modify the default city and company [SME: 10715]  - modify the default city and company [SME: 10715]
112    
# Line 1951  e-smith server and gateway software - ba Line 1976  e-smith server and gateway software - ba
1976  %patch23 -p1  %patch23 -p1
1977  %patch24 -p1  %patch24 -p1
1978  %patch25 -p1  %patch25 -p1
1979    %patch26 -p1
1980    %patch27 -p1
1981    %patch28 -p1
1982    %patch29 -p1
1983    
1984  %pre  %pre
1985  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
1986      'sme last system user marker' /tmp /bin/false      'sme last system user marker' /tmp /bin/false
1987    
1988  %post  %post
1989    LEXICONS=$(find /etc/e-smith/locale/*/etc/e-smith/web/panels/password/cgi-bin/userpassword -type f)
1990    
1991    for lexicon in $LEXICONS
1992    do
1993        if [ -f $lexicon ]
1994        then
1995            cd $(dirname "$lexicon")
1996            mv ./userpassword ../../../functions
1997        fi
1998    done
1999    
2000    
2001  %build  %build
2002    
2003  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)  
2004    
2005  for lexicon in $LEXICONS  for lexicon in $LEXICONS
2006  do  do
# Line 1977  perl createlinks Line 2016  perl createlinks
2016    
2017  gcc -o root/sbin/e-smith/console console_wrapper.c  gcc -o root/sbin/e-smith/console console_wrapper.c
2018    
2019    # Force creation of potentially empty directories
2020    mkdir -p root/etc/e-smith/web/panels/password/cgi-bin
2021    ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/password/cgi-bin/userpassword
2022    
2023  %install  %install
2024  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
2025  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