summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-08-22 01:57:10 +0000
committerChuck Short <zul@gentoo.org>2003-08-22 01:57:10 +0000
commitfeac1e8d61ec96bec74f2ac1d674dbc2c06373d3 (patch)
tree521e175811533d57974b223cfcb1a826315a5720 /net-irc/irssi
parentAdded SSL support. Closes #26343 (diff)
downloadgentoo-2-feac1e8d61ec96bec74f2ac1d674dbc2c06373d3.tar.gz
gentoo-2-feac1e8d61ec96bec74f2ac1d674dbc2c06373d3.tar.bz2
gentoo-2-feac1e8d61ec96bec74f2ac1d674dbc2c06373d3.zip
Added SSL support. Closes #26343
Diffstat (limited to 'net-irc/irssi')
-rw-r--r--net-irc/irssi/ChangeLog5
-rw-r--r--net-irc/irssi/Manifest4
-rw-r--r--net-irc/irssi/files/digest-irssi-0.8.6-r31
-rw-r--r--net-irc/irssi/irssi-0.8.6-r3.ebuild99
4 files changed, 106 insertions, 3 deletions
diff --git a/net-irc/irssi/ChangeLog b/net-irc/irssi/ChangeLog
index 531c50e27a9f..f849ac5500a9 100644
--- a/net-irc/irssi/ChangeLog
+++ b/net-irc/irssi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/irssi
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/ChangeLog,v 1.27 2003/08/07 09:15:46 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/ChangeLog,v 1.28 2003/08/22 01:56:51 zul Exp $
+
+ 21 Aug 2003; <chuck@gentoo.org> :
+ Added SSL suport, closes bug #26343.
07 Aug 2003; Tavis Ormandy <taviso@gentoo.org> irssi-0.8.6-r2.ebuild:
stable on alpha
diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
index 8b33428c7126..0e3079b26668 100644
--- a/net-irc/irssi/Manifest
+++ b/net-irc/irssi/Manifest
@@ -1,7 +1,7 @@
MD5 8166a0faf975ff5c75f39c1b2bfeaa04 irssi-0.8.5-r2.ebuild 1866
-MD5 43f10a6d1265272c7703941336d34f8c irssi-0.8.6-r3.ebuild 2491
+MD5 e7935ba96cdcba222a63aebd55acb3d2 irssi-0.8.6-r3.ebuild 2486
MD5 f31a7422d0fba4cc87d760697717bdb5 irssi-0.8.6-r2.ebuild 2372
-MD5 9b255ce4156b2db970758bd7728fd110 ChangeLog 3567
+MD5 defb8ed2e585491b20ad9e930b5c2fda ChangeLog 3640
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 e75d250d81ec4a41f6bff2130b4d6a0b files/irssi-0.8.6-configure.patch 976
MD5 1920fb9f4aba0f95f26302d82430ffa8 files/digest-irssi-0.8.5-r2 64
diff --git a/net-irc/irssi/files/digest-irssi-0.8.6-r3 b/net-irc/irssi/files/digest-irssi-0.8.6-r3
new file mode 100644
index 000000000000..0ecb65f16bf8
--- /dev/null
+++ b/net-irc/irssi/files/digest-irssi-0.8.6-r3
@@ -0,0 +1 @@
+MD5 6d66982723e2eb8780ae3b8b3a7ba08d irssi-0.8.6.tar.bz2 746551
diff --git a/net-irc/irssi/irssi-0.8.6-r3.ebuild b/net-irc/irssi/irssi-0.8.6-r3.ebuild
new file mode 100644
index 000000000000..af40e87d187d
--- /dev/null
+++ b/net-irc/irssi/irssi-0.8.6-r3.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-0.8.6-r3.ebuild,v 1.1 2003/08/22 01:56:51 zul Exp $
+
+IUSE="nls ipv6 perl ssl"
+
+inherit perl-module
+
+DESCRIPTION="A modular textUI IRC client with IPv6 support."
+SRC_URI="http://irssi.org/files/${P}.tar.bz2"
+HOMEPAGE="http://irssi.org/"
+
+DEPEND=">=dev-libs/glib-1.2
+ sys-libs/ncurses
+ >=sys-apps/sed-4
+ perl? ( dev-lang/perl )
+ ssl? ( dev-libs/openssl )
+ !net-irc/irssi-cvs"
+ #socks? ( >=net-misc/dante-1.1.13 )
+RDEPEND="nls? ( sys-devel/gettext )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ppc sparc ~alpha hppa ~mips amd64"
+
+src_unpack() {
+ unpack ${A}
+
+ # Ugly hack to work around compression of the html files.
+ # Remove this if prepalldocs is changed to avoid gzipping html files.
+ cd ${S} && \
+ sed -i \
+ -e 's/[^ ]\+\.html//g' docs/Makefile.in || \
+ die "sed doc/Makefile.in failed"
+
+ epatch ${FILESDIR}/irssi-0.8.6-configure.patch
+}
+
+src_compile() {
+ # Note: there is an option to build a GUI for irssi, but according
+ # to the website the GUI is no longer developed, so that option is
+ # not used here.
+
+ # Edit these if you like
+ myconf="--without-servertest --with-bot --with-proxy --with-ncurses"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ #perl is auto-detected and must be explicitly disabled
+ use perl || myconf="${myconf} --with-perl=no"
+
+ #ipv6 needs to be explicitly enabled
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ #socks needs to be explicitly enabled
+ #use socks && myconf="${myconf} --with-socks"
+
+ #ssl is auto-detected and must be disabled explicitly
+ #use ssl || myconf="${myconf} --disable-ssl"
+ use ssl && myconf="${myconf} --with-openssl-include=/usr --with-openssl-libs=/usr"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ ${myconf} || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ myflags=""
+
+ use perl && ( \
+ cd ${S}/src/perl/common
+ perl-module_src_prep
+ cd ${S}/src/perl/irc
+ perl-module_src_prep
+ cd ${S}/src/perl/textui
+ perl-module_src_prep
+ cd ${S}/src/perl/ui
+ perl-module_src_prep
+ cd ${S}
+ )
+
+ make DESTDIR=${D} \
+ PREFIX=${D}/usr \
+ docdir=/usr/share/doc/${PF} \
+ gnulocaledir=${D}/usr/share/locale \
+ ${myflags} \
+ install || die
+
+ prepalldocs
+ dodoc AUTHORS ChangeLog README TODO NEWS
+ cd docs && \
+ dohtml -r . || die "dohtml failed"
+}