summaryrefslogtreecommitdiff
path: root/chat/silc-server/patches
diff options
context:
space:
mode:
authoradam <adam>2010-08-30 11:17:16 +0000
committeradam <adam>2010-08-30 11:17:16 +0000
commit189d8cc90d3c33ac7543e97010d8af27415e4124 (patch)
tree759b94afd9d63c1b369861bfe1d4c242a163d485 /chat/silc-server/patches
parente5bd8a0c24f4dce02febc606901ab84344737c5a (diff)
downloadpkgsrc-189d8cc90d3c33ac7543e97010d8af27415e4124.tar.gz
Changes 1.1.10 (toolkit):
* More string format fixes in silcd and client libary * configure: changed AC_PROG_LIBTOOL order to fix disabling shared libs * configure: check threads support in OpenBSD * Fixed string format vulnerability in client entry handling * Reported and patch provided by William Cummings * silcd: Fixed IDENTIFY command reply handling for channels Changes 1.1.18 (server): * silcd: Added heartbeat support * Added support for sending SILC_PACKET_HEARTBEAT packets to connection, to make sure they keep alive and to detect if they have died * Set SO_KEEPALIVE for all accept()ed sockets * silcd: Fixed SIGUSR1 signal handling * Fixed the SIGUSR1 signal handling which can be used to dump the server internals to /tmp. * Changed also End of Stream handling to handle NULL idata pointer instead of ignoring the EOS in case it is NULL. * Changed also the DETACH timeout handling to use the packet stream directly instead of looking up client in the callback * More string format fixes in silcd and client libary
Diffstat (limited to 'chat/silc-server/patches')
-rw-r--r--chat/silc-server/patches/patch-aa12
-rw-r--r--chat/silc-server/patches/patch-ab27
-rw-r--r--chat/silc-server/patches/patch-ac14
3 files changed, 34 insertions, 19 deletions
diff --git a/chat/silc-server/patches/patch-aa b/chat/silc-server/patches/patch-aa
index 94c429db5c9..2e1ab6c92c4 100644
--- a/chat/silc-server/patches/patch-aa
+++ b/chat/silc-server/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.11 2010/02/14 20:18:06 joerg Exp $
+$NetBSD: patch-aa,v 1.12 2010/08/30 11:17:16 adam Exp $
---- apps/silcd/Makefile.in.orig 2005-05-10 18:59:04.000000000 +0200
-+++ apps/silcd/Makefile.in 2005-06-19 02:36:04.000000000 +0200
-@@ -581,13 +581,10 @@
+--- apps/silcd/Makefile.in.orig 2009-09-26 20:34:14.000000000 +0000
++++ apps/silcd/Makefile.in
+@@ -580,13 +580,10 @@ uninstall-am: uninstall-sbinPROGRAMS
install-dirs-server:
-mkdir -p $(docdir)
@@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.11 2010/02/14 20:18:06 joerg Exp $
-@if test -f $(top_srcdir)/doc/silcd.8 ; then \
$(INSTALL_DATA) $(top_srcdir)/doc/silcd.8 $(mandir)/man8; \
fi
-@@ -605,8 +602,10 @@
+@@ -604,8 +601,10 @@ etc-install-server:
fi
examples-install:
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.11 2010/02/14 20:18:06 joerg Exp $
generate-server-key:
-@if test '!' -f $(etcdir)/silcd.pub ; then \
-@@ -616,9 +615,7 @@
+@@ -615,9 +614,7 @@ generate-server-key:
install-data-hook: \
install-dirs-server \
doc-install-server \
diff --git a/chat/silc-server/patches/patch-ab b/chat/silc-server/patches/patch-ab
index b47992100b5..4287467b7d9 100644
--- a/chat/silc-server/patches/patch-ab
+++ b/chat/silc-server/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
+$NetBSD: patch-ab,v 1.9 2010/08/30 11:17:16 adam Exp $
---- doc/example_silcd.conf.in.orig Sat Nov 30 15:09:21 2002
-+++ doc/example_silcd.conf.in Fri Dec 6 19:04:31 2002
-@@ -166,14 +166,14 @@
+--- doc/example_silcd.conf.in.orig 2008-10-25 13:59:17.000000000 +0000
++++ doc/example_silcd.conf.in
+@@ -186,7 +186,7 @@ ServerInfo {
#
# Server name (FQDN)
#
@@ -11,15 +11,16 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
#
# Primary listener. Specify the IP address and the port to bind
- # the server.
+@@ -194,7 +194,7 @@ ServerInfo {
+ # if the server is behind NAT.
#
Primary {
- ip = "10.2.1.6";
+ ip = "127.0.0.1";
+ # public_ip = "11.1.1.1";
port = 706;
};
-
-@@ -181,8 +181,7 @@
+@@ -203,8 +203,7 @@ ServerInfo {
# Secondary listener(s). If you need to bind your server into
# several interfaces use the Secondary to specify the listener(s).
#
@@ -29,7 +30,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
#
# ServerType field specifies the purpose of this server
-@@ -193,7 +192,7 @@
+@@ -215,7 +214,7 @@ ServerInfo {
#
# Geographic location
#
@@ -38,7 +39,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
#
# Full admin name
-@@ -209,8 +208,8 @@
+@@ -231,8 +230,8 @@ ServerInfo {
# Run SILC server as specific user and group. The server must be
# initially run as root.
#
@@ -49,7 +50,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
#
# Public and private keys
-@@ -223,7 +222,7 @@
+@@ -245,7 +244,7 @@ ServerInfo {
#
# Specifies the text file displayed on client connection
#
@@ -58,7 +59,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
#
# Pid file
-@@ -255,7 +254,7 @@
+@@ -278,7 +277,7 @@ Logging {
# reduces memory usage. By default it is false and log files are
# written with FlushDelay timeout.
#
@@ -67,7 +68,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
# FlushDelay tells log files update delay (seconds) in case you
# have chosen buffering output. This setting has effect only if
-@@ -435,9 +434,9 @@
+@@ -458,9 +457,9 @@ Client {
# required.
#
Admin {
@@ -80,7 +81,7 @@ $NetBSD: patch-ab,v 1.8 2002/12/06 19:52:38 salo Exp $
Passphrase = "verysecret";
# PublicKey = "/path/to/the/public.pub";
};
-@@ -496,17 +495,17 @@
+@@ -520,17 +519,17 @@ ServerConnection {
# backup router is in our cell then set the "BackupLocal" option to true.
# If the backup router is in other cell then set it to false.
#
diff --git a/chat/silc-server/patches/patch-ac b/chat/silc-server/patches/patch-ac
new file mode 100644
index 00000000000..b9dbdd2b889
--- /dev/null
+++ b/chat/silc-server/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.14 2010/08/30 11:17:16 adam Exp $
+
+--- configure.orig 2010-08-30 10:05:32.000000000 +0000
++++ configure
+@@ -19018,9 +19018,6 @@ if test -n "$with_silc_includes" || test
+ has_threads=true
+ fi
+ f=`$EGREP __SILC_HAVE_SIM $ac_silc_includes/silc.h`
+- if test -n "$f"; then
+- LIBS="$LIBS -ldl"
+- fi
+
+ else
+ # pkg-config check