--- rpms/e-smith-lib/sme9/e-smith-lib.spec 2013/03/01 04:34:31 1.5 +++ rpms/e-smith-lib/sme9/e-smith-lib.spec 2013/05/25 23:41:44 1.12 @@ -1,10 +1,10 @@ -# $Id: e-smith-lib.spec,v 1.4 2013/02/24 15:12:29 vip-ire Exp $ +# $Id: e-smith-lib.spec,v 1.11 2013/05/09 14:52:50 wellsi Exp $ Summary: e-smith server and gateway - library module %define name e-smith-lib Name: %{name} %define version 2.4.0 -%define release 4 +%define release 9 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -13,11 +13,15 @@ Source: %{name}-%{version}.tar.xz Patch0: e-smith-lib-2.4.0-dont_use_kudzu_to_probe_nics.patch Patch1: e-smith-lib-2.4.0-fix_bonding.patch Patch2: e-smith-lib-2.4.0-ipv4check.patch +Patch3: e-smith-lib-2.4.0-untaint_nic_names.patch +Patch4: e-smith-lib-2.4.0-CreateSystemUser.patch +Patch5: e-smith-lib-2.4.0-consoleUTF8.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.6.3-01 Obsoletes: %{name}-Tai64n Obsoletes: whiptail +Requires(pre): e-smith Requires: dialog Requires: perl, perl(Text::Template) Requires: perl(Time::HiRes), perl(MIME::Base64) @@ -30,6 +34,23 @@ Requires: pciutils e-smith server and gateway software - library module. %changelog +* Sat May 25 2013 Ian Wells 2.4.0-9.sme +- Correctly display accented letters in the console [SME: 6658] + by Filippo Carletti + +* Sun May 05 2013 Ian Wells 2.4.0-8.sme +- Add e-smith as a Requires(pre) and remove adding users in %pre +- Fix uid and gid to be the same in create-system-user [SME: 7547] + +* Sat Mar 9 2013 Shad L. Lords 2.4.0-7.sme +- Ensure group www exists before user [SME: 7319] + +* Wed Mar 6 2013 Shad L. Lords 2.4.0-6.sme +- Fix pre script to make www and apache the same [SME: 7319] + +* Tue Mar 5 2013 Daniel Berteaud 2.4.0-5.sme +- Untaint variable in probeAdapters() [SME: 7416] + * Thu Feb 28 2013 Ian Wells 2.4.0-4.sme - Improve error checking in isValidIP [SME: 7410] @@ -41,6 +62,7 @@ e-smith server and gateway software - li * Fri Jan 25 2013 Shad L. Lords 2.4.0-1.sme - Bump version in prep for SME9 +- Perl module rpms moved to /usr/share/perl5/vendor_perl [SME: 7223] * Mon Oct 11 2010 Shad L. Lords 2.2.0-7.sme - Serialize configure_peers to prevent errors [SME: 5831] @@ -758,27 +780,12 @@ e-smith server and gateway software - li %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %pre -#-------------------------------------------------- -# add admin, public and www user accounts -#-------------------------------------------------- -/usr/sbin/groupadd \ - -g 500 shared 2>/dev/null || : -/usr/sbin/useradd \ - -u 102 -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 || : -exit 0 %post