pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

irssi: import from pkgsrc



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Tue Mar 1 01:47:21 2016 +0200
Changeset:	188a1982a7ad05e9fa9a3c025bd1fae6a1979cbf

Added Files:
	irssi/DESCR
	irssi/MESSAGE
	irssi/Makefile
	irssi/Makefile.common
	irssi/PLIST
	irssi/distinfo
	irssi/options.mk
	irssi/patches/patch-aa
	irssi/patches/patch-ad

Log Message:
irssi: import from pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=188a1982a7ad05e9fa9a3c025bd1fae6a1979cbf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 irssi/DESCR            |   5 +
 irssi/MESSAGE          |  11 +++
 irssi/Makefile         |  37 +++++++
 irssi/Makefile.common  |  16 ++++
 irssi/PLIST            | 255 +++++++++++++++++++++++++++++++++++++++++++++++++
 irssi/distinfo         |   8 ++
 irssi/options.mk       |  36 +++++++
 irssi/patches/patch-aa |  15 +++
 irssi/patches/patch-ad |  16 ++++
 9 files changed, 399 insertions(+)

diffs:
diff --git a/irssi/DESCR b/irssi/DESCR
new file mode 100644
index 0000000..db06b24
--- /dev/null
+++ b/irssi/DESCR
@@ -0,0 +1,5 @@
+Irssi is a modular IRC client that currently has only text mode user
+interface, but 80-90% of the code isn't text mode specific, so other UIs
+could be created pretty easily. Also, Irssi isn't really even IRC specific
+anymore, there's already a working SILC module available. Support for other
+protocols like ICQ could be created some day too.
diff --git a/irssi/MESSAGE b/irssi/MESSAGE
new file mode 100644
index 0000000..1c4614b
--- /dev/null
+++ b/irssi/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/01/17 21:45:52 veego Exp $
+
+This version of irssi has support for character set conversions. Irssi is
+able to transliterate unavailable characters if transliteration is
+supported by GLib.
+This is currently only supported on systems which use the gnu iconv for
+glib2. Enabling it on systems without the gnu iconv will case the following
+warning: Transliterations not supported in this system
+
+===========================================================================
diff --git a/irssi/Makefile b/irssi/Makefile
new file mode 100644
index 0000000..11cea02
--- /dev/null
+++ b/irssi/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.68 2015/06/12 10:48:27 wiz Exp $
+
+DISTNAME=		${IRSSI_DISTNAME}
+PKGREVISION=		1
+CATEGORIES=		chat
+EXTRACT_SUFX=		${IRSSI_EXTRACT_SUFX}
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://www.irssi.org/
+COMMENT=		Secure and modular IRC client with text mode user interface
+LICENSE=		gnu-gpl-v2
+
+.include "../../mk/bsd.prefs.mk"
+.include "Makefile.common"
+
+GNU_CONFIGURE=		yes
+USE_LIBTOOL=		yes
+USE_TOOLS+=		pkg-config
+
+CONFIGURE_ARGS+=	--with-terminfo \
+			--with-proxy \
+			--without-ncurses \
+			--sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR=		${PREFIX}/share/examples/irssi
+CONF_FILES=	${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
+
+INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}
+
+.include "options.mk"
+.include "../../devel/glib2/buildlink3.mk"
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG}
+
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/irssi/Makefile.common b/irssi/Makefile.common
new file mode 100644
index 0000000..7b480d5
--- /dev/null
+++ b/irssi/Makefile.common
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile.common,v 1.16 2015/12/29 04:04:26 dholland Exp $
+# 
+# used by chat/irssi-icb/Makefile
+# used by chat/irssi-xmpp/Makefile
+
+# Specific distribution information.
+IRSSI_VERSION=		0.8.17
+IRSSI_DISTNAME=		irssi-${IRSSI_VERSION}
+IRSSI_EXTRACT_SUFX=	.tar.bz2
+IRSSI_DISTFILE=		${IRSSI_DISTNAME}${IRSSI_EXTRACT_SUFX}
+SITES.${IRSSI_DISTFILE}=	http://www.irssi.org/files/
+
+# These files are generated during Irssi's build, but are required by
+# plugins to compile properly.
+IRSSI_CONFIG=		${PREFIX}/share/irssi/irssi-config
+IRSSI_CONFIG_H=		${PREFIX}/include/irssi/irssi-config.h
diff --git a/irssi/PLIST b/irssi/PLIST
new file mode 100644
index 0000000..423e9fb
--- /dev/null
+++ b/irssi/PLIST
@@ -0,0 +1,255 @@
+@comment $NetBSD: PLIST,v 1.12 2015/01/06 12:40:06 mef Exp $
+bin/irssi
+include/irssi/irssi-config.h
+include/irssi/irssi-version.h
+include/irssi/src/common.h
+include/irssi/src/core/args.h
+include/irssi/src/core/channel-rec.h
+include/irssi/src/core/channel-setup-rec.h
+include/irssi/src/core/channels-setup.h
+include/irssi/src/core/channels.h
+include/irssi/src/core/chat-protocols.h
+include/irssi/src/core/chatnet-rec.h
+include/irssi/src/core/chatnets.h
+include/irssi/src/core/commands.h
+include/irssi/src/core/core.h
+include/irssi/src/core/expandos.h
+include/irssi/src/core/ignore.h
+include/irssi/src/core/levels.h
+include/irssi/src/core/line-split.h
+include/irssi/src/core/log.h
+include/irssi/src/core/masks.h
+include/irssi/src/core/misc.h
+include/irssi/src/core/module.h
+include/irssi/src/core/modules-load.h
+include/irssi/src/core/modules.h
+include/irssi/src/core/net-disconnect.h
+include/irssi/src/core/net-nonblock.h
+include/irssi/src/core/net-sendbuffer.h
+include/irssi/src/core/network.h
+include/irssi/src/core/nick-rec.h
+include/irssi/src/core/nicklist.h
+include/irssi/src/core/nickmatch-cache.h
+include/irssi/src/core/pidwait.h
+include/irssi/src/core/queries.h
+include/irssi/src/core/query-rec.h
+include/irssi/src/core/rawlog.h
+include/irssi/src/core/recode.h
+include/irssi/src/core/server-connect-rec.h
+include/irssi/src/core/server-rec.h
+include/irssi/src/core/server-setup-rec.h
+include/irssi/src/core/servers-reconnect.h
+include/irssi/src/core/servers-setup.h
+include/irssi/src/core/servers.h
+include/irssi/src/core/session.h
+include/irssi/src/core/settings.h
+include/irssi/src/core/signals.h
+include/irssi/src/core/special-vars.h
+include/irssi/src/core/window-item-def.h
+include/irssi/src/core/window-item-rec.h
+include/irssi/src/core/write-buffer.h
+include/irssi/src/fe-common/core/chat-completion.h
+include/irssi/src/fe-common/core/command-history.h
+include/irssi/src/fe-common/core/completion.h
+include/irssi/src/fe-common/core/fe-channels.h
+include/irssi/src/fe-common/core/fe-common-core.h
+include/irssi/src/fe-common/core/fe-core-commands.h
+include/irssi/src/fe-common/core/fe-exec.h
+include/irssi/src/fe-common/core/fe-messages.h
+include/irssi/src/fe-common/core/fe-queries.h
+include/irssi/src/fe-common/core/fe-recode.h
+include/irssi/src/fe-common/core/fe-windows.h
+include/irssi/src/fe-common/core/formats.h
+include/irssi/src/fe-common/core/hilight-text.h
+include/irssi/src/fe-common/core/keyboard.h
+include/irssi/src/fe-common/core/module-formats.h
+include/irssi/src/fe-common/core/module.h
+include/irssi/src/fe-common/core/printtext.h
+include/irssi/src/fe-common/core/themes.h
+include/irssi/src/fe-common/core/window-activity.h
+include/irssi/src/fe-common/core/window-items.h
+include/irssi/src/fe-common/core/windows-layout.h
+include/irssi/src/fe-common/irc/dcc/fe-dcc.h
+include/irssi/src/fe-common/irc/dcc/module-formats.h
+include/irssi/src/fe-common/irc/dcc/module.h
+include/irssi/src/fe-common/irc/fe-irc-server.h
+include/irssi/src/fe-common/irc/module-formats.h
+include/irssi/src/fe-common/irc/module.h
+include/irssi/src/fe-common/irc/notifylist/module-formats.h
+include/irssi/src/fe-common/irc/notifylist/module.h
+include/irssi/src/fe-text/statusbar-item.h
+include/irssi/src/irc/core/bans.h
+include/irssi/src/irc/core/channel-rejoin.h
+include/irssi/src/irc/core/ctcp.h
+include/irssi/src/irc/core/irc-channels.h
+include/irssi/src/irc/core/irc-chatnets.h
+include/irssi/src/irc/core/irc-commands.h
+include/irssi/src/irc/core/irc-masks.h
+include/irssi/src/irc/core/irc-nicklist.h
+include/irssi/src/irc/core/irc-queries.h
+include/irssi/src/irc/core/irc-servers-setup.h
+include/irssi/src/irc/core/irc-servers.h
+include/irssi/src/irc/core/irc.h
+include/irssi/src/irc/core/mode-lists.h
+include/irssi/src/irc/core/modes.h
+include/irssi/src/irc/core/module.h
+include/irssi/src/irc/core/netsplit.h
+include/irssi/src/irc/core/servers-idle.h
+include/irssi/src/irc/core/servers-redirect.h
+include/irssi/src/irc/dcc/dcc-chat.h
+include/irssi/src/irc/dcc/dcc-file-rec.h
+include/irssi/src/irc/dcc/dcc-file.h
+include/irssi/src/irc/dcc/dcc-get.h
+include/irssi/src/irc/dcc/dcc-queue.h
+include/irssi/src/irc/dcc/dcc-rec.h
+include/irssi/src/irc/dcc/dcc-send.h
+include/irssi/src/irc/dcc/dcc-server.h
+include/irssi/src/irc/dcc/dcc.h
+include/irssi/src/irc/dcc/module.h
+include/irssi/src/irc/flood/module.h
+include/irssi/src/irc/notifylist/module.h
+include/irssi/src/irc/notifylist/notify-setup.h
+include/irssi/src/irc/notifylist/notifylist.h
+include/irssi/src/lib-config/iconfig.h
+include/irssi/src/lib-config/module.h
+lib/irssi/modules/libirc_proxy.la
+man/man1/irssi.1
+share/doc/irssi/design.txt
+share/doc/irssi/faq.html
+share/doc/irssi/faq.txt
+share/doc/irssi/formats.txt
+share/doc/irssi/manual.txt
+share/doc/irssi/perl.txt
+share/doc/irssi/signals.txt
+share/doc/irssi/special_vars.txt
+share/doc/irssi/startup-HOWTO.html
+share/examples/irssi/irssi.conf
+share/irssi/help/accept
+share/irssi/help/action
+share/irssi/help/admin
+share/irssi/help/alias
+share/irssi/help/away
+share/irssi/help/ban
+share/irssi/help/beep
+share/irssi/help/bind
+share/irssi/help/cat
+share/irssi/help/cd
+share/irssi/help/channel
+share/irssi/help/clear
+share/irssi/help/completion
+share/irssi/help/connect
+share/irssi/help/ctcp
+share/irssi/help/cycle
+share/irssi/help/dcc
+share/irssi/help/dehilight
+share/irssi/help/deop
+share/irssi/help/devoice
+share/irssi/help/die
+share/irssi/help/disconnect
+share/irssi/help/echo
+share/irssi/help/eval
+share/irssi/help/exec
+share/irssi/help/flushbuffer
+share/irssi/help/format
+share/irssi/help/hash
+share/irssi/help/help
+share/irssi/help/hilight
+share/irssi/help/ignore
+share/irssi/help/info
+share/irssi/help/invite
+share/irssi/help/ison
+share/irssi/help/join
+share/irssi/help/kick
+share/irssi/help/kickban
+share/irssi/help/kill
+share/irssi/help/knock
+share/irssi/help/knockout
+share/irssi/help/lastlog
+share/irssi/help/layout
+share/irssi/help/levels
+share/irssi/help/links
+share/irssi/help/list
+share/irssi/help/load
+share/irssi/help/log
+share/irssi/help/lusers
+share/irssi/help/map
+share/irssi/help/me
+share/irssi/help/mircdcc
+share/irssi/help/mode
+share/irssi/help/motd
+share/irssi/help/msg
+share/irssi/help/names
+share/irssi/help/nctcp
+share/irssi/help/netsplit
+share/irssi/help/network
+share/irssi/help/nick
+share/irssi/help/notice
+share/irssi/help/notify
+share/irssi/help/op
+share/irssi/help/oper
+share/irssi/help/part
+share/irssi/help/ping
+share/irssi/help/query
+share/irssi/help/quit
+share/irssi/help/quote
+share/irssi/help/rawlog
+share/irssi/help/recode
+share/irssi/help/reconnect
+share/irssi/help/rehash
+share/irssi/help/reload
+share/irssi/help/restart
+share/irssi/help/rmreconns
+share/irssi/help/rmrejoins
+share/irssi/help/save
+share/irssi/help/sconnect
+share/irssi/help/script
+share/irssi/help/scrollback
+share/irssi/help/server
+share/irssi/help/set
+share/irssi/help/silence
+share/irssi/help/squit
+share/irssi/help/stats
+share/irssi/help/statusbar
+share/irssi/help/time
+share/irssi/help/toggle
+share/irssi/help/topic
+share/irssi/help/trace
+share/irssi/help/ts
+share/irssi/help/unalias
+share/irssi/help/unban
+share/irssi/help/unignore
+share/irssi/help/unload
+share/irssi/help/unnotify
+share/irssi/help/unquery
+share/irssi/help/unsilence
+share/irssi/help/upgrade
+share/irssi/help/uptime
+share/irssi/help/userhost
+share/irssi/help/ver
+share/irssi/help/version
+share/irssi/help/voice
+share/irssi/help/wait
+share/irssi/help/wall
+share/irssi/help/wallops
+share/irssi/help/who
+share/irssi/help/whois
+share/irssi/help/whowas
+share/irssi/help/window
+share/irssi/irssi-config
+share/irssi/scripts/autoop.pl
+share/irssi/scripts/autorejoin.pl
+share/irssi/scripts/buf.pl
+share/irssi/scripts/command.pl
+share/irssi/scripts/dns.pl
+share/irssi/scripts/kills.pl
+share/irssi/scripts/mail.pl
+share/irssi/scripts/mlock.pl
+share/irssi/scripts/msg-event.pl
+share/irssi/scripts/quitmsg.pl
+share/irssi/scripts/redirect.pl
+share/irssi/scripts/sb_search.pl
+share/irssi/scripts/scriptassist.pl
+share/irssi/scripts/splitlong.pl
+share/irssi/scripts/usercount.pl
+share/irssi/themes/colorless.theme
+share/irssi/themes/default.theme
diff --git a/irssi/distinfo b/irssi/distinfo
new file mode 100644
index 0000000..6f5494e
--- /dev/null
+++ b/irssi/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.34 2015/11/03 01:20:20 agc Exp $
+
+SHA1 (irssi-0.8.17.tar.bz2) = 3bdee9a1c1f3e99673143c275d2c40275136664a
+RMD160 (irssi-0.8.17.tar.bz2) = 0ee6f41a4725c8498030d2c524e202df78a2aff6
+SHA512 (irssi-0.8.17.tar.bz2) = e3d9b130c46e6977400f5a75374cf3e32d5a6e6907b2fd4c920463b5413575708b094c9fa38151997a120ce581de26092424296510ca93b3eee7b0844be45953
+Size (irssi-0.8.17.tar.bz2) = 1102196 bytes
+SHA1 (patch-aa) = 83a0f6def09cb283aa55b63a249a81121748232b
+SHA1 (patch-ad) = 8cb41612afcd6088b869235166da9a6eb37e6ec7
diff --git a/irssi/options.mk b/irssi/options.mk
new file mode 100644
index 0000000..c8b08ee
--- /dev/null
+++ b/irssi/options.mk
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.10 2011/03/06 04:12:09 dholland Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.irssi
+PKG_SUPPORTED_OPTIONS=	inet6 perl ssl
+PKG_SUGGESTED_OPTIONS=	inet6
+PKG_OPTIONS_LEGACY_OPTS+=	irssi-perl:perl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mperl)
+USE_TOOLS+=		perl:run
+PERL5_PACKLIST=		auto/Irssi/.packlist
+PERL5_PACKLIST+=	auto/Irssi/Irc/.packlist
+PERL5_PACKLIST+=	auto/Irssi/UI/.packlist
+PERL5_PACKLIST+=	auto/Irssi/TextUI/.packlist
+.include "../../lang/perl5/packlist.mk"
+.include "../../lang/perl5/buildlink3.mk"
+# actually we don't need --with-perl here, irssi is compiled with it by default
+# but who knows what may happen in future versions
+CONFIGURE_ARGS+=	--with-perl
+CONFIGURE_ARGS+=	--with-perl-lib=vendor
+.else
+CONFIGURE_ARGS+=	--with-perl=no
+.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=	--enable-ipv6
+.else
+CONFIGURE_ARGS+=	--disable-ipv6
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+.include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-ssl
+.endif
diff --git a/irssi/patches/patch-aa b/irssi/patches/patch-aa
new file mode 100644
index 0000000..600530a
--- /dev/null
+++ b/irssi/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.6 2009/07/27 12:59:44 obache Exp $
+
+Check if sp is a null pointer before parsing it.
+
+--- src/fe-text/tparm.c.orig	2007-10-06 10:40:39.000000000 +0100
++++ src/fe-text/tparm.c
+@@ -247,7 +247,7 @@ char *tparm(const char *str, ...) {
+ 	argcnt = 0;
+ 	pos = 0;
+ 	termcap = 1;
+-	while (*sp != '\0') {
++	while ((sp != NULL) && (*sp != '\0')) {
+ 		switch(*sp) {
+ 		case '\\':
+ 			if (scan_for) {
diff --git a/irssi/patches/patch-ad b/irssi/patches/patch-ad
new file mode 100644
index 0000000..4072213
--- /dev/null
+++ b/irssi/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.9 2009/07/27 12:59:44 obache Exp $
+
+PerlIO mutex must be initialized before trying to fiddle with the
+interpreter.
+
+--- src/perl/perl-core.c.orig	2008-12-04 13:45:24.000000000 +0100
++++ 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)


Home | Main Index | Thread Index | Old Index