mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
dependency-check-bin: cleanup + minor fixes
This commit is contained in:
parent
740d847175
commit
1bce6fd20a
5 changed files with 5 additions and 81 deletions
|
|
@ -1,3 +1 @@
|
|||
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
|
||||
DIST dependency-check-bin-4.0.2.zip 16938369 BLAKE2B 5dc2e0b2aecc8203504342528e255ef7f1e1fcea96f90676c31bab8115d4182690e133313172822eb69bf172d1c0248ee9882f3487280e137dd0ef9632bf8404 SHA512 e6c8fd0241f47b1c567c247d23a1fb7d68d4500a61d8ecc7ba024b9cf8e6d420760485a5ddcd361eb8c1d81d35571a03d0e036a7553569086b9fe68213affb3b
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN=github.com/jeremylong/DependencyCheck
|
||||
|
||||
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"
|
||||
|
||||
MY_PN="dependency-check"
|
||||
|
||||
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}
|
||||
}
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
#EGO_PN=github.com/jeremylong/DependencyCheck
|
||||
MY_PN="dependency-check"
|
||||
|
||||
DESCRIPTION="A utility that detects vulnerabilities in application dependencies"
|
||||
|
|
@ -15,11 +14,10 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
dev-java/ant-core
|
||||
app-arch/unzip"
|
||||
dev-java/ant-core
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_prepare() {
|
||||
|
|
@ -32,5 +30,5 @@ src_install() {
|
|||
dodir /etc/${MY_PN}
|
||||
insinto /etc/${MY_PN}
|
||||
doins -r repo plugins
|
||||
newbin bin/${MY_PN}.sh ${MY_PN}
|
||||
newsbin bin/${MY_PN}.sh ${MY_PN}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# 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}
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ dev-lang/vala:0.42
|
|||
|
||||
=dev-util/unicorn-1*
|
||||
|
||||
~dev-util/dependency-check-bin-3.3.2
|
||||
~dev-util/dependency-check-bin-4.0.2-r1
|
||||
|
||||
#1.2.3 requires prompt_toolkit 2
|
||||
>=dev-util/frida-tools-1.2.3
|
||||
|
|
|
|||
Loading…
Reference in a new issue