svn commit: r494407 - in head: . net net/pen net/pen/files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Mar 2 14:56:06 UTC 2019
Author: danilo
Date: Sat Mar 2 14:56:04 2019
New Revision: 494407
URL: https://svnweb.freebsd.org/changeset/ports/494407
Log:
- Resurrect net/pen
This is pen, a load balancer for UDP and TCP based protocols such as
DNS, 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.
PR: 236048
Submitted by: Ronald Klop
Pull Request:
Added:
head/net/pen/
head/net/pen/Makefile (contents, props changed)
head/net/pen/distinfo (contents, props changed)
head/net/pen/files/
head/net/pen/files/pen.in (contents, props changed)
head/net/pen/pkg-descr (contents, props changed)
Modified:
head/MOVED
head/net/Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Sat Mar 2 14:31:00 2019 (r494406)
+++ head/MOVED Sat Mar 2 14:56:04 2019 (r494407)
@@ -11597,7 +11597,6 @@ ftp/proftpd-mod_geoip||2019-02-16|Has expired: Uses le
net/go-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/py-GeoIP|net/py-GeoIP2|2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/pecl-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
-net/pen||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/subnetcalc||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/p5-Geo-IP||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/rubygem-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Sat Mar 2 14:31:00 2019 (r494406)
+++ head/net/Makefile Sat Mar 2 14:56:04 2019 (r494407)
@@ -968,6 +968,7 @@
SUBDIR += pecl-smbclient
SUBDIR += pecl-yaz
SUBDIR += pecl-zmq
+ SUBDIR += pen
SUBDIR += pfinger
SUBDIR += phamm
SUBDIR += php71-ldap
Added: head/net/pen/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pen/Makefile Sat Mar 2 14:56:04 2019 (r494407)
@@ -0,0 +1,44 @@
+# Created by: ijliao
+# $FreeBSD$
+
+PORTNAME= pen
+PORTVERSION= 0.34.1
+CATEGORIES= net
+MASTER_SITES= http://siag.nu/pub/pen/
+
+MAINTAINER= danilo at FreeBSD.org
+COMMENT= Load balancer for UDP and TCP based protocols
+
+LICENSE= GPLv2
+
+USES= ssl
+
+GNU_CONFIGURE= yes
+USE_RC_SUBR= pen
+CONFIGURE_ARGS= --with-daemon --with-docdir=${DOCSDIR} --without-geoip \
+ --with-ssl=${OPENSSLBASE}
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+
+PORTDOCS= penstats HOWTO AUTHORS README ChangeLog COPYING
+PLIST_FILES= bin/mergelogs bin/pen bin/penctl bin/penlog \
+ bin/penlogd man/man1/mergelogs.1.gz \
+ man/man1/pen.1.gz man/man1/penctl.1.gz \
+ man/man1/penlog.1.gz man/man1/penlogd.1.gz
+
+OPTIONS_DEFINE= DEBUG DOCS KQUEUE
+OPTIONS_DEFAULT=KQUEUE
+KQUEUE_DESC= Use kqueue backend
+
+.if defined(WITH_FDSETSIZE)
+CONFIGURE_ARGS+= --with-fd_setsize=${WITH_FDSETSIZE}
+.endif
+
+KQUEUE_CONFIGURE_ON= --with-kqueue
+KQUEUE_CONFIGURE_OFF= --with-poll
+DEBUG_CONFIGURE_ENABLE= debugging
+
+post-patch:
+ @${REINPLACE_CMD} 's/-pg//' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
Added: head/net/pen/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pen/distinfo Sat Mar 2 14:56:04 2019 (r494407)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1487541920
+SHA256 (pen-0.34.1.tar.gz) = 2b640795029df9d1672e17202c109cc5d42538f6754a6070dc27da640881e864
+SIZE (pen-0.34.1.tar.gz) = 184622
Added: head/net/pen/files/pen.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pen/files/pen.in Sat Mar 2 14:56:04 2019 (r494407)
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: pen
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable pen:
+#
+# pen_enable="YES"
+# pen_flags="<set as needed>"
+
+. /etc/rc.subr
+
+name=pen
+rcvar=pen_enable
+
+command=%%PREFIX%%/bin/pen
+
+pen_enable=${pen_enable:-"NO"}
+
+load_rc_config $name
+run_rc_command "$1"
Added: head/net/pen/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pen/pkg-descr Sat Mar 2 14:56:04 2019 (r494407)
@@ -0,0 +1,7 @@
+This is pen, a load balancer for UDP and TCP based protocols such as
+DNS, 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/
More information about the svn-ports-head
mailing list