public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-power/powerman/, sys-power/powerman/files/
@ 2016-04-29 19:32 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-04-29 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ecc07233048068a59e523877a4f98eb30b331ae2
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 19:24:27 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 19:32:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc07233

sys-power/powerman: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 sys-power/powerman/files/powerman           |  2 +-
 sys-power/powerman/powerman-2.3.9-r1.ebuild | 38 +++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/sys-power/powerman/files/powerman b/sys-power/powerman/files/powerman
index 02bb133..f5eef9c 100644
--- a/sys-power/powerman/files/powerman
+++ b/sys-power/powerman/files/powerman
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 
 depend() {
 	need net

diff --git a/sys-power/powerman/powerman-2.3.9-r1.ebuild b/sys-power/powerman/powerman-2.3.9-r1.ebuild
new file mode 100644
index 0000000..6746c34
--- /dev/null
+++ b/sys-power/powerman/powerman-2.3.9-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management"
+HOMEPAGE="https://code.google.com/p/powerman/"
+SRC_URI="https://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_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 \
+		$(use_with httppower) \
+		$(use_with snmppower) \
+		$(use_with h8power) \
+		$(use_with genders)
+}
+
+src_install() {
+	emake DESTDIR="${D}" -j1 install
+	rm -rf "${D}"/{etc/init.d/${PN},var/run}
+	doinitd "${FILESDIR}"/${PN}
+	dodoc AUTHORS ChangeLog DISCLAIMER NEWS TODO
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-power/powerman/, sys-power/powerman/files/
@ 2017-01-25 18:50 Johannes Huber
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber @ 2017-01-25 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     da0578081db25a8673e2c449f3cfc16b6e0cfcc8
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 18:43:46 2017 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 18:50:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da057808

sys-power/powerman: Remove last-rited pkg

Gentoo-bug: 489878

 sys-power/powerman/Manifest                 |  1 -
 sys-power/powerman/files/powerman           | 24 ------------------
 sys-power/powerman/metadata.xml             | 14 -----------
 sys-power/powerman/powerman-2.3.9-r1.ebuild | 38 -----------------------------
 4 files changed, 77 deletions(-)

diff --git a/sys-power/powerman/Manifest b/sys-power/powerman/Manifest
deleted file mode 100644
index 30e808a..00000000
--- a/sys-power/powerman/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST powerman-2.3.9.tar.gz 654883 SHA256 d669767b037e38ee339c01b5b02fe586027489addcd59c45d9d5061d6ca0365f SHA512 0c1817369ef358f617139792a203c4480128bae22ea484ad23e16f8091372e91bca33988cd27bd8c5e1f0fcb3321e68efa3a29ae3b477c2bf6d90c990a1940fc WHIRLPOOL 36d5e7b85e50cca59dcdffe72e1abcd61769b8c58a55cdfb1b306a2661acac5dda8bb39aa361504e0e48c585a7ad21033af27e9e6fe2d14c96b8e1caa79125d0

diff --git a/sys-power/powerman/files/powerman b/sys-power/powerman/files/powerman
deleted file mode 100644
index f5eef9c..00000000
--- a/sys-power/powerman/files/powerman
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
-	need net
-}
-
-start() {
-	ebegin "Starting powermand"
-
-	checkpath -q -d -m 0755 /var/run/powerman
-
-	start-stop-daemon --start \
-		--pidfile /var/run/powerman/powermand.pid \
-		--exec /usr/sbin/powermand
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping powermand"
-	start-stop-daemon --stop \
-		--pidfile /var/run/powerman/powermand.pid \
-		--exec /usr/sbin/powermand
-	eend $?
-}

diff --git a/sys-power/powerman/metadata.xml b/sys-power/powerman/metadata.xml
deleted file mode 100644
index 27493d1..00000000
--- a/sys-power/powerman/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<!-- maintainer-needed -->
-	<longdescription lang="en">Powerman provides power management in a data center or compute cluster
-	  environment.  It performs operations such as power on, power off, and
-	  power cycle via remote power controller (RPC) devices.</longdescription>
-	<use>
-		<flag name="httppower">Add support for HTTP based power controllers</flag>
-		<flag name="snmppower">Add support for SNMP based power controllers</flag>
-		<flag name="h8power">Add support for h8 based power controllers</flag>
-		<flag name="genders">Add support for selecting power control targets using genders (-g option)</flag>
-	</use>
-</pkgmetadata>

diff --git a/sys-power/powerman/powerman-2.3.9-r1.ebuild b/sys-power/powerman/powerman-2.3.9-r1.ebuild
deleted file mode 100644
index 5767874..00000000
--- a/sys-power/powerman/powerman-2.3.9-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management"
-HOMEPAGE="https://github.com/chaos/powerman"
-SRC_URI="https://github.com/chaos/${PN}/archive/${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_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 \
-		$(use_with httppower) \
-		$(use_with snmppower) \
-		$(use_with h8power) \
-		$(use_with genders)
-}
-
-src_install() {
-	emake DESTDIR="${D}" -j1 install
-	rm -rf "${D}"/{etc/init.d/${PN},var/run}
-	doinitd "${FILESDIR}"/${PN}
-	dodoc AUTHORS ChangeLog DISCLAIMER NEWS TODO
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-25 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-29 19:32 [gentoo-commits] repo/gentoo:master commit in: sys-power/powerman/, sys-power/powerman/files/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2017-01-25 18:50 Johannes Huber

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