summaryrefslogtreecommitdiff
path: root/chat/silc-client
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-11-29 16:17:43 +0000
committerhubertf <hubertf@pkgsrc.org>2001-11-29 16:17:43 +0000
commit0b8c43a38616fcbdbe4704a1c00ec7a2ef8fd316 (patch)
treedf814b43464c9b2a5393e0aad115e2a8b5ee01b1 /chat/silc-client
parent3f08f70c0fc368fa76a0ad116f7cf3f8854fbba7 (diff)
downloadpkgsrc-0b8c43a38616fcbdbe4704a1c00ec7a2ef8fd316.tar.gz
Add silc-client-0.6.6:
Client for the Secure Internet Live Conferencing (SILC) Submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 14543
Diffstat (limited to 'chat/silc-client')
-rw-r--r--chat/silc-client/DESCR24
-rw-r--r--chat/silc-client/Makefile53
-rw-r--r--chat/silc-client/PLIST94
-rw-r--r--chat/silc-client/distinfo6
-rw-r--r--chat/silc-client/patches/patch-aa51
-rw-r--r--chat/silc-client/patches/patch-ab15
6 files changed, 243 insertions, 0 deletions
diff --git a/chat/silc-client/DESCR b/chat/silc-client/DESCR
new file mode 100644
index 00000000000..9125eef301d
--- /dev/null
+++ b/chat/silc-client/DESCR
@@ -0,0 +1,24 @@
+
+SILC (Secure Internet Live Conferencing) is a protocol which provides
+secure conferencing services in the Internet over insecure channel.
+
+SILC superficially resembles IRC, although they are very different
+internally. SILC is much more than just about `encrypting the traffic'.
+That is easy enough to do with IRC and SSL hybrids, but even then the
+entire network cannot be secured, only part of it.
+
+SILC provides security services, such as sending private messages entirely
+secure; noone can see the message except you and the real receiver of the
+message. SILC also provides same functionality for channels; noone except
+those clients joined to the channel may see the messages destined to the
+channel. Communication between client and server is also secured with
+session keys and all commands, authentication data (such as passwords etc.)
+and other traffic is entirely secured. The entire network, and all parts of
+it, is secured.
+
+SILC has secure key exchange protocol that is used to create the session keys
+for each connection. SILC also provides strong authentication based on either
+passwords or public key authentication. All authentication data is always
+encrypted in the SILC network. Each connection has their own session keys,
+all channels have channel specific keys, and all private messages can be
+secured with private message specific keys.
diff --git a/chat/silc-client/Makefile b/chat/silc-client/Makefile
new file mode 100644
index 00000000000..f5efc2b5daa
--- /dev/null
+++ b/chat/silc-client/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $
+
+DISTNAME= silc-client-0.6.6
+CATEGORIES= chat
+MASTER_SITES= http://ftp.silcnet.org/client/sources/ \
+ ftp://ftp.silcnet.org/silc/client/sources/ \
+ http://www.planetmirror.com/pub/silcnet/client/sources/ \
+ ftp://ftp.au.silcnet.org/pub/silcnet/client/sources/ \
+ http://munitions.vipul.net/software/mirrors/silc/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/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= salo@silcnet.org
+HOMEPAGE= http://www.silcnet.org/
+COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_NCURSES= yes
+USE_LIBTOOL= yes
+USE_BUILDLINK_ONLY= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.ifndef PKG_SYSCONFSUBDIR
+PKG_SYSCONFSUBDIR= silc
+.endif
+
+CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/silc/help \
+ --with-docdir=${PREFIX}/share/doc/silc \
+ --with-etcdir=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR}
+
+CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
+
+post-configure:
+ cd ${WRKSRC}; \
+ ${SED} 's/^\(silc_DEPENDENCIES.*\)-L.*buildlink\/lib\(.*\)/\1\2/g' \
+ irssi/src/fe-text/Makefile | \
+ ${SED} 's/^\(silc_DEPENDENCIES.*\)-Wl,-R.*lib\(.*\)/\1\2/g' \
+ > Makefile.tmp; \
+ ${MV} Makefile.tmp irssi/src/fe-text/Makefile
+
+.if (${MACHINE_ARCH} != "i386")
+CONFIGURE_ARGS+= --disable-asm
+.endif
+
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../devel/glib/buildlink.mk"
+.include "../../devel/pth/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/silc-client/PLIST b/chat/silc-client/PLIST
new file mode 100644
index 00000000000..285fdca6010
--- /dev/null
+++ b/chat/silc-client/PLIST
@@ -0,0 +1,94 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/29 16:17:43 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/CREDITS
+share/doc/silc/README
+share/doc/silc/INSTALL
+share/doc/silc/TODO
+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/key
+share/silc/help/join
+share/silc/help/kickban
+share/silc/help/kick
+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/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/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/users
+share/silc/help/version
+share/silc/help/whois
+share/silc/help/whowas
+share/silc/help/window
+@dirrm share/silc/help
+@dirrm share/silc
+@dirrm share/doc/silc
+@dirrm etc/silc
diff --git a/chat/silc-client/distinfo b/chat/silc-client/distinfo
new file mode 100644
index 00000000000..d1f26f86196
--- /dev/null
+++ b/chat/silc-client/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $
+
+SHA1 (silc-client-0.6.6.tar.bz2) = 9f5cd7ee8d87d072dc0e59d67bd6c97d966ab437
+Size (silc-client-0.6.6.tar.bz2) = 1106953 bytes
+SHA1 (patch-aa) = 3ed8917c9e642eba503a32993a5016605084ccb2
+SHA1 (patch-ab) = 9aee9c5b74f0c59ae38a89f339bb0d5a96e789d6
diff --git a/chat/silc-client/patches/patch-aa b/chat/silc-client/patches/patch-aa
new file mode 100644
index 00000000000..3b97501b3fb
--- /dev/null
+++ b/chat/silc-client/patches/patch-aa
@@ -0,0 +1,51 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/29 16:17:43 hubertf Exp $
+
+--- Makefile.in.orig Sun Nov 11 17:56:53 2001
++++ Makefile.in Tue Nov 13 20:49:34 2001
+@@ -512,24 +512,13 @@
+
+ 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_silc.conf $(docdir)/silc.conf.default
+ $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
+@@ -538,18 +527,13 @@
+ $(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_TRUE@install-data-hook: install-dirs doc-install etc-install
++@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key doc-install etc-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-client/patches/patch-ab b/chat/silc-client/patches/patch-ab
new file mode 100644
index 00000000000..e87d2ae60d1
--- /dev/null
+++ b/chat/silc-client/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/11/29 16:17:43 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