Mon Mar 5 23:27:32 CET 2007 Jochen Eisinger <coffee@silcnet.org>
authorJochen Eisinger <coffee@silcnet.org>
Mon, 5 Mar 2007 22:28:17 +0000 (22:28 +0000)
committerJochen Eisinger <coffee@silcnet.org>
Mon, 5 Mar 2007 22:28:17 +0000 (22:28 +0000)
* Update patch to makefile from trunk so parallel make will link
  the silc-client correctly.  Affected file lib/Makefile.ad

1  2 
CHANGES
lib/Makefile.ad

diff --cc CHANGES
index 2a761443f91b13a4de6430def11997f12e4f644d,0eebc59d10daa41b721a6e86518967e6d1ab5311..2faa7f928665b3c12131d018632b208155d6a1fe
+++ b/CHANGES
 -Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
++Mon Mar  5 23:27:32 CET 2007  Jochen Eisinger <coffee@silcnet.org>
 -      * Fixed WHOIS command and requested attributes handling in
 -        client library.  Affected files are lib/silcclient/command.c
 -        and lib/silcclient/client_attrs.c.
++      * Update patch to makefile from trunk so parallel make will link
++        the silc-client correctly.  Affected file lib/Makefile.ad
 -      * Fixed silc_time_value to actually work.  Added new function
 -        silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
 +Sun Nov 19 18:58:26 CET 2006  Jochen Eisinger <coffee@silcnet.org>
  
 -Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 +      * Import perl script for sign_messages from silc-plugin.  Affected
 +        file apps/irssi/scripts/silc.pl
  
 -      * SILC Client 1.1 beta2.
 +Tue Oct  3 21:22:00 CEST 2006  Jochen Eisinger <coffee@silcnet.org>
  
 -Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 +      * When joining channels with a password given in the config file,
 +        use it.  Also use it when cycling (it would be better to get
 +        the password from the server, but this isn't possible in SILC).
 +        Affected files apps/irssi/src/silc/core/silc-servers.c,
 +        apps/irssi/src/silc/core/silc-channels.c
  
 -      * Fixed client to properly abort TCP stream creation when
 -        giving /QUIT.  Affected file 
 -        apps/irssi/src/silc/core/silc-servers.c.
 +Sun Oct  1 20:39:34 CEST 2006  Jochen Eisinger <coffee@silcnet.org>
  
 -      * Fixed several connecting aborting crashes from the client
 -        library, packet engine and socket stream.  Affected files
 -        are in lib/silclient/, lib/silccore/silcpacket.c and
 -        lib/silcutil/unix/silcunixsocketstream.c.
 +      * Always return a valid username.  Affected file
 +        lib/silcutil/unix/silcunixutil.c
 +      * Only wait for a nick on connecting, when it differs
 +        (not counting case) from the username.  Affected file
 +        apps/irssi/src/silc/core/client_ops.c
  
 -      * Fixed private key export double free crash in key generation.
 -        Affected file is lib/silccrypt/silcpk.c.
 +Sun Jul  2 19:12:36 CEST 2006  Jochen Eisinger <coffee@silcnet.org>
  
 -      * Fixed FSM event waiting when there are multiple signallers
 -        and the waiter goes away after the first signal.  Affected
 -        file in lib/silcutil/silcfsm.c.
 +      * Make gmake the default for autodist, so I can properly work
 +        on otaku.  Affected files README.DIST, distdir/autodist.conf
  
 -Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 +Fri Jan  6 13:08:15 CET 2006 Jochen Eisinger <coffee@silcnet.org>
  
 -      * Fixed FSM event signalling to check if the waiter has gone
 -        away already.  Affected file is lib/silcutil/silcfsm.c.
 -
 -      * Fixed counter mode encryption/decryption to handle non-padded
 -        SILC packets correctly.  The silc_cipher_set_iv now
 -        in counter mode resets for a new block.  Affected files are
 -        in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
 -
 -Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * SILC Client 1.1 beta1.
 -
 -      * Memory leak fixes around the libraries.
 -
 -Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added better check for epoll() in configure.  Affected file
 -        is lib/configure.ad.
 -
 -Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Fixed per scheduler data input buffer in packet engine.  Use
 -        list of inbufs instead of just one so that multiple streams
 -        can do partial reads to different buffers.  Affected file is
 -        lib/silccore/silcpacket.c.
 -
 -      * Fixed WATCH notify handling in client library.  Affected file
 -        is lib/silcclient/client_notify.c.
 -
 -Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Fixed packet wrapper stream API to support encoder/decoder
 -        for packets, and to handle partial reading correctly.  Fixed
 -        also inbuf size checking in reading to have enough space before
 -        reading.  Affected files are lib/silccore/silcpacket.[ch].
 -
 -      * Rewrote file transfer in client library.  Affected files are
 -        in lib/silcclient/.
 -
 -      * Added TCP/UDP listener (internal) API to client library to have
 -        generic way of dealing with listeners.  Fixed Key Agreement and
 -        file transfer to use it.  Affected files are in lib/silcclient/.
 -
 -      * Fixed SKE to process SUCCESS packets synchronously and to call
 -        completion synchronously.  Affected file is lib/silcske/silske.c.
 -
 -      * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
 -
 -      * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
 -        lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
 -
 -Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added support for SILC protocol version 1.3 NEW_CLIENT packet
 -        to client library.  Affected file is
 -        lib/silcclient/client_register.c.
 -
 -      * Serialize NICK and JOIN commands to avoid problems locally
 -        with changing ID while joining to channel.  Affected file is
 -        lib/silcclient/command.c.
 -
 -      * Fixed entry resolving while handling incoming JOIN notify.
 -        Handle properly cases, in re-processing of notify packets, where
 -        the IDs may become invalid while resolving the entry (like nick
 -        change).  Entry is invalid if it doesn't have nickname, and such
 -        entries are not delivered to application anymore.  These fixes
 -        problems of not seeing JOINs when remote user changes nickname
 -        at the same time.  Affected files are in lib/silcclient/.
 -
 -Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added support for computing message payload MAC in new way
 -        (SILC Protocol version 1.3).  Bakcwards support for old way
 -        remains.  Affected files are lib/silccore/silcmessage.[ch].
 -
 -Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added SilcRwLock API, a read/write lock.  Affected files are
 -        lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
 -
 -Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
 -
 -Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * The silc_schedule_set_listen_fd now returns boolean value.
 -        Fixed FD task adding to check correctly for already added
 -        FD tasks.  Added stricter error checking for FD scheduling
 -        with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
 -        and lib/silcutil/unix/silcunixschedule.c.
 -
 -      * The silc_stream_set_notifier now returns boolean value.  Changed
 -        all streams to support and check for the error condition.
 -        Affected files are in lib/silcutil/.
 -
 -      * Fixed SKE library session aborting and deletion.  Affected
 -        file are lib/silcske/silcske.c.
 -
 -Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Implemented PKCS #1 with appendix with hash OID in the
 -        signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
 -        lib/silccrypt/silchash.[ch] and
 -        lib/silcasn1/silcasn1[_encode|decode].[ch].
 -
 -Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added support for Version (V) SILC public key identifier.
 -        Affected files are lib/silccrypt/silcpk.[ch].
 -
 -Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Rewrote connection auth request in client library.  It is now
 -        done automatically by the library and the resolved method given
 -        as a hint to get_auth_method client operation.  Affected files
 -        are lib/silcclient/.
 -
 -Wed Jan  3 18:06:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
 -        It can be used to wrap SilcPacketStream into SilcStream.
 -
 -      * Fixed %p formatting from silc_snprintf.  Affected file is
 -        lib/silcutil/silcsnprintf.c.
 -
 -      * Ported SFTP library to new utility library.  Ported also
 -        the SFTP testers.  Affected files in lib/silcsftp/.
 -
 -Tue Jan  2 17:18:46 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added lib/silcutil/silcsnprintf.[ch].  Added in addition
 -        of silc_snprintf, silc_vsnprintf, silc_asprintf and
 -        silc_vasprintf.
 -
 -Sat Dec 30 23:23:17 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added preliminary Symbian support.  Changes around the source
 -        tree.  The symbian/ directory now includes Carbide.c++ project
 -        files to compile the sources.
 -
 -      * Added silc_snprintf.  Affected files are
 -          lib/silcutil/silcstrutil.[ch].
 -
 -Thu Dec 21 18:01:51 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
 -        macros.  SILC_FSM_CONTINUE macro now immediately calls the
 -        next state instead of first returning back to FSM.  Helps
 -        in debugging crashes etc.
 -
 -          Removed FSM Semaphores.  Introduced FSM Event which is
 -        asynchronous event.   Affected files are in lib/.
 -
 -      * Added epoll(7) support to SILC Scheduler.  It is used by default
 -        if it is available.  Affected files are
 -        lib/silcutil/silcschedule.[ch],
 -        lib/silcutil/unix/silcunixschedule.c.
 -
 -Tue Dec 19 20:39:35 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added CTR mode to AES.  Simplified cipher implementation API
 -        more.  Affected files are in lib/silccrypt/.
 -
 -Sun Dec 17 16:46:55 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Removed `detach' client operation.  The detachment data is
 -        now delivered in SILC_COMMAND_DETACH command reply to
 -        application.  Affected file in lib/silcclient/.
 -
 -      * Rewrote resuming/detaching in client library.
 -
 -      * Added boolean encryption indicator for silc_cipher_set_key.
 -        Affected files lib/silccrypt/silccipher.[ch].
 -
 -Wed Dec 13 18:05:50 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_likely and silc_unlikely macros for GCC branch
 -        prediction optimizations.  Affected file lib/silcutil/silctypes.h.
 -
 -      * Added assembler AES optimization.  Cleaned up the SILC Cipher
 -        implementation API.  Affected files are in lib/silccrypt/.
 -
 -Tue Dec 12 18:56:14 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Changed back the SILC_FSM_THREAD_WAIT operation to not
 -        continue to next state if thread is finished already.  That
 -        check is not done anymore.  Affected files are
 -        lib/silcutil/silcfsm.[ch].
 -
 -Sun Dec 10 13:54:52 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Removed silc_packet_[get|set]_ciphers and
 -        silc_packet_[get|set]_hmacs.  Added silc_packet_set_keys that
 -        handle REKEY_DONE packet sending in rekey.  Affected files
 -        are lib/silccore/silcpacket.[ch].
 -
 -      * Added silc_fsm_is_started.  Affected files are
 -        lib/silcutil/silcfsm.[ch].
 -
 -      * Added settings sign_channel_message, sign_private_message
 -        and key_exchange_rekey_pfs to SILC Client.  Added UDP transport
 -        support for key agreement in /KEY command. Affected files
 -        in apps/irssi/src/silc/core/.
 -
 -      * During SILC Client initialization forward log messages to
 -        stderr.   Affected files in apps/irssi/src/silc/core/.
 -
 -Thu Dec  7 19:07:21 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_ske_get_key_material.  Affected files are
 -        lib/silcske/silcske.[ch].
 -
 -      * Added silc_packet_stream_is_udp.  Affected files are
 -        lib/silccore/silcpacket.[ch].
 -
 -      * Added SKE packet retransmission support with UDP transport.
 -        Affected file is lib/silcske/silcske.c.
 -
 -Sun Dec  3 22:00:12 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_socket_stream_is_udp.  Affected file is
 -        lib/silcutil/silcsocketstream.[ch].
 -
 -      * Added UDP transport support to packet engine.  Affected file
 -        is lib/silccore/silcpacket.c.
 -
 -      * Added silc_socket_stream_is_udp.  Affected file is
 -        lib/silcutil/silcsocketstream.[ch].
 -
 -Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_packet_send_va[_ext] to send variable argument
 -        formatted buffers.  Affected files lib/silcore/silcpacket.[ch].
 -
 -      * Timeout freelist garbage collection added to scheduler.
 -        Affected file lib/silcutil/silcschedule.c.
 -
 -Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added silc_show_public_key_file to
 -        lib/silcapputil/silcapputil.[ch].
 -
 -      * Added SILC_STR_ADVANCE support for buffer unformatting.
 -        Affected file lib/silcutil/silcbuffmt.c.
 -
 -Tue Nov  7 18:04:36 EET 2006  Pekka Riikonen <priikone@silcnet.org
 -
 -      * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
 -
 -      * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
 -
 -      * silc_fsm_continue[_sync] now cancels erlier timeout set with
 -        silc_fsm_next_later.  Affected file lib/silcutil/silcfsm.c.
 -
 -Sat Nov  4 21:50:37 EET 2006  Pekka Riikonen <priikone@silcnet.org
 -
 -      * Added SILC_STR_FUNC to buffer format API.  Affected files
 -        are lib/silcutil/silcbuffmt.[ch].
 -
 -      * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
 -
 -      * No more memory allocation for message payload parsing.
 -        Pre-allocated buffer can be used with message payload encoding.
 -        Affected files lib/silccore/silcmessage.[ch].
 -
 -Fri Oct 27 21:01:26 EEST 2006  Pekka Riikonen <priikone@silcnet.org
 -
 -      * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
 -        to silcutil/silcbuffmt.[ch].
 -
 -Sun Oct 22 13:03:07 EEST 2006  Pekka Riikonen <priikone@silcnet.org
 -
 -      * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
 -        Affected file lib/silcutil/silcbuffmt.[ch].
 -
 -      * Removed silc_schedule_signal_[un]register and
 -        silc_schedule_signal_call.  Added silc_schedule_task_add_signal
 -        to add signal task.  Only one callback per signal may be
 -        added.  The signals are now automatically called back to
 -        caller.  Affected files lib/silcutil/silcschedule.[ch] and
 -        silcutil/[unix/win32]/silc[unix/win32]schedule.c.
 -
 -      * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
 -
 -      * Added SilcSKEParams for SKE parameters and simplied even more
 -        the SKE interface.  Affected files are lib/silcske/silcske.[ch].
 -        Added support for IV included and session port handling with
 -        UDP/IP connections.
 -
 -      * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
 -        in lib/silccore/silcpacket.[ch].  Added silc_packet_set_sid
 -        which is called after every rekey when IV Included flag is used.
 -        See SILC specifications for details.
 -
 -Thu Oct 19 10:03:03 EEST 2006  Pekka Riikonen <priikone@silcnet.org
 -
 -      * Added lib/silcapputil and moved SILC application specific
 -        utility routines from the generic util library lib/silcutil
 -        to the new library.  Removed lib/silcidcache and moved that
 -        to lib/silcapputil as well.
 -
 -Tue Sep 19 00:14:11 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added SILC_STR_ADVANCE.  Affected file is
 -        lib/silcutil/silcbuffmt.[ch].
 -
 -      * The silc_buffer_strformat preserves buffer locations now.
 -
 -      * Added lib/silcutil/silcatomic.h for atomic operations.
 -
 -Sat Sep 16 11:23:06 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added lib/silchttp, SILC HTTP server, a very simple HTTP
 -        server.
 -
 -      * Fixed MIME deocing when data portion is not present.
 -        Affected file lib/silcutil/silcmime.c.
 -
 -Wed Jul 19 12:06:38 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
 -
 -      * Added IV Included support to packet routines, to allow
 -        packet sending and receiving on UDP/IP.  Affected files are
 -        lib/silccore/silcpacket.[ch].
 -
 -      * Added SILC_FSM_YIELD.  Affected files lib/silcutil/silcfsm.[ch].
 -
 -Tue Jul 18 20:10:28 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added UDP support to network and socket stream library.
 -
 -Sat Jun 24 22:33:18 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
 -
 -      * Added conditional variables.  New files are
 -        lib/silcutil/silcondvar.h and platform specific implementations.
 +      * Fixed more autodist issues.  Affected file doc/Makefile.ad,
 +        apps/irssi/src/perl/Makefile.am, distdir/post-process-dist.
  
  Thu Jan  5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
  
diff --cc lib/Makefile.ad
index 4e1d1ca1d7112ee57dea2a52f4d6e652a89c0be7,47844fa609a779b2c84fac83897de4f211a040e8..71dc3b1a23c573ef565867ccd69c1d138cc81d0a
@@@ -42,16 -57,22 +42,17 @@@ SILCCLIENTLIB_DIRS = silcclien
  SILCCLIENTLIB = libsilcclient.a
  #endif SILC_DIST_CLIENTLIB
  
 -#ifdef SILC_DIST_SERVERLIB
 -# SILC Server Library dirs
 -SILCSERVERLIB_DIRS = silcserver
 -SILCSERVERLIB = libsilcserver.a
 -#endif SILC_DIST_SERVERLIB
 -
 -SUBDIRS = $(SILCLIB_DIRS) $(SILCSERVERLIB_DIRS) $(SILCCLIENTLIB_DIRS)
 +SUBDIRS = $(SILCLIB_DIRS) $(SILCCLIENTLIB_DIRS)
  
 -CLEANFILES = libsilc.a $(SILCCLIENTLIB) $(SILCSERVERLIB)
 -DISTCLEANFILES = libsilc.a $(SILCCLIENTLIB) $(SILCSERVERLIB)
 +CLEANFILES = libsilc.a libsilcclient.a
 +DISTCLEANFILES = libsilc.a libsilcclient.a
  
  remove:
 -      -rm -f $(CLEANFILES)
 +      -rm -f libsilc.a
 +      -rm -f libsilcclient.a
  
- all:  remove $(SILCLIB) $(SILCCLIENTLIB)
+ all:
+       $(MAKE) remove $(SILCLIB) $(SILCSERVERLIB) $(SILCCLIENTLIB)
  
  #ifdef SILC_DIST_TOOLKIT
  install-exec-hook: