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