diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-23 13:17:28 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-23 20:03:38 +0100 |
commit | 53931427689f284173e57ce1f7a76627820f8e29 (patch) | |
tree | bb6a4cb284e48e1dec0ed0390e73905b32ff305a /security | |
parent | net/gq: Set EXPIRATION_DATE 2024-01-24 (diff) |
security/owasp-dependency-check: Unbreak
- Pet portclippy
Diffstat (limited to 'security')
-rw-r--r-- | security/owasp-dependency-check/Makefile | 13 | ||||
-rw-r--r-- | security/owasp-dependency-check/pkg-descr | 4 |
2 files changed, 7 insertions, 10 deletions
diff --git a/security/owasp-dependency-check/Makefile b/security/owasp-dependency-check/Makefile index d2fdf3968265..0573d6cf24fb 100644 --- a/security/owasp-dependency-check/Makefile +++ b/security/owasp-dependency-check/Makefile @@ -4,36 +4,37 @@ PORTNAME= owasp-dependency-check PORTVERSION= 3.1.1 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= security java MASTER_SITES= LOCAL/pi/:source2 DISTFILES+= owasp-dependency-check-${PORTVERSION}-maven-repository.tar.gz:source2 MAINTAINER= ports@FreeBSD.org COMMENT= Detects publicly disclosed vulnerabilities in project dependencies -WWW= https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html +WWW= https://jeremylong.github.io/DependencyCheck \ + https://www.owasp.org/index.php/OWASP_Dependency_Check \ + https://jeremylong.github.io/DependencyCheck/dependency-check-cli/ LICENSE= APACHE20 -BUILD_DEPENDS= ${LOCALBASE}/share/java/maven/bin/mvn:devel/maven +BUILD_DEPENDS= mvn:devel/maven USE_GITHUB= yes GH_ACCOUNT= jeremylong GH_PROJECT= DependencyCheck - USE_JAVA= yes NO_ARCH= yes - SUB_FILES= owasp-dependency-check SUB_LIST= PORTVERSION=${PORTVERSION} + PLIST_DIRS= /var/cache/owasp-dependency-check PLIST_FILES= bin/owasp-dependency-check \ ${JAVAJARDIR}/owasp-dependency-check-${PORTVERSION}-jar-with-dependencies.jar do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/share/java/maven/bin/mvn \ + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mvn \ --batch-mode -Dmaven.repo.local=${WRKDIR}/repository -DskipTests --offline package do-install: diff --git a/security/owasp-dependency-check/pkg-descr b/security/owasp-dependency-check/pkg-descr index 54282659a231..8be124460473 100644 --- a/security/owasp-dependency-check/pkg-descr +++ b/security/owasp-dependency-check/pkg-descr @@ -3,7 +3,3 @@ vulnerabilities contained within project dependencies. It does this by determining if there is a Common Platform Enumeration (CPE) identifier for a given dependency. If found, it will generate a report linking to the associated CVE entries. - -See also: https://github.com/jeremylong/DependencyCheck -See also: https://www.owasp.org/index.php/OWASP_Dependency_Check -See also: https://jeremylong.github.io/DependencyCheck/dependency-check-cli/ |