rpms/openwsman/F-12 openwsman-randfile.patch, NONE, 1.1 openwsman-initscript.patch, 1.2, 1.3 openwsman.spec, 1.6, 1.7

Praveen K Paladugu praveenp at fedoraproject.org
Thu Dec 17 00:23:05 UTC 2009


Author: praveenp

Update of /cvs/pkgs/rpms/openwsman/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20949

Modified Files:
	openwsman-initscript.patch openwsman.spec 
Added Files:
	openwsman-randfile.patch 
Log Message:
Changed the random file and some init script changes to not start the 
server by default


openwsman-randfile.patch:
 ssleay.cnf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE openwsman-randfile.patch ---
diff -up ./etc/ssleay.cnf.new ./etc/ssleay.cnf
--- ./etc/ssleay.cnf.new	2009-12-16 17:04:15.000000000 -0600
+++ ./etc/ssleay.cnf	2009-12-16 17:04:55.000000000 -0600
@@ -2,7 +2,7 @@
 # SSLeay example configuration file.
 #
 
-RANDFILE                = $ENV::HOME/.rnd
+RANDFILE                = /dev/random
 
 [ req ]
 default_bits            = 1024

openwsman-initscript.patch:
 openwsmand.sh.in |   71 +++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 53 insertions(+), 18 deletions(-)

Index: openwsman-initscript.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/F-12/openwsman-initscript.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- openwsman-initscript.patch	11 Dec 2009 21:58:26 -0000	1.2
+++ openwsman-initscript.patch	17 Dec 2009 00:23:04 -0000	1.3
@@ -1,16 +1,24 @@
-diff -up ./etc/init/openwsmand.sh.in.org ./etc/init/openwsmand.sh.in
---- ./etc/init/openwsmand.sh.in.org	2009-12-11 13:04:10.000000000 -0600
-+++ ./etc/init/openwsmand.sh.in	2009-12-11 13:14:14.000000000 -0600
-@@ -5,7 +5,7 @@
+diff -up ./etc/init/openwsmand.sh.in.new ./etc/init/openwsmand.sh.in
+--- ./etc/init/openwsmand.sh.in.new	2009-12-16 18:16:06.000000000 -0600
++++ ./etc/init/openwsmand.sh.in	2009-12-16 18:16:18.000000000 -0600
+@@ -4,21 +4,21 @@
+ # Provides: openwsmand
  # Required-Start: $remote_fs
  # Required-Stop: $network
- # Default-Start: 2 3 4 5
+-# Default-Start: 2 3 4 5
 -# Default-Stop: 0 1 6 
-+# Default-Stop:  0 1 6
++# Default-Start:
++# Default-Stop:
  # Short-Description: Openwsman Daemon
  # Description: openwsmand
  #       Start/Stop the Openwsman Daemon
-@@ -18,7 +18,7 @@
+ ### END INIT INFO
+ #
+ #
+-# chkconfig: 2345 36 64
++# chkconfig: - 36 64
+ # description: Openwsman Daemon
+ # processname: openwsmand
  
  NAME=openwsmand
  DAEMON=/usr/sbin/$NAME


Index: openwsman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/F-12/openwsman.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- openwsman.spec	11 Dec 2009 21:58:27 -0000	1.6
+++ openwsman.spec	17 Dec 2009 00:23:04 -0000	1.7
@@ -30,7 +30,7 @@ BuildRequires:  perl-devel pkgconfig ope
 BuildRequires:  libtool
 Requires:       net-tools
 Version:        2.2.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Url:            http://www.openwsman.org/
 License:        BSD
 Group:          Applications/System
@@ -40,6 +40,7 @@ Source1:        %{name}.rpmlintrc
 Patch0:         %{name}-pam-auth.patch
 Patch1:         %{name}-initscript.patch
 Patch2:         perl-bindings.patch
+Patch3:         %{name}-randfile.patch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX)
 
 %description
@@ -121,6 +122,9 @@ License:        BSD
 Group:          System Environment/Daemons
 Requires:       net-tools
 Requires:       openwsman-client
+Requires(post):       chkconfig
+Requires(preun):      chkconfig
+Requires(postun):     initscripts
 Summary:        Openwsman Server and service libraries
 
 %description server
@@ -192,6 +196,7 @@ Authors:
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 sh autoconfiscate.sh
@@ -310,6 +315,10 @@ rm -f /var/log/wsmand.log
 
 
 %changelog
+* Wed Dec 16 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-3
+- Changed the random file used by openssl to generate a certificate while
+- starting the openwsman-server service
+
 * Wed Dec  9 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-2
 - Re-wrote the spec file to break the openwmsman pkg into lib, client
 - and server components following the upstream spec file.




More information about the fedora-extras-commits mailing list