burpsuite-2020.7.ebuild

This commit is contained in:
blshkv 2020-07-21 11:08:05 +08:00
parent 6d06b8d1ab
commit ad6bb40179
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 37 additions and 1 deletions

View file

@ -1,2 +1,2 @@
DIST burpsuite_community_v2020.5.1.jar 362907856 BLAKE2B 77a039c193b18954deb1f62c26c3c8eefbd442042ff690981b9f62177cda83236b232d6edf60b5a0224f41b6f9ca4154215283838d3c4ede7a4fdeb3ac4e8b3c SHA512 2ba215ce356a95eb0a9ff1de0e6cfd1bcd5a41f849790fb3e8e9385c1a412d61822dc20f30f96fc98aedc82bdbe48681872f789c34b715747b15e7f18050362d
DIST burpsuite_community_v2020.6.jar 363551849 BLAKE2B 50c0296554bafa1471a0c5d18b3b1167ca2e929cd1dcaa0399a05d209b5dffa130434081f64f46270d0439be47b8f39befcc9bc0890712ea758775d74ac55137 SHA512 c879e035a6010e18992e90c53393e7a24a1518127632e86ee5db7952e7f9c94e8341312c61cf72a232ef33cccafdaf62a29e20f6566d1a7b544028962124cd6a
DIST burpsuite_community_v2020.7.jar 367485164 BLAKE2B 6ba5ddede37b694fddd31a2bbde74abf83726db63e2855c1bcb88d26314e0e68f1248e28389280603ed4060b529df907d8ef4a335604bcb0db1e6cdb56b5b51d SHA512 943621e23d9299fc5bb228a5bf29d35382eeb526cb93bb65c308e21bdbedf318b8ddf1444bae9843d1dcdb76b383a4009ebb65876f6487df74d13ef0f0cd53b8

View file

@ -0,0 +1,36 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P="burpsuite_community_v${PV}.jar"
DESCRIPTION="Interactive proxy for attacking and debugging web applications"
HOMEPAGE="https://portswigger.net/burp/"
SRC_URI="https://portswigger.net/burp/releases/download?product=community&version=${PV} -> ${MY_P}"
LICENSE="BURP"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}/${A}" "${S}"
}
src_install() {
dodir /opt/"${PN}"
insinto /opt/"${PN}"
doins "${MY_P}"
newbin - ${PN} <<-EOF
#!/bin/sh
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
java -Xmx2G -jar /opt/${PN}/${MY_P} >/dev/null 2>&1 &
EOF
}