summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-09-20 22:42:25 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-09-20 22:42:25 +0000
commit6c936d0ac25a19303b1d4284f2bcc2a22c45c51a (patch)
treecbfdafb412ec45d658fed484e891c227ee44c511 /net-im/silc-plugin
parentFixed typo in pre_pkg_setup() function name. (diff)
downloadgentoo-2-6c936d0ac25a19303b1d4284f2bcc2a22c45c51a.tar.gz
gentoo-2-6c936d0ac25a19303b1d4284f2bcc2a22c45c51a.tar.bz2
gentoo-2-6c936d0ac25a19303b1d4284f2bcc2a22c45c51a.zip
Version bump.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-im/silc-plugin')
-rw-r--r--net-im/silc-plugin/ChangeLog7
-rw-r--r--net-im/silc-plugin/files/digest-silc-plugin-1.0.1-r46
-rw-r--r--net-im/silc-plugin/files/digest-silc-plugin-1.0.39
-rw-r--r--net-im/silc-plugin/silc-plugin-1.0.3.ebuild129
4 files changed, 150 insertions, 1 deletions
diff --git a/net-im/silc-plugin/ChangeLog b/net-im/silc-plugin/ChangeLog
index 9d7ce70f2196..0b8e5286fa3a 100644
--- a/net-im/silc-plugin/ChangeLog
+++ b/net-im/silc-plugin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/silc-plugin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v 1.20 2006/02/19 13:41:48 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v 1.21 2006/09/20 22:42:25 ticho Exp $
+
+*silc-plugin-1.0.3 (20 Sep 2006)
+
+ 20 Sep 2006; <ticho@gentoo.org> +silc-plugin-1.0.3.ebuild:
+ Version bump.
19 Feb 2006; Andrej Kacian <ticho@gentoo.org> silc-plugin-1.0.1-r5.ebuild:
Fix the --with-pic option only to be used for amd64.
diff --git a/net-im/silc-plugin/files/digest-silc-plugin-1.0.1-r4 b/net-im/silc-plugin/files/digest-silc-plugin-1.0.1-r4
index 4d53c13b01ee..76730a407704 100644
--- a/net-im/silc-plugin/files/digest-silc-plugin-1.0.1-r4
+++ b/net-im/silc-plugin/files/digest-silc-plugin-1.0.1-r4
@@ -1,3 +1,9 @@
MD5 6610ee0e27922f447e40828cf7dee507 irssi-0.8.9.tar.bz2 816465
+RMD160 7a0a2a639c041802bfddd458c35bccaec8084013 irssi-0.8.9.tar.bz2 816465
+SHA256 230ffa21a97f930000e0004f18cf5b709d5da5408d297e1567538a53cf91c32c irssi-0.8.9.tar.bz2 816465
MD5 6e086ddb21dc18e706750f43412f6b93 silc-client-1.0.1.tar.gz 1862493
+RMD160 007ff291d9d7481a646b24161b75be3a963a27b2 silc-client-1.0.1.tar.gz 1862493
+SHA256 e53961ac6b79d150e0d3a1fa3e0e6220831402c9c50d699add00d82309682426 silc-client-1.0.1.tar.gz 1862493
MD5 986c750f2dac66838e3db505341923df silc-plugin-1.0.1.tar.gz 24789
+RMD160 da196e12573032adcd22ed89de65e1f160a43ef3 silc-plugin-1.0.1.tar.gz 24789
+SHA256 af32e6bcd2b72dc2fb09c691c2be98f6c107845d45f47b34ac465b5d0ca7238f silc-plugin-1.0.1.tar.gz 24789
diff --git a/net-im/silc-plugin/files/digest-silc-plugin-1.0.3 b/net-im/silc-plugin/files/digest-silc-plugin-1.0.3
new file mode 100644
index 000000000000..0af0f565a220
--- /dev/null
+++ b/net-im/silc-plugin/files/digest-silc-plugin-1.0.3
@@ -0,0 +1,9 @@
+MD5 38e616bccb6a34ff6d91690317c2fa19 irssi-0.8.10a.tar.bz2 759953
+RMD160 02ea076da7100bd81ce2ff66188ff81854b7bcba irssi-0.8.10a.tar.bz2 759953
+SHA256 728101061a8b561bad2d516c7b8d1d696dc78b85b25208da6000c9a9b3927db4 irssi-0.8.10a.tar.bz2 759953
+MD5 82c3ea6bf1dd64a27af39a05d35b3f16 silc-client-1.0.3.tar.gz 1948733
+RMD160 12ecfc6a71f0fa20d4f3c845e3c9af9443123259 silc-client-1.0.3.tar.gz 1948733
+SHA256 43740be0d26b506460dd11eb3c323ddcdf45c13c556a6e51883d25fb625b838b silc-client-1.0.3.tar.gz 1948733
+MD5 6c2956fe92b1c7fa3f096cf96e2fb439 silc-plugin-1.0.3.tar.gz 25661
+RMD160 c127f2a1f039cd4418cf3482c67e8c429ec93b00 silc-plugin-1.0.3.tar.gz 25661
+SHA256 d596f416ba1fad93cd75ce8b5ae4e335b2f1ae75d1cebc5fd6b07793a7eff37f silc-plugin-1.0.3.tar.gz 25661
diff --git a/net-im/silc-plugin/silc-plugin-1.0.3.ebuild b/net-im/silc-plugin/silc-plugin-1.0.3.ebuild
new file mode 100644
index 000000000000..173d98b89d30
--- /dev/null
+++ b/net-im/silc-plugin/silc-plugin-1.0.3.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.3.ebuild,v 1.1 2006/09/20 22:42:25 ticho Exp $
+
+inherit eutils perl-module
+
+IRSSI_PV="0.8.10a"
+
+DESCRIPTION="A SILC plugin for Irssi"
+HOMEPAGE="http://penguin-breeder.org/silc/"
+SRC_URI="http://www.irssi.org/files/irssi-${IRSSI_PV}.tar.bz2
+ http://silcnet.org/download/client/sources/silc-client-${PV}.tar.gz
+ http://penguin-breeder.org/silc/download/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug"
+
+# All necessary dependencies are pulled in by irssi.
+DEPEND="=dev-libs/glib-1.2*
+ www-client/lynx" # this is for .html -> .txt docs convert
+RDEPEND=">=net-irc/irssi-${IRSSI_PV%a}
+ >=dev-perl/MIME-tools-5.413
+ dev-perl/File-MMagic
+ dev-perl/MailTools"
+
+S_SILC="${S}/../silc-client-${PV}"
+S_IRSSI="${S}/../irssi-${IRSSI_PV%a}"
+
+src_compile() {
+
+ echo
+ einfo "Preparing silc-client\n"
+ cd ${S_SILC}
+
+ local myconf
+
+ myconf="--without-libtoolfix \
+ --enable-static \
+ --with-helpdir=${D}/usr/share/irssi/help/silc/\
+ --without-silc-libs \
+ --with-pthreads=no"
+
+ if use debug ; then
+ myconf="${myconf} --enable-debug"
+ else
+ myconf="${myconf} --disable-debug"
+ fi
+
+ if use amd64; then
+ myconf="${myconf} --with-pic"
+ fi
+
+ econf ${myconf} || die "configure failed"
+
+ ( MAKEOPTS="-j1" emake -C lib ) || die "silc-client's lib compilation failed"
+
+ echo
+ einfo "Patching irssi source for silc-plugin\n"
+ cd ${S}
+ emake patch IRSSI=${S_IRSSI} SILC=${S_SILC} || die "patching irssi sources failed"
+
+ cd ${S_IRSSI}
+
+ # this tiny patch fixes a compile-time error (bug #67255) - ticho
+ #epatch ${FILESDIR}/${PV}-gcc34.patch || die "${PV}-gcc34.patch failed"
+
+ echo
+ einfo "Configuring irssi\n"
+ econf --sysconfdir=/etc || die "irssi configure failed"
+ echo
+ einfo "Compiling silc-plugin\n"
+ emake -C src/perl || die "irssi's src/perl compilation failed"
+ emake -C src/fe-common/silc || die "irssi's src/fe-common/silc compilation failed"
+ emake -C src/silc/core || die "irssi's src/silc/core compilation failed"
+}
+
+src_install() {
+ cd ${S_IRSSI}
+ make -C src/perl/silc DESTDIR=${D} install || die "irssi's src/perl/silc installation failed"
+ make -C src/fe-common/silc DESTDIR=${D} install || die "irssi's src/fe-common/silc installation failed"
+ make -C src/silc/core install DESTDIR=${D} install || die "irssi's src/silc/core installation failed"
+
+ cd ${S_SILC}
+ make -C apps/irssi/docs/help install || die "silc-client's helpfiles installation failed"
+
+ cd ${S}
+ insinto /usr/share/irssi/scripts
+ doins scripts/*
+
+ insinto /usr/share/irssi
+ doins default.theme
+
+ dodoc AUTHORS COPYING README USAGE
+
+ # to fix segfault on connect with
+ if has_version '<net-irc/irssi-0.8.11'; then
+ cd ${D}/usr/$(get_libdir)/irssi/modules
+ mv libfe_common_silc.a libfe_silc.a
+ mv libfe_common_silc.la libfe_silc.a
+ mv libfe_common_silc.so libfe_silc.so
+ cd ${S}
+ fi
+
+ fixlocalpod
+}
+
+pkg_postinst() {
+ elog "You can load the plugin with following command in Irssi:"
+ elog
+ elog "\t/LOAD silc"
+ elog
+ elog "It will automatically generate a new key pair for you. You will be asked to"
+ elog "enter a passphrase for this keypair twice. If you leave the passphrase"
+ elog "empty, your key will not be stored encrypted."
+ elog
+ elog "To make full use of silc-plugin, you should load the following perl scripts"
+ elog "into irssi:"
+ elog
+ elog "\t/SCRIPT LOAD silc"
+ elog "\t/SCRIPT LOAD silc-mime"
+ elog
+ elog "To connect to the SILCNet, you can use following command in Irssi:"
+ elog
+ elog "\t/CONNECT -silcnet SILCNet silc.silcnet.org"
+ elog
+ elog "Have fun."
+}