wok-next view hydra/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | fb066ce7f955 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/vanhauser-thc/thc-hydra"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="apr-dev gtk2-dev libgcrypt-dev libidn-dev libmysqlclient libssh-dev
15 mysql-dev openssl-dev postgresql-dev subversion-dev"
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS
23 sed -i s/'cp -v'/'cp'/ \
24 hydra-gtk/make_xhydra.sh
25 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
26 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
27 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' \
28 Makefile
29 make
30 [ -f hydra ]
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
37 cp -a $src/hydra $fs/usr/bin
38 cp -a $src/xhydra $fs/usr/bin
40 DEPENDS="apr gtk2 libgcrypt libidn libmysqlclient libpostgresqlclient
41 libssh libsvn libxdamage openssl"
42 }