pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
OpenGrok - update to v1.1, see TODO
Module Name: pkgsrc-wip
Committed By: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
Pushed By: sevan
Date: Fri Dec 28 02:02:33 2018 +0000
Changeset: 8c5ef573ed69b808c74b96476e6d5074f334e99e
Added Files:
opengrok/DESCR
opengrok/MESSAGE
opengrok/Makefile
opengrok/PLIST
opengrok/TODO
opengrok/distinfo
opengrok/options.mk
Log Message:
OpenGrok - update to v1.1, see TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c5ef573ed69b808c74b96476e6d5074f334e99e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
opengrok/DESCR | 7 +++++++
opengrok/MESSAGE | 35 +++++++++++++++++++++++++++++++
opengrok/Makefile | 44 +++++++++++++++++++++++++++++++++++++++
opengrok/PLIST | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
opengrok/TODO | 3 +++
opengrok/distinfo | 6 ++++++
opengrok/options.mk | 15 ++++++++++++++
7 files changed, 169 insertions(+)
diffs:
diff --git a/opengrok/DESCR b/opengrok/DESCR
new file mode 100644
index 0000000000..27c2ba5752
--- /dev/null
+++ b/opengrok/DESCR
@@ -0,0 +1,7 @@
+OpenGrok is a fast and usable source code search and cross reference engine.
+It helps you search, cross-reference and navigate your source tree. It can
+understand various program file formats and version control histories like
+SCCS, RCS, CVS and Subversion. In other words it lets you grok (profoundly
+understand) the open source, hence the name OpenGrok. It is written in Java.
+
+With this package, OpenGrok is built from source.
diff --git a/opengrok/MESSAGE b/opengrok/MESSAGE
new file mode 100644
index 0000000000..fb66c336f1
--- /dev/null
+++ b/opengrok/MESSAGE
@@ -0,0 +1,35 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.3 2015/09/04 12:14:29 pgoyette Exp $
+
+To use OpenGrok with your code repository, you will need to perform
+the following steps.
+
+1. Install version control software that is used for your code repository.
+
+2. Install one of the following Apache Tomcat servers from pkgsrc.
+ - Apache Tomcat 8.0: pkgsrc/www/apache-tomcat8
+ - Apache Tomcat 8.5: pkgsrc/www/apache-tomcat85
+
+3. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
+ to install source.war to ${PREFIX}/share/tomcat/webapps.
+
+ # JAVA_HOME=${PKG_JAVA_HOME} \
+ OPENGROK_WAR_TARGET_TOMCAT=${PREFIX}/share/tomcat/webapps \
+ ${PREFIX}/share/opengrok/bin/OpenGrok deploy
+
+4. Prepare your code repository in ${PREFIX}/share/opengrok/var/opengrok
+ directory.
+ # mkdir -p ${PREFIX}/share/opengrok/var/opengrok/src
+ $ cd ${PREFIX}/share/opengrok/var/opengrok/src
+ $ git clone your-repository.git
+
+5. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
+ to index your code repository.
+
+ # JAVA_HOME=${PKG_JAVA_HOME} \
+ ${PREFIX}/share/opengrok/bin/OpenGrok update
+
+6. Start Apache Tomcat server.
+
+7. Access http://localhost:8080/source/ .
+===========================================================================
diff --git a/opengrok/Makefile b/opengrok/Makefile
new file mode 100644
index 0000000000..415360d4cf
--- /dev/null
+++ b/opengrok/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.52 2018/12/09 18:52:24 adam Exp $
+
+DISTNAME= opengrok-1.1
+PKGNAME= opengrok-1.1
+CATEGORIES= devel
+MASTER_SITES= https://github.com/oracle/opengrok/releases/download/1.1/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://oracle.github.io/opengrok/
+COMMENT= Fast and usable source code search and cross reference engine
+LICENSE= cddl-1.0
+
+EXTRACT_USING= bsdtar
+
+DEPENDS+= ctags-[0-9]*:../../wip/ctags-git
+
+MESSAGE_SUBST+= PKG_JAVA_HOME=${PKG_JAVA_HOME}
+
+.include "options.mk"
+
+USE_JAVA= yes
+USE_JAVA2= yes
+NO_BUILD= yes
+
+CONF_FILES= ${PREFIX}/share/examples/opengrok/paths.tsv \
+ ${PREFIX}/share/opengrok/var/opengrok/paths.tsv
+
+INSTALLATION_DIRS+= share/opengrok/bin \
+ share/opengrok/lib/lib \
+ share/examples/opengrok \
+ share/opengrok/var/opengrok
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/README.md \
+ ${DESTDIR}${PREFIX}/share/opengrok
+ ${INSTALL_DATA} ${WRKSRC}/lib/source.war \
+ ${DESTDIR}${PREFIX}/share/opengrok/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/lib/*.jar \
+ ${DESTDIR}${PREFIX}/share/opengrok/lib/lib
+ ${INSTALL_DATA} ${WRKSRC}/doc/paths.tsv \
+ ${DESTDIR}${PREFIX}/share/examples/opengrok
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/opengrok/PLIST b/opengrok/PLIST
new file mode 100644
index 0000000000..15789515a6
--- /dev/null
+++ b/opengrok/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD$
+share/examples/opengrok/paths.tsv
+share/opengrok/README.md
+share/opengrok/lib/lib/activation-${PKGVERSION}.1.jar
+share/opengrok/lib/lib/ant-${PKGVERSION}0.1.jar
+share/opengrok/lib/lib/ant-launcher-${PKGVERSION}0.1.jar
+share/opengrok/lib/lib/aopalliance-repackaged-2.5.0-b42.jar
+share/opengrok/lib/lib/bcel-6.2.jar
+share/opengrok/lib/lib/classmate-1.0.0.jar
+share/opengrok/lib/lib/cron-utils-7.0.2.jar
+share/opengrok/lib/lib/hamcrest-core-1.3.jar
+share/opengrok/lib/lib/hibernate-validator-5.1.3.Final.jar
+share/opengrok/lib/lib/hk2-api-2.5.0-b42.jar
+share/opengrok/lib/lib/hk2-locator-2.5.0-b42.jar
+share/opengrok/lib/lib/hk2-utils-2.5.0-b42.jar
+share/opengrok/lib/lib/jackson-annotations-2.8.10.jar
+share/opengrok/lib/lib/jackson-core-2.8.10.jar
+share/opengrok/lib/lib/jackson-databind-2.8.10.jar
+share/opengrok/lib/lib/jackson-module-jaxb-annotations-2.8.10.jar
+share/opengrok/lib/lib/javassist-3.22.0-CR2.jar
+share/opengrok/lib/lib/javax.annotation-api-1.2.jar
+share/opengrok/lib/lib/javax.el-2.2.4.jar
+share/opengrok/lib/lib/javax.el-api-2.2.4.jar
+share/opengrok/lib/lib/javax.inject-1.jar
+share/opengrok/lib/lib/javax.inject-2.5.0-b42.jar
+share/opengrok/lib/lib/javax.ws.rs-api-2.1.jar
+share/opengrok/lib/lib/jaxb-api-2.3.0.jar
+share/opengrok/lib/lib/jaxb-core-2.3.0.jar
+share/opengrok/lib/lib/jaxb-impl-2.3.0.jar
+share/opengrok/lib/lib/jboss-logging-3.1.3.GA.jar
+share/opengrok/lib/lib/jersey-bean-validation-2.27.jar
+share/opengrok/lib/lib/jersey-client-2.27.jar
+share/opengrok/lib/lib/jersey-common-2.27.jar
+share/opengrok/lib/lib/jersey-entity-filtering-2.27.jar
+share/opengrok/lib/lib/jersey-hk2-2.27.jar
+share/opengrok/lib/lib/jersey-media-jaxb-2.27.jar
+share/opengrok/lib/lib/jersey-media-json-jackson-2.27.jar
+share/opengrok/lib/lib/jersey-server-2.27.jar
+share/opengrok/lib/lib/json-simple-${PKGVERSION}.1.jar
+share/opengrok/lib/lib/junit-4.12.jar
+share/opengrok/lib/lib/lucene-analyzers-common-7.5.0.jar
+share/opengrok/lib/lib/lucene-backward-codecs-7.5.0.jar
+share/opengrok/lib/lib/lucene-core-7.5.0.jar
+share/opengrok/lib/lib/lucene-highlighter-7.5.0.jar
+share/opengrok/lib/lib/lucene-join-7.5.0.jar
+share/opengrok/lib/lib/lucene-memory-7.5.0.jar
+share/opengrok/lib/lib/lucene-queries-7.5.0.jar
+share/opengrok/lib/lib/lucene-queryparser-7.5.0.jar
+share/opengrok/lib/lib/lucene-sandbox-7.5.0.jar
+share/opengrok/lib/lib/lucene-suggest-7.5.0.jar
+share/opengrok/lib/lib/${PKGNAME}.jar
+share/opengrok/lib/lib/org.suigeneris.jrcs.diff-0.4.2.jar
+share/opengrok/lib/lib/org.suigeneris.jrcs.rcs-0.4.2.jar
+share/opengrok/lib/lib/osgi-resource-locator-1.0.1.jar
+share/opengrok/lib/lib/slf4j-api-1.7.12.jar
+share/opengrok/lib/lib/validation-api-${PKGVERSION}.0.Final.jar
+share/opengrok/lib/source.war
+@pkgdir share/opengrok/var/opengrok
+@pkgdir share/opengrok/bin
diff --git a/opengrok/TODO b/opengrok/TODO
new file mode 100644
index 0000000000..1aac9e6aba
--- /dev/null
+++ b/opengrok/TODO
@@ -0,0 +1,3 @@
+Extend options to support other SCM tools?
+Review instructions in MESSAGE file
+Test deployment (dogfood)
diff --git a/opengrok/distinfo b/opengrok/distinfo
new file mode 100644
index 0000000000..44d3f0b36c
--- /dev/null
+++ b/opengrok/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.14 2015/11/03 03:27:53 agc Exp $
+
+SHA1 (opengrok-1.1.tar.gz) = e3e7a26a53f03aa7f8381b74125d433d4c219e00
+RMD160 (opengrok-1.1.tar.gz) = 027b756d78d0fc32ff1d97e32eb451503cbaf42e
+SHA512 (opengrok-1.1.tar.gz) = cd44933936dce2891dd2c12b6d591f1f462c4f71be9aa47f4e8bfb2de6b784bba0aaaf42fa8522852880354e15a68fdaede266606d2411e94a2576afe5a97d58
+Size (opengrok-1.1.tar.gz) = 45759729 bytes
diff --git a/opengrok/options.mk b/opengrok/options.mk
new file mode 100644
index 0000000000..ed1765cfe5
--- /dev/null
+++ b/opengrok/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.3 2013/12/31 22:56:12 ryoon Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opengrok
+
+PKG_SUPPORTED_OPTIONS= svn
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support Subversion revision control
+###
+.if !empty(PKG_OPTIONS:Msvn)
+. include "../../devel/subversion-base/buildlink3.mk"
+BUILDLINK_API_DEPENDS.subversion-base+= subversion-base>=1.3.0
+.endif
Home |
Main Index |
Thread Index |
Old Index