mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
dependency-check-bin: 4.0.0 bump
This commit is contained in:
parent
3a64cb797b
commit
a6ffb9c69f
2 changed files with 37 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST dependency-check-bin-3.3.2.zip 15595128 BLAKE2B 77a6d006d6061ddc27be4c0ca9c046a4977af6a57fe0e002d0f663964997224dd0ca42126a0e86df1aafb155006bab63177a722cb6fe84609573119c19f3cf4e SHA512 db5ea3302f12cc210003c295e2d625f985822419c506d40e4e2560015693e21afe536c13b0d0215a4c95bcfd48d779735e8b27e6fe860471a200c1a30921cfdf
|
||||
DIST dependency-check-bin-4.0.0.zip 16910662 BLAKE2B a7d525cc58b09450081fdf0fe6597031d0b3dcb67e77a8e82b8bcfa89cfc0d6f9fc04b36bb44d3ca57efbea6f5e0bf5097544dfc69e0a71f2cc9afdd25c818a8 SHA512 08490d6d821767b11a04627342bb3094427c3042275393080a0b3efeec1aa0372ea10857089a77ac254f96cfb9e0c6ec1bce087b430fee0a5cb4f020f7f830bf
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
#EGO_PN=github.com/jeremylong/DependencyCheck
|
||||
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="http://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 repo plugins
|
||||
newbin bin/${MY_PN}.sh ${MY_PN}
|
||||
}
|
||||
Loading…
Reference in a new issue