mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
parent
81bdfd68b4
commit
1aa7ed1e53
2 changed files with 0 additions and 36 deletions
|
@ -1,34 +0,0 @@
|
||||||
# Template file for 'zaproxy'
|
|
||||||
pkgname=zaproxy
|
|
||||||
version=2.7.0
|
|
||||||
revision=1
|
|
||||||
hostmakedepends="openjdk apache-ant"
|
|
||||||
depends="virtual?java-runtime"
|
|
||||||
short_desc="Web application vulnerability scanner"
|
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
||||||
license="Apache-2.0"
|
|
||||||
homepage="https://www.owasp.org/index.php/ZAP"
|
|
||||||
distfiles="https://github.com/zaproxy/zaproxy/archive/${version}.tar.gz"
|
|
||||||
checksum=325bd7cf78775a302287daee01872a8224297c3bb261eedd8d91809c91ca0ccb
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
# Set version for ant
|
|
||||||
sed -i "s/Dev Build/${version}/" build/version.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
ant -f build/build.xml dist
|
|
||||||
}
|
|
||||||
|
|
||||||
post_build() {
|
|
||||||
rm build/zap/zap.bat
|
|
||||||
chmod +x build/zap/zap.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmkdir usr/share/${pkgname}
|
|
||||||
vcopy "build/zap/*" usr/share/${pkgname}
|
|
||||||
vinstall build/zap/zap.sh 755 usr/share/${pkgname}
|
|
||||||
vmkdir usr/bin
|
|
||||||
ln -rs ${DESTDIR}/usr/share/${pkgname}/zap.sh ${DESTDIR}/usr/bin/zaproxy
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
site="https://raw.githubusercontent.com/zaproxy/zap-admin/master/ZapVersions.xml"
|
|
||||||
pattern="<version>\K[\d\.]+(?=</version>)"
|
|
Loading…
Add table
Reference in a new issue