/[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.41 by jpp, Tue Feb 13 22:35:49 2018 UTC Revision 1.45 by michel, Fri Dec 20 19:38:15 2019 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.40 2017/11/15 15:33:35 jpp Exp $  # $Id: e-smith-base.spec,v 1.44 2019/11/22 14:51:52 jcrisp 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 38  %define release 41
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 35  Patch21: e-smith-base-5.8.0.bz10121-more Line 35  Patch21: e-smith-base-5.8.0.bz10121-more
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  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    
42  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
43  Requires: pwauth  Requires: pwauth
# Line 81  AutoReqProv: no Line 84  AutoReqProv: no
84  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
85    
86  %changelog  %changelog
87    * Wed Dec 18 2019 Michel Begue <mab974@gmail.com> 5.8.0-41.sme
88    - Add a link to manager C wrapper to execute userpassword's cgi to replace perl-suid [SME: 9677]
89    
90    * Fri Nov 22 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 5.8.0-40.sme
91    - fix SystemName [SME: 8876]
92    
93    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-39.sme
94    - modify the default city and company [SME: 10715]
95    
96  * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-38.sme  * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-38.sme
97  - icleaning xinetd.conf fragment out of the package [SME: 10219]  - cleaning xinetd.conf fragment out of the package [SME: 10219]
98    
99  * 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
100  - revert previous change - wrong package  - revert previous change - wrong package
# Line 1946  e-smith server and gateway software - ba Line 1958  e-smith server and gateway software - ba
1958  %patch22 -p1  %patch22 -p1
1959  %patch23 -p1  %patch23 -p1
1960  %patch24 -p1  %patch24 -p1
1961    %patch25 -p1
1962    %patch26 -p1
1963    %patch27 -p1
1964    
1965  %pre  %pre
1966  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
1967      'sme last system user marker' /tmp /bin/false      'sme last system user marker' /tmp /bin/false
1968    
1969  %post  %post
1970    LEXICONS=$(find /etc/e-smith/locale/*/etc/e-smith/web/panels/password/cgi-bin/userpassword -type f)
1971    
1972    for lexicon in $LEXICONS
1973    do
1974        if [ -f $lexicon ]
1975        then
1976            cd $(dirname "$lexicon")
1977            mv ./userpassword ../../../functions
1978        fi
1979    done
1980    
1981    
1982  %build  %build
1983    
1984  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)  
1985    
1986  for lexicon in $LEXICONS  for lexicon in $LEXICONS
1987  do  do
# Line 1972  perl createlinks Line 1997  perl createlinks
1997    
1998  gcc -o root/sbin/e-smith/console console_wrapper.c  gcc -o root/sbin/e-smith/console console_wrapper.c
1999    
2000    # Force creation of potentially empty directories
2001    mkdir -p root/etc/e-smith/web/panels/password/cgi-bin
2002    ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/password/cgi-bin/userpassword
2003    
2004  %install  %install
2005  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
2006  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