/[smeserver]/rpms/e-smith-lib/sme9/e-smith-lib.spec
ViewVC logotype

Diff of /rpms/e-smith-lib/sme9/e-smith-lib.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.8 by slords, Sat Mar 9 22:31:57 2013 UTC Revision 1.21 by vip-ire, Tue Jan 12 21:55:13 2016 UTC
# Line 1  Line 1 
1  # $Id: e-smith-lib.spec,v 1.7 2013/03/06 20:20:15 slords Exp $  # $Id: e-smith-lib.spec,v 1.20 2015/07/01 20:41:17 stephdl Exp $
2    
3  Summary: e-smith server and gateway - library module  Summary: e-smith server and gateway - library module
4  %define name e-smith-lib  %define name e-smith-lib
5  Name: %{name}  Name: %{name}
6  %define version 2.4.0  %define version 2.4.0
7  %define release 7  %define release 16
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: Artistic  License: Artistic
# Line 14  Patch0: e-smith-lib-2.4.0-dont_use_kudzu Line 14  Patch0: e-smith-lib-2.4.0-dont_use_kudzu
14  Patch1: e-smith-lib-2.4.0-fix_bonding.patch  Patch1: e-smith-lib-2.4.0-fix_bonding.patch
15  Patch2: e-smith-lib-2.4.0-ipv4check.patch  Patch2: e-smith-lib-2.4.0-ipv4check.patch
16  Patch3: e-smith-lib-2.4.0-untaint_nic_names.patch  Patch3: e-smith-lib-2.4.0-untaint_nic_names.patch
17    Patch4: e-smith-lib-2.4.0-CreateSystemUser.patch
18    Patch5: e-smith-lib-2.4.0-consoleUTF8.patch
19    Patch6: e-smith-lib-2.4.0-return_nic_name_in_adapters_list.patch
20    Patch7: e-smith-lib-2.4.0-remove_interface_swap.patch
21    Patch8: e-smith-lib-2.4.0-SMEServerCopyright.patch
22    Patch9: e-smith-lib-2.4.0-textboxLicenseFile.patch
23    Patch10: e-smith-lib-2.4.0-untaintLicenseFile.patch
24    Patch11: e-smith-lib-2.4.0-PerlCritic-getLicenseFile.patch
25    Patch12: e-smith-lib-2.4.0.set-secret_password-creation.patch
26    Patch13: e-smith-lib-2.4.0-accept_sigusr1_or_2_from_files.patch
27  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
28  BuildArchitectures: noarch  BuildArchitectures: noarch
29  BuildRequires: e-smith-devtools >= 1.6.3-01  BuildRequires: e-smith-devtools >= 1.6.3-01
30  Obsoletes: %{name}-Tai64n  Obsoletes: %{name}-Tai64n
31  Obsoletes: whiptail  Obsoletes: whiptail
32    Requires(pre): e-smith
33  Requires: dialog  Requires: dialog
34  Requires: perl, perl(Text::Template)  Requires: perl, perl(Text::Template)
35  Requires: perl(Time::HiRes), perl(MIME::Base64)  Requires: perl(Time::HiRes), perl(MIME::Base64)
36  Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage)  Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage)
37  Requires: perl(I18N::LangTags) >= 0.27  Requires: perl(I18N::LangTags) >= 0.27
38  Requires: perl(Net::IPv4Addr) >= 0.10  Requires: perl(Net::IPv4Addr) >= 0.10
39    Requires: perl(Taint::Util)
40  Requires: pciutils  Requires: pciutils
41    
42  %description  %description
43  e-smith server and gateway software - library module.  e-smith server and gateway software - library module.
44    
45  %changelog  %changelog
46    * Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme
47    - Adjust regex so adjust-service accepts sigusr1 and sigusr2 from files
48      [SME: 9184]
49    
50    * Thu Jun 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-15.sme
51    - Added a password creation (set_secret) [SME: 8943]
52    - code from Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au>
53    
54    * Sat Apr 5 2014 Ian Wells <esmith@wellsi.com> 2.4.0-14.sme
55    - Untaint the license filename [SME: 8305]
56    - Non-functional perl::Critic changes.
57    
58    * Sun Mar 16 2014 Ian Wells <esmith@wellsi.com> 2.4.0-13.sme
59    - Add textbox() to console.pm, getLicenseFile to util.pm [SME: 8264]
60    
61    * Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-12.sme
62    - Update frame header and footer [SME: 8183]
63    
64    * Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme
65    - Remove the "swap interface" feature [SME: 7993]
66    
67    * Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-10.sme
68    - Return nic names in probeAdapters so we can drop HWAddress [SME: 7991]
69    
70    * Sat May 25 2013 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme
71    - Correctly display accented letters in the console [SME: 7591]
72      by Filippo Carletti
73    
74    * Sun May 05 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
75    - Add e-smith as a Requires(pre) and remove adding users in %pre
76    - Fix uid and gid to be the same in create-system-user [SME: 7547]
77    
78  * Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 2.4.0-7.sme  * Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 2.4.0-7.sme
79  - Ensure group www exists before user [SME: 7319]  - Ensure group www exists before user [SME: 7319]
80    
# Line 51  e-smith server and gateway software - li Line 95  e-smith server and gateway software - li
95    
96  * Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme  * Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
97  - Bump version in prep for SME9  - Bump version in prep for SME9
98    - Perl module rpms moved to /usr/share/perl5/vendor_perl [SME: 7223]
99    
100  * Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme  * Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme
101  - Serialize configure_peers to prevent errors [SME: 5831]  - Serialize configure_peers to prevent errors [SME: 5831]
# Line 769  e-smith server and gateway software - li Line 814  e-smith server and gateway software - li
814  %patch1 -p1  %patch1 -p1
815  %patch2 -p1  %patch2 -p1
816  %patch3 -p1  %patch3 -p1
817    %patch4 -p1
818    %patch5 -p1
819    %patch6 -p1
820    %patch7 -p1
821    %patch8 -p1
822    %patch9 -p1
823    %patch10 -p1
824    %patch11 -p1
825    %patch12 -p1
826    %patch13 -p1
827    
828  %pre  %pre
 #--------------------------------------------------  
 # add admin, public and www user accounts  
 #--------------------------------------------------  
 /usr/sbin/groupadd \  
   -g 500 shared 2>/dev/null || :  
 /usr/sbin/groupadd \  
   -g 102 -o www 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \  
   -G shared -M -s /bin/false www 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 101 -c 'e-smith administrator' -d /home/e-smith \  
   -G shared,root,www -M -s /sbin/e-smith/console admin 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 103 -c 'e-smith guest' -d /home/e-smith \  
   -G shared -M -s /bin/false public 2>/dev/null || :  
 /usr/sbin/useradd \  
   -u 1002 -c 'sme log user' -d /var/log/smelog \  
   -M -s /bin/false smelog 2>/dev/null || :  
829    
 exit 0  
830    
831  %post  %post
832    


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