diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-08-14 17:21:00 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-08-14 17:21:00 -0400 |
commit | e748bd10dc46ded33e5c56f883c02a76238acc99 (patch) | |
tree | 1a2a5e1b2e772bba2aee8a3d19cb7b231934db90 | |
parent | 5e8f7414032896add09e7c7a3fc29a90c881dbca (diff) | |
download | slackbuilds-e748bd10dc46ded33e5c56f883c02a76238acc99.tar.gz |
network/w3af: Updated for version 1.0-rc3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | network/w3af/w3af.SlackBuild | 19 | ||||
-rw-r--r-- | network/w3af/w3af.info | 8 |
2 files changed, 11 insertions, 16 deletions
diff --git a/network/w3af/w3af.SlackBuild b/network/w3af/w3af.SlackBuild index c690429dcb..648be40a7e 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 diff --git a/network/w3af/w3af.info b/network/w3af/w3af.info index 9fc77b8b6a..63e8ead3b0 100644 --- a/network/w3af/w3af.info +++ b/network/w3af/w3af.info @@ -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" |