aboutsummaryrefslogtreecommitdiff
path: root/network/w3af/w3af.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-08-14 17:21:00 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-08-14 17:21:00 -0400
commite748bd10dc46ded33e5c56f883c02a76238acc99 (patch)
tree1a2a5e1b2e772bba2aee8a3d19cb7b231934db90 /network/w3af/w3af.SlackBuild
parent5e8f7414032896add09e7c7a3fc29a90c881dbca (diff)
network/w3af: Updated for version 1.0-rc3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/w3af/w3af.SlackBuild')
-rw-r--r--network/w3af/w3af.SlackBuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/network/w3af/w3af.SlackBuild b/network/w3af/w3af.SlackBuild
index c690429dcb509..648be40a7ef5e 100644
--- a/network/w3af/w3af.SlackBuild
+++ b/network/w3af/w3af.SlackBuild
@@ -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