diff options
-rw-r--r-- | chat/silc-client/Makefile | 13 | ||||
-rw-r--r-- | chat/silc-client/Makefile.common | 4 | ||||
-rw-r--r-- | chat/silc-client/PLIST | 14 | ||||
-rw-r--r-- | chat/silc-client/PLIST.perl | 18 | ||||
-rw-r--r-- | chat/silc-client/distinfo | 17 | ||||
-rw-r--r-- | chat/silc-client/options.mk | 3 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-aa | 37 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-ab | 58 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-ac | 24 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-ad | 39 | ||||
-rw-r--r-- | chat/silc-client/patches/patch-ae | 13 |
11 files changed, 124 insertions, 116 deletions
diff --git a/chat/silc-client/Makefile b/chat/silc-client/Makefile index a67ab8bb74c..7ea39cf6492 100644 --- a/chat/silc-client/Makefile +++ b/chat/silc-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2007/11/12 18:17:28 heinz Exp $ +# $NetBSD: Makefile,v 1.49 2008/07/13 12:04:11 tonnerre Exp $ # DISTNAME= ${SILC_CLIENT_DISTNAME} @@ -13,6 +13,7 @@ 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 @@ -24,22 +25,20 @@ SHLIBTOOL_OVERRIDE= # empty PKG_SYSCONFSUBDIR?= ${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} -MAKE_ENV+= examplesdir=${EGDIR:Q} +MAKE_ENV+= examplesdir=${EGDIR} CONF_FILES+= ${EGDIR}/silc.conf.default ${PKG_SYSCONFDIR}/silc.conf CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/${PKGBASE} CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/${PKGBASE}/help CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/${PKGBASE} -CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-simdir=${PREFIX}/lib/${PKGBASE}/modules -CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR:Q} +CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR} CONFIGURE_ARGS+= --with-terminfo CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --without-libtoolfix -.include "../../mk/bsd.prefs.mk" - # Use native curses library. .if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS") CONFIGURE_ARGS+= --with-vcurses @@ -59,12 +58,12 @@ CONFIGURE_ARGS+= --disable-asm .include "options.mk" PLIST_SRC+= ${PKGDIR}/PLIST +INSTALLATION_DIRS+= ${PREFIX}/libexec/${PKGBASE}/scripts post-install: ${INSTALL_DATA} ${WRKSRC}/apps/irssi/config.h ${SILC_CLIENT_CONFIG_H} ${INSTALL_DATA} ${WRKSRC}/apps/irssi/irssi-config ${SILC_CLIENT_CONFIG} .if !empty(PKG_OPTIONS:Mperl) - ${INSTALL_DATA_DIR} ${PREFIX}/libexec/${PKGBASE}/scripts ${INSTALL_DATA} ${WRKSRC}/apps/irssi/scripts/*.pl \ ${PREFIX}/libexec/${PKGBASE}/scripts # Create PLIST fragment for Perl modules. diff --git a/chat/silc-client/Makefile.common b/chat/silc-client/Makefile.common index 7f7e58ad547..e6b1f255b69 100644 --- a/chat/silc-client/Makefile.common +++ b/chat/silc-client/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.10 2007/05/18 21:04:25 salo Exp $ +# $NetBSD: Makefile.common,v 1.11 2008/07/13 12:04:11 tonnerre Exp $ # # Distribution specific information. # -SILC_CLIENT_VERSION= 1.0.4.1 +SILC_CLIENT_VERSION= 1.1.4 SILC_CLIENT_DISTNAME= silc-client-${SILC_CLIENT_VERSION} SILC_CLIENT_EXTRACT_SUFX= .tar.bz2 SILC_CLIENT_DISTFILE= ${SILC_CLIENT_DISTNAME}${SILC_CLIENT_EXTRACT_SUFX} diff --git a/chat/silc-client/PLIST b/chat/silc-client/PLIST index bf030e5f629..988e44628a7 100644 --- a/chat/silc-client/PLIST +++ b/chat/silc-client/PLIST @@ -1,16 +1,7 @@ -@comment $NetBSD: PLIST,v 1.22 2007/05/18 21:04:25 salo Exp $ +@comment $NetBSD: PLIST,v 1.23 2008/07/13 12:04:11 tonnerre Exp $ bin/silc lib/silc-client/libsilc.la lib/silc-client/libsilcclient.la -lib/silc-client/modules/aes.sim.so -lib/silc-client/modules/blowfish.sim.so -lib/silc-client/modules/cast.sim.so -lib/silc-client/modules/md5.sim.so -lib/silc-client/modules/none.sim.so -lib/silc-client/modules/rc5.sim.so -lib/silc-client/modules/rsa.sim.so -lib/silc-client/modules/sha1.sim.so -lib/silc-client/modules/twofish.sim.so man/man1/silc.1 share/doc/silc-client/CHANGES share/doc/silc-client/COPYING @@ -18,6 +9,7 @@ share/doc/silc-client/CREDITS 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 @@ -85,6 +77,7 @@ 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 @@ -116,6 +109,7 @@ 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 @dirrm share/silc-client/themes @dirrm share/silc-client/help @dirrm share/silc-client diff --git a/chat/silc-client/PLIST.perl b/chat/silc-client/PLIST.perl index 02365feba66..f24d20065cd 100644 --- a/chat/silc-client/PLIST.perl +++ b/chat/silc-client/PLIST.perl @@ -1,12 +1,18 @@ -@comment $NetBSD: PLIST.perl,v 1.6 2007/05/18 21:04:25 salo Exp $ +@comment $NetBSD: PLIST.perl,v 1.7 2008/07/13 12:04:11 tonnerre Exp $ libexec/silc-client/scripts/autoop.pl -libexec/silc-client/scripts/beep.pl -libexec/silc-client/scripts/clones.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/hello.pl -libexec/silc-client/scripts/mail-maildir.pl +libexec/silc-client/scripts/kills.pl libexec/silc-client/scripts/mail.pl -libexec/silc-client/scripts/silc-mime.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 @dirrm libexec/silc-client/scripts @dirrm libexec/silc-client diff --git a/chat/silc-client/distinfo b/chat/silc-client/distinfo index 0c0527d70ae..1b86d75b468 100644 --- a/chat/silc-client/distinfo +++ b/chat/silc-client/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.31 2007/05/18 21:04:25 salo Exp $ +$NetBSD: distinfo,v 1.32 2008/07/13 12:04:11 tonnerre Exp $ -SHA1 (silc-client-1.0.4.1.tar.bz2) = 29d8cd4208db23e997bedf6271fc0dfd0cb84e6c -RMD160 (silc-client-1.0.4.1.tar.bz2) = 46abb8312d37842e20e01f79566460ee486c1bbf -Size (silc-client-1.0.4.1.tar.bz2) = 1445091 bytes -SHA1 (patch-aa) = cbb65b6a6eb312d79b0e1ab5915841ed7730321d -SHA1 (patch-ab) = 41bc37c379be30cab6540a3c30cad3163d30dff0 -SHA1 (patch-ac) = 8267934b89e67c3d3168bb290abcac53b9b17658 -SHA1 (patch-ad) = bd414db383a0c7d9c235523053f4d96c50be8199 +SHA1 (silc-client-1.1.4.tar.bz2) = 043fd02ffc0bb420d411c4ca14ad307b48beaa06 +RMD160 (silc-client-1.1.4.tar.bz2) = 519ba59912da4bb514330ca8e87979844f957ad0 +Size (silc-client-1.1.4.tar.bz2) = 1624696 bytes +SHA1 (patch-aa) = 59bfbaf78235e919b4e09f194d88d029630a4160 +SHA1 (patch-ab) = 873c65a78da7195b8baddb33d1c71300fce704f1 +SHA1 (patch-ac) = 576299d98ea63f6c42cc341bf31ad7ec903f93c8 +SHA1 (patch-ad) = 490e3b2a99e14683b9a0005494d29b5a91186755 +SHA1 (patch-ae) = b437cb3433093592573802e70b600c7556ee5834 diff --git a/chat/silc-client/options.mk b/chat/silc-client/options.mk index 537a7bf04dc..0f27a252729 100644 --- a/chat/silc-client/options.mk +++ b/chat/silc-client/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.4 2005/08/06 06:19:04 jlam Exp $ +# $NetBSD: options.mk,v 1.5 2008/07/13 12:04:11 tonnerre Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.silc-client @@ -21,6 +21,7 @@ CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/${PKGBASE}/perl5 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 diff --git a/chat/silc-client/patches/patch-aa b/chat/silc-client/patches/patch-aa index 9c9b00a9f1d..f7f81ef9079 100644 --- a/chat/silc-client/patches/patch-aa +++ b/chat/silc-client/patches/patch-aa @@ -1,26 +1,13 @@ -$NetBSD: patch-aa,v 1.12 2007/05/18 21:04:25 salo Exp $ +$NetBSD: patch-aa,v 1.13 2008/07/13 12:04:11 tonnerre Exp $ ---- Makefile.in.orig 2006-01-06 14:46:28.000000000 +0100 -+++ Makefile.in 2006-01-08 20:45:25.000000000 +0100 -@@ -763,18 +763,18 @@ - - - @with_irssi_TRUE@install-dirs-client: --@with_irssi_TRUE@ -mkdir -p $(etcdir) -+@with_irssi_TRUE@ -mkdir -p $(examplesdir) - @with_irssi_TRUE@ -mkdir -p $(helpdir) - @with_irssi_TRUE@ -mkdir -p $(mandir)/man1 - - @with_irssi_TRUE@doc-install-client: --@with_irssi_TRUE@ $(INSTALL_DATA) $(srcdir)/apps/irssi/silc.conf $(docdir)/example_silc.conf -+@with_irssi_TRUE@ $(INSTALL_DATA) $(srcdir)/apps/irssi/silc.conf $(examplesdir)/silc.conf.default - @with_irssi_TRUE@ -@if test -f $(srcdir)/doc/silc.1 ; then $(INSTALL_DATA) $(srcdir)/doc/silc.1 $(mandir)/man1; fi - - @with_irssi_TRUE@etc-install-client: - @with_irssi_TRUE@ -@if test '!' -d $(srcdir)/apps/irssi ; then if test '!' -f $(etcdir)/silc.conf ; then $(INSTALL_DATA) $(srcdir)/apps/irssi/silc.conf $(etcdir)/silc.conf; fi; fi - --@with_irssi_TRUE@install-data-hook: install-dirs-client doc-install-client etc-install-client -+@with_irssi_TRUE@install-data-hook: install-dirs-client doc-install-client - - @INCLUDE_DEFINES_INT@ - +--- apps/irssi/docs/help/Makefile.in.orig 2007-12-07 18:10:34.000000000 +0100 ++++ apps/irssi/docs/help/Makefile.in 2007-12-07 18:10:48.000000000 +0100 +@@ -211,7 +211,7 @@ + target_alias = @target_alias@ + 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 diff --git a/chat/silc-client/patches/patch-ab b/chat/silc-client/patches/patch-ab index a27b00cc32e..32812d12597 100644 --- a/chat/silc-client/patches/patch-ab +++ b/chat/silc-client/patches/patch-ab @@ -1,22 +1,44 @@ -$NetBSD: patch-ab,v 1.12 2007/05/18 21:04:25 salo Exp $ +$NetBSD: patch-ab,v 1.13 2008/07/13 12:04:11 tonnerre Exp $ ---- apps/irssi/Makefile.in.orig 2007-03-07 19:02:19.000000000 +0000 -+++ apps/irssi/Makefile.in 2007-05-18 20:19:04.000000000 +0000 -@@ -282,7 +282,7 @@ sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - @BUILD_PLUGINS_TRUE@PLUGINS = plugins - @BUILD_SERVERTEST_TRUE@SERVERTEST = servertest --SUBDIRS = src docs scripts -+SUBDIRS = src docs - - # - # INCLUDE defines -@@ -297,7 +297,7 @@ INCLUDES = $(ADD_INCLUDES) $(SILC_CFLAGS +--- 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 --themedir = $(datadir)/silc/themes -+themedir = $(datadir)/silc-client/themes - theme_DATA = default.theme - noinst_HEADERS = irssi-version.h.in - EXTRA_DIST = \ +-@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 $(examplesdir)/ ++ $(INSTALL_DATA) $(silc_top_srcdir)/apps/irssi/silc.conf $(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 $(examplesdir)/silc.conf.default ; then \ + $(INSTALL_DATA) $(silc_top_srcdir)/apps/irssi/silc.conf \ +- $(etcdir)/silc.conf; \ ++ $(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: diff --git a/chat/silc-client/patches/patch-ac b/chat/silc-client/patches/patch-ac index 2769f08d957..93b2b3d7fdd 100644 --- a/chat/silc-client/patches/patch-ac +++ b/chat/silc-client/patches/patch-ac @@ -1,13 +1,13 @@ -$NetBSD: patch-ac,v 1.9 2007/05/18 21:04:25 salo Exp $ +$NetBSD: patch-ac,v 1.10 2008/07/13 12:04:11 tonnerre Exp $ ---- apps/irssi/src/perl/Makefile.in.orig 2006-01-06 14:46:28.000000000 +0100 -+++ apps/irssi/src/perl/Makefile.in 2006-01-08 20:47:56.000000000 +0100 -@@ -281,7 +281,7 @@ - -I$(top_srcdir)/src/fe-common/core \ - -I$(top_srcdir)/src/fe-common/silc \ - $(GLIB_CFLAGS) \ -- -DSCRIPTDIR=\""$(datadir)/silc/scripts"\" \ -+ -DSCRIPTDIR=\""$(prefix)/libexec/silc-client/scripts"\" \ - -DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \ - -DPERL_STATIC_LIBS=$(PERL_STATIC_LIBS) \ - $(PERL_CFLAGS) +--- 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) diff --git a/chat/silc-client/patches/patch-ad b/chat/silc-client/patches/patch-ad index 3fdf26ade2c..a10c3d27cc3 100644 --- a/chat/silc-client/patches/patch-ad +++ b/chat/silc-client/patches/patch-ad @@ -1,28 +1,13 @@ -$NetBSD: patch-ad,v 1.4 2007/05/18 21:04:25 salo Exp $ +$NetBSD: patch-ad,v 1.5 2008/07/13 12:04:11 tonnerre Exp $ ---- doc/Makefile.in.orig 2007-03-07 19:02:19.000000000 +0000 -+++ doc/Makefile.in 2007-05-18 20:41:05.000000000 +0000 -@@ -450,15 +450,6 @@ uninstall-am: uninstall-info-am - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am uninstall uninstall-am uninstall-info-am - -- --all: -- touch draft-riikonen-silc-spec-08.txt -- touch draft-riikonen-silc-pp-09.txt -- touch draft-riikonen-silc-ke-auth-08.txt -- touch draft-riikonen-silc-commands-06.txt -- touch draft-riikonen-silc-flags-payloads-04.txt -- touch draft-riikonen-presence-attrs-03.txt -- - dist-hook: - $(SILC_TOP_SRCDIR)/scripts/manpages.pl - rm draft-riikonen*.txt -@@ -472,7 +463,6 @@ dist-hook: - doc-install: - -mkdir -p $(docdir) - -$(INSTALL_DATA) $(top_srcdir)/doc/FAQ $(docdir)/ -- -$(INSTALL_DATA) $(top_srcdir)/doc/*.txt $(docdir)/ - -$(INSTALL_DATA) $(top_srcdir)/COPYING $(docdir)/ - -$(INSTALL_DATA) $(top_srcdir)/CHANGES $(docdir)/ - -$(INSTALL_DATA) $(top_srcdir)/CREDITS $(docdir)/ +--- 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 \ diff --git a/chat/silc-client/patches/patch-ae b/chat/silc-client/patches/patch-ae new file mode 100644 index 00000000000..22d8260b261 --- /dev/null +++ b/chat/silc-client/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.3 2008/07/13 12:04:11 tonnerre Exp $ + +--- apps/irssi/scripts/examples/Makefile.in.orig 2008-03-20 06:47:18.000000000 +0000 ++++ apps/irssi/scripts/examples/Makefile.in +@@ -197,7 +197,7 @@ sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + 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 \ |