From 185ff29879627be540ec54e8eaacc5ddcf7fce3b Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Thu, 19 Jul 2012 00:10:14 +0000 Subject: [PATCH] added git-ebuild --- net-im/palaver/Manifest | 1 + net-im/palaver/palaver-9999.ebuild | 51 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 net-im/palaver/palaver-9999.ebuild diff --git a/net-im/palaver/Manifest b/net-im/palaver/Manifest index 279cbe4..0cd8da1 100644 --- a/net-im/palaver/Manifest +++ b/net-im/palaver/Manifest @@ -3,3 +3,4 @@ DIST master 137185 RMD160 28ceb8a30d861e339fd397d8e652f41d967e2e86 SHA1 b005d6c1 DIST palaver-0.6.tar.bz2 71431 RMD160 d1eac261b4ea9263d6992d17d5498f27b054643b SHA1 6e33a77322a432f5c20e6b05dea93ee10d6e4d5d SHA256 437a32250f7ba2a7b07e1dae894893ae4bf32e8a7d8d8e97a4803c9fee4dde26 EBUILD palaver-0.6-r3.ebuild 1428 RMD160 43c5bae7622184f957d39f06d5ddc8949525a141 SHA1 2e5208f49fba67b42a04cb857f1e8e63627ac6f5 SHA256 177b114e9b224b220c925a2d25db72a6903fc288e884f757dea8648795b1b09d EBUILD palaver-0.6-r4.ebuild 1507 RMD160 98d01b524a5e1978700c6044bccca31eb4314539 SHA1 96f436ade61ba3f77253a3199ef1cdc59e125a60 SHA256 29d31475413a23f12caf6a2e88f5237202a1405672218d472ef1b8548b6667a1 +EBUILD palaver-9999.ebuild 1344 RMD160 0a2b25a522b7265a7ab3b3169a1d606c27cc51b5 SHA1 3db2e18481ddfe7269450e28c1ea256a19f2b32e SHA256 d961f47a162c871998cfb8af6888d62343db52f1cd796970cf3718ba0a47e13b diff --git a/net-im/palaver/palaver-9999.ebuild b/net-im/palaver/palaver-9999.ebuild new file mode 100644 index 0000000..7dc212c --- /dev/null +++ b/net-im/palaver/palaver-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +PYTHON_DEPEND="2" + +inherit eutils python git-2 +DESCRIPTION="Multi-user chat component for jabber implemented in python" +HOMEPAGE="https://github.com/twonds/palaver" +EGIT_REPO_URI="git://github.com/twonds/palaver" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="net-im/jabber-base" +RDEPEND=">=dev-python/twisted-2.4.0 +>=dev-python/twisted-words-0.5 +${DEPEND}" + +src_compile() { + # nothing to be done here? + distutils_src_compile +} + +src_install() { + distutils_src_install + + insinto /etc/jabber + newins example-config.xml ${PN}.xml + fperms 600 /etc/jabber/${PN}.xml + fowners jabber:jabber /etc/jabber/${PN}.xml + dosed \ + "s:[^\<]*:/var/spool/jabber:" \ + /etc/jabber/${PN}.xml + +# dosed \ +# "s:[^\<]*:/var/run/jabber/${PN}.pid:" \ +# /etc/jabber/${PN}.xml + + newinitd "${FILESDIR}/${PN}-initd" ${PN} +# dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} + +} + +pkg_postinst() { + einfo "A sample config file has been installed into /etc/jabber/${PN}.xml." + einfo "Please adjust the settings as needed." + einfo "After that, you MUST create a TAP-file for twisted in order to start Palaver, like this:" + einfo "# cd /etc/jabber" + einfo "# mktap palaver -c palaver.xml" +}