moved everything into trunk/ subdirectory, as a preparation for the conversion to git

This commit is contained in:
Manuel Friedli 2014-01-21 13:08:47 +00:00
parent df41424518
commit 52d584b8fb
48 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,3 @@
AUX punjab-confd 67 SHA256 2951827630ccbd793922d32f7f61416747c50ebb2cd542062f1dd82dc9ec94c7 SHA512 9784f2b70cc5830b44702ad74d5b18475fb081f5728ac346746b3f347a9a33771680752a29e42e13b9d2ce7eb983babe22486945b2be22dbfbff6078e8a837ba WHIRLPOOL cb64ecbcd7710d0a6f33ece9bb851a829a6e8c1a978235f7e96f882d69b63ab172a69e4c04c38adc07758fcf39fa0ebebf8f3a40821d7295746378d91d3f98dc
AUX punjab-initd 621 SHA256 4263b2f8a2abad5317d1555005ec7038478494fa450918e80f065a488ac80e04 SHA512 7e280ca57a8f091e96cc3ff62b9c74fefe858ca2c94ca0c981dfadd0a26c17d4989164acc8a8c1f6bfd734921b7a7307e89b54024c0ea62c32f0cd4bf8ce703a WHIRLPOOL abe9da6820c028a3d474f4c30d990edb5489cc2c261acac6a03fb8a2e450b872e471f91fefd23630f9c707abf91a66558b959df8ab4716a1e31e5adb42748851
EBUILD punjab-9999.ebuild 1171 SHA256 7031b97a29cce4a90d736fa2752272150f04edfa116f4d822f9db2cec0e8df42 SHA512 7ea1cfdbd80c4092b5bc87787a663d487c0fa08eec27ab0a481f3df8283bb192999e3b879b3875504c8415c26ba6ea3da5fd6d9eb2dea1947fbacd7dbb35c5fb WHIRLPOOL 9ae8059628fdd9a75db092694c47d022831ca632ecb17cd497b6bab469fba58f034b330d54deee9cd8bc03259092e854b6a8fe536a45768a4d51dccd7f2170fd

View file

@ -0,0 +1,2 @@
# location of the configuration file
CONFIG=/etc/jabber/punjab.xml

View file

@ -0,0 +1,24 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
use jabber-server
}
start() {
ebegin "Starting Punjab BOSH connection manager"
start-stop-daemon --start --pidfile /var/run/jabber/punjab.pid -u jabber -g jabber \
--exec /usr/bin/twistd -- -l /var/log/jabber/punjab.log --pidfile /var/run/jabber/punjab.pid \
-y /etc/jabber/punjab.tac
# -c ${CONFIG}
eend $?
}
stop() {
ebegin "Stopping Punjab BOSH connection manager"
start-stop-daemon --stop --quiet --pidfile /var/run/jabber/punjab.pid
eend $?
}

View file

@ -0,0 +1,50 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
PYTHON_DEPEND="2"
inherit distutils eutils python git-2
DESCRIPTION="BOSH connection manager for jabber implemented in python"
HOMEPAGE="https://github.com/twonds/punjab"
EGIT_REPO_URI="git://github.com/twonds/punjab"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tls"
DEPEND="net-im/jabber-base"
RDEPEND=">=dev-python/twisted-core-11.1.0
>=dev-python/twisted-names-11.1.0
tls? ( dev-python/pyopenssl )
${DEPEND}"
pkg_setup() {
python_set_active_version 2
}
src_compile() {
# nothing to be done here?
distutils_src_compile
}
src_install() {
distutils_src_install
insinto /etc/jabber
newins punjab.tac ${PN}.tac
fperms 600 /etc/jabber/${PN}.tac
fowners jabber:jabber /etc/jabber/${PN}.tac
# dosed \
# "s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
# /etc/jabber/${PN}.xml
newinitd "${FILESDIR}/${PN}-initd" ${PN}
# newconfd "${FILESDIR}/${PN}-confd" ${PN}
}
pkg_postinst() {
einfo "A sample config file has been installed into /etc/jabber/${PN}.tac."
einfo "Please adjust the settings as needed."
}