diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/misterhouse |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/misterhouse')
-rw-r--r-- | app-misc/misterhouse/Manifest | 9 | ||||
-rw-r--r-- | app-misc/misterhouse/files/misterhouse.conf | 12 | ||||
-rw-r--r-- | app-misc/misterhouse/files/misterhouse.init | 18 | ||||
-rw-r--r-- | app-misc/misterhouse/metadata.xml | 8 | ||||
-rw-r--r-- | app-misc/misterhouse/misterhouse-2.103-r1.ebuild | 49 | ||||
-rw-r--r-- | app-misc/misterhouse/misterhouse-2.105-r1.ebuild | 51 |
6 files changed, 147 insertions, 0 deletions
diff --git a/app-misc/misterhouse/Manifest b/app-misc/misterhouse/Manifest new file mode 100644 index 000000000000..f38cb4b220e4 --- /dev/null +++ b/app-misc/misterhouse/Manifest @@ -0,0 +1,9 @@ +AUX misterhouse.conf 344 SHA256 004177a74f8f3de252954c4d8e11a273e6649510d54e5bb68b1f15cc032d32ee SHA512 af58c566dda66c515672fb55fafa9f2f5225bc5fcd8c18b5d0ab3dfbd0129508b0b674fffeac4a15fda37e61008eb2ec6040672dbed3bbda4a3b90545ad14732 WHIRLPOOL 016fd0f7a61acb886972245cb7dc4e671b2063772dc62890bb3112a9dcef48cf89bba6dff417703ec078c9624080f5734f23a8f08b82dc9ea4dc56449815fcff +AUX misterhouse.init 452 SHA256 2ea719e178739960fb8d55c838848c9f2e2e588d65a5394f12377283dafbd075 SHA512 7cfc2f14ff092a102bcc75c4eb31a109e264bfd9b9153ca522932f0d6b8e1305bc869caedfc2b9d726ac105b513d2630e3346cbc91faaaf7109dc332f0c45bd7 WHIRLPOOL c077274f90c60534fdcc47a68ecb66438d06b8aa19ddd7524db80f42d094d7184097f2544280101a47bba82182ccd03d7b1da280e530c6dcec5620281b2fa450 +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 +EBUILD misterhouse-2.103-r1.ebuild 1260 SHA256 b27c2eb39a5bd9017e9b5fee2e040f4461bb1d3801e6b767072f221c550a37da SHA512 317caa01540b940b3cf5fb39f64895e6c80e89b8f7ef4280236c76e07134b44754ae62bba45080f109a4dd9d88135e7d686483c73743dbb01947db3ee691a7e8 WHIRLPOOL 0eb555a96038638bcc73160843e66184f8078238020079a208e0b256a19da9473db5498adc0df27719401c5ee2f767650af79bfaab77f700f77327457fbe4d69 +EBUILD misterhouse-2.105-r1.ebuild 1289 SHA256 f7c736e68a09fb1cdd4169b5afe32c219314303a514550a6e1acb087b1400783 SHA512 9231044bf957e08c6447e5de3f3c90a17f8539ba2707b9bb1abcb9c5665a7ffd01329f7e8af1255158ac672976d0bbf1d6adf6ca1532c84f4d614e7c9f9a4981 WHIRLPOOL a666406b101f9f4ee6645a4e36ebb1e0564f1346140542bc4b4e5468b68ebf113622b2f21c23128847ba09e02a7dcb4bca3159c83a52cf0b1944af67ee3e5f18 +MISC ChangeLog 3510 SHA256 56e840c12229759cc14d33e627312c03c10a9bbccc7cff16c96eb119b6bc4e25 SHA512 ba1916f4162522c5768bedfaf9e77e9cd3eae31c904d2c253f456203f226ea6b2d254474a0b7d8814436b7f6862160263c54ab23c4edb85d0bd04cfb2509bcb4 WHIRLPOOL d2c0f1621687379f395f1977e12365cfdc97e72b93e07db55cf4f3d3b5a8d6e2c3b2ea15360f75a41faf1303755abc40b089d99380bfe43b6b8b27ee9a1633d1 +MISC ChangeLog-2015 2388 SHA256 e788b200cc1757c3b7c789e17af8673e50acd63c5d91f0ff4d41a91a8c269fb3 SHA512 c7b362ccf23a8fa3d77d9f439b62d1197136a931e0f4aa40be10eeb73665db4997f36beece15c2e34644b09102219581ab7a076ab25d589d830902f48097aa44 WHIRLPOOL 2016a6017e527f0d5a2973ad57085c518e638ad2239a583ada53ba71637ac4960d36bb9bf3456607d690fd056c52ac3be42a1be5d38cbd97d2b8bb6ffbe56b8b +MISC metadata.xml 248 SHA256 643e3e3a28f048a1f80670fae84656204362bf5b26c16ecf056486cc27ecb750 SHA512 887fac358e29dced4d8729f3f702e0da89466f4b8996ce122e3200cd6bbccea3607dbef663d1a40fe23ece2a1b9b432fccf9b4f8589743f9530fb0fc19768db3 WHIRLPOOL a1ceb313a097e89823dca1fefd020e8e29f343a980ae492c3604941752cd25211939740e6c9e034c9291d90327c44991420acbdc1f46688809248383f18fe458 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 100644 index 000000000000..e2a8b73f9405 --- /dev/null +++ b/app-misc/misterhouse/files/misterhouse.init @@ -0,0 +1,18 @@ +#!/sbin/openrc-run + +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..9456a8c310bd --- /dev/null +++ b/app-misc/misterhouse/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">misterhouse</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/misterhouse/misterhouse-2.103-r1.ebuild b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild new file mode 100644 index 000000000000..ad9caf8d4b4e --- /dev/null +++ b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/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-r1.ebuild b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild new file mode 100644 index 000000000000..bd19df19011e --- /dev/null +++ b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/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 +} |