get-scripts rev 32

Add exploit_suggester
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 26 11:21:08 2015 +0100 (2015-01-26)
parents 9367920b68c4
children 0aac769ef758
files exploit_suggester javajre
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/exploit_suggester	Mon Jan 26 11:21:08 2015 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +WEB_SITE="https://penturalabs.github.io/Linux_Exploit_Suggester"
     1.5 +WGET_URL="https://github.com/PenturaLabs/Linux_Exploit_Suggester/tarball/master"
     1.6 +VERSION="$(date +%Y%m%d)"
     1.7 +CATEGORY="security"
     1.8 +LICENSE="GPL2"
     1.9 +DEPENDS="perl"
    1.10 +BUILD_DEPENDS="wget"
    1.11 +SHORT_DESC="Linux Exploit Suggester; based on operating system release number."
    1.12 +
    1.13 +wget -c --no-check-certificate -O - $WGET_URL | tar xzf -
    1.14 +mkdir -p $PACKAGE-$VERSION/fs/usr/bin
    1.15 +mv *Linux_Exploit_Sug*/Linux_Exploit_Suggester.pl $PACKAGE-$VERSION/fs/usr/bin
     2.1 --- a/javajre	Mon Jan 26 10:44:20 2015 +0100
     2.2 +++ b/javajre	Mon Jan 26 11:21:08 2015 +0100
     2.3 @@ -6,7 +6,6 @@
     2.4  VERSION="$(rpm -qip p.rpm | awk '/Version/ { print $3 }')"
     2.5  LICENSE="$(rpm -qip p.rpm | awk '/License/ { print $5 }')"
     2.6  SHORT_DESC="$(rpm -qip p.rpm | sed '/^Summary/!d;s/.*: //')"
     2.7 -DEPENDS="xorg-libXtst"
     2.8  
     2.9  mkdir -p $PACKAGE-$VERSION/fs/usr/lib/mozilla/plugins $PACKAGE-$VERSION/fs/usr/bin
    2.10  rpm -qip p.rpm | sed '1,/^Description/d' > $PACKAGE-$VERSION/description.txt