summaryrefslogtreecommitdiff
path: root/www/pound
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-08-26 23:40:02 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-08-26 23:40:02 +0000
commit1c11c098043710db00b9c1f5fa049b25f39328d4 (patch)
tree48835a48ab0c922dd52960a1d707516c80286163 /www/pound
parentAdd ports/databases/postgresql-docs, which will install the documentation (diff)
Add pound, a reverse proxy, load balancer and HTTP(S) frontend for web
servers.
Notes
Notes: svn path=/head/; revision=65066
Diffstat (limited to 'www/pound')
-rw-r--r--www/pound/Makefile30
-rw-r--r--www/pound/distinfo1
-rw-r--r--www/pound/files/patch-Makefile27
-rw-r--r--www/pound/pkg-comment1
-rw-r--r--www/pound/pkg-descr9
-rw-r--r--www/pound/pkg-plist1
6 files changed, 69 insertions, 0 deletions
diff --git a/www/pound/Makefile b/www/pound/Makefile
new file mode 100644
index 000000000000..8d98a9d6c29d
--- /dev/null
+++ b/www/pound/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: pound
+# Date created: 27 August 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pound
+PORTVERSION= 0.9
+CATEGORIES= www net
+MASTER_SITES= http://www.apsis.ch/pound/ \
+ ftp://ftp.nuug.no/pub/anders/distfiles/
+DISTNAME= Pound-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= anders@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAKE_ARGS+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ F_CONF=${PREFIX}/etc/pound.cfg
+
+MAN8= pound.8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pound ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/pound.8 ${PREFIX}/man/man8/
+
+.include <bsd.port.mk>
diff --git a/www/pound/distinfo b/www/pound/distinfo
new file mode 100644
index 000000000000..2086e3abe8a8
--- /dev/null
+++ b/www/pound/distinfo
@@ -0,0 +1 @@
+MD5 (Pound-0.9.tgz) = 9080568e7ac2c7c15c60799c2c62ce33
diff --git a/www/pound/files/patch-Makefile b/www/pound/files/patch-Makefile
new file mode 100644
index 000000000000..adf7537603fc
--- /dev/null
+++ b/www/pound/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Mon Aug 19 08:19:53 2002
++++ Makefile Mon Aug 26 22:10:35 2002
+@@ -26,20 +26,20 @@
+ #
+ # $Id: Makefile,v 0.9 2002/08/19 08:19:53 roseg Exp roseg $
+
+-CC=gcc
++#CC=gcc
+ # For GNU-less systems use:
+ #CC=cc
+
+ # Configuration file default; if none, look at config.c for default!
+-F_CONF=/usr/local/etc/pound/pound.cfg
++#F_CONF=/usr/local/etc/pound/pound.cfg
+
+-CFLAGS=-O2 -DF_CONF=\"$(F_CONF)\" -DAEMON
++CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) -DNEED_STACK
+ # some old compilers don't like -O2; you may want to try -g for debugging
+ #CFLAGS=-O -DF_CONF=\"$(F_CONF)\" -DAEMON
+ # For OpenBSD/FreeBSD use:
+ #CFLAGS=-O2 -pthread -DF_CONF=\"$(F_CONF)\" -DNEED_STACK -DAEMON
+
+-LIBS=-lssl -lpthread
++LIBS=-lssl -lcrypto $(PTHREAD_LIBS)
+ # For SystemV/Solaris use:
+ #LIBS=-lssl -lpthread -lsocket -lnsl
+ # For OpenBSD/FreeBSD use:
diff --git a/www/pound/pkg-comment b/www/pound/pkg-comment
new file mode 100644
index 000000000000..cf73170572b4
--- /dev/null
+++ b/www/pound/pkg-comment
@@ -0,0 +1 @@
+Reverse proxy, load balancer and HTTP(S) frontend for web servers
diff --git a/www/pound/pkg-descr b/www/pound/pkg-descr
new file mode 100644
index 000000000000..0b99cb3f4bdf
--- /dev/null
+++ b/www/pound/pkg-descr
@@ -0,0 +1,9 @@
+The Pound program is a reverse proxy, load balancer and HTTPS front-end for
+Web server(s). Pound was developed to enable distributing load among several
+Web-servers, and to allow for a convenient SSL wrapper for those Web servers
+that do not offer it natively. Pound is distributed under the GPL - no
+warranty, it's free to use, copy and give away.
+
+WWW: http://www.apsis.ch/pound/
+
+- Anders Nordby <anders@FreeBSD.org>
diff --git a/www/pound/pkg-plist b/www/pound/pkg-plist
new file mode 100644
index 000000000000..a687cb0d713c
--- /dev/null
+++ b/www/pound/pkg-plist
@@ -0,0 +1 @@
+sbin/pound