summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-13 18:52:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-13 18:52:17 +0000
commit16fafce74e22f2a71d8136919de7d175039a8467 (patch)
tree5d9de16ad391bb431dfd77a652e3b7ed8381ab69
parentUp to date pkg-descr. (diff)
add pen
A load balancer for "simple" tcp based protocols
-rw-r--r--net/Makefile1
-rw-r--r--net/pen/Makefile22
-rw-r--r--net/pen/distinfo1
-rw-r--r--net/pen/files/patch-mergelogs.c10
-rw-r--r--net/pen/files/patch-pen.c18
-rw-r--r--net/pen/pkg-comment1
-rw-r--r--net/pen/pkg-descr6
-rw-r--r--net/pen/pkg-plist2
8 files changed, 61 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 52ccff6d7632..9deeacb67acc 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -316,6 +316,7 @@
SUBDIR += pchar
SUBDIR += pcnfsd
SUBDIR += pdnsd
+ SUBDIR += pen
SUBDIR += perldap
SUBDIR += pfinger
SUBDIR += pim6dd
diff --git a/net/pen/Makefile b/net/pen/Makefile
new file mode 100644
index 000000000000..a5399e5a2c29
--- /dev/null
+++ b/net/pen/Makefile
@@ -0,0 +1,22 @@
+# ex:ts=8
+# New ports collection makefile for: pen
+# Date created: Nov 13, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= pen
+PORTVERSION= 0.5.0
+CATEGORIES= net
+MASTER_SITES= ftp://siag.nu/pub/pen/ \
+ http://siag.nu/pub/pen/
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-daemon
+
+MAN1= mergelogs.1 pen.1
+
+.include <bsd.port.mk>
diff --git a/net/pen/distinfo b/net/pen/distinfo
new file mode 100644
index 000000000000..7911bb129475
--- /dev/null
+++ b/net/pen/distinfo
@@ -0,0 +1 @@
+MD5 (pen-0.5.0.tar.gz) = f0c4b00232cd3c79bef0aa042a78a32d
diff --git a/net/pen/files/patch-mergelogs.c b/net/pen/files/patch-mergelogs.c
new file mode 100644
index 000000000000..b9fedde56016
--- /dev/null
+++ b/net/pen/files/patch-mergelogs.c
@@ -0,0 +1,10 @@
+--- mergelogs.c.orig Tue Nov 13 21:45:26 2001
++++ mergelogs.c Tue Nov 13 21:45:38 2001
+@@ -24,6 +24,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <netdb.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/net/pen/files/patch-pen.c b/net/pen/files/patch-pen.c
new file mode 100644
index 000000000000..d053892ca546
--- /dev/null
+++ b/net/pen/files/patch-pen.c
@@ -0,0 +1,18 @@
+--- pen.c.orig Tue Nov 13 21:43:24 2001
++++ pen.c Tue Nov 13 21:43:37 2001
+@@ -17,6 +17,7 @@
+ MA 02111-1307, USA.
+ */
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <errno.h>
+@@ -31,7 +32,6 @@
+ #include <sys/wait.h>
+ #include <sys/resource.h>
+ #include <sys/socket.h>
+-#include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <unistd.h>
diff --git a/net/pen/pkg-comment b/net/pen/pkg-comment
new file mode 100644
index 000000000000..54d8cbf8d2f2
--- /dev/null
+++ b/net/pen/pkg-comment
@@ -0,0 +1 @@
+A load balancer for "simple" tcp based protocols
diff --git a/net/pen/pkg-descr b/net/pen/pkg-descr
new file mode 100644
index 000000000000..410d796ead97
--- /dev/null
+++ b/net/pen/pkg-descr
@@ -0,0 +1,6 @@
+This is pen, a load balancer for "simple" tcp based protocols such as http
+or smtp. It allows several servers to appear as one to the outside and
+automatically detects servers that are down and distributes clients among
+the available servers. This gives high availability and scalable performance.
+
+WWW: http://siag.nu/pen/
diff --git a/net/pen/pkg-plist b/net/pen/pkg-plist
new file mode 100644
index 000000000000..01d45b8e303c
--- /dev/null
+++ b/net/pen/pkg-plist
@@ -0,0 +1,2 @@
+bin/mergelogs
+bin/pen