dev-util/dependency-check-bin - 5.3.2 (blshkv)

Search

Install

Install this version:

emerge -a =dev-util/dependency-check-bin-5.3.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/dependency-check-bin-5.3.2

Or alternatively:

emerge --autounmask-write -a =dev-util/dependency-check-bin-5.3.2

Package Information

Description:
A utility that detects vulnerabilities in application dependencies
Homepage:
https://www.owasp.org/index.php/OWASP_Dependency_Check
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
5.3.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="dependency-check"

DESCRIPTION="A utility that detects vulnerabilities in application dependencies"
HOMEPAGE="https://www.owasp.org/index.php/OWASP_Dependency_Check"
SRC_URI="https://dl.bintray.com/jeremy-long/owasp/dependency-check-${PV}-release.zip -> ${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=virtual/jdk-1.7
	dev-java/ant-core
	app-arch/unzip"
RDEPEND=">=virtual/jre-1.7"

S="${WORKDIR}/${MY_PN}"

src_prepare() {
	sed -i -e 's|^PRGDIR=.*|PRGDIR="/etc/dependency-check"|' bin/${MY_PN}.sh || die "Sed failed!"
	sed -i -e 's|^BASEDIR=`cd "$PRGDIR/.."|BASEDIR=`cd "$PRGDIR"|' bin/${MY_PN}.sh || die "Sed failed!"
	eapply_user
}

src_install() {
	dodir /etc/${MY_PN}
	insinto /etc/${MY_PN}
	doins -r lib plugins
	newsbin bin/${MY_PN}.sh ${MY_PN}
}

Dependencies

DEPEND

>=virtual/jdk-1.7
	dev-java/ant-core
	app-arch/unzip

RDEPEND

>=virtual/jre-1.7

Manifest for 5.3.2

Type File Size Source URLs
DIST dependency-check-bin-5.3.2.zip 19997190 bytes https://dl.bintray.com/jeremy-long/owasp/dependency-check-5.3.2-release.zip