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

(-)hydra/Makefile (-2 / +6 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	hydra
9
PORTNAME=	hydra
10
PORTVERSION=	0.1.3
10
PORTVERSION=	0.1.4
11
CATEGORIES=	www
11
CATEGORIES=	www
12
MASTER_SITES=	ftp://ftp.hellug.gr/pub/software/hydra/ \
12
MASTER_SITES=	ftp://ftp.hellug.gr/pub/software/hydra/ \
13
		http://hydra.hellug.gr/download/ \
13
		http://hydra.hellug.gr/download/ \
Lines 21-26 Link Here
21
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
23
24
CFLAGS+=	-I${LOCALBASE}/include
25
24
post-patch:
26
post-patch:
25
	@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
27
	@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
26
.for file in src/defines.h examples/hydra.conf
28
.for file in src/defines.h examples/hydra.conf
Lines 30-36 Link Here
30
post-install:
32
post-install:
31
	@${MKDIR} ${PREFIX}/etc/hydra
33
	@${MKDIR} ${PREFIX}/etc/hydra
32
.for file in hydra.conf mime.types
34
.for file in hydra.conf mime.types
33
	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra
35
	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/${file}-dist
36
	[ -f ${PREFIX}/etc/hydra/${file} ] || \
37
		${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/
34
.endfor
38
.endfor
35
39
36
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)hydra/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (hydra-0.1.3.tar.gz) = 20c378932301851f38affc3da31208e0
1
MD5 (hydra-0.1.4.tar.gz) = 786d0aab2fee387f899181523a6f57ed
(-)hydra/pkg-plist (-3 / +7 lines)
Lines 1-6 Link Here
1
bin/hydra
1
bin/hydra
2
bin/boa_indexer
2
bin/boa_indexer
3
bin/webindex.pl
3
bin/webindex.pl
4
etc/hydra/hydra.conf
4
@unexec if cmp -s %D/etc/hydra/hydra.conf %D/etc/hydra/hydra.conf-dist; then rm -f %D/etc/hydra/hydra.conf; fi
5
etc/hydra/mime.types
5
etc/hydra/hydra.conf-dist
6
@dirrm etc/hydra
6
@exec [ -f %B/hydra.conf ] || cp %B/%f %B/hydra.conf
7
@unexec if cmp -s %D/etc/hydra/mime.types %D/etc/hydra/mime.types-dist; then rm -f %D/etc/hydra/mime.types; fi
8
etc/hydra/mime.types-dist
9
@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
10
@unexec rmdir %D/etc/hydra 2> /dev/null || echo "Dont forget to remove %D/etc/hydra if you won't use hydra anymore"
(-)hydra/files/patch-src::cgi_ssl.c (+11 lines)
Added Link Here
1
--- src/cgi_ssl.c.orig	Thu Nov 20 01:00:59 2003
2
+++ src/cgi_ssl.c	Thu Nov 20 01:01:17 2003
3
@@ -19,7 +19,7 @@
4
  */
5
 
6
 #include "boa.h"
7
-#include <gnutls/x509.h>
8
+#include <gnutls/gnutls.h>
9
 
10
 #ifdef ENABLE_SSL
11
 extern int ssl_verify;

Return to bug 59490