View | Details | Raw Unified | Return to bug 154905
Collapse All | Expand All

(-)hydra/Makefile (-6 / +16 lines)
Lines 7-16 Link Here
7
#
7
#
8
8
9
PORTNAME=	hydra
9
PORTNAME=	hydra
10
PORTVERSION=	5.9
10
PORTVERSION=	6.1
11
CATEGORIES=	security
11
CATEGORIES=	security
12
MASTER_SITES=	http://freeworld.thc.org/releases/
12
MASTER_SITES=	http://freeworld.thc.org/releases/
13
MASTER_SITE_SUBDIR=	groups/thc
14
EXTRACT_SUFX=	-src.tar.gz
13
EXTRACT_SUFX=	-src.tar.gz
15
14
16
MAINTAINER=	llevier@argosnet.com
15
MAINTAINER=	llevier@argosnet.com
Lines 19-34 Link Here
19
LICENSE=	GPLv3
18
LICENSE=	GPLv3
20
LICENSE_FILE=	${WRKSRC}/LICENSE
19
LICENSE_FILE=	${WRKSRC}/LICENSE
21
NO_LATEST_LINK=	yes
20
NO_LATEST_LINK=	yes
22
PLIST_FILES=	bin/hydra bin/xhydra
21
PLIST_FILES=	bin/hydra
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
USE_GMAKE=	yes
23
USE_GMAKE=	yes
25
USE_GNOME=	gtk20
26
USE_OPENSSL=	yes
24
USE_OPENSSL=	yes
25
WANT_GNOME=	yes
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
26
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
28
27
29
OPTIONS=	FIREBIRD "Enable firebird support" off \
28
OPTIONS=	FIREBIRD "Enable firebird support" off \
30
		SSH "Enable ssh support" off \
29
		SSH "Enable ssh support" off \
31
		SVN "Enable subversion support" off
30
		SVN "Enable subversion support" off \
31
		X11 "Install xhydra" off
32
32
33
.include <bsd.port.pre.mk>
33
.include <bsd.port.pre.mk>
34
34
Lines 42-53 Link Here
42
LIB_DEPENDS+=	svn_client-1:${PORTSDIR}/devel/subversion
42
LIB_DEPENDS+=	svn_client-1:${PORTSDIR}/devel/subversion
43
.endif
43
.endif
44
44
45
.if defined(WITH_X11)
46
USE_GNOME=	gtk20
47
PLIST_FILES+=	bin/xhydra
48
.else
49
CONFIGURE_ARGS+=	--disable-xhydra
50
.endif
51
45
post-patch:
52
post-patch:
46
	@${REINPLACE_CMD} -e 's|CC = gcc||; \
53
	@${REINPLACE_CMD} -e 's|CC = gcc||; \
47
		s|-O2|${CFLAGS}|; s|md4\..||g' \
54
		s|-O2|${CFLAGS}|; s|md4\..||g' \
48
		${WRKSRC}/Makefile.am
55
		${WRKSRC}/Makefile.am
49
56
50
do-install:
57
do-install:
51
	@${INSTALL_PROGRAM} ${WRKSRC}/hydra ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
58
	@${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin
59
.if defined(WITH_X11)
60
	@${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
61
.endif
52
62
53
.include <bsd.port.post.mk>
63
.include <bsd.port.post.mk>
(-)hydra/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (hydra-5.9-src.tar.gz) = 66023f94460abe76e76c1c6b187d44e82bafafb4c517314261bbd34429f913a7
1
SHA256 (hydra-6.1-src.tar.gz) = 85fbcf53bc7d8ae99a8bd31dd09810abd9cf9397679a94aea52cd1b1c8e06ac0
2
SIZE (hydra-5.9-src.tar.gz) = 423995
2
SIZE (hydra-6.1-src.tar.gz) = 432515
(-)hydra/files/patch-Makefile.am (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.am.orig	2010-09-29 15:19:43.000000000 +0400
2
+++ Makefile.am	2010-10-24 22:35:49.000000000 +0400
3
@@ -45,7 +45,7 @@
4
 	@echo
5
 
6
 xhydra:	
7
-	-cd hydra-gtk && ./make_xhydra.sh
8
+	-cd hydra-gtk && sh make_xhydra.sh
9
 
10
 pw-inspector: pw-inspector.c
11
 	-$(CC) $(OPTS) -o pw-inspector pw-inspector.c

Return to bug 154905