diff options
author | Kent Fritz <fritz.kent@gmail.com> | 2012-06-25 21:34:08 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-25 21:34:08 -0400 |
commit | f9650a6d5159bbc61010061a9b33a3a0ba2f1006 (patch) | |
tree | 847f9711ff9c97790415bd4d95c61ea7f3c6baed | |
parent | fcb11ba74559ca19ac7d4c9896111c238914a3de (diff) |
network/hydra: Updated for version 7.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | network/hydra/README | 6 | ||||
-rw-r--r-- | network/hydra/hydra.SlackBuild | 30 | ||||
-rw-r--r-- | network/hydra/hydra.info | 6 |
3 files changed, 21 insertions, 21 deletions
diff --git a/network/hydra/README b/network/hydra/README index 3e1e98124de41..7d3b81ec31e00 100644 --- a/network/hydra/README +++ b/network/hydra/README @@ -13,11 +13,7 @@ This SlackBuild includes an option to omit the GTK-based frontend xhydra. To omit xhydra, just pass XHYDRA=0 to the script: XHYDRA=0 sh hydra.SlackBuild -See the README installed in /usr/doc/hydra-7.2 for more info, or visit the +See the README installed in /usr/doc/hydra-7.3 for more info, or visit the website: http://freeworld.thc.org/thc-hydra -NOTE: -There is a utility, dpl4hydra.sh, that is installed in the documentation -directory in this SlackBuild due to it being somewhat broken. - diff --git a/network/hydra/hydra.SlackBuild b/network/hydra/hydra.SlackBuild index e5f5ba066d95c..6171bfdd921c5 100644 --- a/network/hydra/hydra.SlackBuild +++ b/network/hydra/hydra.SlackBuild @@ -4,7 +4,7 @@ # Updated by Kent Fritz <fritz.kent@gmail.com> PRGNAM=hydra -VERSION=${VERSION:-7.2} +VERSION=${VERSION:-7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} XHYDRA=${XHYDRA:-1} @@ -39,7 +39,7 @@ fi if [ "$XHYDRA" = "1" ]; then CONFIG_OPTS="" MAKE_OPTS="" -else +else CONFIG_OPTS="--disable-xhydra" MAKE_OPTS="XHYDRA_SUPPORT=" fi @@ -49,10 +49,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-src -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM-$VERSION-src -mkdir -p $PKG/usr/bin +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -62,12 +61,19 @@ find . \ echo CONFIG_OPTS is $CONFIG_OPTS -./configure $CONFIG_OPTS +./configure $CONFIG_OPTS --prefix=$PKG/usr make OPTS="-I. $SLKCFLAGS" $MAKE_OPTS -make install PREFIX=$PKG/usr DIR=/bin +mkdir -p $PKG/usr/etc +make install + +# Move password lists +mkdir -p $PKG/usr/share/$PRGNAM +mv $PKG/usr/etc/* $PKG/usr/share/$PRGNAM +rm -rf $PKG/usr/etc -# remove dpl4hydra stuff as it is somewhat broken -rm $PKG/usr/bin/dpl4hydra* +# Fix paths in dpl4hydra.sh +sed -i -e "s|^INSTALLDIR=.*|INSTALLDIR=/usr|" $PKG/usr/bin/dpl4hydra.sh +sed -i -e "s|^LOCATION=.*|LOCATION=share/$PRGNAM|" $PKG/usr/bin/dpl4hydra.sh # Add a desktop menu item if [ "$XHYDRA" = "1" ]; then @@ -82,9 +88,7 @@ fi find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES LICENSE* README dpl4hydra* \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES LICENSE* README $PKG/usr/doc/$PRGNAM-$VERSION if [ "$XHYDRA" = "1" ]; then mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/hydra-gtk cp -a hydra-gtk/COPYING hydra-gtk/INSTALL hydra-gtk/README \ diff --git a/network/hydra/hydra.info b/network/hydra/hydra.info index d486b4e830840..4cb941e8305fa 100644 --- a/network/hydra/hydra.info +++ b/network/hydra/hydra.info @@ -1,8 +1,8 @@ PRGNAM="hydra" -VERSION="7.2" +VERSION="7.3" HOMEPAGE="http://freeworld.thc.org/thc-hydra" -DOWNLOAD="http://www.thc.org/releases/hydra-7.2-src.tar.gz" -MD5SUM="7a72f2d4dd8a771a4935072f80e336dd" +DOWNLOAD="http://www.thc.org/releases/hydra-7.3.tar.gz" +MD5SUM="34f9c21eae24fdc542ba21abc61b05d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Kent Fritz" |