aboutsummaryrefslogtreecommitdiffstats
path: root/testing/artifactory-oss
diff options
context:
space:
mode:
Diffstat (limited to 'testing/artifactory-oss')
-rw-r--r--testing/artifactory-oss/APKBUILD12
-rw-r--r--testing/artifactory-oss/artifactory.confd2
2 files changed, 9 insertions, 5 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"
diff --git a/testing/artifactory-oss/artifactory.confd b/testing/artifactory-oss/artifactory.confd
index 8df0d665bd..a0dadfee91 100644
--- a/testing/artifactory-oss/artifactory.confd
+++ b/testing/artifactory-oss/artifactory.confd
@@ -15,7 +15,7 @@ server_port="8080"
# Path of the log file to catch stdout/stderr of the server process.
# Use empty value to disable stdout/sderr logging.
-#server_out_log="/var/log/artifactory/server.log"
+server_out_log="/var/log/artifactory/server.log"
# Path of the access log file.
# Use empty value to disable access log.