File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ TERMUX_PKG_HOMEPAGE=" https://www.zaproxy.org/"
2+ TERMUX_PKG_DESCRIPTION=" Integrated penetration testing tool for finding vulnerabilities in web applications"
3+ TERMUX_PKG_LICENSE=" Apache-2.0"
4+ TERMUX_PKG_MAINTAINER=" @termux-user-repository"
5+ TERMUX_PKG_VERSION=2.15.0
6+ TERMUX_PKG_SRCURL=https://github.com/zaproxy/zaproxy/releases/download/v${TERMUX_PKG_VERSION} /ZAP_${TERMUX_PKG_VERSION} _Linux.tar.gz
7+ TERMUX_PKG_SHA256=6410e196baab458a9204e29aafb5745fca003a2a6c0386f2c6e5c04b67621fa7
8+ TERMUX_PKG_BUILD_IN_SRC=true
9+ TERMUX_PKG_DEPENDS=" openjdk-17, openjdk-17-x"
10+ TERMUX_PKG_ANTI_BUILD_DEPENDS=" openjdk-17, openjdk-17-x"
11+ TERMUX_PKG_PLATFORM_INDEPENDENT=true
12+
13+ termux_step_make_install () {
14+ local install_prefix=" $TERMUX_PREFIX /share/zap"
15+ rm -rf " $install_prefix "
16+ mkdir -p " $install_prefix "
17+ cp -Rf . $install_prefix /
18+ ln -sfr $install_prefix /zap.sh $TERMUX_PREFIX /bin/zaproxy
19+ mkdir -p " $TERMUX_PREFIX /share/pixmaps"
20+ env -i PATH=" $PATH " sudo apt update
21+ env -i PATH=" $PATH " sudo apt install -y graphicsmagick-imagemagick-compat
22+ convert zap.ico[0] -resize 64x64 $TERMUX_PREFIX /share/pixmaps/zap.png
23+ install -Dm644 -t " ${TERMUX_PREFIX} /share/applications" " ${TERMUX_PKG_BUILDER_DIR} /zap.desktop"
24+ }
Original file line number Diff line number Diff line change 1+ [Desktop Entry]
2+ Categories =System;Security;
3+ Type =Application
4+ Name =ZAP
5+ GenericName =Attack Proxy
6+ Comment =Zed Attack Proxy
7+ Exec =zaproxy
8+ Icon =zap
You can’t perform that action at this time.
0 commit comments