From owner-svn-ports-all@FreeBSD.ORG Thu Oct 4 10:27:33 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36740106564A; Thu, 4 Oct 2012 10:27:33 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7EC8FC08; Thu, 4 Oct 2012 10:27:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q94ARWg7030848; Thu, 4 Oct 2012 10:27:32 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q94ARW9d030844; Thu, 4 Oct 2012 10:27:32 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201210041027.q94ARW9d030844@svn.freebsd.org> From: Niclas Zeising Date: Thu, 4 Oct 2012 10:27:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305248 - in head/sysutils/ipmitool: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 10:27:33 -0000 Author: zeising Date: Thu Oct 4 10:27:32 2012 New Revision: 305248 URL: http://svn.freebsd.org/changeset/ports/305248 Log: Update to 1.8.12, which fixes build with clang. Turn the WITH_FREEIPMI make variable to a proper option. Change the NOPORTDOCS option to use the new options framework. PR: ports/171766 Submitted by: zeising Approved by: maintainer timeout (two weeks), kwm (mentor) Added: head/sysutils/ipmitool/files/patch-configure (contents, props changed) Deleted: head/sysutils/ipmitool/files/patch-include__ipmitool__ipmi_sdr.h head/sysutils/ipmitool/files/patch-lib__ipmi_fru.c head/sysutils/ipmitool/files/patch-lib__ipmi_sdr.c head/sysutils/ipmitool/files/patch-src__ipmishell.c head/sysutils/ipmitool/files/patch-src__plugins__lan__lan.c Modified: head/sysutils/ipmitool/Makefile head/sysutils/ipmitool/distinfo Modified: head/sysutils/ipmitool/Makefile ============================================================================== --- head/sysutils/ipmitool/Makefile Thu Oct 4 10:00:38 2012 (r305247) +++ head/sysutils/ipmitool/Makefile Thu Oct 4 10:27:32 2012 (r305248) @@ -6,8 +6,7 @@ # PORTNAME= ipmitool -PORTVERSION= 1.8.11 -PORTREVISION= 4 +PORTVERSION= 1.8.12 CATEGORIES= sysutils MASTER_SITES= SF @@ -15,7 +14,6 @@ MAINTAINER= spolyack@collaborativefusion COMMENT= CLI to manage IPMI systems USE_BZIP2= yes -DOS2UNIX= ipmi_fwum.c USE_GMAKE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes @@ -33,25 +31,26 @@ MAN8+= ipmievd.8 PERIODIC_DIR= etc/periodic/daily +OPTIONS_DEFINE= FREEIPMI +FREEIPMI_DESC= Enable support for freeipmi + .if defined(WITH_DEBUG) CFLAGS+= -ggdb -Wall .endif -.include - -post-install: - @${MKDIR} ${PREFIX}/${PERIODIC_DIR} - @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi - .if exists(/usr/include/sys/ipmi.h) CONFIGURE_ARGS+= --enable-intf-open .else CONFIGURE_ARGS+= --disable-intf-open .endif -.if defined(WITH_FREEIPMI) || \ - (exists(${LOCALBASE}/include/freeipmi/freeipmi.h) && \ - !defined(WITHOUT_FREEIPMI)) +.include + +.if empty(PORT_OPTIONS:MDOCS) +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in +.endif + +.if ${PORT_OPTIONS:MFREEIPMI} LIB_DEPENDS+= freeipmi:${PORTSDIR}/sysutils/freeipmi CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -60,8 +59,8 @@ CONFIGURE_ARGS+= --enable-intf-free CONFIGURE_ARGS+= --disable-intf-free .endif -.if defined(NOPORTDOCS) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in -.endif +post-install: + @${MKDIR} ${PREFIX}/${PERIODIC_DIR} + @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi -.include +.include Modified: head/sysutils/ipmitool/distinfo ============================================================================== --- head/sysutils/ipmitool/distinfo Thu Oct 4 10:00:38 2012 (r305247) +++ head/sysutils/ipmitool/distinfo Thu Oct 4 10:27:32 2012 (r305248) @@ -1,2 +1,2 @@ -SHA256 (ipmitool-1.8.11.tar.bz2) = df219019dc2216c3b7a894edd20286b2118aa636f9990c8405674ce84948eddd -SIZE (ipmitool-1.8.11.tar.bz2) = 584416 +SHA256 (ipmitool-1.8.12.tar.bz2) = 549b2da65c30905248aee07367a9cae3dd94bceaddd9c122d55075766c868733 +SIZE (ipmitool-1.8.12.tar.bz2) = 684159 Added: head/sysutils/ipmitool/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ipmitool/files/patch-configure Thu Oct 4 10:27:32 2012 (r305248) @@ -0,0 +1,11 @@ +--- configure.orig 2012-09-18 21:50:01.000000000 +0200 ++++ configure 2012-09-18 21:50:14.000000000 +0200 +@@ -5030,7 +5030,7 @@ + done + + +-CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type -Wno-unused-result -Wno-packed-bitfield-compat" ++CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type" + + case `pwd` in + *\ * | *\ *)