From owner-svn-ports-head@FreeBSD.ORG Thu Oct 10 14:31:53 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5521E5EE; Thu, 10 Oct 2013 14:31:53 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 411C920BD; Thu, 10 Oct 2013 14:31:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9AEVqSB068559; Thu, 10 Oct 2013 14:31:52 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9AEVq3R068557; Thu, 10 Oct 2013 14:31:52 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310101431.r9AEVq3R068557@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 10 Oct 2013 14:31:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330002 - head/sysutils/freeipmi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 14:31:53 -0000 Author: sunpoet Date: Thu Oct 10 14:31:52 2013 New Revision: 330002 URL: http://svnweb.freebsd.org/changeset/ports/330002 Log: - Convert to new LIB_DEPENDS format - Use USES=shebangfix - Convert to new OPTIONS helper - Remove outdated OSVERSION check - Strip shared library - Support STAGEDIR Modified: head/sysutils/freeipmi/Makefile head/sysutils/freeipmi/pkg-plist Modified: head/sysutils/freeipmi/Makefile ============================================================================== --- head/sysutils/freeipmi/Makefile Thu Oct 10 14:08:01 2013 (r330001) +++ head/sysutils/freeipmi/Makefile Thu Oct 10 14:31:52 2013 (r330002) @@ -12,11 +12,11 @@ COMMENT= Library and tools to support IP LICENSE= GPLv3 -LIB_DEPENDS= argp:${PORTSDIR}/devel/argp-standalone \ - gcrypt:${PORTSDIR}/security/libgcrypt +LIB_DEPENDS= libargp.so:${PORTSDIR}/devel/argp-standalone \ + libgcrypt.so:${PORTSDIR}/security/libgcrypt OPTIONS_DEFINE= DEBUG DOCS IOPERM -IOPERM_DESC= Use i386_set_ioperm (i386/amd64 only) +IOPERM_DESC= Use i386_set_ioperm CONFIGURE_ARGS= --disable-init-scripts \ --localstatedir=/var \ @@ -25,53 +25,32 @@ CONFIGURE_ARGS= --disable-init-scripts \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig CONFIGURE_ENV= PTHREAD_LIBS=-pthread ac_cv_path_CPP=${CPP} CPPFLAGS+= -I${LOCALBASE}/include +MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib ONLY_FOR_ARCHS= i386 amd64 -ONLY_FOR_ARCHS_REASON= "invokes i386 asm" +ONLY_FOR_ARCHS_REASON= invokes i386 asm USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -USES= gmake +USES= gmake shebangfix INFO= freeipmi-faq -MAN3= libfreeipmi.3 libipmiconsole.3 libipmidetect.3 libipmimonitoring.3 -MAN5= bmc-config.conf.5 freeipmi.conf.5 freeipmi_interpret_sel.conf.5 \ - freeipmi_interpret_sensor.conf.5 ipmi_monitoring_sensors.conf.5 \ - ipmiconsole.conf.5 ipmidetect.conf.5 ipmidetectd.conf.5 \ - ipmimonitoring.conf.5 ipmimonitoring_sensors.conf.5 \ - ipmipower.conf.5 ipmiseld.conf.5 libipmiconsole.conf.5 \ - libipmimonitoring.conf.5 -MAN7= freeipmi.7 -MAN8= bmc-config.8 bmc-device.8 bmc-info.8 bmc-watchdog.8 \ - ipmi-chassis.8 ipmi-chassis-config.8 ipmi-console.8 ipmi-dcmi.8 \ - ipmi-detect.8 ipmi-fru.8 ipmi-locate.8 ipmi-oem.8 \ - ipmi-pef-config.8 ipmi-pet.8 ipmi-ping.8 ipmi-power.8 \ - ipmi-raw.8 ipmi-sel.8 ipmi-sensors.8 ipmi-sensors-config.8 \ - ipmiconsole.8 ipmidetect.8 ipmidetectd.8 ipmimonitoring.8 \ - ipmiping.8 ipmipower.8 ipmiseld.8 pef-config.8 rmcp-ping.8 \ - rmcpping.8 PLIST_SUB= CACHE_DIR=${CACHE_DIR} LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR} CACHE_DIR?= /var/db/${PORTNAME} LOG_DIR= /var/log/${PORTNAME} RUN_DIR= /var/lib/${PORTNAME} -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+=--enable-debug --enable-trace -.endif - -.if ${PORT_OPTIONS:MIOPERM} -CPPFLAGS+= -DUSE_IOPERM -.endif - -.include +SHEBANG_FILES= contrib/ganglia/ganglia_ipmi_sensors.pl \ + contrib/nagios/nagios_ipmi_sensors.pl \ + contrib/pet/check_rmcpping \ + contrib/pet/petalert.pl + +DEBUG_CONFIGURE_ARGS= --enable-debug --enable-trace +DEBUG_MAKE_ENV= INSTALL_STRIP_FLAG="" +IOPERM_CPPFLAGS= -DUSE_IOPERM -.if ${PORT_OPTIONS:MIOPERM} && ${ARCH} == "amd64" && ${OSVERSION} < 800000 -BROKEN= IOPERM option is not available on FreeBSD/amd64 7.x -.endif +.include post-patch: @${FIND} ${WRKSRC} -name '*.man' -o -name '*.pre.in' | ${XARGS} -I % ${REINPLACE_CMD} -e '/^\.\\\"/ s|$$|"|' % @@ -85,7 +64,6 @@ post-patch: .endif post-install: - ${MKDIR} ${LOG_DIR}/ - ${CHMOD} 0700 ${CACHE_DIR}/ ${LOG_DIR}/ ${RUN_DIR}/ + ${MKDIR} -m 0700 ${CACHE_DIR}/ipmimonitoringsdrcache ${LOG_DIR}/ ${RUN_DIR}/ -.include +.include Modified: head/sysutils/freeipmi/pkg-plist ============================================================================== --- head/sysutils/freeipmi/pkg-plist Thu Oct 10 14:08:01 2013 (r330001) +++ head/sysutils/freeipmi/pkg-plist Thu Oct 10 14:31:52 2013 (r330002) @@ -189,6 +189,55 @@ libdata/pkgconfig/libfreeipmi.pc libdata/pkgconfig/libipmiconsole.pc libdata/pkgconfig/libipmidetect.pc libdata/pkgconfig/libipmimonitoring.pc +man/man3/libfreeipmi.3.gz +man/man3/libipmiconsole.3.gz +man/man3/libipmidetect.3.gz +man/man3/libipmimonitoring.3.gz +man/man5/bmc-config.conf.5.gz +man/man5/freeipmi.conf.5.gz +man/man5/freeipmi_interpret_sel.conf.5.gz +man/man5/freeipmi_interpret_sensor.conf.5.gz +man/man5/ipmi_monitoring_sensors.conf.5.gz +man/man5/ipmiconsole.conf.5.gz +man/man5/ipmidetect.conf.5.gz +man/man5/ipmidetectd.conf.5.gz +man/man5/ipmimonitoring.conf.5.gz +man/man5/ipmimonitoring_sensors.conf.5.gz +man/man5/ipmipower.conf.5.gz +man/man5/ipmiseld.conf.5.gz +man/man5/libipmiconsole.conf.5.gz +man/man5/libipmimonitoring.conf.5.gz +man/man7/freeipmi.7.gz +man/man8/bmc-config.8.gz +man/man8/bmc-device.8.gz +man/man8/bmc-info.8.gz +man/man8/bmc-watchdog.8.gz +man/man8/ipmi-chassis.8.gz +man/man8/ipmi-chassis-config.8.gz +man/man8/ipmi-console.8.gz +man/man8/ipmi-dcmi.8.gz +man/man8/ipmi-detect.8.gz +man/man8/ipmi-fru.8.gz +man/man8/ipmi-locate.8.gz +man/man8/ipmi-oem.8.gz +man/man8/ipmi-pef-config.8.gz +man/man8/ipmi-pet.8.gz +man/man8/ipmi-ping.8.gz +man/man8/ipmi-power.8.gz +man/man8/ipmi-raw.8.gz +man/man8/ipmi-sel.8.gz +man/man8/ipmi-sensors.8.gz +man/man8/ipmi-sensors-config.8.gz +man/man8/ipmiconsole.8.gz +man/man8/ipmidetect.8.gz +man/man8/ipmidetectd.8.gz +man/man8/ipmimonitoring.8.gz +man/man8/ipmiping.8.gz +man/man8/ipmipower.8.gz +man/man8/ipmiseld.8.gz +man/man8/pef-config.8.gz +man/man8/rmcp-ping.8.gz +man/man8/rmcpping.8.gz sbin/bmc-config sbin/bmc-device sbin/bmc-info @@ -277,17 +326,16 @@ sbin/rmcpping %%PORTDOCS%%%%DOCSDIR%%/freeipmi-libraries.txt %%PORTDOCS%%%%DOCSDIR%%/freeipmi-oem-documentation-requirements.txt %%PORTDOCS%%%%DOCSDIR%%/freeipmi-testing.txt +@exec mkdir -m 0700 -p %%CACHE_DIR%%/ipmimonitoringsdrcache %%LOG_DIR%% %%RUN_DIR%% +@exec touch %%RUN_DIR%%/ipckey +@unexec rm -f %%RUN_DIR%%/ipckey +@unexec rmdir %%CACHE_DIR%%/ipmimonitoringsdrcache %%CACHE_DIR%% %%LOG_DIR%% %%RUN_DIR%% 2>/dev/null || true %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib/pet %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib/nagios %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib/libipmimonitoring %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib/ganglia %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec mkdir -p %%CACHE_DIR%%/ipmimonitoringsdrcache %%LOG_DIR%% %%RUN_DIR%% -@exec touch %%RUN_DIR%%/ipckey -@exec chmod 0700 %%CACHE_DIR%% %%LOG_DIR%% %%RUN_DIR%% -@unexec rm -f %%RUN_DIR%%/ipckey -@unexec rmdir %%CACHE_DIR%%/ipmimonitoringsdrcache %%CACHE_DIR%% %%LOG_DIR%% %%RUN_DIR%% 2>/dev/null || true @dirrm include/freeipmi/util @dirrm include/freeipmi/templates @dirrm include/freeipmi/spec