summaryrefslogtreecommitdiff
path: root/chat/silc-server/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-11-30 23:33:34 +0000
committerhubertf <hubertf>2001-11-30 23:33:34 +0000
commite419081e5f7c651f666862c698eda0bd5bb9c091 (patch)
treeebdf4ab830ce83edabf81dce3170458f8b32a6ec /chat/silc-server/patches
parent00edb6eb5c83ae136f1945c0bc3b278e31b61125 (diff)
downloadpkgsrc-e419081e5f7c651f666862c698eda0bd5bb9c091.tar.gz
Add silc-server 0.6.4:
SILC (Secure Internet Live Conferencing) is a protocol which provides secure conferencing services in the Internet over insecure channel. Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 14562
Diffstat (limited to 'chat/silc-server/patches')
-rw-r--r--chat/silc-server/patches/patch-aa52
-rw-r--r--chat/silc-server/patches/patch-ab30
-rw-r--r--chat/silc-server/patches/patch-ac15
-rw-r--r--chat/silc-server/patches/patch-ad115
4 files changed, 212 insertions, 0 deletions
diff --git a/chat/silc-server/patches/patch-aa b/chat/silc-server/patches/patch-aa
new file mode 100644
index 00000000000..7e7fdc89ea9
--- /dev/null
+++ b/chat/silc-server/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- Makefile.in.orig Sun Nov 11 18:02:38 2001
++++ Makefile.in Tue Nov 13 18:42:52 2001
+@@ -511,25 +511,12 @@
+ -rm -rf $(distdir)
+
+ install-dirs:
+- -mkdir -p $(etcdir)
+- -mkdir -p $(modulesdir)
+- -mkdir -p $(helpdir)
+ -mkdir -p $(docdir)
+- -mkdir -p $(logsdir)
+-
+-generate-server-key:
+- -@if test '!' -f $(etcdir)/silcd.pub ; then \
+- $(sbindir)/silcd -C $(etcdir); \
+- fi
+-
+-sim-install:
+- -cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/
+
+ doc-install:
+ $(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/example_* $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/
++ $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(docdir)/silcd.conf.default
+ $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
+@@ -537,19 +524,8 @@
+ $(INSTALL_DATA) $(srcdir)/INSTALL $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/TODO $(docdir)/
+
+-etc-install:
+- -@if test '!' -f $(etcdir)/silcd.conf ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
+- $(etcdir)/silcd.conf; \
+- chmod go= $(etcdir)/silcd.conf; \
+- fi
+- -@if test '!' -f $(etcdir)/silc.conf ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf \
+- $(etcdir)/silc.conf; \
+- fi
+-
+ @SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs sim-install doc-install etc-install
+-@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install etc-install
++@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs doc-install
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/chat/silc-server/patches/patch-ab b/chat/silc-server/patches/patch-ab
new file mode 100644
index 00000000000..06fa323a52d
--- /dev/null
+++ b/chat/silc-server/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- lib/Makefile.in.orig Wed Nov 7 20:16:45 2001
++++ lib/Makefile.in Sun Nov 11 20:23:05 2001
+@@ -116,13 +116,12 @@
+ silcutil \
+ silcclient \
+ silcsftp \
+- dotconf \
+ trq
+
+
+ # zlib
+-SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp
+-DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp
++SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp
++DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp
+
+ # SILC Library dirs
+ SILCLIB_DIRS = \
+@@ -134,8 +133,7 @@
+ silcske \
+ silcutil \
+ silcsftp \
+- trq \
+- dotconf
++ trq
+
+
+ # SILC Client Library dirs
diff --git a/chat/silc-server/patches/patch-ac b/chat/silc-server/patches/patch-ac
new file mode 100644
index 00000000000..29a2aba6e98
--- /dev/null
+++ b/chat/silc-server/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- lib/silcmath/mpi/mpi-priv.h.orig Sat Nov 24 20:06:50 2001
++++ lib/silcmath/mpi/mpi-priv.h Sat Nov 24 20:07:51 2001
+@@ -242,3 +242,10 @@
+ /* }}} */
+ #endif
+
++#if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__))
++# if defined restrict || 199901L <= __STDC_VERSION__
++# define __restrict restrict
++# else
++# define __restrict
++# endif
++#endif
diff --git a/chat/silc-server/patches/patch-ad b/chat/silc-server/patches/patch-ad
new file mode 100644
index 00000000000..e3e898aa6e3
--- /dev/null
+++ b/chat/silc-server/patches/patch-ad
@@ -0,0 +1,115 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/11/30 23:33:35 hubertf Exp $
+
+--- doc/example_silcd.conf.in.orig Sun Nov 4 10:53:35 2001
++++ doc/example_silcd.conf.in Thu Nov 29 20:53:48 2001
+@@ -12,16 +12,16 @@
+ # If the cipher is builtin the <module path> maybe omitted.
+ #
+ [Cipher]
+-aes-256-cbc:@MODULESDIR@/aes.sim.so:32:16
+-aes-192-cbc:@MODULESDIR@/aes.sim.so:24:16
+-aes-128-cbc:@MODULESDIR@/aes.sim.so:16:16
+-twofish-256-cbc:@MODULESDIR@/twofish.sim.so:32:16
+-twofish-192-cbc:@MODULESDIR@/twofish.sim.so:24:16
+-twofish-128-cbc:@MODULESDIR@/twofish.sim.so:16:16
+-mars-256-cbc:@MODULESDIR@/mars.sim.so:32:16
+-mars-192-cbc:@MODULESDIR@/mars.sim.so:24:16
+-mars-128-cbc:@MODULESDIR@/mars.sim.so:16:16
+-none:@MODULESDIR@/none.sim.so:0:0
++aes-256-cbc::32:16
++aes-192-cbc::24:16
++aes-128-cbc::16:16
++twofish-256-cbc::32:16
++twofish-192-cbc::24:16
++twofish-128-cbc::16:16
++mars-256-cbc::32:16
++mars-192-cbc::24:16
++mars-128-cbc::16:16
++none::0:0
+
+ #
+ # Configured hash functions.
+@@ -69,7 +69,8 @@
+ # Format: <location>:<server type>:<admin's name>:<admin's email address>
+ #
+ [AdminInfo]
+-Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
++#Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
++Default Location:NetBSD Test Server:Root of All Evil:root@localhost
+
+ #
+ # Server information.
+@@ -77,7 +78,8 @@
+ # Format: +<server FQDN>:<server IP>:<geographic location>:<port>
+ #
+ [ServerInfo]
+-lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706
++#lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706
++localhost:127.0.0.1:Default Location:706
+
+ #
+ # Server keys
+@@ -93,7 +95,8 @@
+ # Format: <local IP>:<Listener IP>:<port>
+ #
+ [ListenPort]
+-10.2.1.6:10.2.1.6:706
++#10.2.1.6:10.2.1.6:706
++127.0.0.1:127.0.0.1:706
+
+ #
+ # Log files.
+@@ -110,9 +113,9 @@
+ #
+ [Logging]
+ infologfile:@LOGSDIR@/silcd.log:10000
+-#warninglogfile:@LOGSDIR@/silcd_warning.log:10000
+-#errorlogfile:@LOGSDIR@/error.log:10000
+-#fatallogfile:@LOGSDIR@/silcd_error.log:
++warninglogfile:@LOGSDIR@/silcd_warning.log:10000
++errorlogfile:@LOGSDIR@/error.log:10000
++fatallogfile:@LOGSDIR@/silcd_error.log:
+
+ #
+ # Connection classes.
+@@ -146,7 +149,8 @@
+ # file.
+ #
+ [AdminConnection]
+-10.2.1.199:priikone:pekka:passwd:veryscret
++#10.2.1.199:priikone:pekka:passwd:veryscret
++127.0.0.1:root:root:passwd:verysecret
+
+ #
+ # Configured server connections.
+@@ -165,8 +169,8 @@
+ # set to value 1 then this server will be backup router.
+ #
+ [ServerConnection]
+-10.2.1.7:passwd:veryscret:706:1:1:0
+-10.2.1.17:passwd:veryscret13:706:1:1:1 # backup connection, that host
++#10.2.1.7:passwd:veryscret:706:1:1:0
++#10.2.1.17:passwd:veryscret13:706:1:1:1 # backup connection, that host
+ # will use this server as backup
+ # router.
+
+@@ -208,3 +212,19 @@
+ #
+ [DenyConnection]
+ #10.2.1.99:0:Your connection has been denied
++
++#
++#Message Of The Day
++#
++#specify the text file containing the motd:
++#
++#[motd]
++#@ETCDIR@/motd.txt
++
++#
++#pidfile
++#
++#specify the pidfile where it will be written:
++#
++[pid]
++/var/run/silcd.pid