Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 469784 Details for
Bug 274539
ebuild request : opengrok
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild to install the opengrok 1.0 binary (pre-built) package
opengrok-bin-1.0.ebuild (text/plain), 2.46 KB, created by
Paul Healy
on 2017-04-11 20:57:13 UTC
(
hide
)
Description:
ebuild to install the opengrok 1.0 binary (pre-built) package
Filename:
MIME Type:
Creator:
Paul Healy
Created:
2017-04-11 20:57:13 UTC
Size:
2.46 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > >MY_PN="${PN/-bin/}" >MY_P="${MY_PN}-${PV}" > >inherit eutils user > >DESCRIPTION="Fast source code search and cross reference engine" >HOMEPAGE="http://opengrok.github.io/OpenGrok/" >SRC_URI="https://github.com/OpenGrok/OpenGrok/releases/download/${PV}/${MY_P}.tar.gz" >RESTRICT="mirror" > >LICENSE="CDDL" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="+doc subversion" > >RDEPEND=" > >=dev-util/ctags-5.8 > >=www-servers/tomcat-8.0.39 > subversion? ( >=dev-vcs/subversion-1.9.5[java] ) >" >DEPEND=" > ${RDEPEND} > app-text/docbook-xsl-stylesheets > dev-libs/libxslt >" > >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}" > >pkg_setup() { > enewgroup "${GROUP_ID}" > enewuser "${USER_ID}" -1 -1 -1 "${GROUP_ID}" >} > >src_prepare() { > epatch "${FILESDIR}/${MY_PN}-${PV}.patch" > # sed script from Fedora opengrok.spec by Lubomir Kundrak > sed 's,^<!DOCTYPE.*,<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">, > s,^<?Pub Inc>,,' man/man1/opengrok.1 | \ > xsltproc /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl - > eapply_user >} > >src_install() { > doman opengrok.1 > > if use doc ; then > dodoc -r doc/* > fi > > dodir "${INSTALL_DIR}" > cp -pRP bin lib "${ED}/${INSTALL_DIR}" || die > > make_wrapper "${MY_PN}" ./OpenGrok ${INSTALL_DIR}/bin > > # install default logging.properties file (required by driver script) > insinto "${INSTALL_DIR}/doc" > doins doc/logging.properties > > dodir "${ETC_DIR}" "${SRC_DIR}" > fowners "${USER_ID}:${GROUP_ID}" "${OPENGROK_DIR}" -R > fperms 775 "${OPENGROK_DIR}" >} > >pkg_postinst() { > elog "To create a tomcat instance to host opengrok, see: https://wiki.gentoo.org/wiki/Apache_Tomcat" > elog "e.g. /usr/share/tomcat-8/gentoo/tomcat-instance-manager.bash --create" > elog "" > elog "To deploy the web app see: https://github.com/OpenGrok/OpenGrok/wiki/How-to-install-OpenGrok" > elog "e.g. OPENGROK_TOMCAT_BASE=/var/lib/tomcat-8 opengrok deploy" > elog "" > elog "To index the source directory (${SRC_DIR}):" > elog " opengrok index <absolute_path_to_your_SRC_ROOT>" > elog "e.g. opengrok index ${SRC_DIR}" > 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-8 restart" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 274539
:
434174
| 469784 |
469786