pkgsrc/devel/opengrok/patches/patch-OpenGrok
ryoon d7d2e810a5 Update to 0.12.1
Changelog:
May 2014 update 0.12.1
-------------------------------------------------

This is a stability improvement release and we suggest to use it instead of 0.12

Bug fixes:
  reassign tags to changesets when performing merging of old and new history during incremental reindex fixes #819
  create file which stores the latest cached revision also when renamed file handling is disabled fixes #818
  Made the limitations on JavaDB versions explicit
2014-10-06 13:36:43 +00:00

44 lines
1.5 KiB
Text

$NetBSD: patch-OpenGrok,v 1.2 2014/10/06 13:36:43 ryoon Exp $
--- OpenGrok.orig 2014-04-29 11:05:25.000000000 +0000
+++ OpenGrok
@@ -145,7 +145,7 @@ DefaultInstanceConfiguration()
# operating systems, if you have any reasonably generic
# improvements please feel free to submit a patch.
- OPENGROK_INSTANCE_BASE="${OPENGROK_INSTANCE_BASE:-/var/opengrok}"
+ OPENGROK_INSTANCE_BASE="${OPENGROK_INSTANCE_BASE:-@PREFIX@/share/opengrok/var/opengrok}"
LOGGER_CONFIG_FILE="logging.properties"
@@ -274,7 +274,7 @@ DefaultInstanceConfiguration()
WEBAPP_CONFIG=""
if [ -n "${OPENGROK_WEBAPP_CFGADDR}" ]; then
WEBAPP_CONFIG_ADDRESS=${OPENGROK_WEBAPP_CFGADDR}
- if [ "${OPENGROK_WEBAPP_CFGADDR}" == "none" ]; then
+ if [ "${OPENGROK_WEBAPP_CFGADDR}" = "none" ]; then
WEBAPP_CONFIG_ADDRESS=""
fi
else
@@ -296,15 +296,15 @@ DefaultInstanceConfiguration()
JAVA_OPTS="${JAVA_OPTS:--Xmx2048m}"
# OPTIONAL: Full Path to History Utilities
- HG="`Which hg`"
- CVS="`Which cvs`"
- SVN="`Which svn`"
+ HG="@PREFIX@/bin/hg"
+ CVS="/usr/bin/cvs"
+ SVN="@PREFIX@/bin/svn"
SCCS="`Which sccs`"
CLEARCASE="`Which cleartool`"
- GIT="`Which git`"
+ GIT="@PREFIX@/bin/git"
P4="`Which p4`"
- MTN="`Which mtn`"
- BZR="`Which bzr`"
+ MTN="@PREFIX@/bin/mtn"
+ BZR="@PREFIX@/bin/bzr"
# OPTIONAL: Override Built-in Properties
# Assumption: We should not set properties to the empty string