# HG changeset patch # User Christophe Lincoln # Date 1214821113 -7200 # Node ID 6d5a7118a9809a5819cfc0e92cc080af446323db # Parent d80ca24df53cf95813da7f7acf863173cdeda6be Add Hydra (Password cracker) diff -r d80ca24df53c -r 6d5a7118a980 hydra/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hydra/receipt Mon Jun 30 12:18:33 2008 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="hydra" +VERSION="5.4" +CATEGORY="system-tools" +SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtk+" +TARBALL="$PACKAGE-$VERSION-src.tar.gz" +WEB_SITE="http://freeworld.thc.org/thc-hydra" +WGET_URL="http://freeworld.thc.org/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION + cd $src + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS + sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/hydra $fs/usr/bin + cp -a $src/xhydra $fs/usr/bin +} diff -r d80ca24df53c -r 6d5a7118a980 hydra/stuff/hydra.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hydra/stuff/hydra.desktop Mon Jun 30 12:18:33 2008 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Hydra Password Cracker +Exec=xhydra +Icon=application-certificate +Type=Application +Categories=System;