mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/w3af: Updated for version 1.0-rc3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
5e8f741403
commit
e748bd10dc
2 changed files with 11 additions and 16 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=w3af
|
PRGNAM=w3af
|
||||||
VERSION=${VERSION:-1.0_rc2}
|
VERSION=${VERSION:-1.0_rc3}
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -44,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
|
||||||
# Install w3af in /opt
|
# Install w3af in /opt
|
||||||
mkdir -p $PKG/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
|
cd $PKG/opt/$PRGNAM
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
|
@ -57,23 +57,18 @@ find . \
|
||||||
rm -r extlib
|
rm -r extlib
|
||||||
|
|
||||||
# Add launchers in /usr/bin
|
# Add launchers in /usr/bin
|
||||||
mkdir -p $PKG/usr/bin
|
install -Dm0755 $CWD/w3af_console $PKG/usr/bin/w3af_console
|
||||||
( cd $PKG/usr/bin
|
install -Dm0755 $CWD/w3af_gui $PKG/usr/bin/w3af_gui
|
||||||
cat $CWD/w3af_console > w3af_console
|
|
||||||
cat $CWD/w3af_gui > w3af_gui
|
|
||||||
chmod 755 w3af_*
|
|
||||||
)
|
|
||||||
|
|
||||||
# Every useful doc is included inside the w3af/readme folder, just copy over the
|
# Every useful doc is included inside the w3af/readme folder, just copy over the
|
||||||
# GPL and README
|
# GPL and README
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
( cd $PKG/opt/$PRGNAM/readme/
|
cd $PKG/opt/$PRGNAM/readme/
|
||||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
)
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="w3af"
|
PRGNAM="w3af"
|
||||||
VERSION="1.0-rc2"
|
VERSION="1.0-rc3"
|
||||||
HOMEPAGE="http://w3af.sourceforge.net/"
|
HOMEPAGE="http://w3af.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/w3af/w3af_1.0-rc2.tar.bz2"
|
DOWNLOAD="http://downloads.sourceforge.net/project/w3af/w3af/w3af%201.0-rc3%20%5Bmoyogui%5D/w3af-1.0-rc3.tar.bz2"
|
||||||
MD5SUM="e289878d444983c1b2859bedc764e50d"
|
MD5SUM="0a6e803636ab3b46ec950c07e6d4baf5"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue