ports/59490: [update orphaned port] www/hydra: update to 0.1.4
Clement Laforet
sheepkiller at cultdeadsheep.org
Thu Nov 20 01:30:20 UTC 2003
>Number: 59490
>Category: ports
>Synopsis: [update orphaned port] www/hydra: update to 0.1.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 19 17:30:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 18 23:10:46 CET 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
Update hydra to 0.1.4
Config files are no more overwritten
New file: files/patch-src::cgi_ssl.c
>How-To-Repeat:
N/A.
>Fix:
--- hybra.diff begins here ---
Index: hydra/Makefile
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/www/hydra/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- hydra/Makefile 26 Sep 2003 14:19:56 -0000 1.2
+++ hydra/Makefile 20 Nov 2003 01:11:28 -0000
@@ -7,7 +7,7 @@
#
PORTNAME= hydra
-PORTVERSION= 0.1.3
+PORTVERSION= 0.1.4
CATEGORIES= www
MASTER_SITES= ftp://ftp.hellug.gr/pub/software/hydra/ \
http://hydra.hellug.gr/download/ \
@@ -21,6 +21,8 @@
USE_REINPLACE= yes
GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+
post-patch:
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
.for file in src/defines.h examples/hydra.conf
@@ -30,7 +32,9 @@
post-install:
@${MKDIR} ${PREFIX}/etc/hydra
.for file in hydra.conf mime.types
- ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra
+ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/${file}-dist
+ [ -f ${PREFIX}/etc/hydra/${file} ] || \
+ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra/
.endfor
.include <bsd.port.mk>
Index: hydra/distinfo
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/www/hydra/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- hydra/distinfo 2 Apr 2003 14:18:05 -0000 1.1
+++ hydra/distinfo 20 Nov 2003 00:55:29 -0000
@@ -1 +1 @@
-MD5 (hydra-0.1.3.tar.gz) = 20c378932301851f38affc3da31208e0
+MD5 (hydra-0.1.4.tar.gz) = 786d0aab2fee387f899181523a6f57ed
Index: hydra/pkg-plist
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/www/hydra/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- hydra/pkg-plist 2 Apr 2003 14:18:05 -0000 1.1
+++ hydra/pkg-plist 20 Nov 2003 01:14:32 -0000
@@ -1,6 +1,10 @@
bin/hydra
bin/boa_indexer
bin/webindex.pl
-etc/hydra/hydra.conf
-etc/hydra/mime.types
- at dirrm etc/hydra
+ at unexec if cmp -s %D/etc/hydra/hydra.conf %D/etc/hydra/hydra.conf-dist; then rm -f %D/etc/hydra/hydra.conf; fi
+etc/hydra/hydra.conf-dist
+ at exec [ -f %B/hydra.conf ] || cp %B/%f %B/hydra.conf
+ at unexec if cmp -s %D/etc/hydra/mime.types %D/etc/hydra/mime.types-dist; then rm -f %D/etc/hydra/mime.types; fi
+etc/hydra/mime.types-dist
+ at exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
+ at unexec rmdir %D/etc/hydra 2> /dev/null || echo "Dont forget to remove %D/etc/hydra if you won't use hydra anymore"
Index: hydra/files/patch-src::cgi_ssl.c
===================================================================
RCS file: hydra/files/patch-src::cgi_ssl.c
diff -N hydra/files/patch-src::cgi_ssl.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ hydra/files/patch-src::cgi_ssl.c 20 Nov 2003 01:03:14 -0000
@@ -0,0 +1,11 @@
+--- src/cgi_ssl.c.orig Thu Nov 20 01:00:59 2003
++++ src/cgi_ssl.c Thu Nov 20 01:01:17 2003
+@@ -19,7 +19,7 @@
+ */
+
+ #include "boa.h"
+-#include <gnutls/x509.h>
++#include <gnutls/gnutls.h>
+
+ #ifdef ENABLE_SSL
+ extern int ssl_verify;
--- hybra.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list