[packages/ipmitool] Revert default cipher suite back to 3 (as it was in 1.8.11): http://sourceforge.net/tracker/?func=de

arekm arekm at pld-linux.org
Thu Oct 11 22:48:38 CEST 2012


commit 7c4b8be9c368ac9e98795e00f6b6b50d0cb807f0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 11 22:47:44 2012 +0200

    Revert default cipher suite back to 3 (as it was in 1.8.11):
    http://sourceforge.net/tracker/?func=detail&aid=3571371&group_id=95200&atid=610550
    http://sourceforge.net/tracker/?func=detail&atid=610550&aid=3576112&group_id=95200

 ipmitool-cipher.patch | 19 +++++++++++++++++++
 ipmitool.spec         |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/ipmitool.spec b/ipmitool.spec
index daa9807..3a5f2cb 100644
--- a/ipmitool.spec
+++ b/ipmitool.spec
@@ -2,13 +2,14 @@ Summary:	Simple command-line interface to systems that support the IPMI
 Summary(pl.UTF-8):	Prosty interfejs do systemów obsługujących IPMI działający z linii poleceń
 Name:		ipmitool
 Version:	1.8.12
-Release:	1
+Release:	2
 License:	BSD
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/ipmitool/%{name}-%{version}.tar.gz
 # Source0-md5:	5ae1fec5039038da23da2a036906b630
 Source1:	%{name}-ipmievd.init
 Source2:	%{name}-ipmievd.sysconfig
+Patch0:		%{name}-cipher.patch
 URL:		http://ipmitool.sourceforge.net/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake
@@ -57,6 +58,7 @@ wysyłane do SEL i loguje wiadomości do sysloga.
 
 %prep
 %setup -q
+%patch0 -p1 -R
 
 %build
 %{__libtoolize} --ltdl
diff --git a/ipmitool-cipher.patch b/ipmitool-cipher.patch
new file mode 100644
index 0000000..e32dd89
--- /dev/null
+++ b/ipmitool-cipher.patch
@@ -0,0 +1,19 @@
+commit 214e208d8018bf3bf4dad64afdd94393c1655ef4
+Author: blaism <blaism>
+Date:   Tue Apr 27 16:53:05 2010 +0000
+
+    Changed default cipher suite to 1 instead of 3 for iol20
+
+diff --git a/lib/ipmi_main.c b/lib/ipmi_main.c
+index 3d93736..1a065eb 100644
+--- a/lib/ipmi_main.c
++++ b/lib/ipmi_main.c
+@@ -379,7 +379,7 @@ ipmi_main(int argc, char ** argv,
+ 	char * seloem   = NULL;
+ 	int port = 0;
+ 	int devnum = 0;
+-	int cipher_suite_id = 3; /* See table 22-19 of the IPMIv2 spec */
++	int cipher_suite_id = 1; /* See table 22-19 of the IPMIv2 spec */
+ 	int argflag, i, found;
+ 	int rc = -1;
+ 	char sol_escape_char = SOL_ESCAPE_CHARACTER_DEFAULT;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ipmitool.git/commitdiff/7c4b8be9c368ac9e98795e00f6b6b50d0cb807f0



More information about the pld-cvs-commit mailing list