From nobody@FreeBSD.org  Sat Jul 25 23:40:13 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 158541065674
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jul 2009 23:40:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id ED0CE8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jul 2009 23:40:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6PNeCsL005517
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 25 Jul 2009 23:40:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n6PNeCPe005516;
	Sat, 25 Jul 2009 23:40:12 GMT
	(envelope-from nobody)
Message-Id: <200907252340.n6PNeCPe005516@www.freebsd.org>
Date: Sat, 25 Jul 2009 23:40:12 GMT
From: Kouki Hashimoto <hsmtkk@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: sysutils/powerman update from 2.3.4 to 2.3.5
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         137143
>Category:       ports
>Synopsis:       Update port: sysutils/powerman update from 2.3.4 to 2.3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    arved
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 25 23:50:01 UTC 2009
>Closed-Date:    Sun Jul 26 11:26:17 UTC 2009
>Last-Modified:  Sun Jul 26 11:30:05 UTC 2009
>Originator:     Kouki Hashimoto
>Release:        8.0-BETA2
>Organization:
>Environment:
FreeBSD black.xenon.homeunix.net 8.0-BETA2 FreeBSD 8.0-BETA2 #1: Sat Jul 25 15:25:53 JST 2009     root@black.xenon.homeunix.net:/usr/obj/usr/src/sys/BLACK  i386
>Description:
Update port: sysutils/powerman
update from 2.3.4 to 2.3.5

changes
1. update PORTVERSION
2. add ftp/curl to BUILD_DEPENDS
3. update pkg-plist
4. fix patch-scripts-Makefile.in to apply cleanly
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -r 64f59ecaf832 Makefile
--- a/Makefile	Sun Jul 26 07:59:15 2009 +0900
+++ b/Makefile	Sun Jul 26 08:32:35 2009 +0900
@@ -5,14 +5,14 @@
 # $FreeBSD: ports/sysutils/powerman/Makefile,v 1.8 2009/02/16 13:25:42 jadawin Exp $
 
 PORTNAME=	powerman
-PORTVERSION=	2.3.4
-#PORTREVISION=	1
+PORTVERSION=	2.3.5
 CATEGORIES=	sysutils parallel
 MASTER_SITES=	SF/powerman
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	PowerMan is a tool for doing remote power control
 
+BUILD_DEPENDS=	${LOCALBASE}/include/curl/curl.h:${PORTSDIR}/ftp/curl
 LIB_DEPENDS=	curl.5:${PORTSDIR}/ftp/curl
 
 USE_PERL5_BUILD=	yes
@@ -24,7 +24,7 @@
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	powerman.sh
 
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include -DHAVE_CURL
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		pm.1 powerman.1
diff -r 64f59ecaf832 distinfo
--- a/distinfo	Sun Jul 26 07:59:15 2009 +0900
+++ b/distinfo	Sun Jul 26 08:32:35 2009 +0900
@@ -1,3 +1,3 @@
-MD5 (powerman-2.3.4.tar.bz2) = f47c7725b426b0a776a4980d8628471e
-SHA256 (powerman-2.3.4.tar.bz2) = 449fd9c2fa1ba4d3bd366fc5421fbf4fb185e28aa16188fb68dd55fe1fc71d88
-SIZE (powerman-2.3.4.tar.bz2) = 405351
+MD5 (powerman-2.3.5.tar.bz2) = 9b45c1eef39eafd8f7c750e316c7e4dc
+SHA256 (powerman-2.3.5.tar.bz2) = 4caa03e925ed086c5c9886c0335e0646cb099e65ba213a43d34ec04432fd5d7a
+SIZE (powerman-2.3.5.tar.bz2) = 410179
diff -r 64f59ecaf832 files/patch-scripts-Makefile.in
--- a/files/patch-scripts-Makefile.in	Sun Jul 26 07:59:15 2009 +0900
+++ b/files/patch-scripts-Makefile.in	Sun Jul 26 08:32:35 2009 +0900
@@ -1,5 +1,5 @@
---- scripts/Makefile.in.orig	2009-02-13 18:58:48.000000000 +0100
-+++ scripts/Makefile.in	2009-02-13 18:59:00.000000000 +0100
+--- 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:
@@ -8,6 +8,6 @@
 -	$(top_srcdir)/config/install-sh -m 755 $(srcdir)/powerman.init \
 -		$(DESTDIR)$(sysconfdir)/init.d/powerman
 -	-$(top_srcdir)/config/install-sh -m 755 -d \
- 		$(DESTDIR)$(localstatedir)/run
- 	-$(top_srcdir)/config/install-sh -o $(RUN_AS_USER) -m 755 -d \
- 		$(DESTDIR)$(localstatedir)/run/powerman
+ 		$(DESTDIR)$(libdir)/stonith/plugins/external
+ 	$(top_srcdir)/config/install-sh -m 755 $(srcdir)/stonith-powerman \
+ 		$(DESTDIR)$(libdir)/stonith/plugins/external/powerman


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Jul 26 09:56:54 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137143 
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Sun Jul 26 10:01:28 UTC 2009 
State-Changed-Why:  
pkg-plist changes are missing in submitted patch. 
curl needs to be LIB_DEPEND. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137143 
Responsible-Changed-From-To: miwi->arved 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Jul 26 10:14:17 UTC 2009 
Responsible-Changed-Why:  
have fun :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137143 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Sun Jul 26 11:26:11 UTC 2009 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137143 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137143: commit references a PR
Date: Sun, 26 Jul 2009 11:26:32 +0000 (UTC)

 arved       2009-07-26 11:26:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/powerman    Makefile distinfo pkg-plist 
     sysutils/powerman/files patch-scripts-Makefile.in 
   Log:
   Update to 2.3.5
   
   PR:             137143
   Submitted by:   Kouki Hashimoto
   
   Revision  Changes    Path
   1.9       +3 -4      ports/sysutils/powerman/Makefile
   1.5       +3 -3      ports/sysutils/powerman/distinfo
   1.2       +5 -5      ports/sysutils/powerman/files/patch-scripts-Makefile.in
   1.4       +10 -0     ports/sysutils/powerman/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
