summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-06-01 15:34:30 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-06-01 15:34:30 +0000
commitf10f0a17bee1b1a1908e83aec305c0d99d6853a3 (patch)
tree521095da582319de86591f279753b427d6899d06 /app-misc
parentAdd route metric option -m - fixes #76694 thanks to Andy Dustman (diff)
downloadhistorical-f10f0a17bee1b1a1908e83aec305c0d99d6853a3.tar.gz
historical-f10f0a17bee1b1a1908e83aec305c0d99d6853a3.tar.bz2
historical-f10f0a17bee1b1a1908e83aec305c0d99d6853a3.zip
bug 71006
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/misterhouse/ChangeLog11
-rw-r--r--app-misc/misterhouse/Manifest16
-rw-r--r--app-misc/misterhouse/files/digest-misterhouse-2.991
-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.99.ebuild52
7 files changed, 120 insertions, 0 deletions
diff --git a/app-misc/misterhouse/ChangeLog b/app-misc/misterhouse/ChangeLog
new file mode 100644
index 000000000000..9a1bf491d88f
--- /dev/null
+++ b/app-misc/misterhouse/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/misterhouse
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/misterhouse/ChangeLog,v 1.1 2005/06/01 15:34:30 mcummings Exp $
+
+*misterhouse-2.99 (01 Jun 2005)
+
+ 01 Jun 2005; Michael Cummings <mcummings@gentoo.org>
+ +files/misterhouse.conf, +files/misterhouse.init, +metadata.xml,
+ +misterhouse-2.99.ebuild:
+ Initial import, bug 71006, original ebuild by Henry Bauer
+
diff --git a/app-misc/misterhouse/Manifest b/app-misc/misterhouse/Manifest
new file mode 100644
index 000000000000..4e0489aeb787
--- /dev/null
+++ b/app-misc/misterhouse/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 ea1a839570baffe014586b77a7ac6eff misterhouse-2.99.ebuild 1337
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 359d2735cfa233b302653dbc04eb87ae ChangeLog 460
+MD5 9c95ecaf939bd98a500eae96af3b499c files/digest-misterhouse-2.99 69
+MD5 bc0a1f80d0ed2235d10b1830417d040b files/misterhouse.conf 344
+MD5 28f0e03c56faa15229bbb16859454156 files/misterhouse.init 451
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCndVotG5z4I8BtQoRAnAwAJ0ZuP6MnEw+5nqyrZ+IYO2OpLYEUgCeO7Ot
+6gp78BZe8q24+S0P4QbSPlU=
+=M/cG
+-----END PGP SIGNATURE-----
diff --git a/app-misc/misterhouse/files/digest-misterhouse-2.99 b/app-misc/misterhouse/files/digest-misterhouse-2.99
new file mode 100644
index 000000000000..2d55ddc15d58
--- /dev/null
+++ b/app-misc/misterhouse/files/digest-misterhouse-2.99
@@ -0,0 +1 @@
+MD5 52812d8420c733938492de9fd6497a0b misterhouse-2.99.tar.gz 6437245
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..86672fe64c10
--- /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>
+ <herd>perl</herd>
+ <maintainer>
+ <email>perl@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <longdescription></longdescription>
+</pkgmetadata>
diff --git a/app-misc/misterhouse/misterhouse-2.99.ebuild b/app-misc/misterhouse/misterhouse-2.99.ebuild
new file mode 100644
index 000000000000..be46b1253be1
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.99.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/misterhouse/misterhouse-2.99.ebuild,v 1.1 2005/06/01 15:34:30 mcummings Exp $
+
+
+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="~x86"
+IUSE="tcltk mysql"
+
+DEPEND=""
+
+RDEPEND="dev-lang/perl
+ tcltk? ( dev-perl/perl-tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ perl-core/DB_File
+ dev-perl/TermReadKey
+ perl-core/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
+}