diff options
author | Jonathan Anderson <jonathan@FreeBSD.org> | 2018-02-09 02:40:11 +0000 |
---|---|---|
committer | Jonathan Anderson <jonathan@FreeBSD.org> | 2018-02-09 02:40:11 +0000 |
commit | 63d67a6d682e8809321d0d52fe09289590c2fc86 (patch) | |
tree | 54f5038f3f6648a8ceb1a1dc853433cfa7d7ef0a /databases/neo4j/files/patch-bin_neo4j | |
parent | net-im/purple-discord: create port (diff) |
Update neo4j to v3.3.2.
While we're here, fix up some variable names to ensure that all of the
scripts work (e.g., /usr/local/etc/rc.d/neo4j).
Approved by: crees
Differential Revision: https://reviews.freebsd.org/D14260
Notes
Notes:
svn path=/head/; revision=461285
Diffstat (limited to 'databases/neo4j/files/patch-bin_neo4j')
-rw-r--r-- | databases/neo4j/files/patch-bin_neo4j | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/databases/neo4j/files/patch-bin_neo4j b/databases/neo4j/files/patch-bin_neo4j index 3cb38d4c0c13..c69199748b12 100644 --- a/databases/neo4j/files/patch-bin_neo4j +++ b/databases/neo4j/files/patch-bin_neo4j @@ -1,13 +1,36 @@ ---- bin/neo4j.orig 2017-07-04 01:59:39 UTC +--- bin/neo4j.orig 2018-02-07 19:48:06 UTC +++ bin/neo4j @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/local/bin/bash - # Copyright (c) 2002-2016 "Neo Technology," + # Copyright (c) 2002-2018 "Neo Technology," # Network Engine for Objects in Lund AB [http://neotechnology.com] # -@@ -162,9 +162,9 @@ _show_java_help() { - +@@ -63,7 +63,9 @@ build_classpath() { + detect_os() { + if uname -s | grep -q Darwin; then + DIST_OS="macosx" +- elif [[ -e /etc/gentoo-release ]]; then ++ elif uname -s | grep -q FreeBSD; then ++ DIST_OS="freebsd" ++ elif [[ -e /etc/gentoo-release ]]; then + DIST_OS="gentoo" + else + DIST_OS="other" +@@ -146,7 +148,10 @@ _find_java_home() { + [[ "${JAVA_HOME:-}" ]] && return + + case "${DIST_OS}" in +- "macosx") ++ "freebsd") ++ JAVA_HOME="%%JAVA_HOME%%" ++ ;; ++ "macosx") + JAVA_HOME="$(/usr/libexec/java_home -v 1.8)" + ;; + "gentoo") +@@ -162,9 +167,9 @@ _show_java_help() { + _setup_calculated_paths() { if [[ -z "${NEO4J_HOME:-}" ]]; then - NEO4J_HOME="$(cd "$(dirname "$0")"/.. && pwd)" @@ -17,4 +40,4 @@ + : "${NEO4J_CONF:="${NEO4J_HOME}/../etc"}" readonly NEO4J_HOME NEO4J_CONF } - + |