diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:29:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-08-26 04:29:08 +0000 |
commit | bf147adc3862d889bfe7bbacc53325860b2e251b (patch) | |
tree | a94364bc6b00ef8ed033d309ee6773e97f4f65d6 /sysutils/powerman | |
parent | bac11a79435a65283a4af66367497132728bb5a4 (diff) | |
download | ports-bf147adc3862d889bfe7bbacc53325860b2e251b.tar.gz ports-bf147adc3862d889bfe7bbacc53325860b2e251b.zip |
Notes
Diffstat (limited to 'sysutils/powerman')
-rw-r--r-- | sysutils/powerman/Makefile | 28 | ||||
-rw-r--r-- | sysutils/powerman/distinfo | 4 | ||||
-rw-r--r-- | sysutils/powerman/files/patch-scripts-Makefile.in | 13 | ||||
-rw-r--r-- | sysutils/powerman/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/powerman/pkg-plist | 85 |
5 files changed, 65 insertions, 67 deletions
diff --git a/sysutils/powerman/Makefile b/sysutils/powerman/Makefile index ee6a7a9d015f..9db70a3b1539 100644 --- a/sysutils/powerman/Makefile +++ b/sysutils/powerman/Makefile @@ -5,34 +5,38 @@ # $FreeBSD$ PORTNAME= powerman -PORTVERSION= 2.3.5 -PORTREVISION= 1 +PORTVERSION= 2.3.9 CATEGORIES= sysutils parallel -MASTER_SITES= SF +MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org -COMMENT= PowerMan is a tool for doing remote power control +COMMENT= A tool for doing remote power control -BROKEN= does not fetch +LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl -USE_PERL5_BUILD= yes -USE_BZIP2= yes +USE_PERL5_BUILD=yes GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-httppower --localstatedir=${DESTDIR}/var \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig -CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" USE_LDCONFIG= yes -USE_RC_SUBR= powerman.sh +MAKE_JOBS_SAFE= yes -CFLAGS+= -I${LOCALBASE}/include -DHAVE_CURL -LDFLAGS+= -L${LOCALBASE}/lib +USE_RC_SUBR= powerman.sh MAN1= pm.1 powerman.1 MAN3= libpowerman.3 MAN5= powerman.conf.5 powerman.dev.5 -MAN7= powerman-devices.7 MAN8= httppower.8 plmpower.8 powermand.8 vpcd.8 +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +post-patch: + @${REINPLACE_CMD} -e \ + '/^install-data-am/s|:.*|:|' ${WRKSRC}/scripts/Makefile.in + .include <bsd.port.mk> diff --git a/sysutils/powerman/distinfo b/sysutils/powerman/distinfo index 9198570af308..3d2ee72a548d 100644 --- a/sysutils/powerman/distinfo +++ b/sysutils/powerman/distinfo @@ -1,2 +1,2 @@ -SHA256 (powerman-2.3.5.tar.bz2) = 4caa03e925ed086c5c9886c0335e0646cb099e65ba213a43d34ec04432fd5d7a -SIZE (powerman-2.3.5.tar.bz2) = 410179 +SHA256 (powerman-2.3.9.tar.gz) = d669767b037e38ee339c01b5b02fe586027489addcd59c45d9d5061d6ca0365f +SIZE (powerman-2.3.9.tar.gz) = 654883 diff --git a/sysutils/powerman/files/patch-scripts-Makefile.in b/sysutils/powerman/files/patch-scripts-Makefile.in deleted file mode 100644 index ffbb56a180ad..000000000000 --- a/sysutils/powerman/files/patch-scripts-Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- scripts/Makefile.in.orig 2009-07-26 08:01:17.510482199 +0900 -+++ scripts/Makefile.in 2009-07-26 08:02:53.221139841 +0900 -@@ -371,10 +371,6 @@ - - install-data-local: - -$(top_srcdir)/config/install-sh -m 755 -d \ -- $(DESTDIR)$(sysconfdir)/init.d -- $(top_srcdir)/config/install-sh -m 755 $(srcdir)/powerman.init \ -- $(DESTDIR)$(sysconfdir)/init.d/powerman -- -$(top_srcdir)/config/install-sh -m 755 -d \ - $(DESTDIR)$(libdir)/stonith/plugins/external - $(top_srcdir)/config/install-sh -m 755 $(srcdir)/stonith-powerman \ - $(DESTDIR)$(libdir)/stonith/plugins/external/powerman diff --git a/sysutils/powerman/pkg-descr b/sysutils/powerman/pkg-descr index d09631b23226..2f97777fe3b5 100644 --- a/sysutils/powerman/pkg-descr +++ b/sysutils/powerman/pkg-descr @@ -3,4 +3,4 @@ devices from a central location. Several RPC varieties are supported natively by PowerMan and Expect-like configurability simplifies the addition of new devices. -WWW: http://powerman.sf.net/ +WWW: http://code.google.com/p/powerman/ diff --git a/sysutils/powerman/pkg-plist b/sysutils/powerman/pkg-plist index f0828d7620c3..227a3d786103 100644 --- a/sysutils/powerman/pkg-plist +++ b/sysutils/powerman/pkg-plist @@ -1,44 +1,51 @@ @stopdaemon powerman bin/pm bin/powerman -etc/powerman/apc.dev -etc/powerman/apc7900.dev -etc/powerman/apcnew.dev -etc/powerman/apcold.dev -etc/powerman/apcpdu.dev -etc/powerman/apcpdu3.dev -etc/powerman/bashfun.dev -etc/powerman/baytech-rpc28-nc.dev -etc/powerman/baytech-rpc3-nc.dev -etc/powerman/baytech.dev -etc/powerman/cb-7050.dev -etc/powerman/cyclades-pm10.dev -etc/powerman/cyclades-pm20.dev -etc/powerman/cyclades-pm42.dev -etc/powerman/cyclades-pm8.dev -etc/powerman/dli.dev -etc/powerman/hp3488.dev -etc/powerman/hpilo.dev -etc/powerman/hpmp.dev -etc/powerman/hpmpblade.dev -etc/powerman/hpmpcell.dev -etc/powerman/hpmpdome.dev -etc/powerman/ibmbladecenter.dev -etc/powerman/icebox.dev -etc/powerman/icebox3.dev -etc/powerman/ics8064.dev -etc/powerman/ilom.dev -etc/powerman/ipmi.dev -etc/powerman/ipmipower.dev -etc/powerman/lom.dev -etc/powerman/phantom.dev -etc/powerman/plmpower.dev -etc/powerman/powerman.conf.example -etc/powerman/powerman.dev -etc/powerman/swpdu.dev -etc/powerman/vpc.dev -etc/powerman/wti-rps10.dev -etc/powerman/wti.dev +%%ETCDIR%%/apc-snmp.dev +%%ETCDIR%%/apc.dev +%%ETCDIR%%/apc7900.dev +%%ETCDIR%%/apc7900v3.dev +%%ETCDIR%%/apc7920.dev +%%ETCDIR%%/apcnew.dev +%%ETCDIR%%/apcold.dev +%%ETCDIR%%/apcpdu.dev +%%ETCDIR%%/apcpdu3.dev +%%ETCDIR%%/appro-greenblade.dev +%%ETCDIR%%/bashfun.dev +%%ETCDIR%%/baytech-rpc28-nc.dev +%%ETCDIR%%/baytech-rpc3-nc.dev +%%ETCDIR%%/baytech-snmp.dev +%%ETCDIR%%/baytech.dev +%%ETCDIR%%/cb-7050.dev +%%ETCDIR%%/cyclades-pm10.dev +%%ETCDIR%%/cyclades-pm20.dev +%%ETCDIR%%/cyclades-pm42.dev +%%ETCDIR%%/cyclades-pm8.dev +%%ETCDIR%%/dli.dev +%%ETCDIR%%/eaton-epdu-blue-switched.dev +%%ETCDIR%%/eaton-revelation-snmp.dev +%%ETCDIR%%/hp3488.dev +%%ETCDIR%%/hpilo.dev +%%ETCDIR%%/hpmp.dev +%%ETCDIR%%/hpmpblade.dev +%%ETCDIR%%/hpmpcell.dev +%%ETCDIR%%/hpmpdome.dev +%%ETCDIR%%/ibmbladecenter.dev +%%ETCDIR%%/icebox.dev +%%ETCDIR%%/icebox3.dev +%%ETCDIR%%/ics8064.dev +%%ETCDIR%%/ilom.dev +%%ETCDIR%%/ipmi.dev +%%ETCDIR%%/ipmipower.dev +%%ETCDIR%%/lom.dev +%%ETCDIR%%/phantom.dev +%%ETCDIR%%/plmpower.dev +%%ETCDIR%%/powerman.conf.example +%%ETCDIR%%/powerman.dev +%%ETCDIR%%/swpdu.dev +%%ETCDIR%%/vpc.dev +%%ETCDIR%%/wti-rps10.dev +%%ETCDIR%%/wti.dev include/libpowerman.h lib/libpowerman.a lib/libpowerman.la @@ -53,7 +60,7 @@ sbin/vpcd @dirrm lib/stonith/plugins/external @dirrm lib/stonith/plugins @dirrm lib/stonith -@dirrmtry etc/powerman +@dirrmtry %%ETCDIR%% @cwd / @dirrmtry /var/run/powerman @cwd %%PREFIX%% |