diff options
author | hubertf <hubertf> | 2002-03-03 23:27:48 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-03-03 23:27:48 +0000 |
commit | e67c1f4e7baf4822f4169766614d154d2240126b (patch) | |
tree | 1c42d757cd67956608115a145a329c91dd70f3ec /chat | |
parent | e338c2e7ce3480af8063dab64fb5ccf3de132be0 (diff) | |
download | pkgsrc-e67c1f4e7baf4822f4169766614d154d2240126b.tar.gz |
Update of chat/silc-client to version 0.8.
Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15772.
Changes:
- added support for optional perl support to Makefile
- added PLIST.perl for package with perl support enabled
- updated MASTER_SITEs
- updated patches
This version introduces the new Irssi-SILC client which is based in the new
Irssi 0.8.1 version. In addition of being entirely new irssi base this
version also introduces the perl scripting support. With this scripting
support it is possible to create scripts that introduce new features and new
commands. It is also possible to create a bot with it.
The client config file has changed too. The old "silc.conf" (which was the
silc specific config file) is now gone, and the "config" (which was the irssi
specific config file) is now renamed as silc.conf, and includes both silc
stuff and irssi stuff. So, after installing this new client I suggest
removing the old silc.conf file since otherwise when you run the new client it
will yell you about the config file. Be warned.
When you look at the new silc.conf config file you will see settings like,
"crypto_default_cipher", "crypto_default_hash" and "crypto_default_hmac".
These are the silc specific settings and you can freely edit them (or use
/SET command) to include what ever value you prefer. The default values
should fit to all since they are the SILC protocol default ones. Anyway,
they are editable if you want to edit, but you don't need to edit them.
New commands that this new client introduces is for example /STATUSBAR.
With this command you can manage the different bars on the screen. Like,
whether to show topic bar or not etc.
most significant changes in silc-client since version 0.7.6.2:
* Fixed CUMODE_CHANGE notify handling to change the mode of correct client
* Allow zero length channel messages inside the Channel Message Payload
* The silc_cipher_register, silc_hash_register and silc_hmac_register now
checks if the object to be registered is registered already
* Merged the new SILC Config library, with the server parsing support.
Read the header file silcconfig.h or the toolkit documentation for the
news.
* Added new Passphrase and Publickey authentication methods to config file,
allowing both public key and passphrase based authentication to be set at
the same time.
* Added `prefer_passphrase_auth' setting in config file which can be used to
set to prefer passwd auth if both passwd and public key is set. If not set,
public key is preferred. This has effect only when being initiator
(responder will try both anyway).
* Added support for authentication with passphrase and public key at the same
time. The passphrase is tried first always since it is faster to check.
* Fixed the public key authentication to allocate always the destination
signature buffer instead of using static buffer.
* Add the client on channel after it was resolved at the channel message
receiving, and it was not already on the channel.
* Fixed command line parameter handling. All SILC initialization is now done
in silc_core_init() which also fixes autoconnecting to servers.
* Rewrote the notify handling in Irssi SILC client to not call the events as
signals. Fixes problems with Perl support.
* Send the auto-nicking NICK command in client library with little timeout
after connecting.
* Fixed padding problem in PKCS#1. The padding was not actually random since
the random number generator was used incorrectly. This security bug affects
only when encrypting with PKCS#1, and it is not currently used at all in
SILC. SILC only use signing with PKCS#1.
* Fixed a NICK change bug in client library, to not recreate the
client_entry->channels hash table everytime nick is changed.
* Fixed NICK change printing in Irssi SILC Client. Fixed KICKED notify
printing in Irssi SILC Client.
* Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines instead
of calling directly OS routines.
* Added proper initializations to silc's irssi code, so it's now possible
to load it as module.
* Added silc_schedule_reinit function to do the enlarging of the max tasks
handling capabilities of the scheduler.
* Added `prefer_ipv6' argument to the functions
silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address
over IPv4. If FALSE IPv4 address is returned even if IPv6 address was
found.
* Added support silc_net_create_connection[_async] to fallback to IPv4
address if IPv6 address could not be used (like if it doesn't work on
a specific system).
Diffstat (limited to 'chat')
-rw-r--r-- | chat/silc-client/Makefile | 31 | ||||
-rw-r--r-- | chat/silc-client/PLIST | 36 | ||||
-rw-r--r-- | chat/silc-client/PLIST.perl | 131 | ||||
-rw-r--r-- | chat/silc-client/distinfo | 10 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-aa | 16 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-ab | 28 |
6 files changed, 212 insertions, 40 deletions
diff --git a/chat/silc-client/Makefile b/chat/silc-client/Makefile index f43739c237c..d9b40b3bc19 100644 --- a/chat/silc-client/Makefile +++ b/chat/silc-client/Makefile @@ -1,15 +1,14 @@ -# $NetBSD: Makefile,v 1.7 2002/02/17 23:12:31 hubertf Exp $ +# $NetBSD: Makefile,v 1.8 2002/03/03 23:27:48 hubertf Exp $ -DISTNAME= silc-client-0.7.6.2 +DISTNAME= silc-client-0.8 CATEGORIES= chat -MASTER_SITES= http://silcnet.org/download/client/sources/ \ +MASTER_SITES= http://www.silcnet.org/download/client/sources/ \ ftp://ftp.silcnet.org/silc/client/sources/ \ - http://www.planetmirror.com/pub/silcnet/client/sources/ \ + http://www.fi.silcnet.org/download/client/sources/ \ ftp://ftp.au.silcnet.org/pub/silcnet/client/sources/ \ - http://munitions.vipul.net/software/mirrors/silc/client/sources/ \ + http://www.us.silcnet.org/download/client/sources/ \ ftp://ftp.no.silcnet.org/pub/silc/client/sources/ \ - http://the.wiretapped.net/security/network-security/silc/client/sources/ \ - ftp://ftp.wiretapped.net/pub/security/network-security/silc/client/sources/ + http://www.at.silcnet.org/download/client/sources/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= salo@silcnet.org @@ -31,6 +30,24 @@ CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silc CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_DIR} +# Optional support for perl scripting. +# If you want to disable it, set SILC_CLIENT_WITH_PERL to NO +# +SILC_CLIENT_WITH_PERL?= YES + +.if defined(SILC_CLIENT_WITH_PERL) && ${SILC_CLIENT_WITH_PERL} == YES +CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/silc/perl5 +CONFIGURE_ARGS+= --with-simdir= +PLIST_SRC= ${PKGDIR}/PLIST.perl +.include "../../lang/perl5/buildlink.mk" +.else +CONFIGURE_ARGS+= --with-perl=no +.endif + +# If you want to help with testing silc-client, uncomment this +# +#CONFIGURE_ARGS+= --enable-debug + .if (${MACHINE_ARCH} != "i386") CONFIGURE_ARGS+= --disable-asm .endif diff --git a/chat/silc-client/PLIST b/chat/silc-client/PLIST index 285fdca6010..0a1742e4a67 100644 --- a/chat/silc-client/PLIST +++ b/chat/silc-client/PLIST @@ -1,17 +1,19 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/03/03 23:27:48 hubertf Exp $ bin/silc -etc/silc/config -etc/silc/default.theme etc/silc/silc.conf -share/doc/silc/CodingStyle -share/doc/silc/FAQ -share/doc/silc/silc.conf.default -share/doc/silc/COPYING share/doc/silc/CHANGES +share/doc/silc/COPYING share/doc/silc/CREDITS -share/doc/silc/README +share/doc/silc/CodingStyle +share/doc/silc/FAQ share/doc/silc/INSTALL +share/doc/silc/README share/doc/silc/TODO +share/doc/silc/formats.txt +share/doc/silc/manual.txt +share/doc/silc/signals.txt +share/doc/silc/silc.conf.default +share/doc/silc/startup-HOWTO.html share/silc/help/action share/silc/help/admin share/silc/help/alias @@ -42,10 +44,11 @@ share/silc/help/hilight share/silc/help/ignore share/silc/help/info share/silc/help/invite -share/silc/help/key +share/silc/help/invitelist share/silc/help/join -share/silc/help/kickban +share/silc/help/key share/silc/help/kick +share/silc/help/kickban share/silc/help/kill share/silc/help/knockout share/silc/help/lastlog @@ -62,6 +65,7 @@ share/silc/help/nick share/silc/help/notice share/silc/help/oper share/silc/help/part +share/silc/help/perlflush share/silc/help/ping share/silc/help/query share/silc/help/quit @@ -76,6 +80,7 @@ share/silc/help/server share/silc/help/set share/silc/help/shutdown share/silc/help/silcoper +share/silc/help/statusbar share/silc/help/toggle share/silc/help/topic share/silc/help/umode @@ -83,11 +88,22 @@ share/silc/help/unalias share/silc/help/unignore share/silc/help/unload share/silc/help/unquery +share/silc/help/upgrade share/silc/help/users share/silc/help/version share/silc/help/whois share/silc/help/whowas share/silc/help/window +share/silc/scripts/autoop.pl +share/silc/scripts/autorejoin.pl +share/silc/scripts/clones.pl +share/silc/scripts/hello.pl +share/silc/scripts/privmsg.pl +share/silc/scripts/quitmsg.pl +share/silc/scripts/realname.pl +share/silc/themes/default.theme +@dirrm share/silc/themes +@dirrm share/silc/scripts @dirrm share/silc/help @dirrm share/silc @dirrm share/doc/silc diff --git a/chat/silc-client/PLIST.perl b/chat/silc-client/PLIST.perl new file mode 100644 index 00000000000..b62cba702c0 --- /dev/null +++ b/chat/silc-client/PLIST.perl @@ -0,0 +1,131 @@ +@comment $NetBSD: PLIST.perl,v 1.1 2002/03/03 23:27:48 hubertf Exp $ +bin/silc +etc/silc/silc.conf +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/Irssi.pm +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/Irssi/TextUI.pm +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/Irssi/UI.pm +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/.packlist +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/Irssi.bs +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/Irssi.so +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/TextUI/.packlist +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/TextUI/TextUI.bs +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/TextUI/TextUI.so +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/UI/.packlist +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/UI/UI.bs +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/UI/UI.so +lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/perllocal.pod +share/doc/silc/CHANGES +share/doc/silc/COPYING +share/doc/silc/CREDITS +share/doc/silc/CodingStyle +share/doc/silc/FAQ +share/doc/silc/INSTALL +share/doc/silc/README +share/doc/silc/TODO +share/doc/silc/formats.txt +share/doc/silc/manual.txt +share/doc/silc/signals.txt +share/doc/silc/silc.conf.default +share/doc/silc/startup-HOWTO.html +share/silc/help/action +share/silc/help/admin +share/silc/help/alias +share/silc/help/away +share/silc/help/ban +share/silc/help/beep +share/silc/help/bind +share/silc/help/cat +share/silc/help/cd +share/silc/help/channel +share/silc/help/clear +share/silc/help/close +share/silc/help/cmode +share/silc/help/connect +share/silc/help/cumode +share/silc/help/cycle +share/silc/help/date +share/silc/help/dehilight +share/silc/help/disconnect +share/silc/help/echo +share/silc/help/eval +share/silc/help/exec +share/silc/help/file +share/silc/help/format +share/silc/help/getkey +share/silc/help/help +share/silc/help/hilight +share/silc/help/ignore +share/silc/help/info +share/silc/help/invite +share/silc/help/invitelist +share/silc/help/join +share/silc/help/key +share/silc/help/kick +share/silc/help/kickban +share/silc/help/kill +share/silc/help/knockout +share/silc/help/lastlog +share/silc/help/layout +share/silc/help/levels +share/silc/help/list +share/silc/help/load +share/silc/help/log +share/silc/help/me +share/silc/help/motd +share/silc/help/msg +share/silc/help/names +share/silc/help/nick +share/silc/help/notice +share/silc/help/oper +share/silc/help/part +share/silc/help/perlflush +share/silc/help/ping +share/silc/help/query +share/silc/help/quit +share/silc/help/reconnect +share/silc/help/reload +share/silc/help/rmreconns +share/silc/help/rmrejoins +share/silc/help/save +share/silc/help/sconnect +share/silc/help/scrollback +share/silc/help/server +share/silc/help/set +share/silc/help/shutdown +share/silc/help/silcoper +share/silc/help/statusbar +share/silc/help/toggle +share/silc/help/topic +share/silc/help/umode +share/silc/help/unalias +share/silc/help/unignore +share/silc/help/unload +share/silc/help/unquery +share/silc/help/upgrade +share/silc/help/users +share/silc/help/version +share/silc/help/whois +share/silc/help/whowas +share/silc/help/window +share/silc/scripts/autoop.pl +share/silc/scripts/autorejoin.pl +share/silc/scripts/clones.pl +share/silc/scripts/hello.pl +share/silc/scripts/privmsg.pl +share/silc/scripts/quitmsg.pl +share/silc/scripts/realname.pl +share/silc/themes/default.theme +@dirrm share/silc/themes +@dirrm share/silc/scripts +@dirrm share/silc/help +@dirrm share/silc +@dirrm share/doc/silc +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/UI +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi/TextUI +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Irssi +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/auto +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/Irssi +@dirrm lib/silc/perl5/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/silc/perl5 +@dirrm lib/silc +@dirrm etc/silc diff --git a/chat/silc-client/distinfo b/chat/silc-client/distinfo index 3cbe3efa47a..19ef4d5512d 100644 --- a/chat/silc-client/distinfo +++ b/chat/silc-client/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2002/02/17 23:12:32 hubertf Exp $ +$NetBSD: distinfo,v 1.7 2002/03/03 23:27:48 hubertf Exp $ -SHA1 (silc-client-0.7.6.2.tar.bz2) = 9e43a8eb93351fadac5f85ea4de694787e0d0dd6 -Size (silc-client-0.7.6.2.tar.bz2) = 1169734 bytes -SHA1 (patch-aa) = ac7f90a001f05c8c0cb77078208a51414cf4463c -SHA1 (patch-ab) = f54df58f1afb5deb4abc325632e0b9d081cea519 +SHA1 (silc-client-0.8.tar.bz2) = 4a65a3124ebe25ec380f8e964e3a4ee1612290b3 +Size (silc-client-0.8.tar.bz2) = 1348129 bytes +SHA1 (patch-aa) = 01df960bcc19ec601f7f3cb713a40986bed57cd8 +SHA1 (patch-ab) = 2b093691da5083006169a4a29db5f2e68ab51d3c diff --git a/chat/silc-client/patches/patch-aa b/chat/silc-client/patches/patch-aa index 6ea459d5486..00a5f031936 100644 --- a/chat/silc-client/patches/patch-aa +++ b/chat/silc-client/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 2002/02/17 23:12:33 hubertf Exp $ +$NetBSD: patch-aa,v 1.6 2002/03/03 23:27:49 hubertf Exp $ ---- Makefile.in.orig Sun Feb 3 21:46:36 2002 -+++ Makefile.in Mon Feb 4 15:34:23 2002 +--- Makefile.in.orig Tue Feb 26 12:25:52 2002 ++++ Makefile.in Thu Feb 28 19:36:32 2002 @@ -528,10 +528,8 @@ install-dirs: @@ -19,21 +19,23 @@ $NetBSD: patch-aa,v 1.5 2002/02/17 23:12:33 hubertf Exp $ $(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/ - $(INSTALL_DATA) $(srcdir)/doc/example_* $(docdir)/ - $(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/ -+ $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf $(docdir)/silc.conf.default ++ $(INSTALL_DATA) $(srcdir)/irssi/silc.conf $(docdir)/silc.conf.default $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/ -@@ -565,17 +562,12 @@ +@@ -565,19 +562,12 @@ $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/ etc-install: - -@if test '!' -f $(etcdir)/silcd.conf ; then \ - $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \ -- $(etcdir)/silcd.conf; \ +- $(etcdir)/silcd.conf; \ +- $(INSTALL_DATA) $(srcdir)/doc/silcalgs.conf \ +- $(etcdir)/silcalgs.conf; \ - chmod go= $(etcdir)/silcd.conf; \ - fi -@if test '!' -f $(etcdir)/silc.conf ; then \ - $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf \ + $(INSTALL_DATA) $(srcdir)/irssi/silc.conf \ $(etcdir)/silc.conf; \ fi diff --git a/chat/silc-client/patches/patch-ab b/chat/silc-client/patches/patch-ab index c11cc50e1ac..2927bd10af4 100644 --- a/chat/silc-client/patches/patch-ab +++ b/chat/silc-client/patches/patch-ab @@ -1,13 +1,19 @@ -$NetBSD: patch-ab,v 1.3 2002/01/26 18:30:09 hubertf Exp $ +$NetBSD: patch-ab,v 1.4 2002/03/03 23:27:49 hubertf Exp $ ---- irssi/src/fe-text/Makefile.in.orig Sat Jan 5 13:48:19 2002 -+++ irssi/src/fe-text/Makefile.in Sat Jan 5 14:07:17 2002 -@@ -170,8 +170,6 @@ - -DLOCALEDIR=\""$(datadir)/locale"\" +--- lib/silcmath/mpi/Makefile.in.orig Tue Feb 26 12:26:00 2002 ++++ lib/silcmath/mpi/Makefile.in Tue Feb 26 23:30:20 2002 +@@ -271,14 +271,6 @@ + $(COMPILE) -c `cygpath -w $<` + uninstall-info-am: + install-includeHEADERS: $(include_HEADERS) +- @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(includedir) +- @list='$(include_HEADERS)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- f="`echo $$p | sed -e 's|^.*/||'`"; \ +- echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ +- $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \ +- done - --silc_DEPENDENCIES = @COMMON_LIBS@ -- - LIBS = $(SILC_COMMON_LIBS) - silc_LDADD = \ - @COMMON_LIBS@ \ + uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) |