summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--dependency-check-cli.install2
3 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 361383fddf4e..690774cf09c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dependency-check-cli
pkgdesc = Dependency-Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies.
pkgver = 5.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jeremylong/DependencyCheck
install = dependency-check-cli.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 877923a90bc9..1b5b5e29ea72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=dependency-check-cli
_pkgname=dependency-check
pkgver=5.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Dependency-Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies."
arch=('any')
depends=('java-runtime')
diff --git a/dependency-check-cli.install b/dependency-check-cli.install
index 847811504b28..0507027bd65e 100644
--- a/dependency-check-cli.install
+++ b/dependency-check-cli.install
@@ -1,5 +1,6 @@
post_install() {
groupadd dependencycheck
+ mkdir /opt/dependency-check/data
chown -R root:dependencycheck /opt/dependency-check/data
chmod -R g+w /opt/dependency-check/data
echo " Users should be added to the 'dependencycheck' group to be able to perform vulnerability database updates."
@@ -7,6 +8,7 @@ post_install() {
}
post_upgrade() {
+ mkdir /opt/dependency-check/data
chown -R root:dependencycheck /opt/dependency-check/data
chmod -R g+w /opt/dependency-check/data
}