mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
zaproxy: pkgcheck fixes
This commit is contained in:
parent
5089de4602
commit
dafb53261f
2 changed files with 15 additions and 2 deletions
14
net-proxy/zaproxy/metadata.xml
Normal file
14
net-proxy/zaproxy/metadata.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>sidhayn@gmail.com</email>
|
||||||
|
<name>Zero_Chaos</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="plugins">Install plugins</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">zaproxy/zaproxy</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
|
|
@ -46,6 +46,7 @@ HOMEPAGE="https://github.com/zaproxy/zaproxy"
|
||||||
SRC_URI="https://github.com/zaproxy/zaproxy/releases/download/v${PV}/ZAP_${PV}_Linux.tar.gz
|
SRC_URI="https://github.com/zaproxy/zaproxy/releases/download/v${PV}/ZAP_${PV}_Linux.tar.gz
|
||||||
plugins? ( $PL_URL $PLUGIN_HUD_URL ) "
|
plugins? ( $PL_URL $PLUGIN_HUD_URL ) "
|
||||||
|
|
||||||
|
S="${WORKDIR}/ZAP_${PV}"
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 x86"
|
KEYWORDS="amd64 x86"
|
||||||
|
|
@ -54,8 +55,6 @@ IUSE="+plugins"
|
||||||
#java-pkg-2 sets java based on RDEPEND so the java slot in rdepend is used to build
|
#java-pkg-2 sets java based on RDEPEND so the java slot in rdepend is used to build
|
||||||
RDEPEND="|| ( >=virtual/jre-11:* virtual/jdk:* )"
|
RDEPEND="|| ( >=virtual/jre-11:* virtual/jdk:* )"
|
||||||
|
|
||||||
S="${WORKDIR}/ZAP_${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
if use plugins ; then
|
if use plugins ; then
|
||||||
rm "${S}"/plugin/ascanrules-*.zap
|
rm "${S}"/plugin/ascanrules-*.zap
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue