From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- www-apps/loggerhead/Manifest | 4 ++++ www-apps/loggerhead/files/loggerhead.confd | 3 +++ www-apps/loggerhead/files/loggerhead.init | 27 +++++++++++++++++++++ www-apps/loggerhead/loggerhead-1.18.1.ebuild | 36 ++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 www-apps/loggerhead/Manifest create mode 100644 www-apps/loggerhead/files/loggerhead.confd create mode 100644 www-apps/loggerhead/files/loggerhead.init create mode 100644 www-apps/loggerhead/loggerhead-1.18.1.ebuild (limited to 'www-apps/loggerhead') diff --git a/www-apps/loggerhead/Manifest b/www-apps/loggerhead/Manifest new file mode 100644 index 0000000..f5a0796 --- /dev/null +++ b/www-apps/loggerhead/Manifest @@ -0,0 +1,4 @@ +AUX loggerhead.confd 70 BLAKE2B 9ad36fe68d6caabcdac1701fbaf5109a0b0a8f4b91110e55346642e3c399bfe6ac0b53046d12f0b8764becab19d878a00a3aaa3e9dfc7892bcf8361b23efbd20 SHA512 22a3d6558f7096174f8ab457176e49c3fbe53ea194e2e7f2ef21dcd025fbab2da9f28a0ee1ee1670acdbb44bbd34ff632b8d3df5d68de1259da90b14496a736d +AUX loggerhead.init 556 BLAKE2B ed56b385df8be33f268dda92eae3c55d6259dda8c20a1bc44f7e330173b8062318e364507eba585104fcf24194176e1ed803f6a8a126aa78a30b22be485c7034 SHA512 a5f7307c58773201427c343f286d4e825e3f3815097f0d9840dfed1493b910930b57bd125c4c9d3cfba6f126d979eaac30b29460b7748801362272b3618e2b5a +DIST loggerhead-1.18.1.tar.gz 695475 BLAKE2B d423de99558647363129adf7736a652e1f5f4796033f4bad90e9d28a426a2d29f8cf979f3c337ed49246fd94d2c58a66f2d261cb9e3730a2676a04551e170f0a SHA512 d265b3470bd744266ae8ee4c90a749b875b528f88924bae28f03417cbe460b82ea8649b00371b50dad679be386d56063f02a78b0f73466edb04aa75612df79e4 +EBUILD loggerhead-1.18.1.ebuild 836 BLAKE2B 1c7cafbd86358f00a284fae180509f80e22a5d92fdabfb633d3a538751fe09068b97ad670f76ba1dc7ab137acae9cb9eb8071eda9cbb27f1a606f20799da552d SHA512 dde59180184d10f047e54b36a1401f4fd62a4f3383c04f6a936da2085cc3281173b554ce9750f6d2a25e67820143ac85ba5b316f61737212b0cbe7c271e32e9a diff --git a/www-apps/loggerhead/files/loggerhead.confd b/www-apps/loggerhead/files/loggerhead.confd new file mode 100644 index 0000000..9665bf3 --- /dev/null +++ b/www-apps/loggerhead/files/loggerhead.confd @@ -0,0 +1,3 @@ + +# Additional options for Loggerhead start +LOGGERHEAD_OPTS="/var/bzr" diff --git a/www-apps/loggerhead/files/loggerhead.init b/www-apps/loggerhead/files/loggerhead.init new file mode 100644 index 0000000..2eceefd --- /dev/null +++ b/www-apps/loggerhead/files/loggerhead.init @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +PIDFILE=/var/run/loggerhead.pid +LOGDIR=/var/log/loggerhead + +depend() { + need net +} + +start() { + ebegin "Starting loggerhead" + start-stop-daemon --start --quiet --background \ + --make-pidfile --pidfile ${PIDFILE} \ + --exec /usr/bin/serve-branches -- --log-folder=${LOGDIR} \ + ${LOGGERHEAD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping loggerhead" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} + eend $? +} diff --git a/www-apps/loggerhead/loggerhead-1.18.1.ebuild b/www-apps/loggerhead/loggerhead-1.18.1.ebuild new file mode 100644 index 0000000..33c34a3 --- /dev/null +++ b/www-apps/loggerhead/loggerhead-1.18.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 versionator + +PV_BASE=$(get_version_component_range 1-2) + +DESCRIPTION="A web viewer for projects in Bazaar" +HOMEPAGE="https://launchpad.net/loggerhead" +SRC_URI="http://launchpad.net/${PN}/${PV_BASE}/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="apache2 search" + +DEPEND=">=dev-python/paste-1.6 + apache2? ( >=dev-python/pastedeploy-1.3 )" +RDEPEND="${DEPEND} + >=dev-vcs/bzr-1.13 + dev-python/simpletal + dev-python/simplejson + search? ( dev-vcs/bzr-search )" + +S="${WORKDIR}"/${P} + +src_install() { + distutils_src_install + newinitd "${FILESDIR}"/loggerhead.init loggerhead + newconfd "${FILESDIR}"/loggerhead.confd loggerhead +} -- cgit v1.2.3