public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-power/powerman: powerman-2.3.9.ebuild ChangeLog
@ 2014-05-12 10:19 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2014-05-12 10:19 UTC (permalink / raw
  To: gentoo-commits

ssuominen    14/05/12 10:19:16

  Modified:             powerman-2.3.9.ebuild ChangeLog
  Log:
  Let the init script handle creating /var/run/powerman wrt #450538. Convert from EAPI 1 to 5.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

Revision  Changes    Path
1.2                  sys-power/powerman/powerman-2.3.9.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild?r1=1.1&r2=1.2

Index: powerman-2.3.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- powerman-2.3.9.ebuild	2 Apr 2011 18:07:37 -0000	1.1
+++ powerman-2.3.9.ebuild	12 May 2014 10:19:16 -0000	1.2
@@ -1,36 +1,38 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild,v 1.1 2011/04/02 18:07:37 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild,v 1.2 2014/05/12 10:19:16 ssuominen Exp $
 
-EAPI="1"
+EAPI=5
 
 DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management"
 HOMEPAGE="http://code.google.com/p/powerman/"
 SRC_URI="http://powerman.googlecode.com/files/${P}.tar.gz"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+httppower -snmppower -h8power +genders"
+
 DEPEND="sys-devel/bison
 	httppower? ( net-misc/curl )
 	snmppower? ( net-analyzer/net-snmp )
 	!app-accessibility/speech-tools"
 RDEPEND=">=sys-libs/freeipmi-0.2.3"
 
-src_compile() {
+src_configure() {
 	# Powerman stores the pidfile under $localstatedir/run.
 	# It's set to /var/lib in the release, but in gentoo pidfiles live under /var/run.
-	econf --localstatedir="/var" \
+	econf \
+		--localstatedir=/var \
 		$(use_with httppower) \
 		$(use_with snmppower) \
 		$(use_with h8power) \
 		$(use_with genders)
-	emake || die
 }
 
 src_install() {
-	emake DESTDIR="${D}" -j1 install || die
-	rm -f "${D}/etc/init.d/powerman"
-	doinitd "${FILESDIR}/powerman" || die
+	emake DESTDIR="${D}" -j1 install
+	rm -rf "${D}"/{etc/init.d/${PN},var/run}
+	doinitd "${FILESDIR}"/${PN}
 	dodoc AUTHORS ChangeLog DISCLAIMER NEWS TODO
 }



1.14                 sys-power/powerman/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powerman/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	12 May 2014 10:14:58 -0000	1.13
+++ ChangeLog	12 May 2014 10:19:16 -0000	1.14
@@ -1,6 +1,11 @@
 # ChangeLog for sys-power/powerman
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.13 2014/05/12 10:14:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.14 2014/05/12 10:19:16 ssuominen Exp $
+
+  12 May 2014; Samuli Suominen <ssuominen@gentoo.org> files/powerman,
+  powerman-2.3.9.ebuild:
+  Let the init script handle creating /var/run/powerman wrt #450538. Convert
+  from EAPI 1 to 5.
 
   12 May 2014; Samuli Suominen <ssuominen@gentoo.org> -powerman-2.3.4-r1.ebuild,
   -powerman-2.3.5.ebuild, -powerman-2.3.ebuild:





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-12 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 10:19 [gentoo-commits] gentoo-x86 commit in sys-power/powerman: powerman-2.3.9.ebuild ChangeLog Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox