wok-next rev 21307

updated hydra (7.3 -> 9.0)
author Hans-G?nter Theisgen
date Tue Dec 10 10:07:48 2019 +0100 (2019-12-10)
parents a899945ae917
children c515d7f7dd80
files hydra/receipt
line diff
     1.1 --- a/hydra/receipt	Tue Dec 10 10:00:39 2019 +0100
     1.2 +++ b/hydra/receipt	Tue Dec 10 10:07:48 2019 +0100
     1.3 @@ -1,35 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hydra"
     1.7 -VERSION="7.3"
     1.8 +VERSION="9.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="https://github.com/vanhauser-thc/thc-hydra"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.17  WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="openssl-dev apr-dev gtk2-dev libssh-dev libmysqlclient \
    1.20 -postgresql-dev subversion-dev libidn-dev mysql-dev"
    1.21 +BUILD_DEPENDS="apr-dev gtk2-dev libidn-dev libmysqlclient libssh-dev 
    1.22 +	mysql-dev openssl-dev postgresql-dev subversion-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 -	./configure \
    1.26 -		--prefix=/usr \
    1.27 +compile_rules()
    1.28 +{
    1.29 +	./configure		\
    1.30 +		--prefix=/usr	\
    1.31  		$CONFIGURE_ARGS
    1.32 -	sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
    1.33 -	sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
    1.34 +
    1.35 +	sed -i s/'cp -v'/'cp'/ \
    1.36 +		hydra-gtk/make_xhydra.sh
    1.37 +	sed -i	-e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
    1.38  		-e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
    1.39 -		-e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
    1.40 +		-e 's|^XIPATHS= |&-I/usr/include/apr-1 |' \
    1.41 +		Makefile
    1.42  	make
    1.43  	[ -f hydra ]
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 +genpkg_rules()
    1.48 +{
    1.49  	mkdir -p $fs/usr/bin
    1.50 -	cp -a $src/hydra $fs/usr/bin
    1.51 -	cp -a $src/xhydra $fs/usr/bin
    1.52 -	DEPENDS="gtk2 openssl libxdamage apr libssh libmysqlclient \
    1.53 -	libidn libpostgresqlclient libsvn"
    1.54 +
    1.55 +	cp -a $src/hydra	$fs/usr/bin
    1.56 +	cp -a $src/xhydra	$fs/usr/bin
    1.57 +
    1.58 +	DEPENDS="apr gtk2 libidn libmysqlclient libpostgresqlclient 
    1.59 +		libssh libsvn libxdamage openssl"
    1.60  }