pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/openipmi openipmi: update to 2.0.32.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d53c789b8e2
branches:  trunk
changeset: 381314:3d53c789b8e2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 04 08:13:37 2022 +0000

description:
openipmi: update to 2.0.32.

Comment out python option, it uses the deprecated distutils
for installation:
https://sourceforge.net/p/openipmi/feature-requests/10/

Changes not found.

diffstat:

 sysutils/openipmi/Makefile                       |  20 +----
 sysutils/openipmi/PLIST                          |   5 +-
 sysutils/openipmi/buildlink3.mk                  |   4 +-
 sysutils/openipmi/distinfo                       |   9 +-
 sysutils/openipmi/options.mk                     |   9 +-
 sysutils/openipmi/patches/patch-lanserv_extcmd.c |  82 ------------------------
 6 files changed, 21 insertions(+), 108 deletions(-)

diffs (214 lines):

diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/Makefile
--- a/sysutils/openipmi/Makefile        Mon Jul 04 07:46:15 2022 +0000
+++ b/sysutils/openipmi/Makefile        Mon Jul 04 08:13:37 2022 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2022/06/28 11:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/07/04 08:13:37 wiz Exp $
 
-PKGVERSION=    2.0.29
-DISTNAME=      OpenIPMI-${PKGVERSION_NOREV}
-PKGNAME=       openipmi-${PKGVERSION}
-PKGREVISION=   1
+DISTNAME=      OpenIPMI-2.0.32
+PKGNAME=       ${DISTNAME:S/OpenIPMI/openipmi/}
 CATEGORIES=    sysutils
-MASTER_SITES=  https://newcontinuum.dl.sourceforge.net/project/openipmi/OpenIPMI%202.0%20Library/
+MASTER_SITES=  https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://openipmi.sourceforge.net/
@@ -16,15 +14,7 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake perl pkg-config
 
-PKGCONFIG_OVERRIDE+=   OpenIPMI.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIcmdlang.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIglib.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIglib12.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIposix.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIpthread.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMItcl.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIui.pc.in
-PKGCONFIG_OVERRIDE+=   OpenIPMIutils.pc.in
+PKGCONFIG_OVERRIDE+=   *.pc.in
 
 EGDIR=                 ${PREFIX}/share/examples/openipmi
 EGFILES=               lan.conf ipmisim1.emu
diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/PLIST
--- a/sysutils/openipmi/PLIST   Mon Jul 04 07:46:15 2022 +0000
+++ b/sysutils/openipmi/PLIST   Mon Jul 04 08:13:37 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/11/03 23:58:10 otis Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/07/04 08:13:37 wiz Exp $
 bin/ipmi_sim
 bin/ipmi_ui
 bin/ipmicmd
@@ -9,6 +9,7 @@
 bin/sdrcomp
 bin/solterm
 include/OpenIPMI/deprecator.h
+include/OpenIPMI/dllvisibility.h
 include/OpenIPMI/extcmd.h
 include/OpenIPMI/internal/ilist.h
 include/OpenIPMI/internal/ipmi_control.h
@@ -28,6 +29,7 @@
 include/OpenIPMI/internal/md2.h
 include/OpenIPMI/internal/md5.h
 include/OpenIPMI/internal/opq.h
+include/OpenIPMI/internal/winsock_compat.h
 include/OpenIPMI/ipmbserv.h
 include/OpenIPMI/ipmi_addr.h
 include/OpenIPMI/ipmi_auth.h
@@ -58,6 +60,7 @@
 include/OpenIPMI/ipmi_user.h
 include/OpenIPMI/ipmiif.h
 include/OpenIPMI/lanserv.h
+include/OpenIPMI/lanserv_dllvisibility.h
 include/OpenIPMI/mcserv.h
 include/OpenIPMI/msg.h
 include/OpenIPMI/mxp.h
diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/buildlink3.mk
--- a/sysutils/openipmi/buildlink3.mk   Mon Jul 04 07:46:15 2022 +0000
+++ b/sysutils/openipmi/buildlink3.mk   Mon Jul 04 08:13:37 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2022/06/28 11:35:59 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2022/07/04 08:13:37 wiz Exp $
 
 BUILDLINK_TREE+=       openipmi
 
@@ -6,7 +6,7 @@
 OPENIPMI_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.openipmi+=       openipmi>=2.0.29
-BUILDLINK_ABI_DEPENDS.openipmi?=               openipmi>=2.0.29nb1
+BUILDLINK_ABI_DEPENDS.openipmi?=       openipmi>=2.0.29nb1
 BUILDLINK_PKGSRCDIR.openipmi?=         ../../sysutils/openipmi
 
 .include "../../devel/popt/buildlink3.mk"
diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/distinfo
--- a/sysutils/openipmi/distinfo        Mon Jul 04 07:46:15 2022 +0000
+++ b/sysutils/openipmi/distinfo        Mon Jul 04 08:13:37 2022 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:19:55 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/07/04 08:13:37 wiz Exp $
 
-BLAKE2s (OpenIPMI-2.0.29.tar.gz) = feef48d7838eb545cc4dfca0846315aae5d4b2237f46d30830fb9e4518051d46
-SHA512 (OpenIPMI-2.0.29.tar.gz) = ff23aadfe4b9002574d1f06dda3d61f7a03ef1df2c61855516b7d67bd6d3272c53af74e3412e1045242dcb845f50b7c542083e918805c0efac424dd86e720a10
-Size (OpenIPMI-2.0.29.tar.gz) = 3119530 bytes
+BLAKE2s (OpenIPMI-2.0.32.tar.gz) = 9d67d8854104dcb91d61f262d343c4aa2f28a0bd0d26ed36a71b67932d8705d0
+SHA512 (OpenIPMI-2.0.32.tar.gz) = e409f32e6bbf26756338ada386fa394d48d734b4d6ba4beca700ce60bc3af3d0f41e972a328c4e076ae014f4fbd8598d05d3f879f9c6d76198e6ae1a2ba03e95
+Size (OpenIPMI-2.0.32.tar.gz) = 3140147 bytes
 SHA1 (patch-configure) = 644287934ea58b18aebad100cfe3f37c39eca3ff
-SHA1 (patch-lanserv_extcmd.c) = bb9d9b91343becc6a448efdf166b5095f5270eeb
 SHA1 (patch-unix_selector.c) = 45730697f0c4c110f4e34b4ff07a8dd9c4cc0a8b
diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/options.mk
--- a/sysutils/openipmi/options.mk      Mon Jul 04 07:46:15 2022 +0000
+++ b/sysutils/openipmi/options.mk      Mon Jul 04 08:13:37 2022 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: options.mk,v 1.1 2020/11/03 20:55:34 otis Exp $
+# $NetBSD: options.mk,v 1.2 2022/07/04 08:13:37 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.openipmi
-PKG_SUPPORTED_OPTIONS=         perl python snmp swig
-PKG_SUGGESTED_OPTIONS=         perl python snmp swig
+# python: distutils is deprecated
+# https://sourceforge.net/p/openipmi/feature-requests/10/
+PKG_SUPPORTED_OPTIONS=         perl snmp swig
+PKG_SUGGESTED_OPTIONS=         perl snmp swig
 
 PLIST_VARS+=                   perl python
 
@@ -16,6 +18,7 @@
 CONFIGURE_ARGS+=       --with-perl=no
 .endif
 
+# uses distutils, which is deprecated
 .if !empty(PKG_OPTIONS:Mpython)
 CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
 .include "../../lang/python/pyversion.mk"
diff -r f021d849a6b9 -r 3d53c789b8e2 sysutils/openipmi/patches/patch-lanserv_extcmd.c
--- a/sysutils/openipmi/patches/patch-lanserv_extcmd.c  Mon Jul 04 07:46:15 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-$NetBSD: patch-lanserv_extcmd.c,v 1.1 2020/11/03 20:55:34 otis Exp $
-
-Create compat functions.
-
---- lanserv/extcmd.c.orig      2017-07-27 22:01:19.000000000 +0000
-+++ lanserv/extcmd.c
-@@ -53,6 +53,7 @@
-  *      written permission.
-  */
- #include <config.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
-@@ -61,8 +62,13 @@
- #elif defined(HAVE_SYS_ETHERNET_H)
- #include <sys/ethernet.h>
- #else
-+#if defined (__NetBSD__)
-+#include <net/if.h>
-+#include <net/if_ether.h>
-+#else
- #error "either netinet/ether.h or sys/ethernet.h must exist."
- #endif
-+#endif
- #include <ctype.h>
- #include <string.h>
- #include <errno.h>
-@@ -73,6 +79,53 @@
- #include <OpenIPMI/serv.h>
- #include <OpenIPMI/extcmd.h>
- 
-+/*
-+ * These two functions (ether_aton_r() and ether_ntoa_r()
-+ * were obtained from FreeBSD and modified for NetBSD
-+ */
-+
-+#ifndef ether_aton_r
-+/*
-+ * Convert an ASCII representation of an ethernet address to binary form.
-+ */
-+struct ether_addr *
-+ether_aton_r(const char *a, struct ether_addr *e)
-+{
-+        int i;
-+        unsigned int o0, o1, o2, o3, o4, o5;
-+
-+        i = sscanf(a, "%x:%x:%x:%x:%x:%x", &o0, &o1, &o2, &o3, &o4, &o5);
-+        if (i != 6)
-+                return (NULL);
-+        e->ether_addr_octet[0]=o0;
-+        e->ether_addr_octet[1]=o1;
-+        e->ether_addr_octet[2]=o2;
-+        e->ether_addr_octet[3]=o3;
-+        e->ether_addr_octet[4]=o4;
-+        e->ether_addr_octet[5]=o5;
-+        return (e);
-+}
-+#endif
-+
-+#ifndef ether_ntoa_r
-+/*
-+ * Convert a binary representation of an ethernet address to an ASCII string.
-+ */
-+char *
-+ether_ntoa_r(const struct ether_addr *n, char *a)
-+{
-+        int i;
-+
-+        i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->ether_addr_octet[0],
-+            n->ether_addr_octet[1], n->ether_addr_octet[2],
-+          n->ether_addr_octet[3], n->ether_addr_octet[4],
-+          n->ether_addr_octet[5]);
-+        if (i < 17)
-+                return (NULL);
-+        return (a);
-+}
-+#endif
-+
- static int
- extcmd_getval(void *baseloc, extcmd_info_t *t, char *val)
- {



Home | Main Index | Thread Index | Old Index