2011-09-16 07:41:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2011/09/16 11:41:39 espie Exp $
|
2001-10-02 23:47:14 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT-main= parallelized login hacker
|
|
|
|
COMMENT-gui= GTK frontend for hydra
|
2001-10-02 23:47:14 -04:00
|
|
|
|
2009-01-05 17:10:06 -05:00
|
|
|
VERSION= 5.4
|
|
|
|
DISTNAME= hydra-5.4-src
|
2010-10-11 04:11:24 -04:00
|
|
|
PKGNAME-main= hydra-${VERSION}
|
|
|
|
REVISION-main= 1
|
|
|
|
PKGNAME-gui= hydra-gui-${VERSION}
|
2011-09-16 07:41:38 -04:00
|
|
|
REVISION-gui= 5
|
2005-05-22 05:34:39 -04:00
|
|
|
CATEGORIES= security
|
2001-10-02 23:47:14 -04:00
|
|
|
|
2009-01-05 17:10:06 -05:00
|
|
|
HOMEPAGE= http://thc.org/thc-hydra/
|
2001-10-02 23:47:14 -04:00
|
|
|
|
2010-01-16 06:30:23 -05:00
|
|
|
# GPLv2 + restrictions in LICENCE.HYDRA
|
|
|
|
PERMIT_PACKAGE_CDROM= no charge
|
2001-10-02 23:47:14 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2010-01-16 06:30:23 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= no charge
|
2001-10-02 23:47:14 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-02-02 04:30:54 -05:00
|
|
|
|
|
|
|
WANTLIB= c m
|
2001-10-02 23:47:14 -04:00
|
|
|
|
2006-07-19 12:07:22 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PACKETSTORM:=groups/thc/}
|
2002-06-08 17:45:59 -04:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
PSEUDO_FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
2002-06-08 17:45:59 -04:00
|
|
|
|
2006-11-25 03:55:18 -05:00
|
|
|
MULTI_PACKAGES= -main
|
2005-02-11 14:46:22 -05:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
CONFIGURE_STYLE=gnu dest
|
2005-02-11 14:46:22 -05:00
|
|
|
|
2006-11-25 03:55:18 -05:00
|
|
|
USE_GMAKE= Yes
|
2005-05-22 05:34:39 -04:00
|
|
|
NO_REGRESS= Yes
|
2010-01-16 06:30:23 -05:00
|
|
|
MAKE_FLAGS= CC=${CC}
|
2002-06-08 17:45:59 -04:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
ALL_TARGET= hydra pw-inspector
|
2010-01-16 06:30:23 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
|
2005-05-22 05:34:39 -04:00
|
|
|
.else
|
2006-01-20 15:47:25 -05:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
MULTI_PACKAGES+=-gui
|
2005-02-11 14:46:22 -05:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
ALL_TARGET= all
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC}/hydra-gtk && ./configure
|
|
|
|
.endif
|
|
|
|
|
2006-11-25 03:55:18 -05:00
|
|
|
LIB_DEPENDS-main=
|
|
|
|
RUN_DEPENDS-main=
|
2010-11-06 12:07:00 -04:00
|
|
|
WANTLIB-main= c m ssl crypto
|
2010-11-22 04:34:10 -05:00
|
|
|
LIB_DEPENDS-gui=x11/gtk+2 \
|
2006-11-25 03:55:18 -05:00
|
|
|
${MODGETTEXT_LIB_DEPENDS}
|
2010-11-22 04:34:10 -05:00
|
|
|
RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
|
2006-11-25 03:55:18 -05:00
|
|
|
${MODGETTEXT_RUN_DEPENDS}
|
2008-02-02 04:30:54 -05:00
|
|
|
WANTLIB-gui= ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes \
|
|
|
|
Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
|
2010-07-30 19:13:30 -04:00
|
|
|
gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
|
2010-10-11 04:11:24 -04:00
|
|
|
gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
|
2009-01-05 17:10:06 -05:00
|
|
|
pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
|
2010-07-30 19:13:30 -04:00
|
|
|
pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
|
2010-08-01 01:51:10 -04:00
|
|
|
xcb-render-util
|
2005-02-11 14:46:22 -05:00
|
|
|
|
2005-05-22 05:34:39 -04:00
|
|
|
post-extract:
|
|
|
|
${CHMOD} -R u+w ${WRKDIST}
|
|
|
|
|
2002-06-08 17:45:59 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
|
2001-10-02 23:47:14 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|