--- rpms/e-smith-base/sme9/e-smith-base.spec 2013/02/02 15:00:59 1.4 +++ rpms/e-smith-base/sme9/e-smith-base.spec 2013/03/14 15:12:22 1.20 @@ -1,18 +1,32 @@ -# $Id: e-smith-base.spec,v 1.3 2013/02/02 14:59:33 slords Exp $ +# $Id: e-smith-base.spec,v 1.19 2013/03/09 22:28:20 slords Exp $ Summary: e-smith server and gateway - base module %define name e-smith-base Name: %{name} %define version 5.4.0 -%define release 3 +%define release 18 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz Patch0: e-smith-base-5.4.0-runlevel_4.patch +Patch1: e-smith-base-5.4.0-local_event.patch +Patch2: e-smith-base-5.4.0-noapmd.patch +Patch3: e-smith-base-5.4.0-rsysloglink.patch +Patch4: e-smith-base-5.4.0-optimize_user_modify_unix.patch +Patch5: e-smith-base-5.4.0-user_modify_in_bootstrap.patch +Patch6: e-smith-base-5.4.0-pppoeMlimit.patch +Patch7: e-smith-base-5.4.0-microcode.patch +Patch8: e-smith-base-5.4.0-PostUpgradeRestore.patch +Patch9: e-smith-base-5.4.0-inittab.patch +Patch10: e-smith-base-5.4.0-pwauth.patch +Patch11: e-smith-base-5.4.0-uidgid.patch +Patch12: e-smith-base-5.4.0-fixwww.patch +Patch13: e-smith-base-5.4.0-SystemName.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot -Requires: mod_auth_external +BuildArch: noarch +Requires: pwauth Requires: e-smith-lib >= 2.2.0-2 Requires: server-manager-images, server-manager Requires: e-smith-formmagick >= 1.4.0-12 @@ -37,7 +51,9 @@ Requires: e-smith-bootloader Requires: mdadm Requires: pv Requires: pam_abl -Requires: nss_pam_ldapd +Requires: /usr/bin/passwd +Requires: nss-pam-ldapd +Obsoletes: nss_ldap < 254 Requires: cpu >= 1.4.3 Obsoletes: rlinetd, e-smith-mod_ssl Obsoletes: e-smith-serial-console @@ -47,9 +63,6 @@ Obsoletes: perl-Data-UUID BuildRequires: perl, perl(Test::Inline) >= 0.12 BuildRequires: e-smith-devtools >= 1.13.1-03 BuildRequires: gettext -%ifarch i386 -Requires: apmd -%endif %define dbfiles accounts configuration domains hosts networks AutoReqProv: no @@ -58,6 +71,53 @@ AutoReqProv: no e-smith server and gateway software - base module. %changelog +* Thu Mar 14 2013 Ian Wells 5.4.0-18.sme +- Change System Name from mitel-networks-server to sme-server [SME: 7485] + +* Sat Mar 9 2013 Shad L. Lords 5.4.0-17.sme +- Fix user www creation in init-accounts [SME: 7319] + +* Wed Mar 6 2013 Shad L. Lords 5.4.0-16.sme +- Update package and path for pwauth [SME: 7319] +- Update init-accounts to set uid/gid correctly for pwauth + +* Thu Feb 28 2013 Shad L. Lords 5.4.0-15.sme +- Remove fragments in inittab that are no longer needed [SME: 7227] + +* Mon Feb 25 2013 Daniel Berteaud 5.4.0-14.sme +- Post-upgrades not fired after restore from console [SME: 7390] + +* Sat Feb 23 2013 Ian Wells 5.4.0-13.sme +- Remove microcode_ctl service as now udev-driven [SME: 7397] + +* Thu Feb 21 2013 Ian Wells 5.4.0-12.sme +- Increase memory limit for pppoe to 100Mb matching SME8 solution [SME: 7391] + +* Thu Feb 21 2013 Daniel Berteaud 5.4.0-11.sme +- Optimize user-modify-unix script and link it in bootstrap-ldap-save [SME: 7387] + +* Tue Feb 19 2013 Shad L. Lords 5.4.0-10.sme +- Add /usr/bin/passwd as a required package [SME: 7350] + +* Sat Feb 9 2013 Ian Wells 5.4.0-9.sme +- Update symlink to not conflict with /etc/init.d [SME: 7322] + +* Thu Feb 7 2013 Ian Wells 5.4.0-8.sme +- Add symbolic links from rsyslog to syslog to start the + the transition from syslog to rsyslog [SME: 7322] + +* Wed Feb 6 2013 Shad L. Lords 5.4.0-7.sme +- Remove apmd service and change package to noarch [SME: 7312] + +* Sun Feb 3 2013 Daniel Berteaud 5.4.0-6.sme +- Add a daemontools service to run signal-event local [SME: 7230] + +* Sat Feb 2 2013 Shad L. Lords 5.4.0-5.sme +- Obsolete nss_ldap so upgrades work [SME: 7273] + +* Sat Feb 2 2013 Shad L. Lords 5.4.0-4.sme +- Helps to spell requirements correctly + * Sat Feb 2 2013 Shad L. Lords 5.4.0-3.sme - Change nss_ldap to nss-pam-ldapd [SME: 7272] @@ -1494,6 +1554,19 @@ e-smith server and gateway software - ba %prep %setup %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 %pre /sbin/e-smith/create-system-user smelog 1002 \ @@ -1505,12 +1578,6 @@ e-smith server and gateway software - ba %build -%if "%_build_arch" == "i386" -echo "enabled" > root/etc/e-smith/db/configuration/defaults/apmd/status -%else -echo "disabled" > root/etc/e-smith/db/configuration/defaults/apmd/status -%endif - LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ -type f | grep -v CVS) @@ -1578,6 +1645,7 @@ rm -rf $RPM_BUILD_ROOT --dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \ --dir /var/log/ippp 'attr(2750,smelog,smelog)' \ --dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \ + --file /var/service/local/run 'attr(0750,root,root)' \ > %{name}-%{version}-%{release}-filelist mkdir -p $RPM_BUILD_ROOT/home/e-smith/db