mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
add hydra 0.1.3
A high performance multi-threaded web server
This commit is contained in:
parent
61e0634560
commit
18393e4480
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77992
@ -118,6 +118,7 @@
|
||||
SUBDIR += httpgrabber
|
||||
SUBDIR += httptunnel
|
||||
SUBDIR += httrack
|
||||
SUBDIR += hydra
|
||||
SUBDIR += hypermail
|
||||
SUBDIR += indexme
|
||||
SUBDIR += interchange
|
||||
|
36
www/hydra/Makefile
Normal file
36
www/hydra/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: hydra
|
||||
# Date created: Apr 2, 2003
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hydra
|
||||
PORTVERSION= 0.1.3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ftp://ftp.hellug.gr/pub/software/hydra/ \
|
||||
http://hydra.hellug.gr/download/ \
|
||||
ftp://ftp.planetmirror.com/pub/hydra/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A high performance multi-threaded web server
|
||||
|
||||
LIB_DEPENDS= gnutls.8:${PORTSDIR}/security/gnutls
|
||||
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
||||
.for file in src/defines.h examples/hydra.conf
|
||||
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/hydra
|
||||
.for file in hydra.conf mime.types
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/hydra/distinfo
Normal file
1
www/hydra/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (hydra-0.1.3.tar.gz) = 20c378932301851f38affc3da31208e0
|
11
www/hydra/files/patch-defines.h
Normal file
11
www/hydra/files/patch-defines.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/defines.h.orig Wed Apr 2 22:01:06 2003
|
||||
+++ src/defines.h Wed Apr 2 22:02:48 2003
|
||||
@@ -27,7 +27,7 @@
|
||||
/***** Change this, or use -c on the command line to specify it *****/
|
||||
|
||||
#ifndef SERVER_ROOT
|
||||
-#define SERVER_ROOT "/etc/hydra"
|
||||
+#define SERVER_ROOT "%%PREFIX%%/etc/hydra"
|
||||
#endif
|
||||
|
||||
/***** Change this via the CGIPath configuration value in hydra.conf *****/
|
20
www/hydra/files/patch-hydra.conf
Normal file
20
www/hydra/files/patch-hydra.conf
Normal file
@ -0,0 +1,20 @@
|
||||
--- examples/hydra.conf.orig Wed Apr 2 22:05:45 2003
|
||||
+++ examples/hydra.conf Wed Apr 2 22:08:18 2003
|
||||
@@ -163,7 +163,7 @@
|
||||
# DirectoryIndex are commented out, accessing a directory will give
|
||||
# an error (though accessing files in the directory are still ok).
|
||||
|
||||
-DirectoryMaker /usr/lib/hydra/boa_indexer
|
||||
+DirectoryMaker %%PREFIX%%/bin/boa_indexer
|
||||
|
||||
# DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
|
||||
# has been commented out, the the on-the-fly indexing of Hydra can be used
|
||||
@@ -199,7 +199,7 @@
|
||||
# Set to /dev/null if you do not want to load a mime types file.
|
||||
# Do *not* comment out (better use AddType!)
|
||||
|
||||
-MimeTypes /etc/mime.types
|
||||
+MimeTypes %%PREFIX%%/etc/hydra/mime.types
|
||||
|
||||
# DefaultType: MIME type used if the file extension is unknown, or there
|
||||
# is no file extension.
|
9
www/hydra/pkg-descr
Normal file
9
www/hydra/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Hydra is a high performance multi-threaded web server. Unlike traditional
|
||||
multi-threaded web servers, Hydra uses a constant, but configurable, pool
|
||||
of threads and each thread can handle several connections by multiplexing
|
||||
the connections. This may remind you of a non-blocking server, and this is
|
||||
true, but Hydra does not have the killing limitation of a non-blocking
|
||||
server, the confinement to one CPU. Hydra will take advantage of every
|
||||
available CPU in a system.
|
||||
|
||||
WWW: http://hydra.hellug.gr/
|
6
www/hydra/pkg-plist
Normal file
6
www/hydra/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/hydra
|
||||
bin/boa_indexer
|
||||
bin/webindex.pl
|
||||
etc/hydra/hydra.conf
|
||||
etc/hydra/mime.types
|
||||
@dirrm etc/hydra
|
Loading…
Reference in New Issue
Block a user