wok-6.x annotate metasploit/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 0994e1c4f19f |
children | 3ae2d1f7b186 |
rev | line source |
---|---|
slaxemulator@9444 | 1 # SliTaz package receipt. |
slaxemulator@9444 | 2 |
slaxemulator@9444 | 3 PACKAGE="metasploit" |
Hans-G?nter@23177 | 4 VERSION="5.0.80" |
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 |
slaxemulator@9444 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9444 | 17 genpkg_rules() |
slaxemulator@9444 | 18 { |
Hans-G?nter@21434 | 19 mkdir -p $fs/usr/share/$PACKAGE |
Hans-G?nter@21434 | 20 mkdir -p $fs/etc/profile.d |
Hans-G?nter@21434 | 21 |
Hans-G?nter@23177 | 22 cp -a $src/* $fs/usr/share/$PACKAGE |
Hans-G?nter@23177 | 23 echo "export PATH=$PATH:/usr/share/$PACKAGE" > \ |
Hans-G?nter@23177 | 24 $fs/etc/profile.d/$PACKAGE.sh |
Hans-G?nter@23177 | 25 chmod 755 $fs/etc/profile.d/$PACKAGE.sh |
slaxemulator@9444 | 26 } |