diff options
author | rh <rh@pkgsrc.org> | 2001-09-13 15:09:38 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-09-13 15:09:38 +0000 |
commit | 4fc0cc30c3f027f2889ff166923aba885711372a (patch) | |
tree | 969a041b3bd5918599b927bc1b9585bbd6abd93c /net/pen/patches | |
parent | a7913730938dde68191874e98aec8e8bafde8c02 (diff) | |
download | pkgsrc-4fc0cc30c3f027f2889ff166923aba885711372a.tar.gz |
Update pen to 0.4.0. Notable changes include:
010912 When storing part of the buffer for a renewed attempt,
store the *end*, not the beginning. Affects copy_up and copy_down.
Autoconf. Use daemon() if available. Make sure that we don't try
to close uninitialized file handles in add_client.
New option -n to not make sockets nonblocking (mainly useful
for debugging).
010911 Make sure that remaining data is stored away when we get EAGAIN
in copy_up.
Released 0.3.3.
010909 Added -p argument to store process id in a file (Andreas Wrede).
Made the sockets nonblocking. Handle EAGAIN in copy_up/down.
Released 0.3.2.
010908 Ignore SIGPIPE. Released 0.3.1.
010827 Option -h uses a hash on the client IP address for the initial
server selection. Option -s ("stubborn") prevents failover to
another server if the initial choice is unavailable.
010824 Use getport for the local port as well.
Diffstat (limited to 'net/pen/patches')
-rw-r--r-- | net/pen/patches/patch-aa | 28 | ||||
-rw-r--r-- | net/pen/patches/patch-ab | 40 |
2 files changed, 0 insertions, 68 deletions
diff --git a/net/pen/patches/patch-aa b/net/pen/patches/patch-aa deleted file mode 100644 index a4125362d39..00000000000 --- a/net/pen/patches/patch-aa +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/08/21 12:00:14 rh Exp $ - ---- Makefile.orig Mon Aug 20 21:02:54 2001 -+++ Makefile -@@ -3,11 +3,11 @@ - PKG = pen - THIS = $(PKG)-$(VERSION) - --CC = gcc -+#CC = gcc - - # Try this first --CFLAGS = `./guess --cflags` --LDFLAGS = `./guess --libs` -+#CFLAGS = `./guess --cflags` -+#LDFLAGS = `./guess --libs` - - # For Linux - #CFLAGS = -Wall -g -@@ -16,7 +16,7 @@ - #CFLAGS = -Wall -g - #LDFLAGS = -lnsl -lsocket - --PREFIX = /usr/local -+#PREFIX = /usr/local - BINDIR = $(PREFIX)/bin - MANDIR = $(PREFIX)/man - MAN1DIR = $(MANDIR)/man1 diff --git a/net/pen/patches/patch-ab b/net/pen/patches/patch-ab deleted file mode 100644 index 03c6c659e7b..00000000000 --- a/net/pen/patches/patch-ab +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/08/21 12:00:14 rh Exp $ - ---- pen.c.orig Mon Aug 20 21:02:54 2001 -+++ pen.c -@@ -33,6 +33,7 @@ - #include <sys/socket.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <sys/param.h> - #include <fcntl.h> - #include <unistd.h> - #include <syslog.h> -@@ -465,6 +466,7 @@ - exit(0); - } - -+#if !(defined(BSD) && BSD >= 199306) - static void background(void) - { - int childpid; -@@ -478,6 +480,7 @@ - setpgrp(); - signal(SIGCHLD, SIG_IGN); - } -+#endif - - static void init(int argc, char **argv) - { -@@ -817,7 +820,11 @@ - signal(SIGCHLD, SIG_IGN); - - if (!foreground) { -+#if (defined(BSD) && BSD >= 199306) -+ daemon(0, 0); -+#else - background(); -+#endif - } - - listenfd = open_listener(argv[0]); |