wok view metasploit/receipt @ rev 25594
Update some web_site/wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 11 10:40:23 2023 +0000 (16 months ago) |
parents | 5ea0ce1cecc0 |
children | 4f02a37747b4 |
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 }