pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/silc-server Updated to version 0.9.14.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d65f16517ebf
branches:  trunk
changeset: 462852:d65f16517ebf
user:      salo <salo%pkgsrc.org@localhost>
date:      Thu Oct 16 12:37:44 2003 +0000

description:
Updated to version 0.9.14.

This version is a major upgrade release and everyone running older version is
strongly recommended to upgrade to this version.  This version introduces
several bugfixes, security fixes and bunch of new features.  This also
completes the development work for the SILC protocol version 1.2.

Changes:

- removed patch-ac, merged into distribution
- create server keys with strict permissions

0.9.14:
=======
- Several bugfixes and security fixes were made.  A major remote exploit
  was also fixed.

- The SILC Server now ignores SIGXFSZ and SIGXCPU signals which will
  terminate the process if they occur.  They can occur in poorly
  configured environment.

- Fixed SERVER_SIGNOFF notify handling which caused ghosts to remain in
  the network.

- Fixed inviting and banning by public key.  Fixed invite and ban string
  handling.  Implemented SILC 1.2 complying invite and ban data
  distribution between routers and servers.  To also comply with SILC 1.2,
  prohibited using '@' and '!' characters in invite and ban strings.

- Support for channel public keys added.  A new feature in SILC 1.2, that
  allows join authentication using digital signatures.  Use the latest
  SILC Client to take advantage of this feature.

- Support for SILC 1.2 backup protocol.  This version introduces rewritten
  version of the backup router protocol.  The purpose of the backup router
  protocol is to prevent servers from splitting from the rest of the SILC
  network if the primary router becomes unresponsive.  There are no
  changes to the configuration of the backup router support, and old
  configurations will work with this version too.

  This version is now able to detect much better different network failure
  situations and understand how to work with them.  The servers are now
  able to actually detect when the backup router can/must be used.  They
  are also able, in case of error in backup router protocol, to resume
  back to either to the backup router or to the primary router, and always
  recover from desyncs automatically (usually within 60 seconds).

- Support for command reply error arguments was added.  This allows
  clients to better handle error conditions within command execution.

- The founder public key distribution now complies with the SILC 1.2.

diffstat:

 chat/silc-server/Makefile            |  10 +++++-----
 chat/silc-server/PLIST               |   6 +++---
 chat/silc-server/distinfo            |   9 ++++-----
 chat/silc-server/files/silcd.generic |   4 ++--
 chat/silc-server/files/silcd.sh      |   4 ++--
 chat/silc-server/patches/patch-aa    |  25 ++++++++-----------------
 chat/silc-server/patches/patch-ac    |  19 -------------------
 7 files changed, 24 insertions(+), 53 deletions(-)

diffs (182 lines):

diff -r 38280b75288c -r d65f16517ebf chat/silc-server/Makefile
--- a/chat/silc-server/Makefile Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/Makefile Thu Oct 16 12:37:44 2003 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2003/08/30 22:51:13 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2003/10/16 12:37:44 salo Exp $
 #
 
-DISTNAME=              silc-server-0.9.13
-PKGREVISION=           1
+DISTNAME=              silc-server-0.9.14
 CATEGORIES=            chat security
 MASTER_SITES=          http://www.silcnet.org/download/server/sources/ \
                        ftp://ftp.silcnet.org/silc/server/sources/ \
@@ -18,7 +17,6 @@
 USE_BUILDLINK2=                YES
 USE_PKGINSTALL=                YES
 GNU_CONFIGURE=         YES
-USE_GMAKE=             YES
 USE_LIBTOOL=           YES
 SHLIBTOOL_OVERRIDE=    ${WRKSRC}/libtool ${WRKSRC}/lib/silcmath/mpi/libtool
 
@@ -64,9 +62,11 @@
 CONFIGURE_ARGS+=       --without-iconv
 CONFIGURE_ARGS+=       --without-libtoolfix
 
-# List it into IPv6-ready packages.
 BUILD_DEFS+=           USE_INET6
+
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-ipv6
+.endif
 
 # If you want to debug silc-server, uncomment this.
 #
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/PLIST
--- a/chat/silc-server/PLIST    Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/PLIST    Thu Oct 16 12:37:44 2003 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.10 2003/03/17 20:12:47 salo Exp $
+@comment $NetBSD: PLIST,v 1.11 2003/10/16 12:37:44 salo Exp $
 etc/rc.d/silcd
 lib/silcd/libsilc-1.0.so
-lib/silcd/libsilc-1.0.so.1
-lib/silcd/libsilc-1.0.so.1.0
+lib/silcd/libsilc-1.0.so.2
+lib/silcd/libsilc-1.0.so.2.0
 lib/silcd/libsilc.la
 lib/silcd/libsilc.so
 lib/silcd/modules/aes.sim.so
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/distinfo
--- a/chat/silc-server/distinfo Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/distinfo Thu Oct 16 12:37:44 2003 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.19 2003/03/17 20:12:47 salo Exp $
+$NetBSD: distinfo,v 1.20 2003/10/16 12:37:44 salo Exp $
 
-SHA1 (silc-server-0.9.13.tar.bz2) = 04740652748363aee461258202fd2ade9c268979
-Size (silc-server-0.9.13.tar.bz2) = 1084978 bytes
-SHA1 (patch-aa) = 574f1c4bcbf4ef7d91b6bd53044570c99717d4cc
+SHA1 (silc-server-0.9.14.tar.bz2) = c8da53bf1bfd089f5836505a7233dc1bb55e10dd
+Size (silc-server-0.9.14.tar.bz2) = 1087719 bytes
+SHA1 (patch-aa) = 181bf9a721abaeaaa0afd7e24017cd49a8020ac4
 SHA1 (patch-ab) = 55b3f00076c5b8a443465753ae07b9e812236f18
-SHA1 (patch-ac) = cf4ba08135b9d52169e7a9dde29e53f3822d7578
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/files/silcd.generic
--- a/chat/silc-server/files/silcd.generic      Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/files/silcd.generic      Thu Oct 16 12:37:44 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: silcd.generic,v 1.2 2002/05/24 22:15:36 hubertf Exp $
+# $NetBSD: silcd.generic,v 1.3 2003/10/16 12:37:44 salo Exp $
 #
 
 KILL="/bin/kill"
@@ -15,7 +15,7 @@
 
 silcd_precmd() {       
        if [ ! -f $confdir/silcd.prv ]; then
-               $command -C $confdir
+               umask 7177 && $command -C $confdir
        fi
 }
 
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/files/silcd.sh
--- a/chat/silc-server/files/silcd.sh   Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/files/silcd.sh   Thu Oct 16 12:37:44 2003 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: silcd.sh,v 1.6 2002/09/20 02:01:55 grant Exp $
+# $NetBSD: silcd.sh,v 1.7 2003/10/16 12:37:44 salo Exp $
 #
 # PROVIDE: silcd
 # REQUIRE: DAEMON
@@ -23,7 +23,7 @@
 silcd_precmd()
 {
        if [ ! -f $confdir/silcd.prv ]; then
-               $command -C $confdir
+               umask 7177 && $command -C $confdir
        fi
 }
 
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/patches/patch-aa
--- a/chat/silc-server/patches/patch-aa Thu Oct 16 12:37:03 2003 +0000
+++ b/chat/silc-server/patches/patch-aa Thu Oct 16 12:37:44 2003 +0000
@@ -1,17 +1,8 @@
-$NetBSD: patch-aa,v 1.8 2003/03/17 20:12:47 salo Exp $
+$NetBSD: patch-aa,v 1.9 2003/10/16 12:37:44 salo Exp $
 
---- Makefile.in.orig   2003-03-17 18:44:44.000000000 +0100
-+++ Makefile.in        2003-03-17 20:27:59.000000000 +0100
-@@ -216,7 +216,7 @@
- libdir = @libdir@
- libexecdir = @libexecdir@
- localstatedir = @localstatedir@
--mandir = $(DESTDIR)$(mandir)
-+mandir = $(DESTDIR)@mandir@
- oldincludedir = @oldincludedir@
- prefix = @prefix@
- program_transform_name = @program_transform_name@
-@@ -709,14 +709,12 @@
+--- Makefile.in.orig   2003-10-15 19:22:13.000000000 +0200
++++ Makefile.in        2003-10-16 13:16:39.000000000 +0200
+@@ -710,14 +710,12 @@
        -mkdir -p $(mandir)/man1
  
  install-dirs-server: install-dirs
@@ -26,7 +17,7 @@
        -$(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
        -$(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
        -$(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
-@@ -731,7 +729,6 @@
+@@ -732,7 +730,6 @@
        fi
  
  doc-install-server: doc-install
@@ -34,7 +25,7 @@
        -@if test -f $(srcdir)/doc/silcd.8 ; then \
         $(INSTALL_DATA) $(srcdir)/doc/silcd.8 $(mandir)/man8; \
        fi
-@@ -766,9 +763,12 @@
+@@ -767,9 +764,12 @@
        -cp -R $(srcdir)/tutorial $(prefix)
  
  examples-install:
@@ -50,10 +41,10 @@
  
  generate-server-key:
        -@if test '!' -f $(etcdir)/silcd.pub ; then \
-@@ -777,7 +777,7 @@
+@@ -778,7 +778,7 @@
  
  @SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs-client sim-install doc-install-client etc-install-client
- @SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs-client install-dirs-server sim-install doc-install-client doc-install-server toolkit-install examples-install 
etc-install-client etc-install-server generate-server-key
+ @SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_TRUE@install-data-hook: install-dirs-client install-dirs-server sim-install doc-install-client doc-install-server toolkit-install examples-install 
etc-install-client etc-install-server
 -@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs-server sim-install doc-install-server examples-install etc-install-server generate-server-key
 +@SILC_DIST_CLIENT_FALSE@@SILC_DIST_TOOLKIT_FALSE@install-data-hook: install-dirs-server sim-install doc-install-server examples-install
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -r 38280b75288c -r d65f16517ebf chat/silc-server/patches/patch-ac
--- a/chat/silc-server/patches/patch-ac Thu Oct 16 12:37:03 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ac,v 1.8 2003/03/17 20:12:48 salo Exp $
-
---- lib/silccrypt/Makefile.in.orig     Wed Jan  8 17:25:45 2003
-+++ lib/silccrypt/Makefile.in  Thu Jan  9 00:15:00 2003
-@@ -366,6 +366,14 @@
- .c.obj:
-       $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
- 
-+# Workaround a bug in GCC which causes memory exhaustion
-+# when compiling sha1 with optimizations on UltraSPARC.
-+#
-+ifeq (sparc64, $(host_cpu))
-+sha1.lo:
-+      $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c
-+ endif
-+
- .c.lo:
-       $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
- 



Home | Main Index | Thread Index | Old Index