diff --git a/conserver/conserver.spec b/conserver/conserver.spec index 315398f..eb507f9 100644 --- a/conserver/conserver.spec +++ b/conserver/conserver.spec @@ -11,7 +11,7 @@ # hostname (console) %define master console -%define distver 4 +%define distver 5 Summary: Serial console server daemon/client Name: %{pkg} @@ -22,6 +22,7 @@ Group: System Environment/Daemons URL: http://www.conserver.com/ Source: http://www.conserver.com/%{pkg}-%{ver}.tar.gz Patch: certificate-auth.patch +Patch1: initscript.patch BuildRoot: %{_tmppath}/%{pkg}-buildroot BuildRequires: openssl-devel Prefix: %{_prefix} @@ -38,6 +39,7 @@ bells and whistles to accentuate that basic functionality. %{__rm} -rf %{buildroot} %setup -q %patch -p1 +%patch1 -p1 %build diff --git a/conserver/initscript.patch b/conserver/initscript.patch new file mode 100644 index 0000000..175ac11 --- /dev/null +++ b/conserver/initscript.patch @@ -0,0 +1,12 @@ +diff -urN conserver-8.1.16/contrib/redhat-rpm/conserver.init conserver-8.1.16-diffinit/contrib/redhat-rpm/conserver.init +--- conserver-8.1.16/contrib/redhat-rpm/conserver.init 2003-02-27 21:06:50.000000000 -0500 ++++ conserver-8.1.16-diffinit/contrib/redhat-rpm/conserver.init 2008-05-07 15:56:06.000000000 -0400 +@@ -24,7 +24,7 @@ + case "$1" in + start) + echo -n "Starting conserver: " +- daemon conserver -d ++ daemon conserver -o -O1 -d + echo + touch /var/lock/subsys/conserver + ;;