mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
-Address sf issue 1904818, conserver init script now matches better 1.3 behavior
This commit is contained in:
parent
88604cda41
commit
45da8c7ef0
@ -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
|
||||
|
12
conserver/initscript.patch
Normal file
12
conserver/initscript.patch
Normal file
@ -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
|
||||
;;
|
Loading…
Reference in New Issue
Block a user