summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-08-27 11:01:40 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-08-27 11:01:40 +0000
commit55afee3042014dae75c7a14fd563db21448a17e6 (patch)
tree4c264bfe952df83515d658e510baf12984c4b0e5 /www-apps/bitten
parentInitial import, ebuild written by me, dependency required for www-apps/bitten (diff)
downloadhistorical-55afee3042014dae75c7a14fd563db21448a17e6.tar.gz
historical-55afee3042014dae75c7a14fd563db21448a17e6.tar.bz2
historical-55afee3042014dae75c7a14fd563db21448a17e6.zip
Initial import, ebuild based on work of Nikolaj Sjujskij <sterkrig@myopera.com>. Fixes bug #189378 by Ole Trenner <ogardiner.23444071@bloglines.com>
Package-Manager: portage-2.2.0_alpha123/cvs/Linux x86_64
Diffstat (limited to 'www-apps/bitten')
-rw-r--r--www-apps/bitten/ChangeLog11
-rw-r--r--www-apps/bitten/Manifest26
-rw-r--r--www-apps/bitten/bitten-0.6.ebuild50
-rw-r--r--www-apps/bitten/files/bitten.confd19
-rw-r--r--www-apps/bitten/files/bitten.initd20
-rw-r--r--www-apps/bitten/metadata.xml12
6 files changed, 138 insertions, 0 deletions
diff --git a/www-apps/bitten/ChangeLog b/www-apps/bitten/ChangeLog
new file mode 100644
index 000000000000..14bb01c35054
--- /dev/null
+++ b/www-apps/bitten/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apps/bitten
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/ChangeLog,v 1.1 2012/08/27 11:01:40 xarthisius Exp $
+
+*bitten-0.6 (27 Aug 2012)
+
+ 27 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> +bitten-0.6.ebuild,
+ +files/bitten.confd, +files/bitten.initd, +metadata.xml:
+ Initial import, ebuild based on work of Nikolaj Sjujskij
+ <sterkrig@myopera.com>. Fixes bug #189378 by Ole Trenner
+ <ogardiner.23444071@bloglines.com>
diff --git a/www-apps/bitten/Manifest b/www-apps/bitten/Manifest
new file mode 100644
index 000000000000..699fc0eb5eaf
--- /dev/null
+++ b/www-apps/bitten/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX bitten.confd 498 SHA256 c3d9dfa9cacdd401342174d348f67db39247fbc931a3e992fef4a8f3c59c961e SHA512 9231e77225f55d83d9563fdc540a35385a079a71afe4a2317288c92dc0ae2f15f2c2ae18cfda0534f357cfc84d5291163c10d2878229b5a8899845ab3af98f9c WHIRLPOOL 3252c878e40036deb287e1943282d77637c13231fd2cf139abec6d89c6b7664b035b8a9c19a5ee2af0e586ffae0068dfe6994446e2d868eda2f33dd97082a500
+AUX bitten.initd 748 SHA256 1dd1b1f8b827f68f64325904ac9f57107eaf5805ce0c394a231c33c0fccc1e46 SHA512 a9cbf3280d3bfab28889e8850279b0462f1f85b8e38711d77c3f9ffe59266a3cd3f6351ddee766e8a1d55fe0cfc3859596a6e47c29fe460be2d7ad5db2bdce68 WHIRLPOOL d2867ca23e14085045650480ee31aff60b1a7ac1459d2944eb2dc96e761f8f24e012a6f986202bd723a8d93b5017f41ede785a8ec376ae8e9b00254228feb947
+DIST Bitten-0.6.tar.gz 340031 SHA256 0ccbe1c6c798d980d2b9024a86cd04710b58c9a129f02b82bf72d96efd6e7026 SHA512 d0881be4d36dfa939f5b48163e37583b522a18b3bb736b435d6fa7d7e1eb8fa98e2b7c7651a5e16380597555ce1ffd6d35dc37a74dd69a0ed4b64e36ec9ecfb0 WHIRLPOOL aa036add696966c0db8a322a6f21f0784bab6eb0e2aab323ebeb60c349102c82613860ccfc28690d56cba6f57906854d3ca2cfd5078636ad4f1e324b228109dd
+EBUILD bitten-0.6.ebuild 1152 SHA256 6892f1e8bb9e1185373de1e11ecc945454ae89117ac64ec4c0806e176b37ef56 SHA512 d00ca08a3dc60b4e7f0b915302bcb5f7215ad31c9cf734187599efc2be1945056811f6621537d5bd1f032100a1bbfb5f9cd42887c80fc4d4298a0462ad75e959 WHIRLPOOL 3b7cf731e2c244eaed9ad92281e9803be763d9567f371eac4d3a36012fb687f1d47a64d9d03271165765ec38b661363fa3132f4bb61733e55d9a76c279f1dd48
+MISC ChangeLog 522 SHA256 c88be3ec1feaa789f46df0f8fb8b081189b94c8800e05d4da1c686dc352bd68b SHA512 0c632ba7082534b0950a325b5eab6311df11df4c60e129eea6d7e6b47d57b3d0136a3670d09a443271f2731314f5c213abb1e2c50eb99e469a560093763ae8b9 WHIRLPOOL 86ce00d64a6eba6b90061eac4a7efca6a822627973a61c5ac6a08d2f35862a926baaf81a4d3df8a738d520f88e188d58c0de980cf3802e97b9e511ee0472539c
+MISC metadata.xml 361 SHA256 2c73bca6bbfa8fdd8b60bc10c5b7151bfda9020a3d7ab84f7b958f2a218546ea SHA512 b9a0ed614c4c3c9e284ad0c152e4653422fde5de6c3a080bb553275020e068bcd0689c16fa45e306a79759aa2af84ba870c482a6d9b36e3ba23539a5f11f37c3 WHIRLPOOL 72cc3058afa5003274315bfa90f12060bf57f05bad34302a567f205c2af7af9ffba5663c3754ef8a1f3b569dfd00e5b397b007cb363e584ca1a740e04a31fcf3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQO1OeAAoJEF0huFKJUZL59QsQAJ6ALDxgWzx3PNrTpy6ZjC/E
+mfIuB+4ts3RQWN0tCwLG6dAW0XGSPs5rYQLHzcN/cqQy2y6Oy90SMHImM75sz38e
+QQD+ZltFHoDdWmI07GPZT7pjfxqu8XZwzeYIZDl1JWdlKzGvE760yGCfqlVYZ37e
+gGC4HcwQmXhBxZiqSl44Hg1IbtEg+qx2FhgcdL/XkNoS5TEsKU7aSNSuWVVLjbtX
+OUsoyPIIhi316fltWmxqWYEx1P5+Al6nuGeAZTODFYhQxTsfi2oL8eavRZAKw3Bj
+c8FrR4hr6qRYagKwdsHsC6MnjoQ4bzJc5ZANOXF4xo0MZpWWewrEjqfyR1+udFxO
+eAeI2JqzqTD+DmEoYfOKsx+yRU4KKrhFlq5v16PCAlh5nSTiMdPQDRDtNyTEU7nW
+kPT+8MSSOHCXSiY4D6lkcHaW9Vict+7G8GafeIwsXqsThrE6dTIGTHspoF6iAXfH
+FSiUCwULeLtvclodSVwQwMpcB3wMjW7P30PcZ1oP3AXuauPsZJ4Y206uoTBJHtMX
+B8Al52jn/cnD3+8dGYOhF/ols3bw8dQXast0boXyYNai7NA+DclBtYfzqKscZ9p2
+pdLwIXMMvWsYY21Ri+Ttq6/Pfh98QUf1B9qjDaeUImwBnlzbosCVmiNMo9qwLrDr
+QGFFvt4c6szEgezXWdXf
+=rkWA
+-----END PGP SIGNATURE-----
diff --git a/www-apps/bitten/bitten-0.6.ebuild b/www-apps/bitten/bitten-0.6.ebuild
new file mode 100644
index 000000000000..a67db4c6f5b8
--- /dev/null
+++ b/www-apps/bitten/bitten-0.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/bitten-0.6.ebuild,v 1.1 2012/08/27 11:01:40 xarthisius Exp $
+
+EAPI=4
+
+MY_PN=Bitten
+MY_P=${MY_PN}-${PV}
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils user
+
+DESCRIPTION="Continuous integration plugin for Trac"
+HOMEPAGE="http://bitten.edgewall.org/"
+SRC_URI="http://ftp.edgewall.com/pub/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="server test"
+
+CDEPEND="dev-python/setuptools"
+DEPEND="${CDEPEND}
+ test? ( dev-python/figleaf )"
+RDEPEND="${CDEPEND}
+ server? ( www-apps/trac )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_pkg_setup
+ DISTUTILS_GLOBAL_OPTIONS=("2.* $(use_with server master)")
+ enewgroup tracd
+ enewuser ${PN} -1 -1 -1 tracd
+}
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
+
+pkg_postinst() {
+ touch "${ROOT}"/var/log/${PN}.log
+ chown -f ${PN}:tracd "${ROOT}"/var/log/${PN}.log
+}
diff --git a/www-apps/bitten/files/bitten.confd b/www-apps/bitten/files/bitten.confd
new file mode 100644
index 000000000000..49af46916070
--- /dev/null
+++ b/www-apps/bitten/files/bitten.confd
@@ -0,0 +1,19 @@
+# The commented variables in this file are the defaults that are used
+# in the init-script. You don't need to uncomment them except to
+# customize them to different values.
+
+# Server running bitten
+#BITTEN_SERVER="http://localhost/trac/builds"
+
+# Temporary dir wher builds take place
+#BITTEN_TMPDIR="/var/tmp/bitten"
+
+# Log file
+#BITTEN_LOG="/var/log/bitten.log"
+
+# Additional options for bitten
+#BITTEN_OPTS=""
+
+# User and group as which to run bitten
+#BITTEN_USER="bitten"
+#BITTEN_GROUP="tracd"
diff --git a/www-apps/bitten/files/bitten.initd b/www-apps/bitten/files/bitten.initd
new file mode 100644
index 000000000000..4691480d0c2e
--- /dev/null
+++ b/www-apps/bitten/files/bitten.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/files/bitten.initd,v 1.1 2012/08/27 11:01:40 xarthisius Exp $
+
+start() {
+ ebegin "Starting Bitten slave"
+ start-stop-daemon --start --user ${BITTEN_USER:-bitten} --group ${BITTEN_GROUP:-tracd} \
+ --pidfile /var/run/bitten.pid --make-pidfile --background \
+ --exec /usr/bin/bitten-slave -- \
+ ${BITTEN_SERVER} -d ${BITTEN_TMPDIR:-/var/tmp/bitten} -l ${BITTEN_LOG:-/var/log/bitten.log} \
+ ${BITTEN_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Bitten slave"
+ start-stop-daemon --stop --quiet --pidfile /var/run/bitten.pid
+ eend $?
+}
diff --git a/www-apps/bitten/metadata.xml b/www-apps/bitten/metadata.xml
new file mode 100644
index 000000000000..808d9a1d247e
--- /dev/null
+++ b/www-apps/bitten/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <use>
+ <flag name='server'>Install master instance that integrates itself with Trac</flag>
+ </use>
+</pkgmetadata>