--- rpms/e-smith-base/sme8/e-smith-base.spec 2007/11/11 15:05:47 1.15 +++ rpms/e-smith-base/sme8/e-smith-base.spec 2008/09/13 18:12:11 1.61.2.2 @@ -1,78 +1,37 @@ Summary: e-smith server and gateway - base module %define name e-smith-base Name: %{name} -%define version 4.18.0 -%define release 76 +%define version 4.18.1 +%define release 24 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch1: e-smith-base-4.18.0-backtitle.patch -Patch2: e-smith-base-4.18.0-consolebackup.patch -Patch3: e-smith-base-4.18.0-backupcancel.patch -Patch4: e-smith-base-4.18.0-gatewaydev.patch -Patch5: e-smith-base-4.18.0-elinks_caching.patch -Patch6: e-smith-base-4.18.0-unused_templates.patch -Patch7: e-smith-base-4.18.0-backuphome.patch -Patch8: e-smith-base-4.18.0-mediaglob.patch -Patch9: e-smith-base-4.18.0-setbeforeexpand.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 +Patch1: e-smith-base-4.18.1-fixgettext.patch +Patch2: e-smith-base-4.18.1-deleteorder.patch +Patch3: e-smith-base-4.18.1-insertmode.patch +Patch4: e-smith-base-4.18.1-freebusy.patch +Patch5: e-smith-base-4.18.1-frames.patch +Patch6: e-smith-base-4.18.1-quitconsole.patch +Patch7: e-smith-base-4.18.1-freebusy.patch2 +Patch8: e-smith-base-4.18.1-dateManip.patch +Patch9: e-smith-base-4.18.1-ethernetlist.patch +Patch10: e-smith-base-4.18.1-add2general.patch +Patch11: e-smith-base-4.18.1-get_raid_details_cciss.patch +Patch12: e-smith-base-4.18.1-RevertInvalidLocaleReversion.patch +Patch13: e-smith-base-4.18.1-FixAndMoveRESET_PASSWORD_TITLE.patch +Patch14: e-smith-base-4.18.1-removeInvalidEntryTag.patch +Patch15: e-smith-base-4.18.1-fixPASSWORD_VERIFY_ERROR.patch +Patch16: e-smith-base-4.18.1-fixPASSWORD_VERIFY_NEW.patch +Patch17: e-smith-base-4.18.1-ip-down.race.patch +Patch18: e-smith-base-4.18.1-FixLocalizedTitle.patch +Patch19: e-smith-base-4.18.1-xenfix.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: mod_auth_external -Requires: e-smith-lib >= 1.18.0-7 +Requires: e-smith-lib >= 1.18.0-19 Requires: server-manager-images, server-manager -Requires: e-smith-formmagick >= 0.2.0 +Requires: e-smith-formmagick >= 1.4.0-12 Requires: initscripts >= 6.67-1es17 Requires: e-smith-daemontools >= 1.7.1-04 Requires: perl(Locale::gettext) @@ -86,7 +45,6 @@ Requires: /sbin/microcode_ctl Requires: dbus Requires: hal Requires: acpid -Requires: whiptail Requires: rssh Requires: bridge-utils Requires: vconfig @@ -115,7 +73,171 @@ AutoReqProv: no e-smith server and gateway software - base module. %changelog -* Sun Nov 09 2007 Gavin Weight 4.18.0-76 +* Sat Sep 13 2008 Shad L. Lords 4.18.1-24 +- Fix detection of xen instance against newer kernels [SME: 4555] + +* Thu Aug 28 2008 Jonathan Martens 4.18.1-23 +- Fixed warnings generated during build process [SME: 570] + +* Sun Aug 17 2008 Gavin Weight 4.18.1-22 +- Add gettext to creating backup file title for localization. [SME: 4467] + +* Mon Aug 11 2008 Charlie Brady 4.18.1-21 +- Fix race condition in VPN ip-down handling which could cause loss of + LAN connectivity. [SME: 4405] + +* Sat Aug 9 2008 Shad L. Lords 4.18.1-20 +- Remove requires for whiptail. No longer needed [SME: 4491] + +* Fri Aug 8 2008 Jonathan Martens 4.18.1-19 +- Change userpassword panel to use PASSWORD_VERIFY_NEW instead of PASSWORD_NEW_VERIFY [SME: 4487] + +* Thu Aug 7 2008 Jonathan Martens 4.18.1-18 +- Revert locale key PASSWORD_RESET_TITLE to RESET_PASSWORD_TITLE and move it + to e-smith-formmagick's general [SME: 4475] +- Reverting all *PASSWORD_NO_MATCH to *PASSWORD_VERIFY_ERROR locale keys [SME: 4476] +- Remove invalid entry tag from userpassword's locale file preventing the + form from displaying properly [SME: 4479] + +* Tue Aug 5 2008 Jonathan Martens 4.18.1-17 +- Revert previous invalid locale changes (reverting to 4.18.1-15) [SME: 4472] + +* Mon Aug 4 2008 Jonathan Martens 4.18.1-16 +- Revert some locale changes + +* Tue Jul 22 2008 Gavin Weight 4.18.1-15 +- Add regex to support cciss device names in manageRAID.pl. [SME: 4455] + +* Sat Jul 5 2008 Jonathan Martens 4.18.1-14 +- Add common tags to e-smith-formmagick's general [SME: 4279] + +* Sun Apr 27 2008 Jonathan Martens 4.18.1-13 +- Add common tags to e-smith-formmagick's general [SME: 4279] + +* Wed Apr 23 2008 Shad L. Lords 4.18.1-12 +- Fix for > 5 nics detected [SME: 4232] + +* Tue Apr 22 2008 Shad L. Lords 4.18.1-11 +- Remove use of Date::Manip from ssl.crt [SME: 3155] + +* Sat Apr 19 2008 Shad L. Lords 4.18.1-10 +- Fix FreeBusy param when disabled [SME: 1806] +- Remove .orig file [SME: 4228] + +* Wed Apr 2 2008 Shad L. Lords 4.18.1-9 +- Remove quitConsole from menu [SME: 4154] + +* Wed Apr 2 2008 Shad L. Lords 4.18.1-8 +- Really fix free/busy in usermanager [SME: 4157] + +* Wed Apr 2 2008 Shad L. Lords 4.18.1-7 +- Use frames in elinks [SME: 4156] +- Set homepage for elinks [SME: 4160] + +* Wed Apr 2 2008 Shad L. Lords 4.18.1-6 +- Fix free/busy field in useraccounts [SME: 4157] + +* Tue Apr 1 2008 Shad L. Lords 4.18.1-5 +- Add free/busy URL entry to help kronolith contribs [SME: 1806] + +* Fri Mar 28 2008 Shad L. Lords 4.18.1-4 +- Fix insert_mode for elinks on el5 platform [SME: 4127] + +* Wed Mar 26 2008 Shad L. Lords 4.18.1-3 +- Set accounts to deleted before template expansion [SME: 4122] + +* Wed Mar 26 2008 Shad L. Lords 4.18.1-2 +- Fix gettext strings returned by password checks [SME: 4104] + +* Wed Mar 26 2008 Shad L. Lords 4.18.1-1 +- Roll new stable stream consolidating patches. + +* Mon Mar 24 2008 Shad L. Lords 4.18.0-104 +- Finish removing pleasewait [SME: 126] + +* Tue Mar 18 2008 Shad L. Lords 4.18.0-103 +- Add gettext to console titles. [SME: 4089] + +* Sat Mar 15 2008 Stephen Noble 4.18.0-102 +- Minor translation fixes [SME: 4058] [SME: 4059] + +* Wed Mar 12 2008 Shad L. Lords 4.18.0-101 +- Remove tests for removed FORM_TITLE's [SME: 4050] + +* Wed Mar 12 2008 Shad L. Lords 4.18.0-100 +- Cleanup SAVE/ADD tag mixup [SME: 4045] + +* Sat Mar 10 2008 Shad L. Lords 4.18-99 +- Fix dyndns custom gettext [SME: 4032] + +* Sat Mar 07 2008 Stephen Noble 4.18-98 +- revised gettext messages [SME: 631] + +* Sat Mar 07 2008 Stephen Noble 4.18-97 +- gettext messages [SME: 631] + +* Sat Mar 07 2008 Stephen Noble 4.18-96 +- remove duplicate system password has been changed [SME: 3974] + +* Sat Mar 07 2008 Stephen Noble 4.18-95 +- EthernetAssign shouldn't be translated [SME: 3947] + +* Sun Feb 17 2008 Stephen Noble 4.18-94 +- Remove pleasewait function [SME: 126] + +* Sun Feb 17 2008 Stephen Noble 4.18-93 +- fix gettext formatting in three files [SME: 3938] + +* Wed Feb 13 2008 chris burnat 4.18-92 +- Fix creation of usernames and pseudonyms with one character +- [SME: 2451] + +* Wed Feb 13 2008 Stephen Noble 4.18-91 +- Remove tags now in general [SME: 3911] + +* Sun Feb 10 2008 Stephen Noble 4.18-90 +- Remove duplicate entries [SME: 3894] + +* Sat Feb 09 2008 Stephen Noble 4.18-89 +- remove unused ROUTER_DESC token from lexicon [SME: 3879] + +* Sat Jan 12 2008 Shad L. Lords 4.18-88 +- remove default of 1400 MTU for interfaces [SME: 549] + +* Wed Jan 09 2008 Stephen Noble 4.18-87 +- db prop to dissociate admin password from root in useraccounts.pm [SME: 3117] + +* Wed Jan 09 2008 Stephen Noble 4.18-86 +- pptp connections setting mtu/mru > 1400 [SME: 549] + +* Tue Jan 08 2008 Stephen Noble 4.18-85 +- console to strength validate password choice on first entry [SME: 3131] + +* Tue Jan 08 2008 Stephen Noble 4.18-84 +- Auto-mount USB REV-drive as usbdisk [SME: 2972] + +* Sun Jan 06 2008 Stephen Noble 4.18-83 +- ignore error returns from tar [SME: 3127] + +* Sun Jan 06 2008 Stephen Noble 4.18-82 +- Use esmith::util::validatePassword on console [SME: 2173] + +* Mon Dec 24 2007 Gavin Weight 4.18.0-81 +- Link smartd.conf to bootstrap-save-console and console-save. [SME: 1445] + +* Mon Dec 24 2007 Stephen Noble 4.18-80 +- Add smartd as a disabled service with template [SME: 1445] + +* Sun Dec 16 2007 Shad L. Lords 4.18.0-79 +- Lock user accounts with usermod instead of passwd [SME: 3595] + +* Sun Dec 16 2007 Gavin Weight 4.18.0-78 +- Add symlink to fr-fr locale. [SME: 3648] + +* Mon Nov 12 2007 Shad L. Lords 4.18.0-77 +- Add fix for varying partition sizes in add_raid [SME: 3547] + +* Sun Nov 11 2007 Gavin Weight 4.18.0-76 - Fix removal of Corporate DNS from console. [SME: 3532] * Fri Nov 02 2007 Gavin Weight 4.18.0-75 @@ -1160,7 +1282,9 @@ e-smith server and gateway software - ba %setup %patch1 -p1 %patch2 -p1 +%if "%{?rhel}" == "5" %patch3 -p1 +%endif %patch4 -p1 %patch5 -p1 %patch6 -p1 @@ -1177,50 +1301,6 @@ e-smith server and gateway software - ba %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 - -rm -rf root/etc/e-smith/db/configuration/defaults/httpd-admin -rm -rf root/etc/e-smith/templates/etc/identd.masq %pre if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] @@ -1266,7 +1346,7 @@ echo "disabled" > root/etc/e-smith/db/c %endif LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ - -type f | grep -v CVS | grep -v pleasewait) + -type f | grep -v CVS) for lexicon in $LEXICONS do @@ -1285,11 +1365,12 @@ ln -s /etc/rc.d/rc7.d root/etc/rc7.d mkdir -p root/etc/rc.d/rc1.d mkdir -p root/usr/share/locale/en_US/LC_MESSAGES -xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console +xgettext -L shell -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console mkdir -p root/etc/e-smith/locale # Make the fr-ca link in %pre to ease upgrades -# ln -s fr root/etc/e-smith/locale/fr-ca +# ln -s fr root/etc/e-smith/locale/fr-ca +ln -s fr root/etc/e-smith/locale/fr-fr ln -s en-us root/etc/e-smith/locale/en ln -s en-us root/etc/e-smith/locale/en-au ln -s en-us root/etc/e-smith/locale/en-gb @@ -1329,7 +1410,6 @@ rm root/service/{syslog,klogd} mkdir -p root/etc/e-smith/events/local mkdir -p root/etc/e-smith/events/user-modify-admin mkdir -p root/home/e-smith/db -touch root/home/e-smith/db/configuration mkdir -p root/etc/e-smith/pam mkdir -p root/home/e-smith/ssl.key @@ -1341,8 +1421,6 @@ mkdir -p root/var/state/e-smith for file in %{dbfiles} do mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force} - # Create ghost file for rpm - touch root/home/e-smith/db/$file done mkdir -p root/etc/tcprules