pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50207: Update devel/opengrok/MESSAGE
>Number: 50207
>Category: pkg
>Synopsis: Update devel/opengrok/MESSAGE
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Sep 04 10:15:00 +0000 2015
>Originator: NONAKA Kimihiro
>Release: pkgsrc-HEAD (20150904)
>Organization:
>Environment:
NetBSD netbsd 6.1_STABLE NetBSD 6.1_STABLE (NBSERVER) #2: Fri Jul 24 17:29:01 JST 2015 nonaka@netbsd:/home/snapshot/NetBSD/6-STABLE/obj.NetBSD-amd64/amd64/sys/arch/amd64/compile/NBSERVER amd64
>Description:
described combination of openjdk7 and tomcat7 in MESSAGE, but work with openjdk8, tomcat6, tomcat8.
Please update MESSAGE.
>How-To-Repeat:
1) cd /path/to/pkgsrc/devel/opengrok
2) make package
3) pkg_info /path/to/package/OpenGrok-0.12.1.5.tgz
>Fix:
Please apply the following patch.
Index: MESSAGE
===================================================================
RCS file: /cvsroot/pkgsrc/devel/opengrok/MESSAGE,v
retrieving revision 1.1
diff -u -r1.1 MESSAGE
--- MESSAGE 31 Dec 2013 22:56:12 -0000 1.1
+++ MESSAGE 4 Sep 2015 10:06:11 -0000
@@ -6,12 +6,15 @@
1. Install version control software that is used for your code repository.
-2. Install Apache Tomcat 7 from pkgsrc/www/apache-tomcat7.
+2. Install one of the following Apache Tomcat server from pkgsrc.
+ - Apacht Tomcat 6: pkgsrc/www/apacht-tomcat6
+ - Apacht Tomcat 7: pkgsrc/www/apacht-tomcat7
+ - Apacht Tomcat 8: pkgsrc/www/apacht-tomcat8
3. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
to install source.war to ${PREFIX}/share/tomcat/webapps.
- # JAVA_HOME=/usr/pkg/java/openjdk7 \
+ # JAVA_HOME=${PKG_JAVA_HOME} \
OPENGROK_WAR_TARGET_TOMCAT=${PREFIX}/share/tomcat/webapps \
${PREFIX}/share/opengrok/bin/OpenGrok deploy
@@ -24,10 +27,10 @@
5. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
to index your code repository.
- # JAVA_HOME=${PREFIX}/java/openjdk7 \
+ # JAVA_HOME=${PKG_JAVA_HOME} \
${PREFIX}/share/opengrok/bin/OpenGrok update
-6. Start Apache Tomcat 7 server.
+6. Start Apache Tomcat server.
7. Access http://localhost:8080/source/ .
===========================================================================
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/opengrok/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile 4 Sep 2015 05:28:06 -0000 1.38
+++ Makefile 4 Sep 2015 10:06:11 -0000
@@ -28,10 +28,12 @@
SUBST_STAGE.conf= pre-configure
SUBST_VARS.conf= PREFIX
+MESSAGE_SUBST+= PKG_JAVA_HOME=${PKG_JAVA_HOME}
+
.include "options.mk"
USE_JAVA= yes
-USE_JAVA2= yes
+USE_JAVA2= 7
USE_TOOLS+= unzip:run zip:run
CONF_FILES= ${PREFIX}/share/examples/opengrok/paths.tsv \
Home |
Main Index |
Thread Index |
Old Index