network/w3af: Updated for version 1.0-rc3.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Marco Bonetti 2010-08-14 17:21:00 -04:00 committed by dsomero
parent 5e8f741403
commit e748bd10dc
2 changed files with 11 additions and 16 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=w3af
VERSION=${VERSION:-1.0_rc2}
VERSION=${VERSION:-1.0_rc3}
ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@ -44,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT
# Install w3af in /opt
mkdir -p $PKG/opt
tar xvf $CWD/${PRGNAM}_${SRCVERSION}.tar.bz2 -C $PKG/opt
tar xvf $CWD/${PRGNAM}-${SRCVERSION}.tar.bz2 -C $PKG/opt
cd $PKG/opt/$PRGNAM
chown -R root:root .
find . \
@ -57,23 +57,18 @@ find . \
rm -r extlib
# Add launchers in /usr/bin
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
cat $CWD/w3af_console > w3af_console
cat $CWD/w3af_gui > w3af_gui
chmod 755 w3af_*
)
install -Dm0755 $CWD/w3af_console $PKG/usr/bin/w3af_console
install -Dm0755 $CWD/w3af_gui $PKG/usr/bin/w3af_gui
# Every useful doc is included inside the w3af/readme folder, just copy over the
# GPL and README
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/opt/$PRGNAM/readme/
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
)
cd $PKG/opt/$PRGNAM/readme/
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -1,10 +1,10 @@
PRGNAM="w3af"
VERSION="1.0-rc2"
VERSION="1.0-rc3"
HOMEPAGE="http://w3af.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/w3af/w3af_1.0-rc2.tar.bz2"
MD5SUM="e289878d444983c1b2859bedc764e50d"
DOWNLOAD="http://downloads.sourceforge.net/project/w3af/w3af/w3af%201.0-rc3%20%5Bmoyogui%5D/w3af-1.0-rc3.tar.bz2"
MD5SUM="0a6e803636ab3b46ec950c07e6d4baf5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="rworkman"
APPROVED="dsomero"