wok-6.x view metasploit/receipt @ rev 24321
updated aqualung (1.0 -> 1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 26 10:22:26 2022 +0100 (2022-01-26) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="metasploit"
4 VERSION="5.0.91"
5 CATEGORY="network"
6 SHORT_DESC="An advanced open-source platform for developing, testing, and using exploit code."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.metasploit.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rapid7/$PACKAGE-framework/archive/$VERSION.tar.gz"
14 DEPENDS="libpcap ruby"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/$PACKAGE
26 mkdir -p $fs/etc/profile.d
28 cp -a $src/* $fs/usr/share/$PACKAGE
29 echo "export PATH=$PATH:/usr/share/$PACKAGE" > \
30 $fs/etc/profile.d/$PACKAGE.sh
31 chmod 755 $fs/etc/profile.d/$PACKAGE.sh
32 }