wok-current view hydra/receipt @ rev 23667
updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 06:53:18 2020 +0100 (2020-04-26) |
parents | 7d6089953592 |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="7.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="https://github.com/vanhauser-thc/thc-hydra"
11 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
13 DEPENDS="gtk+ openssl xorg-libXdamage apr libssh libmysqlclient \
14 libidn libpostgresqlclient libsvn"
15 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \
16 postgresql-dev subversion-dev libidn-dev mysql-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS
25 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
26 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
27 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
28 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
29 make
30 [ -f hydra ]
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/hydra $fs/usr/bin
38 cp -a $src/xhydra $fs/usr/bin
39 }