diff options
author | Paul Healy <lmiphay@gmail.com> | 2018-01-26 12:34:56 +0000 |
---|---|---|
committer | Paul Healy <lmiphay@gmail.com> | 2018-01-26 12:34:56 +0000 |
commit | 9c80684762f02acb9bcba41fa00c40a315c5c9fe (patch) | |
tree | 90e95bea7f6090daba93abaacb97b370eafd83ef | |
parent | add updated ebuild for squeeze-alexa (diff) | |
download | lmiphay-9c80684762f02acb9bcba41fa00c40a315c5c9fe.tar.gz lmiphay-9c80684762f02acb9bcba41fa00c40a315c5c9fe.tar.bz2 lmiphay-9c80684762f02acb9bcba41fa00c40a315c5c9fe.zip |
rev bump opengrok
-rw-r--r-- | opengrok.keywords | 4 | ||||
-rw-r--r-- | www-apps/opengrok-bin/Manifest | 5 | ||||
-rw-r--r-- | www-apps/opengrok-bin/opengrok-bin-1.1_rc19.ebuild | 100 |
3 files changed, 104 insertions, 5 deletions
diff --git a/opengrok.keywords b/opengrok.keywords index f1ce472..b14b711 100644 --- a/opengrok.keywords +++ b/opengrok.keywords @@ -1,3 +1,3 @@ -#=www-apps/opengrok-bin-1.1_rc17 ~amd64 -=www-apps/opengrok-bin-1.1_rc18 ~amd64 +#=www-apps/opengrok-bin-1.1_rc18 ~amd64 +=www-apps/opengrok-bin-1.1_rc19 ~amd64 =dev-util/ctags-20170704 ~amd64 diff --git a/www-apps/opengrok-bin/Manifest b/www-apps/opengrok-bin/Manifest index 48d448f..5ea7ced 100644 --- a/www-apps/opengrok-bin/Manifest +++ b/www-apps/opengrok-bin/Manifest @@ -3,13 +3,12 @@ AUX opengrok-1.1_rc14.patch 5992 SHA256 7b564c597b13d42d94b41ba1ed9a304504856436 AUX opengrok-1.1_rc16.patch 5992 SHA256 7b564c597b13d42d94b41ba1ed9a3045048564365e7187418f770f9eedac6c36 SHA512 97cd1d613249af3b075d4899c91ae4e707dd73b889b433fdb68d15aa8057a96e5a3e98a301f8b7d67905cad99781bee29aa11502c6cb128ed6bd9b75161e3663 WHIRLPOOL 2212e530233f65c4ec1f80e01bdfa8ae151fd5a54f86a83e7de2c63faa8e141b1bb4cf927db82690e7a78d3d4f8146d2310fcc09c3fe6de00dcce1bb57131d8c AUX opengrok.1.patch 6063 SHA256 1311ecf576f9cb1542084dc04a8c4bc19e060e965abe3e8f61cdaf7758e84857 SHA512 013fa409cc3fd5b9e62fdd00349f8722c357a963e40fd6193ad19d2e25c39a7ea4650b25853e5920406f9921aa8b7d0a5bfb673678b2d70804860313a51278ed WHIRLPOOL 654f35f54a9f23374cdf155d7ee6998b18ffec06745caf43f9413b4d4165040aced0a39c795cac32270a36e166c1de6abf8b78f692429c8bd28934cb9c8a6561 DIST opengrok-1.0.tar.gz 16487516 SHA256 d86dd30be7b957f57b0f65deb9a4aa56d353d5b0e47ea04fca746fe7c4073b97 SHA512 bafea4a162b1496b5bf3bba7042fb44ad668c091ac4c2ef2604b08c522e2067a6f286c369186cef1341664325f5af0e5e7e2d19a381b0a6062882ebe9049efa3 WHIRLPOOL c571443d0009547e2fb8debd70a63799507f4e0a28f878aa6c1632e228c64c9962f5ca5f238bcfde1add5e0f66ca6ce44dd16171e3f578da9659fbd3ee3be962 -DIST opengrok-1.1-rc14.tar.gz 16175319 SHA256 fbcf1833146466987b924b5dbe0e5473791e2c4edce22bc9da8df48fa332c8be SHA512 c66dea17b3eae4c6736888ef69b24b839f250ac2e02f55226333fd9498f7051d5c007f208744be0a554ea7f54955d31fd5d0de14fe71cd219d27f6494b7f8486 WHIRLPOOL beaff8359086b2eb335e1c2316c964025d72cec127bc28dc8f8a76fb30eb87f9ef250062db68ea7104a2ee6b024446db820287ef79d9f49437cac52a210dd7fc DIST opengrok-1.1-rc16.tar.gz 16247223 SHA256 e4e541fd78ad90266a1d012d33fdc56226edbb27951405aaa4e82b74a174cfa0 SHA512 84adfa1758db563d7283894556c3d4d8ff8005fcbef83a1b323ffb8f46888cd257a248d1fcfe5a9042be1d443b184e4adebea58877aad8b4dc820cd37dac182b WHIRLPOOL 8de5fc498bf2291c6863ed3b1221b2491b0433c27cb1a9861719f277835c84523f8b30dbb49379d592e37c9352652a93d40431a38e4d3bbe1f9b12ccb63264f4 DIST opengrok-1.1-rc17.tar.gz 16958002 SHA256 80737bb805476340f802e315ebbb94734017d1d2297603c1df28d0905ae83c2b SHA512 07cce75793d4736609d960f0440937471d30a6e77cdeff2c6ccaedd343d3d80ab2d6e4c21f9dbe7e58cc01b3c898e945dc6c9f1d5124396a0501769e4c477dfd WHIRLPOOL 730346e581ee5ab8414b75e8ef74fe972fb512b2184a07a2b27c6928ce83a4493b18f93b7e63659b2b2b820a5ef03d5767df3ef211725afa11e9dc278679420e DIST opengrok-1.1-rc18.tar.gz 17223453 SHA256 cc484119c53231f3d290e365474bc70effc03bc4afbe28fd28064823225cb9ab SHA512 0804fed696389a59c2797ab6b10c2ac2d04b05751208145e23839f55a181a8c47dfa8767c4d38efbb7ebbf4e85daf7dc240cb518f7ce324d864dd0eaa514d2fa WHIRLPOOL 3c2b7b3c019ab2e41f5cc63d7b66225c5ad4052c730dafa66fea0665d148f0b66fa032a98e2fd6dee1628f28106ae4861b29c887ae0120d9de91e975f2cf3a98 +DIST opengrok-1.1-rc19.tar.gz 17376769 SHA256 9ce3b3234731b9f24b82897ba5b4620690b82c2109d1d05443de1201ec72cb4c SHA512 af9104364e2c9424f466afd683e80f9cec0133e5ccc1ce1886fe59aa7d0c5a443d989480c9ef2bd4fe61370e3bb5542d5d9b801d1ab99c163b258d1870aa9cf9 WHIRLPOOL 66e85e7f1e900c9d36ad5564262d3a3fcd2203191a0a3645457e9efb1c7312f0e5ac573536463b8c4a3b35d93d9b153538e55a509f132cc462b4133d55a23618 EBUILD opengrok-bin-1.0.ebuild 2523 SHA256 6b5d6f9d28406c3370f20c710419f79568fde3e9470dd11a0baebd798e5f7822 SHA512 b1e00b57ac203214e8aa9bf9664421d30902008251ee95acdad6d0a2047dbb8fcde04f3592ae8ea698a667cfe1248e867cb51f88abdbd58cb9c7f70aad36a7a6 WHIRLPOOL c3e0d705681bcf49f307224b3903df440472b979b77c81d9e3203977fa6d1e36e6d383747ccc3037ba20d56e1a792a1a4f188e8fe55132ce8847c8f6ec938075 -EBUILD opengrok-bin-1.1_rc14.ebuild 2786 SHA256 526b025c2cb4155f4f6e4041a4dc64fd984f4919d8c2dccd3c086653dc04cb25 SHA512 aa73e33ec52e9d995b8d522bd61c353c08911c3d012126ecec557b03636c1ee9fd56810da478c93f2c5771f141cebfdc3316c80ab7e66a090de3793831ff5119 WHIRLPOOL 3267d41c871934a2f0a469ee111070fb041473b0dd3f1f321d6b2b9dd0da3a75224c68d168a774999e0ad7d7700b012284d016d4a663d83acecafb0c0c64361f EBUILD opengrok-bin-1.1_rc16-r1.ebuild 2730 SHA256 92d52d064367b3be67b97502a817b7d49921979ca929646064348d1e6f0d5d45 SHA512 5e615fa850a185407acd276e4583f0389dc7fe523a76413572b4620e79c67d408ee67226713f3397e50d8bc1dac87ac7f9ac8b1656a0ba2322c0462e423b836b WHIRLPOOL e08b75d461768d064c98bb43eb5a80ddb4cc3a3d9d7c7aaca42d1d5027cc31bdb8502fe3791ba4d156d589fda3bb7f3b83b823cf1a5d8e315bb5df4e373b8219 -EBUILD opengrok-bin-1.1_rc16.ebuild 2786 SHA256 526b025c2cb4155f4f6e4041a4dc64fd984f4919d8c2dccd3c086653dc04cb25 SHA512 aa73e33ec52e9d995b8d522bd61c353c08911c3d012126ecec557b03636c1ee9fd56810da478c93f2c5771f141cebfdc3316c80ab7e66a090de3793831ff5119 WHIRLPOOL 3267d41c871934a2f0a469ee111070fb041473b0dd3f1f321d6b2b9dd0da3a75224c68d168a774999e0ad7d7700b012284d016d4a663d83acecafb0c0c64361f EBUILD opengrok-bin-1.1_rc17.ebuild 2902 SHA256 b7e6ce973133b67f29045fa33de0850b49b6db6fe0583de0d52f3150052f462d SHA512 f2216221677041e252132f02b389c05679e9b009e435532f074e3a02d5be0e3da667d707cf3fd78fcd6e8e88ebf7d5596d1a9e51dff25c1a2a534752c29a55e3 WHIRLPOOL 32bbccf4139ad83da285866c533da310e10de2c664b1f6bbff579aa94e3246baeb11026f501e3d0c5f244d3c44de7b104d83582b922841d45d97afa99b41e8b7 EBUILD opengrok-bin-1.1_rc18.ebuild 2902 SHA256 b7e6ce973133b67f29045fa33de0850b49b6db6fe0583de0d52f3150052f462d SHA512 f2216221677041e252132f02b389c05679e9b009e435532f074e3a02d5be0e3da667d707cf3fd78fcd6e8e88ebf7d5596d1a9e51dff25c1a2a534752c29a55e3 WHIRLPOOL 32bbccf4139ad83da285866c533da310e10de2c664b1f6bbff579aa94e3246baeb11026f501e3d0c5f244d3c44de7b104d83582b922841d45d97afa99b41e8b7 +EBUILD opengrok-bin-1.1_rc19.ebuild 2902 SHA256 b7e6ce973133b67f29045fa33de0850b49b6db6fe0583de0d52f3150052f462d SHA512 f2216221677041e252132f02b389c05679e9b009e435532f074e3a02d5be0e3da667d707cf3fd78fcd6e8e88ebf7d5596d1a9e51dff25c1a2a534752c29a55e3 WHIRLPOOL 32bbccf4139ad83da285866c533da310e10de2c664b1f6bbff579aa94e3246baeb11026f501e3d0c5f244d3c44de7b104d83582b922841d45d97afa99b41e8b7 diff --git a/www-apps/opengrok-bin/opengrok-bin-1.1_rc19.ebuild b/www-apps/opengrok-bin/opengrok-bin-1.1_rc19.ebuild new file mode 100644 index 0000000..a9395c2 --- /dev/null +++ b/www-apps/opengrok-bin/opengrok-bin-1.1_rc19.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils user versionator + +MY_PN="${PN/-bin/}" +# 1.1_rc2 -> 1.1-rc2 +MY_PV=$(replace_version_separator 2 '-') +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 ~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() { + # sed script 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 - + 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" + elog "" + elog "This is an RC release! Check the release notes at: https://github.com/OpenGrok/OpenGrok/releases" + elog "You probably want to reindex; e.g. opengrok index ${SRC_DIR}" +} |