/[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.33 by vip-ire, Thu Feb 9 11:23:25 2017 UTC Revision 1.50 by jpp, Sun Jun 28 02:45:31 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.32 2016/09/06 20:16:25 vip-ire Exp $  # $Id: e-smith-base.spec,v 1.49 2020/06/23 19:01:52 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 30  %define release 46
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 30  Patch16: e-smith-base-5.8.0-bz9672.servi Line 30  Patch16: e-smith-base-5.8.0-bz9672.servi
30  Patch17: e-smith-base-5.8.0.bz9724.locale_sysconfig.patch  Patch17: e-smith-base-5.8.0.bz9724.locale_sysconfig.patch
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
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    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    Patch31: e-smith-base-5.8.0-bz6536-bz10974-validate_subnet.patch
45    
46  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
47  Requires: pwauth  Requires: pwauth
48  Requires: e-smith-lib >= 2.2.0-2  Requires: e-smith-lib >= 2.2.0-2
# Line 42  Requires: perl(Crypt::Cracklib) Line 55  Requires: perl(Crypt::Cracklib)
55  Requires: perl(Date::Manip)  Requires: perl(Date::Manip)
56  Requires: perl(Net::IPv4Addr)  Requires: perl(Net::IPv4Addr)
57  Requires: perl(Digest::SHA1)  Requires: perl(Digest::SHA1)
58    Requires: perl(Net::Netmask)
59  Requires: /usr/sbin/irqbalance  Requires: /usr/sbin/irqbalance
60  Requires: /usr/sbin/smartd  Requires: /usr/sbin/smartd
61  Requires: dbus  Requires: dbus
# Line 75  AutoReqProv: no Line 89  AutoReqProv: no
89  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
90    
91  %changelog  %changelog
92    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-46.sme
93    - validate submask on remote access panel [SME: 6536]
94      accept netmask bit and convert it
95    - validate subnet mask on local network panel [SME: 10974]
96      accept netmask bit and convert it
97    
98    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-45.sme
99    - remove info.txt [SME: 9590]
100    
101    * Sun May 24 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-44.sme
102    - wildcard self-signed certificate [SME: 8156]
103      * ip in self-signed certificate
104      * subject altname in self-signed certificate
105      * ability to define Country code and State using
106        modSSL{Country} and modSSL{State} properties
107      * /etc/openssl.conf is used now and templated for self-signed certificate
108    
109    * Sat May 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-43.sme
110    - enable smartd for existing installation [SME: 5890]
111    
112    * Sun May 17 2020 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 5.8.0-42.sme
113    - Enable smartd by default [SME: 5890]
114    - Credit to Chris Burnat
115    
116    * Wed Dec 18 2019 Michel Begue <mab974@gmail.com> 5.8.0-41.sme
117    - Add a link to manager C wrapper to execute userpassword's cgi to replace perl-suid [SME: 9677]
118    
119    * Fri Nov 22 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 5.8.0-40.sme
120    - fix SystemName [SME: 8876]
121    
122    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-39.sme
123    - modify the default city and company [SME: 10715]
124    
125    * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-38.sme
126    - cleaning xinetd.conf fragment out of the package [SME: 10219]
127    
128    * Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-37.sme
129    - revert previous change - wrong package
130    
131    * Tue Nov 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-36.sme
132    - added post transaction rule for ntp [SME: 10190]
133    - thank you to Stefano Zamboni for this work
134    
135    * Thu May 4 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-35.sme
136    - Expand route-bond0 when nic bonding is enabled [SME: 10272]
137    
138    * Sat Apr 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-34.sme
139    - improve regex to catch local [SME: 9724]
140    
141    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-33.sme
142    - change smtpd to qpsmtpd for default service access [SME: 9478]
143    
144    * Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-32.sme
145    - add translation links for manager to most language variations we support [SME: 11121]
146    
147    * Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-31.sme
148    - prevent restoration from being called on regular and post-upgrade reboot [SME: 9550]
149    - console restoration can be launched again from console
150    
151  * Thu Feb 9 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-30.sme  * Thu Feb 9 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-30.sme
152  - Use ip route syntax to define routes to local network [SME: 10083]  - Use ip route syntax to define routes to local network [SME: 10083]
153    
# Line 1909  e-smith server and gateway software - ba Line 1982  e-smith server and gateway software - ba
1982  %patch17 -p1  %patch17 -p1
1983  %patch18 -p1  %patch18 -p1
1984  %patch19 -p1  %patch19 -p1
1985    %patch20 -p1
1986    %patch21 -p1
1987    %patch22 -p1
1988    %patch23 -p1
1989    %patch24 -p1
1990    %patch25 -p1
1991    %patch26 -p1
1992    %patch27 -p1
1993    %patch28 -p1
1994    %patch29 -p1
1995    %patch30 -p1
1996    rm  -rf root/home/e-smith/web/common/edition/info.txt
1997    %patch31 -p1
1998    
1999    
2000  %pre  %pre
2001  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
2002      'sme last system user marker' /tmp /bin/false      'sme last system user marker' /tmp /bin/false
2003    
2004  %post  %post
2005    LEXICONS=$(find /etc/e-smith/locale/*/etc/e-smith/web/panels/password/cgi-bin/userpassword -type f)
2006    
2007    for lexicon in $LEXICONS
2008    do
2009        if [ -f $lexicon ]
2010        then
2011            cd $(dirname "$lexicon")
2012            mv ./userpassword ../../../functions
2013        fi
2014    done
2015    
2016    
2017  %build  %build
2018    
2019  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)  
2020    
2021  for lexicon in $LEXICONS  for lexicon in $LEXICONS
2022  do  do
# Line 1935  perl createlinks Line 2032  perl createlinks
2032    
2033  gcc -o root/sbin/e-smith/console console_wrapper.c  gcc -o root/sbin/e-smith/console console_wrapper.c
2034    
2035    # Force creation of potentially empty directories
2036    mkdir -p root/etc/e-smith/web/panels/password/cgi-bin
2037    ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/password/cgi-bin/userpassword
2038    
2039  %install  %install
2040  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
2041  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