/[smeserver]/rpms/e-smith-base/sme8/e-smith-base.spec
ViewVC logotype

Diff of /rpms/e-smith-base/sme8/e-smith-base.spec

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

Revision 1.34 by slords, Wed Mar 12 19:51:19 2008 UTC Revision 1.79 by bytegw, Mon Nov 23 18:47:55 2009 UTC
# Line 1  Line 1 
1    # $Id: e-smith-base.spec,v 1.78 2009/11/06 12:29:24 snetram 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 4.18.0  %define version 5.2.0
7  %define release 101  %define release 10
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Patch1: e-smith-base-4.18.0-backtitle.patch  Patch1: e-smith-base-5.2.0-sambaRole.patch
14  Patch2: e-smith-base-4.18.0-consolebackup.patch  Patch2: e-smith-base-5.2.0-smartd40.patch
15  Patch3: e-smith-base-4.18.0-backupcancel.patch  Patch3: e-smith-base-5.2.0-usbRev70drive.patch
16  Patch4: e-smith-base-4.18.0-gatewaydev.patch  Patch4: e-smith-base-5.2.0-FixLabelArray.patch
17  Patch5: e-smith-base-4.18.0-elinks_caching.patch  Patch5: e-smith-base-5.2.0-straysymlink.patch
18  Patch6: e-smith-base-4.18.0-unused_templates.patch  Patch6: e-smith-base-5.2.0-nonetworkdrivers.patch
19  Patch7: e-smith-base-4.18.0-backuphome.patch  Patch7: e-smith-base-5.2.0-checkIPOverlap.patch
20  Patch8: e-smith-base-4.18.0-mediaglob.patch  Patch8: e-smith-base-5.2.0-adapter-translation-fixes.patch
21  Patch9: e-smith-base-4.18.0-setbeforeexpand.patch  Patch9: e-smith-base-5.2.0-FixLocale_External.patch
 Patch10: e-smith-base-4.18.0-runit17.patch  
 Patch11: e-smith-base-4.18.0-infobox.patch  
 Patch12: e-smith-base-4.18.0-infobox.patch2  
 Patch13: e-smith-base-4.18.0-mediaglob.patch2  
 Patch14: e-smith-base-4.18.0-run.static.patch  
 Patch15: e-smith-base-4.18.0-ethdriver.patch  
 Patch16: e-smith-base-4.18.0-ethdriver.patch2  
 Patch17: e-smith-base-4.18.0-ethdriver.patch3  
 Patch18: e-smith-base-4.18.0-ethdriver.patch4  
 Patch19: e-smith-base-4.18.0-raid_no.patch  
 Patch20: e-smith-base-4.18.0-commonname.patch  
 Patch21: e-smith-base-4.18.0-noutf.patch  
 Patch22: e-smith-base-4.18.0-commonname.patch2  
 Patch23: e-smith-base-4.18.0-pamtemplate.patch  
 Patch24: e-smith-base-4.18.0-pamtemplate.patch2  
 Patch25: e-smith-base-4.18.0-rcscript.patch  
 Patch26: e-smith-base-4.18.0-logfile_rotation.patch  
 Patch27: e-smith-base-4.18.0-login_pam.patch  
 Patch28: e-smith-base-4.18.0-depmod.patch  
 Patch29: e-smith-base-4.18.0-perms.patch  
 Patch30: e-smith-base-4.18.0-dhcpd_perms.patch  
 Patch31: e-smith-base-4.18.0-noraid.patch  
 Patch32: e-smith-base-4.18.0-suborder.patch  
 Patch33: e-smith-base-4.18.0-standby.patch  
 Patch34: e-smith-base-4.18.0-usbback.patch  
 Patch35: e-smith-base-4.18.0-remoteaccess.pmfm2self.patch  
 Patch36: e-smith-base-4.18.0-SSHport.patch  
 Patch37: e-smith-base-4.18.0-gateway_validation.patch  
 Patch38: e-smith-base-4.18.0-service_re.patch  
 Patch39: e-smith-base-4.18.0-xencons.patch  
 Patch40: e-smith-base-4.18.0-lib64.patch  
 Patch41: e-smith-base-4.18.0-cracklib.patch  
 Patch42: e-smith-base-4.18.0-raid_no.patch2  
 Patch43: e-smith-base-4.18.0-raidfix.patch  
 Patch44: e-smith-base-4.18.0-bootstrap.patch  
 Patch45: e-smith-base-4.18.0-pamtemplate.patch3  
 Patch46: e-smith-base-4.18.0-restoredev.patch  
 Patch47: e-smith-base-4.18.0-no_kmodule.patch  
 Patch48: e-smith-base-4-18-0-MovePam_d_ftpTemplates.patch  
 Patch49: e-smith-base-4.18.0-usbback_errcheck.patch  
 Patch50: e-smith-base-4.18.0-devicechk.patch  
 Patch51: e-smith-base-4.18.0-devicechk.patch2  
 Patch52: e-smith-base-4.18.0-conf_modules.patch  
 Patch53: e-smith-base-4.18.0-restoredev.patch2  
 Patch54: e-smith-base-4.18.0-groups.pm.pod.patch  
 Patch55: e-smith-base-4.18.0-rename_apache2httpd.patch  
 Patch56: e-smith-base-4.18.0-remove_httpd__logrotate.patch  
 Patch57: e-smith-base-4.18.0-cert_regen.patch  
 Patch58: e-smith-base-4.18.0-useracc_text_adjust.patch  
 Patch59: e-smith-base-4.18.0-non_Removable_pseudonyms.patch  
 Patch60: e-smith-base-4.18.0-delete_forwarder.patch  
 Patch61: e-smith-base-4.18.0-part_size.patch  
 Patch62: e-smith-base-4.18.0-passwdlock.patch  
 Patch63: e-smith-base-4.18.0-smartd.patch  
 Patch64: e-smith-base-4.18.0-smartdtemplates2expand.patch  
 Patch65: e-smith-base-4.18.0-consoleValidatePassword.patch  
 Patch66: e-smith-base-4.18.0-backupstatus.patch  
 Patch67: e-smith-base-4.18.0-usb-revDrive.patch  
 Patch68: e-smith-base-4.18.0-consoleValidateFirst.patch  
 Patch69: e-smith-base-4.18.0-MTU.patch  
 Patch70: e-smith-base-4.18.0-adminIsNotRoot.patch  
 Patch71: e-smith-base-4.18.0-noMTU.patch  
 Patch72: e-smith-base-4.18.0-ROUTER_DESC.patch  
 Patch73: e-smith-base-4.18.0-rmDuplicates.patch  
 Patch74: e-smith-base-4.18.0-tags2general.patch  
 Patch75: e-smith-base-4.18.0-useracc_single_char-fix.patch  
 Patch76: e-smith-base-4.18.0-gettextErrors.patch  
 Patch77: e-smith-base-4.18.0-rmPleasewait.patch  
 Patch78: e-smith-base-4.18.0-gettextErrors.patch2  
 Patch79: e-smith-base-4.18.0-rmDuplicates.patch2  
 Patch80: e-smith-base-4.18.0-gettextStrings.patch2  
 Patch81: e-smith-base-4.18.0-customDynDNS.patch  
 Patch82: e-smith-base-4.18.0-fixSAVE.patch  
 Patch83: e-smith-base-4.18.0-test_FORM_TITLE.patch  
22  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23  Requires: mod_auth_external  Requires: mod_auth_external
24  Requires: e-smith-lib >= 1.18.0-19  Requires: e-smith-lib >= 2.2.0-2
25  Requires: server-manager-images, server-manager  Requires: server-manager-images, server-manager
26  Requires: e-smith-formmagick >= 1.4.0-9  Requires: e-smith-formmagick >= 1.4.0-12
27  Requires: initscripts >= 6.67-1es17  Requires: initscripts >= 6.67-1es17
28  Requires: e-smith-daemontools >= 1.7.1-04  Requires: e-smith-daemontools >= 1.7.1-04
29  Requires: perl(Locale::gettext)  Requires: perl(Locale::gettext)
# Line 109  Requires: /sbin/microcode_ctl Line 37  Requires: /sbin/microcode_ctl
37  Requires: dbus  Requires: dbus
38  Requires: hal  Requires: hal
39  Requires: acpid  Requires: acpid
 Requires: whiptail  
40  Requires: rssh  Requires: rssh
41  Requires: bridge-utils  Requires: bridge-utils
42  Requires: vconfig  Requires: vconfig
# Line 121  Obsoletes: rlinetd, e-smith-mod_ssl Line 48  Obsoletes: rlinetd, e-smith-mod_ssl
48  Obsoletes: e-smith-serial-console  Obsoletes: e-smith-serial-console
49  Obsoletes: sshell  Obsoletes: sshell
50  Obsoletes: e-smith-rp-pppoe  Obsoletes: e-smith-rp-pppoe
 %if "%{?rhel}" == "5"  
51  Obsoletes: perl-Data-UUID  Obsoletes: perl-Data-UUID
 %endif  
52  BuildRequires: perl, perl(Test::Inline) >= 0.12  BuildRequires: perl, perl(Test::Inline) >= 0.12
53  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
54  BuildRequires: gettext  BuildRequires: gettext
# Line 138  AutoReqProv: no Line 63  AutoReqProv: no
63  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
64    
65  %changelog  %changelog
66    * Mon Nov 23 2009 Gavin Weight <gweight@gmail.com> 5.2.0-10.sme
67    - Add a dummy call so xgettext can pull translated $ifName in console configuration pages. [SME: 5571]
68    
69    * Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-9.sme
70    - Translate $ifName in console configuration pages [SME: 5571]
71    
72    * Sat Oct 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-8.sme
73    - Prevent IP conflicts between local and external interface in server gateway mode [SME: 5501]
74    
75    * Tue Oct 20 2009 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-7.sme
76    - Clean up: remove unused nonetworkdrivers [SME: 5521]
77    
78    * Sat Jun 6 2009 Shad L. Lords <slords@mail.com> 5.2.0-6.sme
79    - Clean up stray symlinks in /lib/modules before depmod [SME: 5336]
80    
81    * Mon May 18 2009 Gavin Weight <gweight@gmail.com> 5.2.0-5.sme
82    - Allow for different mdadm output formats for DeviceSize. [SME: 5230]
83    
84    * Sat Feb 14 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-4.sme
85    - Auto-mount USB REV70-drive as usbdisk [SME: 5006]
86    
87    * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 5.2.0-3.sme
88    - create service link for smartd [SME: 1445]
89    
90    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 5.2.0-2.sme
91    - Add patch to support multiple samba roles [SME: 4172]
92    
93    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme
94    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
95    
96    * Tue Sep 23 2008 Stephen Noble <support@dungog.net> 4.19.0-6
97    - Add locale tags for email in review panel [SME: 4267]
98    
99    * Sat Sep 20 2008 Shad L. Lords <slords@mail.com> 4.19.0-5
100    - Correct gettext type during build process [SME: 570]
101    
102    * Mon Sep 15 2008 Shad L. Lords <slords@mail.com> 4.19.0-4
103    - Fix screen corruption in console [SME: 4155]
104    
105    * Sat Sep 13 2008 Shad L. Lords <slords@mail.com> 4.19.0-3
106    - Fix detection of xen instance against newer kernels [SME: 4555]
107    
108    * Thu Aug 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.0-2
109    - Fixed warnings generated during build process [SME: 570]
110    
111    * Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.19.0-1
112    - Roll new dev stream.
113    
114    * Sun Aug 17 2008 Gavin Weight <gweight@gmail.com> 4.18.1-22
115    - Add gettext to creating backup file title for localization. [SME: 4467]
116    
117    * Mon Aug 11 2008 Charlie Brady <charlie_brady@mitel.com> 4.18.1-21
118    - Fix race condition in VPN ip-down handling which could cause loss of
119      LAN connectivity. [SME: 4405]
120    
121    * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 4.18.1-20
122    - Remove requires for whiptail.  No longer needed [SME: 4491]
123    
124    * Fri Aug  8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-19
125    - Change userpassword panel to use PASSWORD_VERIFY_NEW instead of PASSWORD_NEW_VERIFY [SME: 4487]
126    
127    * Thu Aug  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-18
128    - Revert locale key PASSWORD_RESET_TITLE to RESET_PASSWORD_TITLE and move it
129      to e-smith-formmagick's general [SME: 4475]
130    - Reverting all *PASSWORD_NO_MATCH to *PASSWORD_VERIFY_ERROR locale keys [SME: 4476]
131    - Remove invalid entry tag from userpassword's locale file preventing the
132      form from displaying properly [SME: 4479]
133    
134    * Tue Aug  5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-17
135    - Revert previous invalid locale changes (reverting to 4.18.1-15) [SME: 4472]
136    
137    * Mon Aug  4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-16
138    - Revert some locale changes
139    
140    * Tue Jul 22 2008 Gavin Weight <gweight@gmail.com> 4.18.1-15
141    - Add regex to support cciss device names in manageRAID.pl. [SME: 4455]
142    
143    * Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-14
144    - Add common <base> tags to e-smith-formmagick's general [SME: 4279]
145    
146    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-13
147    - Add common <base> tags to e-smith-formmagick's general [SME: 4279]
148    
149    * Wed Apr 23 2008 Shad L. Lords <slords@mail.com> 4.18.1-12
150    - Fix for > 5 nics detected [SME: 4232]
151    
152    * Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 4.18.1-11
153    - Remove use of Date::Manip from ssl.crt [SME: 3155]
154    
155    * Sat Apr 19 2008 Shad L. Lords <slords@mail.com> 4.18.1-10
156    - Fix FreeBusy param when disabled [SME: 1806]
157    - Remove .orig file [SME: 4228]
158    
159    * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.18.1-9
160    - Remove quitConsole from menu [SME: 4154]
161    
162    * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.18.1-8
163    - Really fix free/busy in usermanager [SME: 4157]
164    
165    * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.18.1-7
166    - Use frames in elinks [SME: 4156]
167    - Set homepage for elinks [SME: 4160]
168    
169    * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.18.1-6
170    - Fix free/busy field in useraccounts [SME: 4157]
171    
172    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.18.1-5
173    - Add free/busy URL entry to help kronolith contribs [SME: 1806]
174    
175    * Fri Mar 28 2008 Shad L. Lords <slords@mail.com> 4.18.1-4
176    - Fix insert_mode for elinks on el5 platform [SME: 4127]
177    
178    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-3
179    - Set accounts to deleted before template expansion [SME: 4122]
180    
181    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-2
182    - Fix gettext strings returned by password checks [SME: 4104]
183    
184    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-1
185    - Roll new stable stream consolidating patches.
186    
187    * Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 4.18.0-104
188    - Finish removing pleasewait [SME: 126]
189    
190    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 4.18.0-103
191    - Add gettext to console titles. [SME: 4089]
192    
193    * Sat Mar 15 2008 Stephen Noble <support@dungog.net> 4.18.0-102
194    - Minor translation fixes [SME: 4058] [SME: 4059]
195    
196  * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 4.18.0-101  * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 4.18.0-101
197  - Remove tests for removed FORM_TITLE's [SME: 4050]  - Remove tests for removed FORM_TITLE's [SME: 4050]
198    
# Line 1266  e-smith server and gateway software - ba Line 1321  e-smith server and gateway software - ba
1321  %patch7 -p1  %patch7 -p1
1322  %patch8 -p1  %patch8 -p1
1323  %patch9 -p1  %patch9 -p1
 %patch10 -p1  
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
 %patch14 -p1  
 %patch15 -p1  
 %patch16 -p1  
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 %patch22 -p1  
 %patch23 -p1  
 %patch24 -p1  
 %patch25 -p1  
 %patch26 -p1  
 %patch27 -p1  
 %patch28 -p1  
 %patch29 -p1  
 %patch30 -p1  
 %patch31 -p1  
 %patch32 -p1  
 %patch33 -p1  
 %patch34 -p1  
 %patch35 -p1  
 %patch36 -p1  
 %patch37 -p1  
 %patch38 -p1  
 %patch39 -p1  
 %patch40 -p1  
 %patch41 -p1  
 %patch42 -p1  
 %patch43 -p1  
 %patch44 -p1  
 %patch45 -p1  
 %patch46 -p1  
 %patch47 -p1  
 %patch48 -p1  
 %patch49 -p1  
 %patch50 -p1  
 %patch51 -p1  
 %patch52 -p1  
 %patch53 -p1  
 %patch54 -p1  
 %patch55 -p1  
 %patch56 -p1  
 %patch57 -p1  
 %patch58 -p1  
 %patch59 -p1  
 %patch60 -p1  
 %patch61 -p1  
 %patch62 -p1  
 %patch63 -p1  
 %patch64 -p1  
 %patch65 -p1  
 %patch66 -p1  
 %patch67 -p1  
 %patch68 -p1  
 %patch69 -p1  
 %patch70 -p1  
 %patch71 -p1  
 %patch72 -p1  
 %patch73 -p1  
 %patch74 -p1  
 %patch75 -p1  
 %patch76 -p1  
 %patch77 -p1  
 %patch78 -p1  
 %patch79 -p1  
 %patch80 -p1  
 %patch81 -p1  
 %patch82 -p1  
 %patch83 -p1  
   
 rm -rf root/etc/e-smith/db/configuration/defaults/httpd-admin  
 rm -rf root/etc/e-smith/templates/etc/identd.masq  
1324    
1325  %pre  %pre
1326  if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ]  if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ]
# Line 1388  echo "disabled" >  root/etc/e-smith/db/c Line 1366  echo "disabled" >  root/etc/e-smith/db/c
1366  %endif  %endif
1367    
1368  LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \  LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \
1369      -type f | grep -v CVS | grep -v pleasewait)      -type f | grep -v CVS)
1370    
1371  for lexicon in $LEXICONS  for lexicon in $LEXICONS
1372  do  do
# Line 1407  ln -s /etc/rc.d/rc7.d root/etc/rc7.d Line 1385  ln -s /etc/rc.d/rc7.d root/etc/rc7.d
1385  mkdir -p root/etc/rc.d/rc1.d  mkdir -p root/etc/rc.d/rc1.d
1386    
1387  mkdir -p root/usr/share/locale/en_US/LC_MESSAGES  mkdir -p root/usr/share/locale/en_US/LC_MESSAGES
1388  xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console  xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console
1389    
1390  mkdir -p root/etc/e-smith/locale  mkdir -p root/etc/e-smith/locale
1391  # Make the fr-ca link in %pre to ease upgrades  # Make the fr-ca link in %pre to ease upgrades
# Line 1452  rm root/service/{syslog,klogd} Line 1430  rm root/service/{syslog,klogd}
1430  mkdir -p root/etc/e-smith/events/local  mkdir -p root/etc/e-smith/events/local
1431  mkdir -p root/etc/e-smith/events/user-modify-admin  mkdir -p root/etc/e-smith/events/user-modify-admin
1432  mkdir -p root/home/e-smith/db  mkdir -p root/home/e-smith/db
 touch root/home/e-smith/db/configuration  
1433    
1434  mkdir -p root/etc/e-smith/pam  mkdir -p root/etc/e-smith/pam
1435  mkdir -p root/home/e-smith/ssl.key  mkdir -p root/home/e-smith/ssl.key
# Line 1464  mkdir -p root/var/state/e-smith Line 1441  mkdir -p root/var/state/e-smith
1441  for file in %{dbfiles}  for file in %{dbfiles}
1442  do  do
1443      mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force}      mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force}
     # Create ghost file for rpm  
     touch root/home/e-smith/db/$file  
1444  done  done
1445    
1446  mkdir -p root/etc/tcprules  mkdir -p root/etc/tcprules


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