pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pen Update to 0.15.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d325dc66a1a
branches:  trunk
changeset: 499763:6d325dc66a1a
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Sep 26 21:46:27 2005 +0000

description:
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:

 net/pen/Makefile |  6 ++++--
 net/pen/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r 435922fa9336 -r 6d325dc66a1a net/pen/Makefile
--- a/net/pen/Makefile  Mon Sep 26 21:06:11 2005 +0000
+++ b/net/pen/Makefile  Mon Sep 26 21:46:27 2005 +0000
@@ -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 @@
 # 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 -r 435922fa9336 -r 6d325dc66a1a net/pen/distinfo
--- a/net/pen/distinfo  Mon Sep 26 21:06:11 2005 +0000
+++ b/net/pen/distinfo  Mon Sep 26 21:46:27 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index