summaryrefslogtreecommitdiff
path: root/net/pen
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-09-26 21:46:27 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-09-26 21:46:27 +0000
commitd62ec560980de1d560eca0ed4b298340497a24e9 (patch)
treea43cba19c8ba90380633fe74a6f415a2b5bd2385 /net/pen
parent5f9480c18585f55f4e8f7b971de586852c50b7c4 (diff)
downloadpkgsrc-d62ec560980de1d560eca0ed4b298340497a24e9.tar.gz
Update to 0.15.0
* Servers can be assigned different weights to account for differing capacity. New -W command-line option. New penctl commands: server S weight W (assign weight to server) weight (use weight for server selection) no weight (do not use weight for server selection) Cleaned up the logic in add_client so the weighted server selection can be used without client tracking. * Some performance enhancing changes: New variable connections_used remembers the number of used slots in conns[]. It is incremented by store_conn and decremented by close_conn. This allows the main loop to only accept new connections if there are empty slots in conns[], which is much better than accepting the connection only to immediately close it because we can't handle it. New variable connections_last remembers the last used slot in conns[]. This allows us to scan for empty slots much faster in store_conn when there are many simultaneous connections. * Documented the procedure to change FD_SETSIZE on Linux in INSTALL. * Documented the include command in the penctl manpage. * Fixed SSL so it works in nonblocking mode, except that it doesn't work anyway. Moved listenfd and ctrlfd out of main. * Highly experimental SSL code in pen.c. Updated manpage with the new options. Added https example to HOWTO.
Diffstat (limited to 'net/pen')
-rw-r--r--net/pen/Makefile6
-rw-r--r--net/pen/distinfo8
2 files changed, 8 insertions, 6 deletions
diff --git a/net/pen/Makefile b/net/pen/Makefile
index 85b950766c5..59dd8838646 100644
--- a/net/pen/Makefile
+++ b/net/pen/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2003/10/30 23:36:29 xtraeme Exp $
+# $NetBSD: Makefile,v 1.8 2005/09/26 21:46:27 xtraeme Exp $
#
-DISTNAME= pen-0.12.0
+DISTNAME= pen-0.15.0
CATEGORIES= net
MASTER_SITES= http://siag.nu/pub/pen/ \
ftp://siag.nu/pub/pen/
@@ -15,5 +15,7 @@ GNU_CONFIGURE= YES
# Avoid pen complaining on NetBSD
CONFIGURE_ARGS+= --with-fd_setsize=2048
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/pen
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pen/distinfo b/net/pen/distinfo
index f6afd112b8d..6fca9350cc5 100644
--- a/net/pen/distinfo
+++ b/net/pen/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 12:14:00 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/09/26 21:46:27 xtraeme Exp $
-SHA1 (pen-0.12.0.tar.gz) = e583532f81c5961e26ec625009e2b09a99690ef0
-RMD160 (pen-0.12.0.tar.gz) = d30fbd158ef9b125f7e57a8a153db63cc50eb8a2
-Size (pen-0.12.0.tar.gz) = 94808 bytes
+SHA1 (pen-0.15.0.tar.gz) = 543995208da58aec8b0850079b2d9175fca916e9
+RMD160 (pen-0.15.0.tar.gz) = 9f9ecccfd1e1958aca48e7e76d216b2f16a249b4
+Size (pen-0.15.0.tar.gz) = 112886 bytes