From owner-svn-ports-head@freebsd.org Sat Mar 2 14:56:06 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC9C150065C; Sat, 2 Mar 2019 14:56:06 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D269A6AF60; Sat, 2 Mar 2019 14:56:05 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C401F653B; Sat, 2 Mar 2019 14:56:05 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x22Eu52Y025568; Sat, 2 Mar 2019 14:56:05 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x22Eu4Be025562; Sat, 2 Mar 2019 14:56:04 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201903021456.x22Eu4Be025562@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Sat, 2 Mar 2019 14:56:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494407 - in head: . net net/pen net/pen/files X-SVN-Group: ports-head X-SVN-Commit-Author: danilo X-SVN-Commit-Paths: in head: . net net/pen net/pen/files X-SVN-Commit-Revision: 494407 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D269A6AF60 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 14:56:06 -0000 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@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 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="" + +. /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/