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 /app-misc/misterhouse
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 'app-misc/misterhouse')
-rw-r--r--app-misc/misterhouse/Manifest2
-rw-r--r--app-misc/misterhouse/files/misterhouse.conf12
-rwxr-xr-xapp-misc/misterhouse/files/misterhouse.init18
-rw-r--r--app-misc/misterhouse/metadata.xml10
-rw-r--r--app-misc/misterhouse/misterhouse-2.103.ebuild50
-rw-r--r--app-misc/misterhouse/misterhouse-2.105.ebuild52
6 files changed, 144 insertions, 0 deletions
diff --git a/app-misc/misterhouse/Manifest b/app-misc/misterhouse/Manifest
new file mode 100644
index 000000000000..7880aed61968
--- /dev/null
+++ b/app-misc/misterhouse/Manifest
@@ -0,0 +1,2 @@
+DIST misterhouse-2.103.tar.gz 7417915 SHA256 e96c09e61486036f36cf0ffd9837a82e5edc5d0681c8652f80edf085702f7780 SHA512 41fa6d2220345df1b01bebed2d9803911f970eea9f98418e7df08537b3e1c563c0996b831276115c30a2f760e92d0df29b0053a2bfc117299f4caae9c7456870 WHIRLPOOL 2fc2269707e0d8e5f21d77b3f66643c11f579c73622e6f81936f966cab4ee5a912361df31f4ceeff81a715bbbcaccc5e9ceaaba5a2cc5ddd5e1e0c9a780a8785
+DIST misterhouse-2.105.tar.gz 8647595 SHA256 f2c8100a4c1f1c050a66310d6ddc8bf8a0d6fa7396829683877fc9b431739cbf SHA512 305601d953b2f7de1e8cb95a76b24aedb1615e3b874e2f999854172c9bec3da2ec13e0777cd0a4c15b6d92daffb34df761ae28bca4147e7435b280e00da3c14c WHIRLPOOL ebd12a5980cefc30610530d4d133aa07508daa045032e45117c59f6b3e41ae090416d4c513c1352ce8fa95789dc1614711ae203315c2db846fa7b064140e6840
diff --git a/app-misc/misterhouse/files/misterhouse.conf b/app-misc/misterhouse/files/misterhouse.conf
new file mode 100644
index 000000000000..6b6abbaeb63b
--- /dev/null
+++ b/app-misc/misterhouse/files/misterhouse.conf
@@ -0,0 +1,12 @@
+# Config file for /etc/init.d/misterhouse
+
+# NOTICE: This stub file can contains any overrides to the default
+# mh.ini. Anything not listed in here will be pulled from the main
+# mh.ini file.
+
+
+# Disable launching the tk gui - this is being run from init.d after all :)
+tk=0
+
+# Override the pid file location
+pid_file=/var/run/misterhouse.pid
diff --git a/app-misc/misterhouse/files/misterhouse.init b/app-misc/misterhouse/files/misterhouse.init
new file mode 100755
index 000000000000..bd3d72b39548
--- /dev/null
+++ b/app-misc/misterhouse/files/misterhouse.init
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+
+depend() {
+ need clock hostname net
+}
+
+start() {
+ export mh_parms="/etc/conf.d/misterhouse"
+ ebegin "Starting misterhouse"
+ start-stop-daemon --start --background --exec /opt/misterhouse/bin/mh -- -log_file="/var/log/misterhouse.log"
+ eend $? "Failed to start misterhouse"
+}
+
+stop() {
+ ebegin "Stopping misterhouse"
+ start-stop-daemon --stop --quiet --pidfile /var/run/misterhouse.pid
+ eend $? "Failed to stop misterhouse"
+}
diff --git a/app-misc/misterhouse/metadata.xml b/app-misc/misterhouse/metadata.xml
new file mode 100644
index 000000000000..dd245b1d22bf
--- /dev/null
+++ b/app-misc/misterhouse/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">misterhouse</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/misterhouse/misterhouse-2.103.ebuild b/app-misc/misterhouse/misterhouse-2.103.ebuild
new file mode 100644
index 000000000000..6015f56bb58b
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.103.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="tk mysql"
+
+QA_PREBUILT="opt/misterhouse/bin/viavoice_server"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/perl-tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse"
+ cp -r "${S}/code" "${D}/opt/misterhouse"
+ cp -r "${S}/data" "${D}/opt/misterhouse"
+ for a in "${S}"/docs/*; do
+ dodoc ${a}
+ done
+ dosym /usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse"
+ cp -r "${S}/sounds" "${D}/opt/misterhouse"
+ cp -r "${S}/web" "${D}/opt/misterhouse"
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}
diff --git a/app-misc/misterhouse/misterhouse-2.105.ebuild b/app-misc/misterhouse/misterhouse-2.105.ebuild
new file mode 100644
index 000000000000..985312320572
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.105.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk mysql"
+
+S="${WORKDIR}/mh"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/perl-tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse" || die
+ cp -r "${S}/code" "${D}/opt/misterhouse" || die
+ cp -r "${S}/data" "${D}/opt/misterhouse" || die
+ for a in "${S}"/docs/*; do
+ dodoc ${a} || die
+ done
+ dosym /usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse" || die
+ cp -r "${S}/sounds" "${D}/opt/misterhouse" || die
+ cp -r "${S}/web" "${D}/opt/misterhouse" || die
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}