summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
-rw-r--r--bin.patch18
-rw-r--r--neo4j.conf2
4 files changed, 34 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd7f79d63052..c141b86e51de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = neo4j-community
pkgdesc = A fully transactional graph database implemented in Java
pkgver = 3.2.6
- pkgrel = 1
+ pkgrel = 2
url = http://neo4j.org/
install = neo4j.install
arch = any
@@ -12,12 +12,14 @@ pkgbase = neo4j-community
options = !strip
backup = etc/neo4j/neo4j.conf
source = http://dist.neo4j.org/neo4j-community-3.2.6-unix.tar.gz
+ source = bin.patch
source = neo4j.conf
source = neo4j.install
source = neo4j.service
source = neo4j-tmpfile.conf
sha256sums = 6d68363595c9288dc734301de6d8f935b7a0febcb59b88ff77676b95cd0a8950
- sha256sums = f3ad973ba00f14980bb6ece9a619cb4775c0084a5eaf19f76f74675eea4803e8
+ sha256sums = 163a1fad08a26c1367ea24a09e3231dab9aa0ed6b86b6421663cad622e2b680b
+ sha256sums = 8b58f52fc827a02eda8aa58fd40c3a19aab9f5ea0687f5eebc421ba49828713b
sha256sums = f95936abc4a519b01d2cd987cd38a253003cf4cd39bfab29948708e82d98de66
sha256sums = cf3148bd65ddc06f5ca8cf2ad37013d2e1aa561c5759e4b295f361465e603928
sha256sums = e1311352e05b1e698599b91883141b938ceb418abd7e6bc11cc964854f0a21e1
diff --git a/PKGBUILD b/PKGBUILD
index b6072d9fe2e1..76f3a561b692 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Marcel Campello Ferreira <marcel.campello.ferreira@gmail.com>
pkgname=neo4j-community
pkgver=3.2.6
-pkgrel=1
+pkgrel=2
pkgdesc='A fully transactional graph database implemented in Java'
arch=(any)
url=http://neo4j.org/
@@ -13,15 +13,23 @@ backup=(etc/neo4j/neo4j.conf)
options=(!strip)
install=neo4j.install
source=(http://dist.neo4j.org/neo4j-community-$pkgver-unix.tar.gz
+ bin.patch
neo4j.conf
neo4j.install
neo4j.service
neo4j-tmpfile.conf)
sha256sums=('6d68363595c9288dc734301de6d8f935b7a0febcb59b88ff77676b95cd0a8950'
- 'f3ad973ba00f14980bb6ece9a619cb4775c0084a5eaf19f76f74675eea4803e8'
+ '163a1fad08a26c1367ea24a09e3231dab9aa0ed6b86b6421663cad622e2b680b'
+ '8b58f52fc827a02eda8aa58fd40c3a19aab9f5ea0687f5eebc421ba49828713b'
'f95936abc4a519b01d2cd987cd38a253003cf4cd39bfab29948708e82d98de66'
'cf3148bd65ddc06f5ca8cf2ad37013d2e1aa561c5759e4b295f361465e603928'
'e1311352e05b1e698599b91883141b938ceb418abd7e6bc11cc964854f0a21e1')
+
+prepare() {
+
+ cd $srcdir/neo4j-community-$pkgver
+ patch -Np1 -i ../bin.patch
+}
package() {
cd $srcdir/neo4j-community-$pkgver
@@ -46,7 +54,7 @@ package() {
[[ $(ls -A logs/* 2>/dev/null) ]] && cp -r logs/* $pkgdir/$LOG_DIR
# Copy JARs in lib and plugins
- LIB_DIR=usr/share/java/neo4j
+ LIB_DIR=usr/share/java/neo4j/lib
install -dm755 $pkgdir/$LIB_DIR
[[ $(ls -A lib/* 2>/dev/null) ]] && cp -r lib/* $pkgdir/$LIB_DIR
diff --git a/bin.patch b/bin.patch
new file mode 100644
index 000000000000..ab40b22ada1c
--- /dev/null
+++ b/bin.patch
@@ -0,0 +1,18 @@
+diff -au0r neo4j-community-3.0.6-orig/bin/neo4j-admin neo4j-community-3.0.6-mod/bin/neo4j-admin
+--- neo4j-community-3.0.6-orig/bin/neo4j-admin 2016-09-14 11:15:28.000000000 -0300
++++ neo4j-community-3.0.6-mod/bin/neo4j-admin 2016-09-21 21:48:09.366135928 -0300
+@@ -3,0 +4,2 @@
++export NEO4J_CONF=/etc/neo4j
++
+diff -au0r neo4j-community-3.0.6-orig/bin/neo4j-import neo4j-community-3.0.6-mod/bin/neo4j-import
+--- neo4j-community-3.0.6-orig/bin/neo4j-import 2016-09-14 11:15:28.000000000 -0300
++++ neo4j-community-3.0.6-mod/bin/neo4j-import 2016-09-21 21:48:09.366135928 -0300
+@@ -3,0 +4,2 @@
++export NEO4J_CONF=/etc/neo4j
++
+diff -au0r neo4j-community-3.0.6-orig/bin/neo4j-shell neo4j-community-3.0.6-mod/bin/neo4j-shell
+--- neo4j-community-3.0.6-orig/bin/neo4j-shell 2016-09-14 11:15:28.000000000 -0300
++++ neo4j-community-3.0.6-mod/bin/neo4j-shell 2016-09-21 21:48:09.366135928 -0300
+@@ -3,0 +4,2 @@
++export NEO4J_CONF=/etc/neo4j
++
diff --git a/neo4j.conf b/neo4j.conf
index 80d4fca78ed8..0cfb10bcd149 100644
--- a/neo4j.conf
+++ b/neo4j.conf
@@ -13,7 +13,7 @@ dbms.directories.data=/var/lib/neo4j/data
dbms.directories.plugins=/usr/share/java/neo4j/plugins
dbms.directories.certificates=/etc/neo4j/certificates
dbms.directories.logs=/var/log/neo4j
-dbms.directories.lib=/usr/share/java/neo4j
+dbms.directories.lib=/usr/share/java/neo4j/lib
dbms.directories.run=/run/neo4j
# This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to