summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-power/sispmctl
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-power/sispmctl')
-rw-r--r--sys-power/sispmctl/Manifest2
-rw-r--r--sys-power/sispmctl/metadata.xml21
-rw-r--r--sys-power/sispmctl/sispmctl-2.7.ebuild26
-rw-r--r--sys-power/sispmctl/sispmctl-3.1.ebuild45
4 files changed, 94 insertions, 0 deletions
diff --git a/sys-power/sispmctl/Manifest b/sys-power/sispmctl/Manifest
new file mode 100644
index 00000000000..ac65ee868cc
--- /dev/null
+++ b/sys-power/sispmctl/Manifest
@@ -0,0 +1,2 @@
+DIST sispmctl-2.7.tar.gz 192388 SHA256 d24d34fc7e14992ac822cef3c5567b04a077cfc96252b0a6fb238c8a272c16f4 SHA512 c04ce9a4b1a9e220c22f92355891a3b2872022dc27fd2489772393fb9edd521bd963070beb480a992c65adaab649ed107f17d1898c883817f1e3fc4ac110649e WHIRLPOOL ac05e3ea079e8a55818cfe78f4e6e155d27cc43aaccd3f3585f9d09a214dca3c6a1797b58abadfb5914a205461338a6e9e9285ee89af98288796d8c60e2320aa
+DIST sispmctl-3.1.tar.gz 251896 SHA256 e9a99cc81ef0a93f3484e5093efd14d93cc967221fcd22c151f0bea32eb91da7 SHA512 2942c8f1c9e4d259667d384b9dca72569fac8c3c775e68f88599eb6f339b63d92c8226a406f998830af24ea9144ed75291bcc652293a870123925fe235c31d03 WHIRLPOOL 8f7ad31eb917456dacd0e09feb94fa04e8e1cdceb25626a0ce36004d117750146d50abd458913d0770cf2b3ef133cda8162a64809592015ae5080957d12aeced
diff --git a/sys-power/sispmctl/metadata.xml b/sys-power/sispmctl/metadata.xml
new file mode 100644
index 00000000000..2df43263106
--- /dev/null
+++ b/sys-power/sispmctl/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <use>
+ <flag name="gemplug">Install gemplug (management script)</flag>
+ </use>
+ <longdescription>
+sispmctl is an application enabling the use of the GEMBIRD
+SilverShield PowerManager (SiS-PM) device under Linux.
+The SiS-PM is an intelligent advanced surge protector with
+4 of 6 sockets being manageable from the PC via USB.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">sispmctl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-power/sispmctl/sispmctl-2.7.ebuild b/sys-power/sispmctl/sispmctl-2.7.ebuild
new file mode 100644
index 00000000000..6b094279401
--- /dev/null
+++ b/sys-power/sispmctl/sispmctl-2.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+
+DESCRIPTION="GEMBIRD SiS-PM control utility"
+HOMEPAGE="http://sispmctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sispmctl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf --enable-webless
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README ChangeLog NEWS
+}
diff --git a/sys-power/sispmctl/sispmctl-3.1.ebuild b/sys-power/sispmctl/sispmctl-3.1.ebuild
new file mode 100644
index 00000000000..3852b340e50
--- /dev/null
+++ b/sys-power/sispmctl/sispmctl-3.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="GEMBIRD SiS-PM control utility"
+HOMEPAGE="http://sispmctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sispmctl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gemplug"
+
+RDEPEND="virtual/libusb:0
+ gemplug? ( sys-process/at )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf --enable-webless
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README ChangeLog NEWS
+
+ ## gemplug
+ if use gemplug; then
+ sed -i "s|/usr/local/bin/sispmctl|${ROOT:-/}usr/bin/sispmctl|g" extras/gemplug/gemplug
+ dobin extras/gemplug/gemplug
+ doman extras/gemplug/gemplug.1
+
+ insinto /lib/udev/rules.d
+ doins extras/gemplug/74-sispmctl.rules
+
+ newbashcomp extras/gemplug/gemplug-completion.sh gemplug
+
+ einfo "To be able to use the locking mechanism of gemplug(1),"
+ einfo "add the users who are designated to run gemplug to the"
+ einfo "group 'uucp' which has write permissions to /var/lock."
+ fi
+}