svn commit: r383847 - head/sysutils/powerman
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Apr 12 09:23:47 UTC 2015
Author: danfe
Date: Sun Apr 12 09:23:44 2015
New Revision: 383847
URL: https://svnweb.freebsd.org/changeset/ports/383847
Log:
- Update to version 2.3.20 (project moved to GitHub)
- Provide detailed port description (obtained upstream)
- Remove bogus ${DESTDIR} reference from --localstatedir
- Install stripped binaries via `install-strip' (and
teach configure script that elftoolchain's strip(1)
can strip libraries); sort pkg-plist while here
PR: 199250
Modified:
head/sysutils/powerman/Makefile
head/sysutils/powerman/distinfo
head/sysutils/powerman/pkg-descr
head/sysutils/powerman/pkg-plist
Modified: head/sysutils/powerman/Makefile
==============================================================================
--- head/sysutils/powerman/Makefile Sun Apr 12 09:13:08 2015 (r383846)
+++ head/sysutils/powerman/Makefile Sun Apr 12 09:23:44 2015 (r383847)
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= powerman
-PORTVERSION= 2.3.16
-PORTREVISION= 2
+PORTVERSION= 2.3.20
CATEGORIES= sysutils parallel
-MASTER_SITES= GOOGLE_CODE
+MASTER_SITES= https://github.com/chaos/powerman/releases/download/${PORTVERSION}/
MAINTAINER= ports at FreeBSD.org
COMMENT= Tool for doing remote power control
@@ -17,9 +16,10 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/
USES= libtool perl5
USE_PERL5= build
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-httppower --localstatedir=${DESTDIR}/var \
+CONFIGURE_ARGS= --with-httppower --localstatedir=/var \
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
USE_RC_SUBR= powerman
@@ -27,6 +27,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
+ @${REINPLACE_CMD} -e 's,GREP "GNU strip",EGREP "GNU|elftoolchain",' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^install-data-am/s|:.*|:|' ${WRKSRC}/scripts/Makefile.in
Modified: head/sysutils/powerman/distinfo
==============================================================================
--- head/sysutils/powerman/distinfo Sun Apr 12 09:13:08 2015 (r383846)
+++ head/sysutils/powerman/distinfo Sun Apr 12 09:23:44 2015 (r383847)
@@ -1,2 +1,2 @@
-SHA256 (powerman-2.3.16.tar.gz) = 5ab2846d15a93917fe79190f7a7609c3c2e128c03d040edf365fbd4f80a985b2
-SIZE (powerman-2.3.16.tar.gz) = 615696
+SHA256 (powerman-2.3.20.tar.gz) = a4b0858d1214aab18e2673596b00ac9bad976cb7b777209e10732467c3551b88
+SIZE (powerman-2.3.20.tar.gz) = 620248
Modified: head/sysutils/powerman/pkg-descr
==============================================================================
--- head/sysutils/powerman/pkg-descr Sun Apr 12 09:13:08 2015 (r383846)
+++ head/sysutils/powerman/pkg-descr Sun Apr 12 09:23:44 2015 (r383847)
@@ -1,6 +1,18 @@
-PowerMan is a tool for manipulating remote power control (RPC)
-devices from a central location. Several RPC varieties are supported
-natively by PowerMan and Expect-like configurability simplifies the
-addition of new devices.
+powerman is free Unix/Linux software that controls (remotely and in
+parallel) switched power distribution units. It was designed for remote
+power control of Linux systems in a data center or cluster environment, but
+has been used in other environments such as embedded management appliances,
+home automation, and high availability service management.
-WWW: http://code.google.com/p/powerman/
+powerman can be extended to support new devices using an expect-like
+scripting language. It communicates with devices natively using telnet,
+raw socket, and serial protocols. It also can drive virtual power control
+devices via a coprocess interface. The coprocess mechanism has been used
+to extend powerman to communicate with devices using other protocols such
+as SNMP, IPMI, Insteon, X-10, and VXI-11.
+
+powerman can control equipment connected using any combination of the above
+methods and provide unified naming for the equipment and parallel execution
+of control actions.
+
+WWW: https://github.com/chaos/powerman
Modified: head/sysutils/powerman/pkg-plist
==============================================================================
--- head/sysutils/powerman/pkg-plist Sun Apr 12 09:13:08 2015 (r383846)
+++ head/sysutils/powerman/pkg-plist Sun Apr 12 09:23:44 2015 (r383847)
@@ -5,6 +5,7 @@ bin/powerman
%%ETCDIR%%/apc7900.dev
%%ETCDIR%%/apc7900v3.dev
%%ETCDIR%%/apc7920.dev
+%%ETCDIR%%/apc8941.dev
%%ETCDIR%%/apcnew.dev
%%ETCDIR%%/apcold.dev
%%ETCDIR%%/apcpdu.dev
@@ -59,10 +60,6 @@ lib/libpowerman.so.0
lib/libpowerman.so.0.0.0
lib/stonith/plugins/external/powerman
libdata/pkgconfig/libpowerman.pc
-sbin/httppower
-sbin/plmpower
-sbin/powermand
-sbin/vpcd
man/man1/pm.1.gz
man/man1/powerman.1.gz
man/man3/libpowerman.3.gz
@@ -72,4 +69,8 @@ man/man8/httppower.8.gz
man/man8/plmpower.8.gz
man/man8/powermand.8.gz
man/man8/vpcd.8.gz
+sbin/httppower
+sbin/plmpower
+sbin/powermand
+sbin/vpcd
@dir /var/run/powerman
More information about the svn-ports-all
mailing list