Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

23
chat/silc-client/DESCR Normal file
View File

@@ -0,0 +1,23 @@
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.

79
chat/silc-client/Makefile Normal file
View File

@@ -0,0 +1,79 @@
# $NetBSD: Makefile,v 1.62 2013/05/31 12:39:41 wiz Exp $
#
DISTNAME= ${SILC_CLIENT_DISTNAME}
PKGREVISION= 4
CATEGORIES= chat security
MASTER_SITES= http://www.silcnet.org/download/client/sources/ \
ftp://ftp.silcnet.org/silc/client/sources/ \
ftp://ftp.sunet.se/pub/network/silc/client/sources/
EXTRACT_SUFX= ${SILC_CLIENT_EXTRACT_SUFX}
MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
.include "../../mk/bsd.prefs.mk"
.include "../../chat/silc-client/Makefile.common"
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
USE_LIBTOOL= YES
OVERRIDE_DIRDEPTH= 3
SHLIBTOOL_OVERRIDE= # empty
PKG_SYSCONFSUBDIR?= ${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
MAKE_ENV+= examplesdir=${EGDIR}
CONF_FILES+= ${EGDIR}/silc.conf.default ${PKG_SYSCONFDIR}/silc.conf
GNU_CONFIGURE_LIBSUBDIR=${PKGBASE}
CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/${PKGBASE}/help
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/${PKGBASE}
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-simdir=${PREFIX}/lib/${PKGBASE}/modules
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-terminfo
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --without-libtoolfix
# Use native curses library.
.if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS")
CONFIGURE_ARGS+= --with-vcurses
.elif (${OPSYS} == "Linux") || (${OPSYS} == "Darwin")
CONFIGURE_ARGS+= --with-ncurses
.else
# XXX: Need testing on other operating systems, use safe defaults for now.
CONFIGURE_ARGS+= --with-ncurses
.endif
# Assembler optimizations.
#
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+= --disable-asm
.endif
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST
INSTALLATION_DIRS+= lib/${PKGBASE} libexec/${PKGBASE}/scripts
post-install:
${INSTALL_DATA} ${WRKSRC}/apps/irssi/config.h ${DESTDIR}${SILC_CLIENT_CONFIG_H}
${INSTALL_DATA} ${WRKSRC}/apps/irssi/irssi-config ${DESTDIR}${SILC_CLIENT_CONFIG}
.if !empty(PKG_OPTIONS:Mperl)
${INSTALL_DATA} ${WRKSRC}/apps/irssi/scripts/*.pl \
${DESTDIR}${PREFIX}/libexec/${PKGBASE}/scripts
# Create PLIST fragment for Perl modules.
#
@cd ${DESTDIR}${PREFIX} && \
${FIND} lib/${PKGBASE}/perl5 -type f > ${WRKDIR}/PLIST.perl
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,15 @@
# $NetBSD: Makefile.common,v 1.13 2009/08/02 19:18:40 tonnerre Exp $
#
# Distribution specific information.
#
SILC_CLIENT_VERSION= 1.1.8
SILC_CLIENT_DISTNAME= silc-client-${SILC_CLIENT_VERSION}
SILC_CLIENT_EXTRACT_SUFX= .tar.bz2
SILC_CLIENT_DISTFILE= ${SILC_CLIENT_DISTNAME}${SILC_CLIENT_EXTRACT_SUFX}
# These files are generated during silc-client's build, but are required by
# plugins to compile properly.
#
SILC_CLIENT_CONFIG= ${PREFIX}/share/silc-client/irssi-config
SILC_CLIENT_CONFIG_H= ${PREFIX}/share/silc-client/config.h

112
chat/silc-client/PLIST Normal file
View File

@@ -0,0 +1,112 @@
@comment $NetBSD: PLIST,v 1.25 2009/06/14 17:37:49 joerg Exp $
bin/silc
lib/silc-client/libsilc.la
lib/silc-client/libsilcclient.la
man/man1/silc.1
share/doc/silc-client/COPYING
share/doc/silc-client/CREDITS
share/doc/silc-client/ChangeLog
share/doc/silc-client/FAQ
share/doc/silc-client/INSTALL
share/doc/silc-client/README
share/doc/silc-client/README.PLUGIN
share/doc/silc-client/TODO
share/doc/silc-client/formats.txt
share/doc/silc-client/manual.txt
share/doc/silc-client/signals.txt
share/doc/silc-client/special_vars.txt
share/doc/silc-client/startup-HOWTO.html
share/examples/silc-client/silc.conf.default
share/silc-client/config.h
share/silc-client/help/action
share/silc-client/help/admin
share/silc-client/help/alias
share/silc-client/help/attr
share/silc-client/help/away
share/silc-client/help/ban
share/silc-client/help/beep
share/silc-client/help/bind
share/silc-client/help/cat
share/silc-client/help/cd
share/silc-client/help/channel
share/silc-client/help/clear
share/silc-client/help/close
share/silc-client/help/cmode
share/silc-client/help/connect
share/silc-client/help/cumode
share/silc-client/help/cycle
share/silc-client/help/date
share/silc-client/help/dehilight
share/silc-client/help/detach
share/silc-client/help/disconnect
share/silc-client/help/echo
share/silc-client/help/eval
share/silc-client/help/exec
share/silc-client/help/file
share/silc-client/help/format
share/silc-client/help/getkey
share/silc-client/help/help
share/silc-client/help/hilight
share/silc-client/help/ignore
share/silc-client/help/info
share/silc-client/help/invite
share/silc-client/help/invitelist
share/silc-client/help/join
share/silc-client/help/key
share/silc-client/help/kick
share/silc-client/help/kickban
share/silc-client/help/kill
share/silc-client/help/knockout
share/silc-client/help/lastlog
share/silc-client/help/layout
share/silc-client/help/levels
share/silc-client/help/list
share/silc-client/help/listkeys
share/silc-client/help/load
share/silc-client/help/log
share/silc-client/help/me
share/silc-client/help/mmsg
share/silc-client/help/motd
share/silc-client/help/msg
share/silc-client/help/names
share/silc-client/help/nick
share/silc-client/help/notice
share/silc-client/help/oper
share/silc-client/help/part
share/silc-client/help/perlflush
share/silc-client/help/ping
share/silc-client/help/query
share/silc-client/help/quit
share/silc-client/help/recode
share/silc-client/help/reconnect
share/silc-client/help/reload
share/silc-client/help/rmreconns
share/silc-client/help/rmrejoins
share/silc-client/help/save
share/silc-client/help/sconnect
share/silc-client/help/script
share/silc-client/help/scrollback
share/silc-client/help/server
share/silc-client/help/set
share/silc-client/help/shutdown
share/silc-client/help/silcnet
share/silc-client/help/silcoper
share/silc-client/help/smsg
share/silc-client/help/stats
share/silc-client/help/statusbar
share/silc-client/help/toggle
share/silc-client/help/topic
share/silc-client/help/umode
share/silc-client/help/unalias
share/silc-client/help/unignore
share/silc-client/help/unload
share/silc-client/help/unquery
share/silc-client/help/users
share/silc-client/help/version
share/silc-client/help/watch
share/silc-client/help/whois
share/silc-client/help/whowas
share/silc-client/help/window
share/silc-client/irssi-config
share/silc-client/themes/default.theme
share/silc-client/themes/plugin.theme

View File

@@ -0,0 +1,16 @@
@comment $NetBSD: PLIST.perl,v 1.8 2009/06/14 17:37:49 joerg Exp $
libexec/silc-client/scripts/autoop.pl
libexec/silc-client/scripts/autorejoin.pl
libexec/silc-client/scripts/buf.pl
libexec/silc-client/scripts/command.pl
libexec/silc-client/scripts/dns.pl
libexec/silc-client/scripts/kills.pl
libexec/silc-client/scripts/mail.pl
libexec/silc-client/scripts/mlock.pl
libexec/silc-client/scripts/msg-event.pl
libexec/silc-client/scripts/quitmsg.pl
libexec/silc-client/scripts/redirect.pl
libexec/silc-client/scripts/scriptassist.pl
libexec/silc-client/scripts/silc.pl
libexec/silc-client/scripts/splitlong.pl
libexec/silc-client/scripts/usercount.pl

12
chat/silc-client/distinfo Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.38 2012/02/28 17:37:10 hans Exp $
SHA1 (silc-client-1.1.8.tar.bz2) = 5936ab682e746ae413f938ce9c9b72215d6524c0
RMD160 (silc-client-1.1.8.tar.bz2) = a010384b5e498a62cc6cd69e97602f3118b64d2f
Size (silc-client-1.1.8.tar.bz2) = 1532816 bytes
SHA1 (patch-aa) = 52cc285982176c1680f74059de47d1bde456a871
SHA1 (patch-ab) = 40aa1a2722d483afd99a27dc65f715b5bae30ea5
SHA1 (patch-ac) = 576299d98ea63f6c42cc341bf31ad7ec903f93c8
SHA1 (patch-ad) = 490e3b2a99e14683b9a0005494d29b5a91186755
SHA1 (patch-ae) = c5b21eb9d65cb0bbc685f5e771849f1ccf07681b
SHA1 (patch-af) = 29738fac989989fdd2a8865f9f5e2b3ea2ed7198
SHA1 (patch-ag) = f0700879a6780283f62bda7022e89d702876c916

View File

@@ -0,0 +1,27 @@
# $NetBSD: options.mk,v 1.6 2012/06/12 15:45:55 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.silc-client
PKG_SUPPORTED_OPTIONS= debug inet6 perl
PKG_SUGGESTED_OPTIONS= inet6 perl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mperl)
CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/${PKGBASE}/perl5
. include "../../lang/perl5/buildlink3.mk"
DEPENDS+= p5-File-MMagic>=1.20:../../misc/p5-File-MMagic
PLIST_SRC+= ${PKGDIR}/PLIST.perl
PLIST_SRC+= ${WRKDIR}/PLIST.perl
USE_TOOLS+= perl
.else
CONFIGURE_ARGS+= --with-perl=no
.endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.14 2009/08/02 19:18:40 tonnerre Exp $
--- apps/irssi/docs/help/Makefile.in.orig 2009-08-01 08:53:41.000000000 +0200
+++ apps/irssi/docs/help/Makefile.in
@@ -215,7 +215,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-@SILCPLUGIN_FALSE@helpdir = $(datadir)/silc/help
+@SILCPLUGIN_FALSE@helpdir = $(datadir)/silc-client/help
@SILCPLUGIN_TRUE@helpdir = $(datadir)/irssi/help/silc
@SILCPLUGIN_FALSE@SILCHELP =
@SILCPLUGIN_TRUE@SILCHELP = silc

View File

@@ -0,0 +1,44 @@
$NetBSD: patch-ab,v 1.14 2010/02/02 23:36:16 joerg Exp $
--- apps/irssi/Makefile.in.orig 2007-11-06 15:45:06.000000000 +0100
+++ apps/irssi/Makefile.in 2007-12-07 17:25:54.000000000 +0100
@@ -291,7 +291,7 @@
#confdir = $(sysconfdir)
confdir = $(silc_etcdir)
conffile = silc.conf
-@SILCPLUGIN_FALSE@themedir = $(datadir)/silc/themes
+@SILCPLUGIN_FALSE@themedir = $(datadir)/silc-client/themes
@SILCPLUGIN_TRUE@themedir = $(datadir)/irssi/themes
@SILCPLUGIN_FALSE@theme_DATA = default.theme plugin.theme
@SILCPLUGIN_TRUE@theme_DATA = plugin.theme
@@ -815,7 +815,8 @@
-mkdir -p $(mandir)/man1
doc-install-client:
- $(INSTALL_DATA) $(silc_top_srcdir)/apps/irssi/silc.conf $(docdir)/example_silc.conf
+ $(INSTALL) -d ${DESTDIR}$(examplesdir)/
+ $(INSTALL_DATA) $(silc_top_srcdir)/apps/irssi/silc.conf ${DESTDIR}$(examplesdir)/silc.conf.default
-@if test -f $(silc_top_srcdir)/doc/silc.1 ; then \
$(INSTALL_DATA) $(silc_top_srcdir)/doc/silc.1 $(mandir)/man1; \
fi
@@ -823,16 +824,16 @@
etc-install-client:
-@if test -d $(silc_top_srcdir)/apps/irssi ; then \
mkdir -p $(etcdir) ; \
- if test '!' -f $(etcdir)/silc.conf ; then \
+ if test '!' -f ${DESTDIR}$(examplesdir)/silc.conf.default ; then \
$(INSTALL_DATA) $(silc_top_srcdir)/apps/irssi/silc.conf \
- $(etcdir)/silc.conf; \
+ ${DESTDIR}$(examplesdir)/silc.conf.default; \
fi; \
fi
install-data-hook: \
install-dirs-client \
- doc-install-client \
- $(ETCINSTALL)
+ doc-install-client
+
# 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:

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.10 2008/07/13 12:04:11 tonnerre Exp $
--- apps/irssi/src/perl/Makefile.in.orig 2007-11-06 15:45:06.000000000 +0100
+++ apps/irssi/src/perl/Makefile.in 2007-12-07 16:08:08.000000000 +0100
@@ -291,7 +291,7 @@
moduledir = @SILC_IRSSIDIR@
@SILCPLUGIN_FALSE@perl_dirs = common ui textui silc
@SILCPLUGIN_TRUE@perl_dirs = silc
-@SILCPLUGIN_FALSE@SCRIPTDIR = "$(datadir)/silc/scripts"
+@SILCPLUGIN_FALSE@SCRIPTDIR = "$(prefix)/libexec/silc-client/scripts"
@SILCPLUGIN_TRUE@SCRIPTDIR = "$(datadir)/irssi/scripts"
module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib)
noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.5 2008/07/13 12:04:11 tonnerre Exp $
--- apps/irssi/scripts/Makefile.in.orig 2008-03-20 06:47:18.000000000 +0000
+++ apps/irssi/scripts/Makefile.in
@@ -211,7 +211,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = examples
PLUGIN_SCR = silc.pl
-@SILCPLUGIN_FALSE@scriptdir = $(datadir)/silc/scripts
+@SILCPLUGIN_FALSE@scriptdir = $(prefix)/libexec/silc-client/scripts
@SILCPLUGIN_TRUE@scriptdir = $(datadir)/irssi/scripts
@SILCPLUGIN_FALSE@IRSSI_SCR = \
@SILCPLUGIN_FALSE@ autoop.pl \

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.4 2009/08/02 19:18:40 tonnerre Exp $
--- apps/irssi/scripts/examples/Makefile.in.orig 2009-08-01 08:53:41.000000000 +0200
+++ apps/irssi/scripts/examples/Makefile.in
@@ -201,7 +201,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-@SILCPLUGIN_FALSE@scriptdir = $(datadir)/silc/scripts
+@SILCPLUGIN_FALSE@scriptdir = $(prefix)/libexec/silc-client/scripts
@SILCPLUGIN_TRUE@scriptdir = $(datadir)/irssi/scripts
@SILCPLUGIN_FALSE@IRSSI_EX_SCR = \
@SILCPLUGIN_FALSE@ command.pl \

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.3 2009/01/12 07:15:50 tonnerre Exp $
--- apps/irssi/src/perl/perl-core.c.orig 2008-12-04 13:45:24.000000000 +0100
+++ apps/irssi/src/perl/perl-core.c
@@ -452,6 +452,8 @@ void perl_core_init(void)
perl_signals_init();
signal_add_last("script error", (SIGNAL_FUNC) sig_script_error);
+ PERLIO_INIT;
+
perl_scripts_init();
if (irssi_init_finished)

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ag,v 1.2 2012/02/28 17:37:10 hans Exp $
--- lib/Makefile.in.orig 2009-11-26 19:51:28.000000000 +0100
+++ lib/Makefile.in
@@ -643,14 +643,12 @@ install-exec-hook:
@SILC_ENABLE_SHARED_TRUE@ -mkdir -p $(libdir)
@SILC_ENABLE_SHARED_TRUE@ -$(LIBTOOL) --mode=install $(INSTALL) libsilc.la $(DESTDIR)$(libdir)/
@SILC_ENABLE_SHARED_TRUE@ -$(LIBTOOL) --mode=install $(INSTALL) libsilcclient.la $(DESTDIR)$(libdir)/
-@SILC_ENABLE_SHARED_TRUE@ -rm -rf $(DESTDIR)$(libdir)/libsilc.a
-@SILC_ENABLE_SHARED_TRUE@ -rm -rf $(DESTDIR)$(libdir)/libsilcclient.a
libsilc.a:
- find $(SILCLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la `find $(SILCLIB_DIRS) -type f -name *.lo`
libsilcclient.a:
- find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la `find $(SILCCLIENTLIB_DIRS) -type f -name *.lo`
install-data-hook: