aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2020-06-22 19:34:18 +0100
committerPaul Healy <lmiphay@gmail.com>2020-06-22 19:34:18 +0100
commitb6b964037fe7bcbda39b64089a8c9ec5ddb3be8b (patch)
treefbb2c99b0344acfefe787d00994ab3dc3e9b377c /www-apps/opengrok-bin
parentadd DISTUTILS_USE_SETUPTOOLS (diff)
downloadlmiphay-b6b964037fe7bcbda39b64089a8c9ec5ddb3be8b.tar.gz
lmiphay-b6b964037fe7bcbda39b64089a8c9ec5ddb3be8b.tar.bz2
lmiphay-b6b964037fe7bcbda39b64089a8c9ec5ddb3be8b.zip
remove old ebuilds
Signed-off-by: Paul Healy <lmiphay@gmail.com>
Diffstat (limited to 'www-apps/opengrok-bin')
-rw-r--r--www-apps/opengrok-bin/Manifest6
-rw-r--r--www-apps/opengrok-bin/opengrok-bin-1.3.11.ebuild125
-rw-r--r--www-apps/opengrok-bin/opengrok-bin-1.3.13.ebuild125
-rw-r--r--www-apps/opengrok-bin/opengrok-bin-1.3.8.ebuild125
4 files changed, 0 insertions, 381 deletions
diff --git a/www-apps/opengrok-bin/Manifest b/www-apps/opengrok-bin/Manifest
index 0584445..76c59ed 100644
--- a/www-apps/opengrok-bin/Manifest
+++ b/www-apps/opengrok-bin/Manifest
@@ -2,16 +2,10 @@ AUX opengrok-1.0.patch 5848 BLAKE2B 1d21fc2b351e95aabe0b787d24873a2b368f0816b7c5
DIST opengrok-1.0.tar.gz 16487516 BLAKE2B 58d35043032df6a540be8472c5c5002ae063afbadce6391261e18baf9e77f7a5a123dbe22f9ead43b15ee1f56647203dd68c7e8ca9d57c47efe36f8214dce501 SHA512 bafea4a162b1496b5bf3bba7042fb44ad668c091ac4c2ef2604b08c522e2067a6f286c369186cef1341664325f5af0e5e7e2d19a381b0a6062882ebe9049efa3
DIST opengrok-1.1.2.tar.gz 45767793 BLAKE2B 614a6d07e291d00d3b73e361610b0d39634cc19f223d3a362e6e3f23d47380c782c6b60faf2c93648d5cdf0598d052304b42f337170b70ce378815e65b440ee9 SHA512 6d7da2b45229f9769574e56bb5fd0b0cbb5a1d617e691988ff3328eca79c26f67a572592d54288b9a79120462e6e828d7952b7f54bafa4174cf99997ce64dac2
DIST opengrok-1.2.25.tar.gz 45840133 BLAKE2B dee6a4732f0a7a29cef4d11cdf80c1cc1ff82fcb799b1980fac7d404f39d58142027992eb6d00fdbb2ff7975bdd7285b211fb2f22e368155e1f67ed87551a7c0 SHA512 2ebd1de5bc2a2f3d4706af32bf73874b3b916d96bc6abd0442afdfe01639d507492453202af5da88bdb085d0453d7af42885ba1689cfafd272be8289fed8155a
-DIST opengrok-1.3.11.tar.gz 54793763 BLAKE2B b5c0bbb9816a2752c7070d4a05131f63887b9eb4f04e7808961e86811be4ad6096ddb82d39c89aba853de6af4cf1d8898d9cd32315f5105e9933ebacbb2253fb SHA512 31ffa891a78b469990f50aa64e5e3e7beeb52d95a58a80d4d9435cb59ea6708aa59d3676f9ef32fce1bb7884ab21ed26d9f5694ee765243041a4272b3496bef2
-DIST opengrok-1.3.13.tar.gz 55176953 BLAKE2B 1555860c0b49a39c960829b131a11df29879bae9c6f904edf2493a0ad9ecf1bdb14a559b845f0794f4fbf45f0cb449ec1873007e58a078848e401795308f1b35 SHA512 21d47dbac5d7757ccf6f0954024cfdb74d2e423594efa23bdde428f363538b433e4b6eebf78707a33ef82728bd17a2e3ef5323b8e7275bdf2ebf304703be57d0
DIST opengrok-1.3.15.tar.gz 55218684 BLAKE2B b82f19c8f75e9f8f2891a1d3fa72d9b052ae4fe19617dea115b04a30e3cbc40d0c91994f275178ba5f611b370a27033923739aeb747b64cb11b4cb04141cc097 SHA512 c075c6ccded38cf12e8e9bfbfc4a7375d3f289eb074e54c1f31bbc9a2c70f0b8daa236d83081443e0dd5efbaa131ce7b3c6cb221172c859b17d82461f521fbc8
DIST opengrok-1.3.16.tar.gz 55244095 BLAKE2B 6b8cd763d0517cc79856cf0d31246589e7f1723a2ece397e27d83d78275fcf1d583389eee4418ce884d4907553124f07a34b6e00ff0b09c28d2547d93db566c0 SHA512 c02682abf1b31d2f108504396a1fc2a5ebf8cbe18f919aac451e272cf6fc25f6d5a6379041f15593811b6e7ec3b6a5ae492ea48508565631db6d39069c4965c1
-DIST opengrok-1.3.8.tar.gz 54010881 BLAKE2B b72b4c7d2a5eb0dac91053409dc5f394700ac4785abeda4bb7d0144aaf2e7f3943e4f318ed2756e46fd0508fd423b314af0ef8bec4d3432ad32d8baad07bf68f SHA512 5c1a3c3cfe03fa5425edafc246eabefc92cea559eb862d90107fb8904ccd0c49ccbf61f401e79ed1e730c3ec212d2a281e0772e44e29f87965ee9d17a4640973
EBUILD opengrok-bin-1.0.ebuild 2523 BLAKE2B 10f5173a296b55a7f04af4c8b26c4a4df812e1013c29485e8e5cd8517c447a36bfda7b97765877ecbac61a5e97b2a23b635775e6f02b88b2fc59c3a9340d5730 SHA512 b1e00b57ac203214e8aa9bf9664421d30902008251ee95acdad6d0a2047dbb8fcde04f3592ae8ea698a667cfe1248e867cb51f88abdbd58cb9c7f70aad36a7a6
EBUILD opengrok-bin-1.1.2.ebuild 3702 BLAKE2B 11754446f67b2d4264592345819c471b949eae41930adcd3b66a900f607b272c26a7a1025899346dec92e4559cefc1abd665edeacb24f1116dc5886b4c283c45 SHA512 eeec117ff1c8bc94fc8dfdee99552ac28b82c3af427ddb5c410b4ed436bac4063d14bb716bcabdc3164d5e92372f02d7fb0b04810bf389574bf2f97a78503378
EBUILD opengrok-bin-1.2.25.ebuild 3702 BLAKE2B 11754446f67b2d4264592345819c471b949eae41930adcd3b66a900f607b272c26a7a1025899346dec92e4559cefc1abd665edeacb24f1116dc5886b4c283c45 SHA512 eeec117ff1c8bc94fc8dfdee99552ac28b82c3af427ddb5c410b4ed436bac4063d14bb716bcabdc3164d5e92372f02d7fb0b04810bf389574bf2f97a78503378
-EBUILD opengrok-bin-1.3.11.ebuild 3702 BLAKE2B 11754446f67b2d4264592345819c471b949eae41930adcd3b66a900f607b272c26a7a1025899346dec92e4559cefc1abd665edeacb24f1116dc5886b4c283c45 SHA512 eeec117ff1c8bc94fc8dfdee99552ac28b82c3af427ddb5c410b4ed436bac4063d14bb716bcabdc3164d5e92372f02d7fb0b04810bf389574bf2f97a78503378
-EBUILD opengrok-bin-1.3.13.ebuild 3715 BLAKE2B c8f87d9d73ac72a3dd3cf3cd24d136b61aa53da66ac19b1ab50507cee074d0df24f7bc91d21da9044ef7a6ead041b01f6cb98bbf840205b0ee2b579a0b11eae7 SHA512 2b73b2599b528ee0c5626421bc2c0625e18e7039860dfab52b7354f403efd1384ae13d9a496f05ff623171a6ff643ee48c45247f172c41a0daee837061110aaf
EBUILD opengrok-bin-1.3.15.ebuild 3715 BLAKE2B c8f87d9d73ac72a3dd3cf3cd24d136b61aa53da66ac19b1ab50507cee074d0df24f7bc91d21da9044ef7a6ead041b01f6cb98bbf840205b0ee2b579a0b11eae7 SHA512 2b73b2599b528ee0c5626421bc2c0625e18e7039860dfab52b7354f403efd1384ae13d9a496f05ff623171a6ff643ee48c45247f172c41a0daee837061110aaf
EBUILD opengrok-bin-1.3.16.ebuild 3746 BLAKE2B 4473b707c7ec7ee56876e4ac787f068314aaf977d65d4dd27f7cbfa9f6f7dc63d330cf170038d49310952d25a7f7e462f7937c6eb023893882b2673afd0a077f SHA512 dd33784fc84391b7de3d71f3c3c4eb030ad5adf788459d64b83a8ab4a7115bb090dc03d811221f4d8c0fd7517d3499b3c9243a0f60ed522ebca195b5a5b73aa1
-EBUILD opengrok-bin-1.3.8.ebuild 3702 BLAKE2B 11754446f67b2d4264592345819c471b949eae41930adcd3b66a900f607b272c26a7a1025899346dec92e4559cefc1abd665edeacb24f1116dc5886b4c283c45 SHA512 eeec117ff1c8bc94fc8dfdee99552ac28b82c3af427ddb5c410b4ed436bac4063d14bb716bcabdc3164d5e92372f02d7fb0b04810bf389574bf2f97a78503378
diff --git a/www-apps/opengrok-bin/opengrok-bin-1.3.11.ebuild b/www-apps/opengrok-bin/opengrok-bin-1.3.11.ebuild
deleted file mode 100644
index 4e57fa7..0000000
--- a/www-apps/opengrok-bin/opengrok-bin-1.3.11.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit eutils user distutils-r1
-
-MY_PN="${PN/-bin/}"
-# 1.1_rc2 -> 1.1-rc2
-MY_PV="${PV}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="Fast source code search and cross reference engine"
-HOMEPAGE="http://opengrok.github.io/OpenGrok/"
-SRC_URI="https://github.com/OpenGrok/OpenGrok/releases/download/${MY_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="CDDL"
-SLOT="0"
-KEYWORDS="~amd64"
-# use cssc for SCCS support
-IUSE="cssc subversion"
-
-TOMCAT=9
-
-BDEPEND="
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-DEPEND="
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
-"
-RDEPEND="
- ${DEPEND}
- dev-python/filelock[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
- >=dev-util/ctags-5.8
- www-servers/tomcat:${TOMCAT}
- cssc? ( dev-vcs/cssc )
- subversion? ( >=dev-vcs/subversion-1.9.5[java] )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-OPENGROK_DIR="/var/${MY_PN}"
-ETC_DIR="${OPENGROK_DIR}/etc"
-SRC_DIR="${OPENGROK_DIR}/src"
-USER_ID="opengrok"
-GROUP_ID="opengrok"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( "doc/README.md" "doc/logging.properties" )
-
-pkg_setup() {
- enewgroup "${GROUP_ID}"
- enewuser "${USER_ID}" -1 -1 -1 "${GROUP_ID}"
-}
-
-src_unpack() {
- default
- cd "${S}" && tar -xf tools/opengrok-tools.tar.gz || die
-}
-
-python_prepare_all() {
- mv opengrok-tools-*/* . || die
-
- sed -i '/resource/d' 'opengrok_tools.egg-info/requires.txt' || die
- sed -i "/'resource'/d" 'setup.py' || die
- sed -i "/'pytest-runner',/d" 'setup.py' || die
-
- # force the finding of ctags (exuberant version is installed as ctags on gentoo)
- sed -i -e "s:'universal-ctags', ::" src/main/python/opengrok_tools/utils/indexer.py || die
-
- sed -i -e '1,2d' man/man1/opengrok.1 || die
- # manpage sed based on Fedora opengrok.spec by Lubomir Kundrak
- sed 's,^<!DOCTYPE.*,<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">,
- s,^<?Pub Inc>,,
- s,^<command>opengrok,<command>opengrok</command>,
- s,^<optional><option>,<arg><option>,
- s,</option></optional>,</option></arg>,
- s,^</command>,,' man/man1/opengrok.1 | \
- xsltproc /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
-
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- doman opengrok.1
-
- dodir "${INSTALL_DIR}"
- cp -pRP lib share "${ED}/${INSTALL_DIR}" || die
-
- diropts -m 0775 -o ${USER_ID} -g ${GROUP_ID}
- keepdir "${ETC_DIR}" "${SRC_DIR}"
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "Create a tomcat instance to host opengrok, see: https://wiki.gentoo.org/wiki/Apache_Tomcat"
- elog "e.g. /usr/share/tomcat-${TOMCAT}/gentoo/tomcat-instance-manager.bash --create"
- elog ""
- elog "Deploy the web app, example:"
- elog " opengrok-deploy ${INSTALL_DIR}/lib/source.war /var/lib/tomcat-${TOMCAT}/webapps"
- elog ""
- elog "Index the source directory (${SRC_DIR}), example:"
- elog " opengrok-indexer -j /usr/bin/java -a ${INSTALL_DIR}/lib/opengrok.jar -- \ "
- elog " --source ${SRC_DIR} --dataRoot ${OPENGROK_DIR}/data \ "
- elog " --writeConfig ${OPENGROK_DIR}/etc/configuration.xml --host http://127.0.0.1:8080"
- elog ""
- elog "If you need to specify JAVA_HOME: export JAVA_HOME=\$(java-config-2 --jdk-home)"
- elog ""
- elog "Browse to: http://YOUR_WEBAPP_SERVER:WEBAPPSRV_PORT/source"
- elog "e.g. http://localhost:8080/source/"
- elog ""
- elog "Restart tomcat if you get an application not-found on first installation:"
- elog "e.g. /etc/init.d/tomcat-${TOMCAT} restart"
- elog ""
- elog "Release notes at: https://github.com/OpenGrok/OpenGrok/releases"
-}
diff --git a/www-apps/opengrok-bin/opengrok-bin-1.3.13.ebuild b/www-apps/opengrok-bin/opengrok-bin-1.3.13.ebuild
deleted file mode 100644
index 4c4934e..0000000
--- a/www-apps/opengrok-bin/opengrok-bin-1.3.13.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit eutils user distutils-r1
-
-MY_PN="${PN/-bin/}"
-# 1.1_rc2 -> 1.1-rc2
-MY_PV="${PV}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="Fast source code search and cross reference engine"
-HOMEPAGE="http://opengrok.github.io/OpenGrok/"
-SRC_URI="https://github.com/OpenGrok/OpenGrok/releases/download/${MY_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="CDDL"
-SLOT="0"
-KEYWORDS="~amd64"
-# use cssc for SCCS support
-IUSE="cssc subversion"
-
-TOMCAT=9
-
-BDEPEND="
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-DEPEND="
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
-"
-RDEPEND="
- ${DEPEND}
- dev-python/filelock[${PYTHON_USEDEP}]
- =dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
- >=dev-util/ctags-5.8
- www-servers/tomcat:${TOMCAT}
- cssc? ( dev-vcs/cssc )
- subversion? ( >=dev-vcs/subversion-1.9.5[java] )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-OPENGROK_DIR="/var/${MY_PN}"
-ETC_DIR="${OPENGROK_DIR}/etc"
-SRC_DIR="${OPENGROK_DIR}/src"
-USER_ID="opengrok"
-GROUP_ID="opengrok"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( "doc/README.md" "doc/logging.properties" )
-
-pkg_setup() {
- enewgroup "${GROUP_ID}"
- enewuser "${USER_ID}" -1 -1 -1 "${GROUP_ID}"
-}
-
-src_unpack() {
- default
- cd "${S}" && tar -xf tools/opengrok-tools.tar.gz || die
-}
-
-python_prepare_all() {
- mv opengrok-tools-*/* . || die
-
- sed -i '/resource/d' 'opengrok_tools.egg-info/requires.txt' || die
- sed -i "/'resource'/d" 'setup.py' || die
- sed -i "/'pytest-runner',/d" 'setup.py' || die
-
- # force the finding of ctags (exuberant version is installed as ctags on gentoo)
- sed -i -e "s:'universal-ctags', ::" src/main/python/opengrok_tools/utils/indexer.py || die
-
- sed -i -e '1,2d' man/man1/opengrok.1 || die
- # manpage sed based on Fedora opengrok.spec by Lubomir Kundrak
- sed 's,^<!DOCTYPE.*,<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">,
- s,^<?Pub Inc>,,
- s,^<command>opengrok,<command>opengrok</command>,
- s,^<optional><option>,<arg><option>,
- s,</option></optional>,</option></arg>,
- s,^</command>,,' man/man1/opengrok.1 | \
- xsltproc /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
-
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- doman opengrok.1
-
- dodir "${INSTALL_DIR}"
- cp -pRP lib share "${ED}/${INSTALL_DIR}" || die
-
- diropts -m 0775 -o ${USER_ID} -g ${GROUP_ID}
- keepdir "${ETC_DIR}" "${SRC_DIR}"
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "Create a tomcat instance to host opengrok, see: https://wiki.gentoo.org/wiki/Apache_Tomcat"
- elog "e.g. /usr/share/tomcat-${TOMCAT}/gentoo/tomcat-instance-manager.bash --create"
- elog ""
- elog "Deploy the web app, example:"
- elog " opengrok-deploy ${INSTALL_DIR}/lib/source.war /var/lib/tomcat-${TOMCAT}/webapps"
- elog ""
- elog "Index the source directory (${SRC_DIR}), example:"
- elog " opengrok-indexer -j /usr/bin/java -a ${INSTALL_DIR}/lib/opengrok.jar -- \ "
- elog " --source ${SRC_DIR} --dataRoot ${OPENGROK_DIR}/data \ "
- elog " --writeConfig ${OPENGROK_DIR}/etc/configuration.xml --host http://127.0.0.1:8080"
- elog ""
- elog "If you need to specify JAVA_HOME: export JAVA_HOME=\$(java-config-2 --jdk-home)"
- elog ""
- elog "Browse to: http://YOUR_WEBAPP_SERVER:WEBAPPSRV_PORT/source"
- elog "e.g. http://localhost:8080/source/"
- elog ""
- elog "Restart tomcat if you get an application not-found on first installation:"
- elog "e.g. /etc/init.d/tomcat-${TOMCAT} restart"
- elog ""
- elog "Release notes at: https://github.com/OpenGrok/OpenGrok/releases"
-}
diff --git a/www-apps/opengrok-bin/opengrok-bin-1.3.8.ebuild b/www-apps/opengrok-bin/opengrok-bin-1.3.8.ebuild
deleted file mode 100644
index 4e57fa7..0000000
--- a/www-apps/opengrok-bin/opengrok-bin-1.3.8.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit eutils user distutils-r1
-
-MY_PN="${PN/-bin/}"
-# 1.1_rc2 -> 1.1-rc2
-MY_PV="${PV}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="Fast source code search and cross reference engine"
-HOMEPAGE="http://opengrok.github.io/OpenGrok/"
-SRC_URI="https://github.com/OpenGrok/OpenGrok/releases/download/${MY_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="CDDL"
-SLOT="0"
-KEYWORDS="~amd64"
-# use cssc for SCCS support
-IUSE="cssc subversion"
-
-TOMCAT=9
-
-BDEPEND="
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-DEPEND="
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
-"
-RDEPEND="
- ${DEPEND}
- dev-python/filelock[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
- >=dev-util/ctags-5.8
- www-servers/tomcat:${TOMCAT}
- cssc? ( dev-vcs/cssc )
- subversion? ( >=dev-vcs/subversion-1.9.5[java] )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-OPENGROK_DIR="/var/${MY_PN}"
-ETC_DIR="${OPENGROK_DIR}/etc"
-SRC_DIR="${OPENGROK_DIR}/src"
-USER_ID="opengrok"
-GROUP_ID="opengrok"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( "doc/README.md" "doc/logging.properties" )
-
-pkg_setup() {
- enewgroup "${GROUP_ID}"
- enewuser "${USER_ID}" -1 -1 -1 "${GROUP_ID}"
-}
-
-src_unpack() {
- default
- cd "${S}" && tar -xf tools/opengrok-tools.tar.gz || die
-}
-
-python_prepare_all() {
- mv opengrok-tools-*/* . || die
-
- sed -i '/resource/d' 'opengrok_tools.egg-info/requires.txt' || die
- sed -i "/'resource'/d" 'setup.py' || die
- sed -i "/'pytest-runner',/d" 'setup.py' || die
-
- # force the finding of ctags (exuberant version is installed as ctags on gentoo)
- sed -i -e "s:'universal-ctags', ::" src/main/python/opengrok_tools/utils/indexer.py || die
-
- sed -i -e '1,2d' man/man1/opengrok.1 || die
- # manpage sed based on Fedora opengrok.spec by Lubomir Kundrak
- sed 's,^<!DOCTYPE.*,<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">,
- s,^<?Pub Inc>,,
- s,^<command>opengrok,<command>opengrok</command>,
- s,^<optional><option>,<arg><option>,
- s,</option></optional>,</option></arg>,
- s,^</command>,,' man/man1/opengrok.1 | \
- xsltproc /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
-
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- doman opengrok.1
-
- dodir "${INSTALL_DIR}"
- cp -pRP lib share "${ED}/${INSTALL_DIR}" || die
-
- diropts -m 0775 -o ${USER_ID} -g ${GROUP_ID}
- keepdir "${ETC_DIR}" "${SRC_DIR}"
-
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "Create a tomcat instance to host opengrok, see: https://wiki.gentoo.org/wiki/Apache_Tomcat"
- elog "e.g. /usr/share/tomcat-${TOMCAT}/gentoo/tomcat-instance-manager.bash --create"
- elog ""
- elog "Deploy the web app, example:"
- elog " opengrok-deploy ${INSTALL_DIR}/lib/source.war /var/lib/tomcat-${TOMCAT}/webapps"
- elog ""
- elog "Index the source directory (${SRC_DIR}), example:"
- elog " opengrok-indexer -j /usr/bin/java -a ${INSTALL_DIR}/lib/opengrok.jar -- \ "
- elog " --source ${SRC_DIR} --dataRoot ${OPENGROK_DIR}/data \ "
- elog " --writeConfig ${OPENGROK_DIR}/etc/configuration.xml --host http://127.0.0.1:8080"
- elog ""
- elog "If you need to specify JAVA_HOME: export JAVA_HOME=\$(java-config-2 --jdk-home)"
- elog ""
- elog "Browse to: http://YOUR_WEBAPP_SERVER:WEBAPPSRV_PORT/source"
- elog "e.g. http://localhost:8080/source/"
- elog ""
- elog "Restart tomcat if you get an application not-found on first installation:"
- elog "e.g. /etc/init.d/tomcat-${TOMCAT} restart"
- elog ""
- elog "Release notes at: https://github.com/OpenGrok/OpenGrok/releases"
-}