pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openipmi: Move to pkgsrc
Module Name: pkgsrc-wip
Committed By: Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By: otis
Date: Tue Nov 3 21:00:37 2020 +0000
Changeset: d821919cc684d97ba8eff76b112de1c7f17335d6
Removed Files:
openipmi/DESCR
openipmi/Makefile
openipmi/PLIST
openipmi/PLIST.Linux
openipmi/TODO
openipmi/buildlink3.mk
openipmi/distinfo
openipmi/options.mk
openipmi/patches/patch-configure
openipmi/patches/patch-lanserv_extcmd.c
openipmi/patches/patch-unix_selector.c
Log Message:
openipmi: Move to pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d821919cc684d97ba8eff76b112de1c7f17335d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openipmi/DESCR | 2 -
openipmi/Makefile | 48 ---------------
openipmi/PLIST | 103 --------------------------------
openipmi/PLIST.Linux | 5 --
openipmi/TODO | 2 -
openipmi/buildlink3.mk | 14 -----
openipmi/distinfo | 9 ---
openipmi/options.mk | 40 -------------
openipmi/patches/patch-configure | 15 -----
openipmi/patches/patch-lanserv_extcmd.c | 82 -------------------------
openipmi/patches/patch-unix_selector.c | 18 ------
11 files changed, 338 deletions(-)
diffs:
diff --git a/openipmi/DESCR b/openipmi/DESCR
deleted file mode 100644
index a2d01fef4d..0000000000
--- a/openipmi/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-The Open IPMI project aims to develop an open code base to allow access to
-platform information using Intelligent Platform Management Interface (IPMI).
diff --git a/openipmi/Makefile b/openipmi/Makefile
deleted file mode 100644
index ab5b4f4493..0000000000
--- a/openipmi/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# $NetBSD$
-
-DISTNAME= openipmi-2.0.29
-CATEGORIES= sysutils
-MASTER_SITES= https://newcontinuum.dl.sourceforge.net/project/openipmi/OpenIPMI%202.0%20Library/
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://openipmi.sourceforge.net/
-COMMENT= User-level library that provides a higher-level abstraction of IPMI
-LICENSE= gnu-lgpl-v2
-
-GNU_CONFIGURE= yes
-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
-
-EGDIR= ${PREFIX}/share/examples/openipmi
-EGFILES= lan.conf ipmisim1.emu
-
-INSTALLATION_DIRS= share/examples/openipmi
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
-LDFLAGS+= -lexecinfo
-BUILDLINK_TRANSFORM+= rm:-ldl
-.endif
-
-post-install:
-.for file in ${EGFILES}
- ${MV} ${DESTDIR}${PREFIX}/etc/ipmi/${file} ${DESTDIR}${EGDIR}/${file}
-.endfor
-
-.include "options.mk"
-
-.include "../../devel/popt/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/readline.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/openipmi/PLIST b/openipmi/PLIST
deleted file mode 100644
index 99625e34d9..0000000000
--- a/openipmi/PLIST
+++ /dev/null
@@ -1,103 +0,0 @@
-@comment $NetBSD$
-bin/ipmi_sim
-bin/ipmi_ui
-bin/ipmicmd
-bin/ipmish
-bin/openipmicmd
-bin/openipmish
-bin/rmcp_ping
-bin/sdrcomp
-bin/solterm
-include/OpenIPMI/deprecator.h
-include/OpenIPMI/extcmd.h
-include/OpenIPMI/internal/ilist.h
-include/OpenIPMI/internal/ipmi_control.h
-include/OpenIPMI/internal/ipmi_domain.h
-include/OpenIPMI/internal/ipmi_entity.h
-include/OpenIPMI/internal/ipmi_event.h
-include/OpenIPMI/internal/ipmi_fru.h
-include/OpenIPMI/internal/ipmi_int.h
-include/OpenIPMI/internal/ipmi_locks.h
-include/OpenIPMI/internal/ipmi_malloc.h
-include/OpenIPMI/internal/ipmi_mc.h
-include/OpenIPMI/internal/ipmi_oem.h
-include/OpenIPMI/internal/ipmi_sel.h
-include/OpenIPMI/internal/ipmi_sensor.h
-include/OpenIPMI/internal/ipmi_utils.h
-include/OpenIPMI/internal/locked_list.h
-include/OpenIPMI/internal/md2.h
-include/OpenIPMI/internal/md5.h
-include/OpenIPMI/internal/opq.h
-include/OpenIPMI/ipmbserv.h
-include/OpenIPMI/ipmi_addr.h
-include/OpenIPMI/ipmi_auth.h
-include/OpenIPMI/ipmi_bits.h
-include/OpenIPMI/ipmi_cmdlang.h
-include/OpenIPMI/ipmi_conn.h
-include/OpenIPMI/ipmi_debug.h
-include/OpenIPMI/ipmi_err.h
-include/OpenIPMI/ipmi_fru.h
-include/OpenIPMI/ipmi_glib.h
-include/OpenIPMI/ipmi_lan.h
-include/OpenIPMI/ipmi_lanparm.h
-include/OpenIPMI/ipmi_log.h
-include/OpenIPMI/ipmi_mc.h
-include/OpenIPMI/ipmi_msgbits.h
-include/OpenIPMI/ipmi_pef.h
-include/OpenIPMI/ipmi_pet.h
-include/OpenIPMI/ipmi_picmg.h
-include/OpenIPMI/ipmi_posix.h
-include/OpenIPMI/ipmi_sdr.h
-include/OpenIPMI/ipmi_smi.h
-include/OpenIPMI/ipmi_sol.h
-include/OpenIPMI/ipmi_solparm.h
-include/OpenIPMI/ipmi_string.h
-include/OpenIPMI/ipmi_tcl.h
-include/OpenIPMI/ipmi_types.h
-include/OpenIPMI/ipmi_ui.h
-include/OpenIPMI/ipmi_user.h
-include/OpenIPMI/ipmiif.h
-include/OpenIPMI/lanserv.h
-include/OpenIPMI/mcserv.h
-include/OpenIPMI/msg.h
-include/OpenIPMI/mxp.h
-include/OpenIPMI/os_handler.h
-include/OpenIPMI/persist.h
-include/OpenIPMI/selector.h
-include/OpenIPMI/serserv.h
-include/OpenIPMI/serv.h
-lib/libIPMIlanserv.la
-lib/libOpenIPMI.la
-lib/libOpenIPMIcmdlang.la
-lib/libOpenIPMIposix.la
-lib/libOpenIPMIpthread.la
-lib/libOpenIPMIui.la
-lib/libOpenIPMIutils.la
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/OpenIPMI.pm
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/OpenIPMI/OpenIPMI.so
-lib/pkgconfig/OpenIPMI.pc
-lib/pkgconfig/OpenIPMIcmdlang.pc
-lib/pkgconfig/OpenIPMIposix.pc
-lib/pkgconfig/OpenIPMIpthread.pc
-lib/pkgconfig/OpenIPMIui.pc
-lib/pkgconfig/OpenIPMIutils.pc
-${PLIST.python}${PYSITELIB}/OpenIPMI.py
-${PLIST.python}${PYSITELIB}/_OpenIPMI.la
-${PLIST.python}${PYSITELIB}/_OpenIPMI.a
-${PLIST.python}${PYSITELIB}/_OpenIPMI.so
-man/man1/ipmi_sim.1
-man/man1/ipmi_ui.1
-man/man1/openipmi_eventd.1
-man/man1/openipmicmd.1
-man/man1/openipmigui.1
-man/man1/openipmish.1
-man/man1/rmcp_ping.1
-man/man1/solterm.1
-man/man5/ipmi_lan.5
-man/man5/ipmi_sim_cmd.5
-man/man7/ipmi_cmdlang.7
-man/man7/openipmi_conparms.7
-share/examples/OpenIPMI/ipmisim1.emu
-share/examples/OpenIPMI/lan.conf
-@pkgdir man/man8
-@pkgdir etc/ipmi
diff --git a/openipmi/PLIST.Linux b/openipmi/PLIST.Linux
deleted file mode 100644
index 75f4c5dec3..0000000000
--- a/openipmi/PLIST.Linux
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD$
-bin/ipmilan
-bin/openipmi_eventd
-man/man8/ipmilan.8
-@pkgdir man/man8
diff --git a/openipmi/TODO b/openipmi/TODO
deleted file mode 100644
index 254d510b3d..0000000000
--- a/openipmi/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-- Test build on Linux
-
diff --git a/openipmi/buildlink3.mk b/openipmi/buildlink3.mk
deleted file mode 100644
index d7f270aae5..0000000000
--- a/openipmi/buildlink3.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+= openipmi
-
-.if !defined(OPENIPMI_BUILDLINK3_MK)
-OPENIPMI_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.openipmi+= openipmi>=2.0.29
-BUILDLINK_PKGSRCDIR.openipmi?= ../../sysutils/openipmi
-
-.include "../../devel/popt/buildlink3.mk"
-.endif # OPENIPMI_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -openipmi
diff --git a/openipmi/distinfo b/openipmi/distinfo
deleted file mode 100644
index 80bb52d6c5..0000000000
--- a/openipmi/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD$
-
-SHA1 (OpenIPMI-2.0.29.tar.gz) = a8dd1a9b877e94926af1da69421e8f2bd642c9c7
-RMD160 (OpenIPMI-2.0.29.tar.gz) = 1a82606dca2e585a5075eeb40e23aa10029724db
-SHA512 (OpenIPMI-2.0.29.tar.gz) = ff23aadfe4b9002574d1f06dda3d61f7a03ef1df2c61855516b7d67bd6d3272c53af74e3412e1045242dcb845f50b7c542083e918805c0efac424dd86e720a10
-Size (OpenIPMI-2.0.29.tar.gz) = 3119530 bytes
-SHA1 (patch-configure) = 644287934ea58b18aebad100cfe3f37c39eca3ff
-SHA1 (patch-lanserv_extcmd.c) = bb9d9b91343becc6a448efdf166b5095f5270eeb
-SHA1 (patch-unix_selector.c) = 45730697f0c4c110f4e34b4ff07a8dd9c4cc0a8b
diff --git a/openipmi/options.mk b/openipmi/options.mk
deleted file mode 100644
index b3f11348b2..0000000000
--- a/openipmi/options.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.openipmi
-PKG_SUPPORTED_OPTIONS= perl python snmp swig
-PKG_SUGGESTED_OPTIONS= perl python snmp swig
-
-PLIST_VARS+= perl python
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mperl)
-CONFIGURE_ARGS+= --with-perl=${PERl5}
-.include "../../lang/perl5/buildlink3.mk"
-PLIST.perl= yes
-.else
-CONFIGURE_ARGS+= --with-perl=no
-.endif
-
-.if !empty(PKG_OPTIONS:Mpython)
-CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
-.include "../../lang/python/pyversion.mk"
-PLIST.python= yes
-PLIST_SUBST+= PYSITELIB=${PYSITELIB}
-.else
-CONFIGURE_ARGS+= --with-python=no
-.endif
-
-.if !empty(PKG_OPTIONS:Msnmp)
-CONFIGURE_ARGS+= --with-ucdsnmp=${PREFIX}
-.include "../../net/net-snmp/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --with-ucdsnmp=no
-.endif
-
-.if !empty(PKG_OPTIONS:Mswig)
-CONFIGURE_ARGS+= --with-swig=${PREFIX}/bin/swig3.0
-.include "../../devel/swig3/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --with-swig=no
-.endif
diff --git a/openipmi/patches/patch-configure b/openipmi/patches/patch-configure
deleted file mode 100644
index 86e1b07574..0000000000
--- a/openipmi/patches/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Fix bash-ism
-
---- configure.orig 2020-06-12 14:14:25.000000000 +0000
-+++ configure
-@@ -13061,7 +13061,7 @@ if test "x$ac_cv_header_tcl_tcl_h" = xye
- fi
-
-
-- if test "x$FOUND_TCL_HEADER" == "xyes"; then
-+ if test "x$FOUND_TCL_HEADER" = "xyes"; then
- tclcflags="-I /usr/include/tcl$ver"
- TCL_CFLAGS="$tclcflags"
- fi
diff --git a/openipmi/patches/patch-lanserv_extcmd.c b/openipmi/patches/patch-lanserv_extcmd.c
deleted file mode 100644
index 20d7f99dc1..0000000000
--- a/openipmi/patches/patch-lanserv_extcmd.c
+++ /dev/null
@@ -1,82 +0,0 @@
-$NetBSD$
-
-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)
- {
diff --git a/openipmi/patches/patch-unix_selector.c b/openipmi/patches/patch-unix_selector.c
deleted file mode 100644
index bea2b41a41..0000000000
--- a/openipmi/patches/patch-unix_selector.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Testy for EBADFD on respective platforms only.
-
---- unix/selector.c.orig 2020-10-08 11:19:47.295098497 +0000
-+++ unix/selector.c
-@@ -1030,7 +1030,11 @@ process_fds(struct selector_s *sel,
- &tmp_except_set,
- &ts, &sigmask);
- if (err < 0) {
-+#if defined(EBADFD)
- if (errno == EBADF || errno == EBADFD)
-+#else
-+ if (errno == EBADF)
-+#endif
- /* We raced, just retry it. */
- goto retry;
- goto out;
Home |
Main Index |
Thread Index |
Old Index