pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Added OpenIPMI
Module Name: pkgsrc-wip
Committed By: noahmehl <noahmehl%gmail.com@localhost>
Pushed By: noahmehl
Date: Fri Aug 4 20:21:02 2017 +0000
Changeset: b2af7ae302569fd029e8f5569bc03d68a6fe8837
Added Files:
OpenIPMI/DESCR
OpenIPMI/Makefile
OpenIPMI/PLIST
OpenIPMI/buildlink3.mk
OpenIPMI/distinfo
OpenIPMI/patches/patch-configure
OpenIPMI/patches/patch-ipmi.init
Log Message:
Added OpenIPMI
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b2af7ae302569fd029e8f5569bc03d68a6fe8837
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 | 29 ++++++++++++
OpenIPMI/PLIST | 95 ++++++++++++++++++++++++++++++++++++++++
OpenIPMI/buildlink3.mk | 14 ++++++
OpenIPMI/distinfo | 8 ++++
OpenIPMI/patches/patch-configure | 32 ++++++++++++++
OpenIPMI/patches/patch-ipmi.init | 23 ++++++++++
7 files changed, 203 insertions(+)
diffs:
diff --git a/OpenIPMI/DESCR b/OpenIPMI/DESCR
new file mode 100644
index 0000000000..a2d01fef4d
--- /dev/null
+++ b/OpenIPMI/DESCR
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 0000000000..f7693a146b
--- /dev/null
+++ b/OpenIPMI/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME= OpenIPMI-2.0.24
+CATEGORIES= devel
+MASTER_SITES= https://newcontinuum.dl.sourceforge.net/project/openipmi/OpenIPMI%202.0%20Library/
+
+MAINTAINER= noahmehl%gmail.com@localhost
+HOMEPAGE= http://openipmi.sourceforge.net/
+COMMENT= User-level library that provides a higher-level abstraction of IPMI
+LICENSE= gnu-lgpl-v2
+
+WRKSRC= ${WRKDIR}/OpenIPMI
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+
+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
+
+.include "../../devel/popt/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/OpenIPMI/PLIST b/OpenIPMI/PLIST
new file mode 100644
index 0000000000..9d1776e986
--- /dev/null
+++ b/OpenIPMI/PLIST
@@ -0,0 +1,95 @@
+@comment $NetBSD$
+bin/ipmi_sim
+bin/ipmi_ui
+bin/ipmicmd
+bin/ipmish
+bin/openipmicmd
+bin/openipmish
+bin/rmcp_ping
+bin/sdrcomp
+bin/solterm
+etc/ipmi/ipmisim1.emu
+etc/ipmi/lan.conf
+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/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
+lib/pkgconfig/OpenIPMI.pc
+lib/pkgconfig/OpenIPMIcmdlang.pc
+lib/pkgconfig/OpenIPMIposix.pc
+lib/pkgconfig/OpenIPMIpthread.pc
+lib/pkgconfig/OpenIPMIui.pc
+lib/pkgconfig/OpenIPMIutils.pc
+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
+@pkgdir man/man8
diff --git a/OpenIPMI/buildlink3.mk b/OpenIPMI/buildlink3.mk
new file mode 100644
index 0000000000..e1b3282d7b
--- /dev/null
+++ b/OpenIPMI/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= OpenIPMI
+
+.if !defined(OPENIPMI_BUILDLINK3_MK)
+OPENIPMI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.OpenIPMI+= OpenIPMI>=2.0.24
+BUILDLINK_PKGSRCDIR.OpenIPMI?= ../../devel/OpenIPMI
+
+.include "../../devel/popt/buildlink3.mk"
+.endif # OPENIPMI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -OpenIPMI
diff --git a/OpenIPMI/distinfo b/OpenIPMI/distinfo
new file mode 100644
index 0000000000..946826cc2c
--- /dev/null
+++ b/OpenIPMI/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (OpenIPMI-2.0.24.tar.gz) = 3d62e3610c8ef472bb7199757a1e5707fc905274
+RMD160 (OpenIPMI-2.0.24.tar.gz) = ce2d73cd88118eed311ced3572c05064e9e42bdc
+SHA512 (OpenIPMI-2.0.24.tar.gz) = bf768efff80fd042a99308c0b9fa45a7608b6a9a025f0d564e32e2b224d0c6af8bf8aba8418fc5411c43b2fec74eeb989c3beb6b2b1828d7bc73eea53f0670a8
+Size (OpenIPMI-2.0.24.tar.gz) = 2508111 bytes
+SHA1 (patch-configure) = 3e1a2e56a328225f9049dbbfa8120a682c14be8e
+SHA1 (patch-ipmi.init) = 4d28bc719d7f00a98d03d1256d88cc4eb5a4011a
diff --git a/OpenIPMI/patches/patch-configure b/OpenIPMI/patches/patch-configure
new file mode 100644
index 0000000000..0f6d6e957f
--- /dev/null
+++ b/OpenIPMI/patches/patch-configure
@@ -0,0 +1,32 @@
+$NetBSD$
+#remove == for portability
+
+--- configure.orig 2017-08-03 01:48:38.000000000 +0000
++++ configure
+@@ -13192,7 +13192,7 @@ fi
+
+ echo "checking for tcl... $havetcl"
+
+-if test "x$havetcl" == "xyes"; then
++if test "x$havetcl" = "xyes"; then
+ OLDLIBS="$LIBS"
+ LIBS="$LIBS $TCL_LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+@@ -14048,7 +14048,7 @@ fi
+ if test "x$diaprog" != "x"; then
+ diaver=`$diaprog --version 2>&1 | sed 's/Dia version \([^,]*\), .*$/\1/'`
+ tmp=`echo $diaver | sed 's/^[0-9.]\+$//'`
+- if test "x$diaver" == "x" -o "x$tmp" != 'x'; then
++ if test "x$diaver" = "x" -o "x$tmp" != 'x'; then
+ # Couldn't get the dia version, give up.
+ echo "Couldn't determine the dia version from '$diaver'"
+ else
+@@ -14188,7 +14188,7 @@ $as_echo "no" >&6; }
+ fi
+
+
+-if test "x$DIA" == "x" -o "x$LATEX" == "x" -o "x$BIBTEX" == "x" -o "x$DVIPDF" == "x"; then
++if test "x$DIA" = "x" -o "x$LATEX" = "x" -o "x$BIBTEX" = "x" -o "x$DVIPDF" = "x"; then
+ echo "dia, latex, bibtex, and/or dvipdf is not present or not valid, you cannot regenerate documentation"
+ echo "The documentation comes already generated, so this is generally not a problem"
+ fi
diff --git a/OpenIPMI/patches/patch-ipmi.init b/OpenIPMI/patches/patch-ipmi.init
new file mode 100644
index 0000000000..81ab6fc7d5
--- /dev/null
+++ b/OpenIPMI/patches/patch-ipmi.init
@@ -0,0 +1,23 @@
+$NetBSD$
+#remove == for portability
+
+--- ipmi.init.orig 2017-08-03 01:39:15.000000000 +0000
++++ ipmi.init
+@@ -89,7 +89,7 @@ INTF_NUM=0
+ IPMI_SMB_MODULE_NAME="ipmi_smb"
+ IPMI_SI_MODULE_NAME="ipmi_si"
+ kernel=`uname -r | cut -d. -f1-2`
+-if [ "${kernel}" == "2.4" ]; then
++if [ "${kernel}" = "2.4" ]; then
+ IPMI_SMB_MODULE_NAME="ipmi_smb_intf"
+ IPMI_SI_MODULE_NAME="ipmi_si_drv"
+ fi
+@@ -283,7 +283,7 @@ start_powercontrol_common()
+ {
+ local poweroff_opts=""
+ load_hw_modules
+- if [ "${IPMI_POWERCYCLE}" == "yes" ]; then
++ if [ "${IPMI_POWERCYCLE}" = "yes" ]; then
+ modinfo ipmi_poweroff 2>/dev/null | grep poweroff_control > /dev/null 2>&1 && \
+ poweroff_opts="poweroff_control=2"
+ modinfo ipmi_poweroff 2>/dev/null | grep poweroff_powercycle > /dev/null 2>&1 && \
Home |
Main Index |
Thread Index |
Old Index