--- rpms/initscripts/sme9/initscripts.spec	2013/03/09 03:31:44	1.3
+++ rpms/initscripts/sme9/initscripts.spec	2014/03/17 05:44:10	1.6
@@ -2,14 +2,13 @@
 
 Summary: The inittab file and the /etc/init.d scripts
 Name: initscripts
-Version: 9.03.38
+Version: 9.03.40
 # ppp-watch is GPLv2+, everything else is GPLv2
 License: GPLv2 and GPLv2+
 Group: System Environment/Base
-Release: 1%{?dist}
+Release: 2.1%{?dist}
 URL: http://fedorahosted.org/releases/i/n/initscripts/
 Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2
-Patch1000: centos-initscripts.patch
 Patch2000: initscripts-9.03.31-runlevel7.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: mingetty, /bin/awk, /bin/sed, mktemp
@@ -49,9 +48,11 @@ Requires(post): /sbin/chkconfig, coreuti
 Requires(preun): /sbin/chkconfig
 BuildRequires: glib2-devel popt-devel gettext pkgconfig
 
+Patch0: 0001-remove-duplicit-then.patch
+
 %description
 The initscripts package contains the basic system scripts used to boot
-your Red Hat or Fedora system, change runlevels, and shut the system down
+your SME Server system, change runlevels, and shut the system down
 cleanly.  Initscripts also contains the scripts that activate and
 deactivate most network interfaces.
 
@@ -68,7 +69,7 @@ Currently, this consists of various memo
 
 %prep
 %setup -q
-%patch1000 -p1
+%patch0 -p1
 %patch2000 -p1
 
 %build
@@ -220,6 +221,7 @@ rm -rf $RPM_BUILD_ROOT
 /lib/udev/rename_device
 /lib/udev/console_init
 /lib/udev/console_check
+/lib/udev/udev-kvm-check
 /sbin/service
 /sbin/ppp-watch
 %{_mandir}/man*/*
@@ -241,6 +243,7 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %attr(0600,root,utmp) /var/log/btmp
 %ghost %attr(0664,root,utmp) /var/log/wtmp
 %ghost %attr(0664,root,utmp) /var/run/utmp
+%ghost %attr(0644,root,root) /etc/sysconfig/kvm
 
 %files -n debugmode
 %defattr(-,root,root)
@@ -248,12 +251,40 @@ rm -rf $RPM_BUILD_ROOT
 /etc/profile.d/debug*
 
 %changelog
-* Fri Mar 8 2013 Shad L. Lords <slords@mail.com> - 9.03.38-1.el6.sme
-- Add hack for running rc7.d script during runlevel 4 [SME: 7217]
+* Sun Mar 16 2014 Ian Wells <esmith@wellsi.com> - 9.03.40-2.1.sme
+- Correct offest in runlevel7 patch to avoid .orig file [SME: 8277]
+- Remove CentOS Branding patch
 
-* Thu Feb 21 2013 Johnny Hughes <johnny@centos.org> 9.03.38-1.el6.centos
+* Sat Dec 14 2013 Ian Wells <esmith@wellsi.com> - 9.03.40-2.sme
+- Add hack for running rc7.d script during runlevel 4 [SME: 7217]
 - Roll in CentOS Branding
 
+* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-2
+- fix duplicit then (#1015065)
+
+* Thu Oct 10 2013 Lukas Nykryn <lnykryn@redhat.com> - 9.03.40-1
+- sync disks before halt (#1006294)
+- provide KVM guest count and limit info message (#1014731)
+- add ability to disable LVM activation on boot (#1015065)
+
+* Fri Aug 09 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.39-1
+- remount /proc to set attributes from fstab #984003
+- print something when arping is detecting colliding ip addresses
+- try dhcpv6 after v4 failed
+- Allow dhclient configuration files for DHCPv6 as well. (#815676)
+- ifdown: don't call nmcli on interface that is alread down
+- call flush addresses with scope global
+- init: inform users about .override files in .conf files
+- netfs: do not force NFS exports to be mounted before _netdev mounts
+- set net.ipv6.conf..autoconf in ifup-ipv6
+- mention rule6 files
+- securetty: check if the device is in the file before attempting to write to it
+- Process rule6-* for sit devices (#840009)
+- Killproc -d should parse same values as sleep
+- Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)
+- bonding: set master up before slaves
+- Fix greps to correctly handle comments and quotation (#915659)
+
 * Wed Jan 09 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 9.03.38-1
 - call ip link up on master after slaves are up (#893395)