Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2016 08:33:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210068] sysutils/ipmitool: cleanup
Message-ID:  <bug-210068-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210068

            Bug ID: 210068
           Summary: sysutils/ipmitool: cleanup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch, patch-ready
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: nevecherya@gmail.com
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

Created attachment 171083
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171083&action=
=3Dedit
Cleanup patch

patch-lib_ipmi__chassis.c don't needed. See lib/ipmi__chassis.c after patch.

#include <ipmitool/bswap.h>
#include <ipmitool/helper.h>
#include <ipmitool/ipmi.h>
#include <ipmitool/log.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_strings.h>
#include <ipmitool/ipmi_chassis.h>
#include <ipmitool/bswap.h>

patch-lib_ipmi__pef.c don't needed. See lib/ipmi__pef.c after patch.

#include <ipmitool/bswap.h>
#include <ipmitool/helper.h>
#include <ipmitool/log.h>
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_pef.h>
#include <ipmitool/bswap.h>

#define s6_addr16 __u6_addr.__u6_addr16 don't need in
patch-src_plugins_ipmi__intf.c
#define _XOPEN_SOURCE 700
...
#include <netinet/in.h>
#include <arpa/inet.h>

=3D=3D> automated #include <netinet6/in.h6>

Compilation do without any problems in FreeBSD 9.3 and FreeBSD 10.3

In /src/plugins/open/open.c
-#define _POSIX_SOURCE
+#define _POSIX_C_SOURCE 1
is more correct.

In main port Makefile
CONFIGURE_ARGS+=3D--disable-intf-usb
need only. The other parameters in configure set correctly by default.

xenable_intf_bmc=3Dno
xenable_intf_imb=3Dyes
xenable_intf_open=3Dyes
xenable_intf_usb=3Dyes
xenable_intf_lipmi=3Dyes
#xenable_intf_serial=3Dyes
xenable_intf_dummy=3Dno
xenable_all_options=3Dyes
xenable_ipmishell=3Dyes
...
*freebsd*)
        xenable_intf_imb=3Dno
        xenable_intf_lipmi=3Dno
        xenable_intf_bmc=3Dno
        ;;

See this https://sourceforge.net/p/ipmitool/bugs/445/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210068-13>