pkgsrc/net/balance/patches/patch-ab
ryoon 288047625a Update to 3.54
* Use distfile's install target.
* Add comments to patches.

Changelog:
    3.54: A bug with hash_fold() regarding incoming IPv4 and IPv6 source addresses has been fixed. The "hash" group mechanism is now working as expected.
    3.52: Buffering has been disabled for interactive shell IO. A new "assign" command has been added to allow changing of the host:port assignment of a channel (only if disabled). A locking bug has been fixed.
    3.50: A new option -6 has been added to force IPv6 bind.
    3.49: A patch has been applied due to a problem with ftok() on Solaris.
    3.48: Problems with setting IPV6_V6ONLY socket option are now handled more nicely with a syslog warning message.
    3.42: Balance now compiles also on systems where IPV6_V6ONLY is undefined (like some Solaris systems).
    3.40: IPv6 support on the listening side has been added. MAXCHANNELS in balance.h has been increased to 64.
    3.35: A bug in the autodisable functionality has been fixed.
    3.34: -a option added (enables "autodisable" option: A channel needs to be manually re-enabled after a failure). Syslog logging added for reporting this event.
    3.33: -M option added (use MMAP instead of SHM for IPC)
    3.32: Bugfix: /var/run/balance may now already exist.
    3.31: Bugfix: TCP_NODELAY properly set.
    3.30: Code cleanups and fixes.
2013-06-16 08:09:11 +00:00

15 lines
371 B
Text

$NetBSD: patch-ab,v 1.5 2013/06/16 08:09:11 ryoon Exp $
* Treat *BSD as BSD.
--- balance.h.orig 2010-12-03 12:50:22.000000000 +0000
+++ balance.h
@@ -20,7 +20,7 @@
#include <sys/mman.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__INTERIX) || defined(__DragonFly__)
#define BalanceBSD 1
#endif