/[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.34 by unnilennium, Fri Feb 17 19:39:37 2017 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.33 2017/02/09 11:23:25 vip-ire 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 31  %define release 41
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 31  Patch17: e-smith-base-5.8.0.bz9724.local Line 31  Patch17: e-smith-base-5.8.0.bz9724.local
31  Patch18: e-smith-base-5.8.0-allow_32bits_mask.patch  Patch18: e-smith-base-5.8.0-allow_32bits_mask.patch
32  Patch19: e-smith-base-5.8.0-ip_route_syntax.patch  Patch19: e-smith-base-5.8.0-ip_route_syntax.patch
33  Patch20: e-smith-base-5.8.0.bz9550.fixconsolerestore.patch  Patch20: e-smith-base-5.8.0.bz9550.fixconsolerestore.patch
34    Patch21: e-smith-base-5.8.0.bz10121-moretranslationlinks.patch
35    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
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    
42  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
43  Requires: pwauth  Requires: pwauth
# Line 77  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
97    - 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
100    - revert previous change - wrong package
101    
102    * Tue Nov 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-36.sme
103    - added post transaction rule for ntp [SME: 10190]
104    - thank you to Stefano Zamboni for this work
105    
106    * Thu May 4 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-35.sme
107    - Expand route-bond0 when nic bonding is enabled [SME: 10272]
108    
109    * Sat Apr 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-34.sme
110    - improve regex to catch local [SME: 9724]
111    
112    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-33.sme
113    - change smtpd to qpsmtpd for default service access [SME: 9478]
114    
115    * Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-32.sme
116    - add translation links for manager to most language variations we support [SME: 11121]
117    
118  * Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-31.sme  * Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-31.sme
119  - prevent restoration from being called on regular and post-upgrade reboot [SME: 9550]  - prevent restoration from being called on regular and post-upgrade reboot [SME: 9550]
120  - console restoration can be launched again from console  - console restoration can be launched again from console
# Line 1916  e-smith server and gateway software - ba Line 1954  e-smith server and gateway software - ba
1954  %patch18 -p1  %patch18 -p1
1955  %patch19 -p1  %patch19 -p1
1956  %patch20 -p1  %patch20 -p1
1957    %patch21 -p1
1958    %patch22 -p1
1959    %patch23 -p1
1960    %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 1942  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