pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ipmitool



Module Name:    pkgsrc
Committed By:   markd
Date:           Fri Dec 22 21:45:23 UTC 2017

Modified Files:
        pkgsrc/sysutils/ipmitool: Makefile distinfo
        pkgsrc/sysutils/ipmitool/patches: patch-ad
Added Files:
        pkgsrc/sysutils/ipmitool/patches:
            patch-src_plugins_lanplus_lanplus__crypt__impl.c
Removed Files:
        pkgsrc/sysutils/ipmitool/patches: patch-lib_ipmi__hpmfwupg.c
            patch-src_plugins_lan_lan.c patch-src_plugins_lanplus_lanplus.c

Log Message:
ipmitool: update to 1.8.18

version 1.8.18 2016-10-08
 * Add mac2str() and str2mac() to print/parse MAC address
 * Change formatting, remove commented-out code in
   src/plugins/imb/imbapi.c
 * Export find_lan_channel() as global
 * Expose _ipmi_get_channel_info()
 * Extend buf2str to allow separator
 * Fix indentation of #define in src/plugins/imb/imbapi.c
 * Fix missing `goto out_free;` when ipmi_parse_hex() returns (-1)
 * Fix warning for buf2str argument
 * Various Bug fixes

version 1.8.17 2016-05-01
 * Add INSTALL and NEWS, mandated by autoconf
 * Added missing ipmi_sel_supermicro.h to template Makefile.am
 * Check rsp->data_len in ipmi_sel_get_info()
 * Various Bug fixes

version 1.8.16 2015-11-22
 * Add _ipmi_get_channel_access() and _ipmi_get_channel_info()
 * Add _ipmi_get_user_access() and _ipmi_set_user_access()
 * Add _ipmi_get_user_name()
 * Add _ipmi_set_channel_access() function
 * Add _ipmi_set_user_password() function
 * Add limits check in get_cmdline_macaddr()
 * Change expression in ipmi_pef_get_info() in order to silence Coverity
 * Change expression in ipmi_pef_list_policies() in order to silence Coverity
 * Code cleanup in ipmi_user_main()
 * Create ask_password() and re-use code
 * Delete dead code from ipmi_sunoem_echo()
 * Don't output pidfile before parsing command line arguments
 * Don't use tmp variable since it's not necessary in ipmi_user_test()
 * Various Bug fixes

version 1.8.15 2014-11-24
 * Various Bug fixes

version 1.8.14 2014-05-05
 * Various Bug fixes

version 1.8.13 2013-09-09
 * Various Bug fixes

version 1.8.12 released 2012-08-09
 * Added IPMB dual bridge support (no need for driver support)
 * Enable compiler warnings and resolve all compiler warning so that
   ipmitool compiles and links with no warning or error messages
 * add ipmishell line to configure
 * fail configure when no curses or readline is found
 * support sensor bridging in free interface
 * Document the ipmitool dcmi commands in the ipmitool man page
 * Document that some commands are blocked by OpenIPMI.
 * Document the -N and -R options
 * fix manpage misdocumentation on cipher suite privilige configuration
 * Add build support for Dell OEM commands
 * Add new Dell OEM commands and update man page
 * added hpm and fwum in man page
 * man page update for fwum and hpm commands
 * Added documentation for 'ime' operating mode, used to update Intel ME.
 * add new -Y option to prompt user to enter kgkey
 * Add DCMI module (Data Center Management Interface)
 * Various Bug fixes


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/sysutils/ipmitool/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/ipmitool/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/ipmitool/patches/patch-ad
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/sysutils/ipmitool/patches/patch-lib_ipmi__hpmfwupg.c \
    pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lanplus_lanplus.c
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lan_lan.c
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lanplus_lanplus__crypt__impl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/ipmitool/Makefile
diff -u pkgsrc/sysutils/ipmitool/Makefile:1.18 pkgsrc/sysutils/ipmitool/Makefile:1.19
--- pkgsrc/sysutils/ipmitool/Makefile:1.18      Thu Jul 27 08:06:46 2017
+++ pkgsrc/sysutils/ipmitool/Makefile   Fri Dec 22 21:45:23 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2017/07/27 08:06:46 sborrill Exp $
+# $NetBSD: Makefile,v 1.19 2017/12/22 21:45:23 markd Exp $
 #
 
-DISTNAME=              ipmitool-1.8.11
-PKGREVISION=           5
+DISTNAME=              ipmitool-1.8.18
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
 
@@ -17,6 +16,8 @@ CONFIGURE_ARGS.NetBSD+=               --disable-intf-
 CONFIGURE_ARGS.DragonFly+=     --disable-intf-open --disable-intf-imb
 CONFIGURE_ARGS.SunOS+=         --enable-solaris-opt
 
+CFLAGS.NetBSD+=                -D_NETBSD_SOURCE
+
 # ipmitool uses rl_event_hook
 .include "../../devel/readline/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"

Index: pkgsrc/sysutils/ipmitool/distinfo
diff -u pkgsrc/sysutils/ipmitool/distinfo:1.8 pkgsrc/sysutils/ipmitool/distinfo:1.9
--- pkgsrc/sysutils/ipmitool/distinfo:1.8       Tue Feb 14 21:20:48 2017
+++ pkgsrc/sysutils/ipmitool/distinfo   Fri Dec 22 21:45:23 2017
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.8 2017/02/14 21:20:48 joerg Exp $
+$NetBSD: distinfo,v 1.9 2017/12/22 21:45:23 markd Exp $
 
-SHA1 (ipmitool-1.8.11.tar.gz) = 4cb6ff3736fd3e166abc5303d6373672327a5db1
-RMD160 (ipmitool-1.8.11.tar.gz) = 189b2232bcd148bc89c610dfae73c6f12f42fb36
-SHA512 (ipmitool-1.8.11.tar.gz) = 48093790baf2532887ac87de9b55fbe38f46f271b84e6152e6b0ba11170b29aad78dfcd42036389750edbedff325476b8366b3ea1401b97148b8bc8c1bd71e4b
-Size (ipmitool-1.8.11.tar.gz) = 769964 bytes
-SHA1 (patch-ad) = 3941c5ea9286137e58ae6fb62aea6daff390ffa1
+SHA1 (ipmitool-1.8.18.tar.gz) = b85b7d01a3b8296227505ee0ad078134fc2c81ff
+RMD160 (ipmitool-1.8.18.tar.gz) = d1426f799b76f26aa98357c0c36fa68f3fa3c883
+SHA512 (ipmitool-1.8.18.tar.gz) = 274d424fff079f7628c0f9fe06580937cb9717c809a71b2f5ef97266c6b6c89983b662fbb1f090e2f94861f1799677c8fc6536013828a8a5e6cb239af53e45ab
+Size (ipmitool-1.8.18.tar.gz) = 995313 bytes
+SHA1 (patch-ad) = 4af586b36f1744d263c66ed28aa17a9f9840a415
 SHA1 (patch-ae) = 67828b62b46a30b204dd436681c5ecac39bb29b3
-SHA1 (patch-lib_ipmi__hpmfwupg.c) = e00723a892ad0427d61ecfd6648ff51c338326bc
-SHA1 (patch-src_plugins_lan_lan.c) = 0866b9a996b27e408605fb64ff507cc123875e59
-SHA1 (patch-src_plugins_lanplus_lanplus.c) = d4be54639dd5cf883cf06fa454930e14eda271f6
+SHA1 (patch-src_plugins_lanplus_lanplus__crypt__impl.c) = 8aaa1c6328bd6c0559ae9863cad671cdd32ab514

Index: pkgsrc/sysutils/ipmitool/patches/patch-ad
diff -u pkgsrc/sysutils/ipmitool/patches/patch-ad:1.2 pkgsrc/sysutils/ipmitool/patches/patch-ad:1.3
--- pkgsrc/sysutils/ipmitool/patches/patch-ad:1.2       Wed Jan 10 14:27:47 2007
+++ pkgsrc/sysutils/ipmitool/patches/patch-ad   Fri Dec 22 21:45:23 2017
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.2 2007/01/10 14:27:47 martti Exp $
+$NetBSD: patch-ad,v 1.3 2017/12/22 21:45:23 markd Exp $
 
---- contrib/Makefile.in.orig   2006-05-15 17:10:50.000000000 +0000
-+++ contrib/Makefile.in        2007-01-10 15:34:13.000000000 +0000
-@@ -48,7 +48,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
+--- contrib/Makefile.in.orig   2016-10-08 08:11:34.000000000 +0000
++++ contrib/Makefile.in
+@@ -90,7 +90,7 @@ am__make_running_with_option = \
+   test $$has_opt = yes
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 -pkgdatadir = $(datadir)/@PACKAGE@
 +pkgdatadir = $(datadir)/examples/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
  pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkglibexecdir = $(libexecdir)/@PACKAGE@

Added files:

Index: pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lanplus_lanplus__crypt__impl.c
diff -u /dev/null pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lanplus_lanplus__crypt__impl.c:1.1
--- /dev/null   Fri Dec 22 21:45:23 2017
+++ pkgsrc/sysutils/ipmitool/patches/patch-src_plugins_lanplus_lanplus__crypt__impl.c   Fri Dec 22 21:45:23 2017
@@ -0,0 +1,90 @@
+$NetBSD: patch-src_plugins_lanplus_lanplus__crypt__impl.c,v 1.1 2017/12/22 21:45:23 markd Exp $
+
+--- src/plugins/lanplus/lanplus_crypt_impl.c   2016-05-28 10:20:20.000000000 +0200
++++ src/plugins/lanplus/lanplus_crypt_impl.c   2017-02-21 10:50:21.634873466 +0100
+@@ -164,10 +164,10 @@ lanplus_encrypt_aes_cbc_128(const uint8_
+                                                       uint8_t       * output,
+                                                       uint32_t        * bytes_written)
+ {
+-      EVP_CIPHER_CTX ctx;
+-      EVP_CIPHER_CTX_init(&ctx);
+-      EVP_EncryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, key, iv);
+-      EVP_CIPHER_CTX_set_padding(&ctx, 0);
++      EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
++      EVP_CIPHER_CTX_init(ctx);
++      EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv);
++      EVP_CIPHER_CTX_set_padding(ctx, 0);
+       
+ 
+       *bytes_written = 0;
+@@ -191,7 +191,7 @@ lanplus_encrypt_aes_cbc_128(const uint8_
+       assert((input_length % IPMI_CRYPT_AES_CBC_128_BLOCK_SIZE) == 0);
+ 
+ 
+-      if(!EVP_EncryptUpdate(&ctx, output, (int *)bytes_written, input, input_length))
++      if(!EVP_EncryptUpdate(ctx, output, (int *)bytes_written, input, input_length))
+       {
+               /* Error */
+               *bytes_written = 0;
+@@ -201,7 +201,7 @@ lanplus_encrypt_aes_cbc_128(const uint8_
+       {
+               uint32_t tmplen;
+ 
+-              if(!EVP_EncryptFinal_ex(&ctx, output + *bytes_written, (int *)&tmplen))
++              if(!EVP_EncryptFinal_ex(ctx, output + *bytes_written, (int *)&tmplen))
+               {
+                       *bytes_written = 0;
+                       return; /* Error */
+@@ -210,7 +210,8 @@ lanplus_encrypt_aes_cbc_128(const uint8_
+               {
+                       /* Success */
+                       *bytes_written += tmplen;
+-                      EVP_CIPHER_CTX_cleanup(&ctx);
++                      EVP_CIPHER_CTX_cleanup(ctx);
++                      EVP_CIPHER_CTX_free(ctx);
+               }
+       }
+ }
+@@ -239,10 +240,10 @@ lanplus_decrypt_aes_cbc_128(const uint8_
+                                                       uint8_t       * output,
+                                                       uint32_t        * bytes_written)
+ {
+-      EVP_CIPHER_CTX ctx;
+-      EVP_CIPHER_CTX_init(&ctx);
+-      EVP_DecryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, key, iv);
+-      EVP_CIPHER_CTX_set_padding(&ctx, 0);
++      EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
++      EVP_CIPHER_CTX_init(ctx);
++      EVP_DecryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv);
++      EVP_CIPHER_CTX_set_padding(ctx, 0);
+ 
+ 
+       if (verbose >= 5)
+@@ -266,7 +267,7 @@ lanplus_decrypt_aes_cbc_128(const uint8_
+       assert((input_length % IPMI_CRYPT_AES_CBC_128_BLOCK_SIZE) == 0);
+ 
+ 
+-      if (!EVP_DecryptUpdate(&ctx, output, (int *)bytes_written, input, input_length))
++      if (!EVP_DecryptUpdate(ctx, output, (int *)bytes_written, input, input_length))
+       {
+               /* Error */
+               lprintf(LOG_DEBUG, "ERROR: decrypt update failed");
+@@ -277,7 +278,7 @@ lanplus_decrypt_aes_cbc_128(const uint8_
+       {
+               uint32_t tmplen;
+ 
+-              if (!EVP_DecryptFinal_ex(&ctx, output + *bytes_written, (int *)&tmplen))
++              if (!EVP_DecryptFinal_ex(ctx, output + *bytes_written, (int *)&tmplen))
+               {
+                       char buffer[1000];
+                       ERR_error_string(ERR_get_error(), buffer);
+@@ -290,7 +291,8 @@ lanplus_decrypt_aes_cbc_128(const uint8_
+               {
+                       /* Success */
+                       *bytes_written += tmplen;
+-                      EVP_CIPHER_CTX_cleanup(&ctx);
++                      EVP_CIPHER_CTX_cleanup(ctx);
++                      EVP_CIPHER_CTX_free(ctx);
+               }
+       }
+ 



Home | Main Index | Thread Index | Old Index