aboutsummaryrefslogtreecommitdiffstats
path: root/testing/artifactory-oss/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-29 21:34:04 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-29 21:34:17 +0100
commit202eced5a9f5426a70c143830cd644b626817bad (patch)
treebc0f033a2e214dcfcb1eedea8c69f51ff81c9a5a /testing/artifactory-oss/APKBUILD
parent1fe11e2d69b50d18a7f01130a66a1ec40ab4c4aa (diff)
downloadaports-202eced5a9f5426a70c143830cd644b626817bad.tar.bz2
aports-202eced5a9f5426a70c143830cd644b626817bad.tar.xz
testing/artifactory-oss: fix config perms and enable server.log
Diffstat (limited to 'testing/artifactory-oss/APKBUILD')
-rw-r--r--testing/artifactory-oss/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/testing/artifactory-oss/APKBUILD b/testing/artifactory-oss/APKBUILD
index 80c1998d55..07d4308274 100644
--- a/testing/artifactory-oss/APKBUILD
+++ b/testing/artifactory-oss/APKBUILD
@@ -3,7 +3,7 @@
pkgname=artifactory-oss
_pkgname=artifactory
pkgver=4.14.0
-pkgrel=0
+pkgrel=1
pkgdesc="Open source Maven repository manager"
url="https://www.jfrog.com/open-source/"
arch="noarch"
@@ -78,6 +78,10 @@ package() {
ln -s /etc/$_pkgname/$f "$libdir"/etc/$f || return 1
done
+ # Fix permissions, this file may contain DB password.
+ install -m 640 -o root -g $pkggroups etc/storage.properties \
+ "$pkgdir"/etc/$_pkgname/storage.properties || return 1
+
# Artifactory dumps settings from web admin interface, so keep it in
# /usr/lib instead of /etc.
install -m 600 -o $pkgusers -g $pkggroups \
@@ -94,8 +98,8 @@ package() {
}
md5sums="ce36815e9be82625641f3dd23ce0bdf4 jfrog-artifactory-oss-4.14.0.zip
-5ea41a4fe0693f54d6c37de9a09c4277 artifactory.confd"
+e64dca85dc3505db85e774d936b94a0c artifactory.confd"
sha256sums="ce21dd97b5919a3736cc02aa321877e9b1030fa9100b489b70c3a3459bf7d7e9 jfrog-artifactory-oss-4.14.0.zip
-cf0feb3fb3c88bd0b074e796babaea1961760eea4862d8dee1e4fab5be1fcbe3 artifactory.confd"
+3616ab9ae116a76e2c5bfec523f76f4f56fde8894113c5d4dce15416660b3ecd artifactory.confd"
sha512sums="e69d8d046cd320e0ed9848538a555e0f8aaf0e65520de79c6b380a180f4d628d5ff7ee441140b48dd076528c2c5b8982719d9ab94ec6dbaf42c0495c7e0433e9 jfrog-artifactory-oss-4.14.0.zip
-824c4862f2ae28d8aa6f44ae6e02739e0604e974000520ca5efb9b6e293e564bf6b2b79785720fa2b864864462dce84fca7cdbb67291356e58821eccdb287c2b artifactory.confd"
+2701ea102da77b86be3b9aa75d5aa92fd5d81081ae1c835aaea49b0f0fd015bd5b32128ba913afda10fac122eec2d0bd1e203af4ee3d13106c3e66e7d1b83498 artifactory.confd"