Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

14
sysutils/ipmitool/DESCR Normal file
View File

@@ -0,0 +1,14 @@
Ipmitool is a utility for managing and configuring devices that support
the "Intelligent Platform Management Interface". IPMI is an open
standard for monitoring, logging, recovery, inventory, and control of
hardware that is implemented independent of the main CPU, BIOS, and OS.
The service processor (or Baseboard Management Controller, BMC) is the
brain behind platform management and its primary purpose is to handle
the autonomous sensor monitoring and event logging features.
The ipmitool program provides a simple command-line interface to this
BMC. It features the ability to read the sensor data repository (SDR)
and print sensor values, display the contents of the System Event Log
(SEL), print Field Replaceable Unit (FRU) inventory information, read
and set LAN configuration parameters, and perform remote chassis power
control.

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.12 2013/03/02 10:44:43 tron Exp $
#
DISTNAME= ipmitool-1.8.11
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ipmitool.sourceforge.net/
COMMENT= Command-line utility for managing IPMI devices
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_GNU_READLINE= yes # ipmitool uses rl_event_hook
INSTALLATION_DIRS+= share/examples/ipmitool share/doc/ipmitool
OPSYSVARS+= CONFIGURE_ARGS
CONFIGURE_ARGS.NetBSD+= --disable-intf-open --disable-intf-imb
CONFIGURE_ARGS.DragonFly+= --disable-intf-open --disable-intf-imb
CONFIGURE_ARGS.SunOS+= --enable-solaris-opt
.include "../../devel/readline/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

10
sysutils/ipmitool/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.5 2011/02/17 08:38:56 markd Exp $
bin/ipmitool
man/man1/ipmitool.1
man/man8/ipmievd.8
sbin/ipmievd
share/doc/ipmitool/AUTHORS
share/doc/ipmitool/COPYING
share/doc/ipmitool/ChangeLog
share/doc/ipmitool/README
share/examples/ipmitool/oem_ibm_sel_map

View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.6 2013/03/02 17:56:13 joerg Exp $
SHA1 (ipmitool-1.8.11.tar.gz) = 4cb6ff3736fd3e166abc5303d6373672327a5db1
RMD160 (ipmitool-1.8.11.tar.gz) = 189b2232bcd148bc89c610dfae73c6f12f42fb36
Size (ipmitool-1.8.11.tar.gz) = 769964 bytes
SHA1 (patch-ad) = 3941c5ea9286137e58ae6fb62aea6daff390ffa1
SHA1 (patch-ae) = 67828b62b46a30b204dd436681c5ecac39bb29b3
SHA1 (patch-lib_ipmi__hpmfwupg.c) = e00723a892ad0427d61ecfd6648ff51c338326bc
SHA1 (patch-src_plugins_lan_lan.c) = 9ab88998438f1ce2949af545252dd9e6ba52686c
SHA1 (patch-src_plugins_lanplus_lanplus.c) = d4be54639dd5cf883cf06fa454930e14eda271f6

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.2 2007/01/10 14:27:47 martti 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@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/examples/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ae,v 1.1 2011/12/22 19:00:05 drochner Exp $
CVE-2011-4339
--- lib/helper.c.orig 2009-02-25 20:38:52.000000000 +0000
+++ lib/helper.c
@@ -427,7 +427,6 @@ ipmi_start_daemon(struct ipmi_intf *intf
#endif
chdir("/");
- umask(0);
for (fd=0; fd<64; fd++) {
if (fd != intf->fd)

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-lib_ipmi__hpmfwupg.c,v 1.1 2013/03/02 17:56:13 joerg Exp $
--- lib/ipmi_hpmfwupg.c.orig 2013-03-01 13:04:13.000000000 +0000
+++ lib/ipmi_hpmfwupg.c
@@ -1233,7 +1233,7 @@ int HpmfwupgTargetCheck(struct ipmi_intf
if (rc != HPMFWUPG_SUCCESS)
{
lprintf(LOG_NOTICE,"Verify whether the Target board is present \n");
- return;
+ return HPMFWUPG_ERROR;
}
rc = HpmfwupgGetTargetUpgCapabilities(intf, &targetCapCmd);
@@ -3516,7 +3516,7 @@ int ipmi_hpmfwupg_main(struct ipmi_intf
if ( (argc == 0) || (strcmp(argv[0], "help") == 0) )
{
HpmfwupgPrintUsage();
- return;
+ return HPMFWUPG_ERROR;
}
if ( (strcmp(argv[0], "check") == 0) )
{

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_plugins_lan_lan.c,v 1.1 2013/03/02 17:56:13 joerg Exp $
--- src/plugins/lan/lan.c.orig 2013-03-01 13:05:13.000000000 +0000
+++ src/plugins/lan/lan.c
@@ -1071,7 +1071,7 @@ uint8_t * ipmi_lan_build_sol_msg(struct
msg = malloc(len);
if (msg == NULL) {
lprintf(LOG_ERR, "ipmitool: malloc failure");
- return;
+ return NULL;
}
memset(msg, 0, len);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_plugins_lanplus_lanplus.c,v 1.1 2013/03/02 17:56:13 joerg Exp $
--- src/plugins/lanplus/lanplus.c.orig 2013-03-01 13:05:48.000000000 +0000
+++ src/plugins/lanplus/lanplus.c
@@ -734,7 +734,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * in
ipmi_req_remove_entry(rsp->payload.ipmi_response.rq_seq,
rsp->payload.ipmi_response.cmd);
ipmi_lan_poll_recv(intf);
- return;
+ return NULL;
}
else
{