ChangeLog

# ChangeLog for net-im/silc-plugin
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v 1.29 2008/05/30 07:09:33 phreak Exp $

30 May 2008; Christian Heim metadata.xml:
Removing Andrej Kacian (Ticho) from metadata.xml (as per #59986).

*silc-plugin-1.1.2-r1 (09 Dec 2007)

09 Dec 2007; Andrej Kacian silc-plugin-1.0.1-r4.ebuild,
-silc-plugin-1.0.1-r5.ebuild, -silc-plugin-1.0.3.ebuild,
-silc-plugin-1.0.4.1.ebuild, silc-plugin-1.1.2.ebuild,
+silc-plugin-1.1.2-r1.ebuild:
Remove legacy libfe_silc.so symlink to prevent signed messages from
appearing twice. Old versions cleanup. Variable quoting fixed.

01 Oct 2007; Sven Wegener silc-plugin-1.1.2.ebuild:
Use full atoms for built_with_use.

22 Aug 2007; Andrej Kacian silc-plugin-1.1.2.ebuild:
Added a check for perl support in irssi.

*silc-plugin-1.1.2 (22 Aug 2007)

22 Aug 2007; Andrej Kacian +silc-plugin-1.1.2.ebuild:
Version bump. Bug #182066.

*silc-plugin-1.0.4.1 (24 Jun 2007)

24 Jun 2007; Andrej Kacian +silc-plugin-1.0.4.1.ebuild:
Version bump.

22 Feb 2007; Piotr JaroszyƄski ChangeLog:
Transition to Manifest2.

26 Oct 2006; Andrej Kacian silc-plugin-1.0.1-r4.ebuild,
silc-plugin-1.0.1-r5.ebuild:
Added dependency on lynx also to 1.0.1 ebuilds. Closes bug #152532, by "Evil
Compile Person" .

*silc-plugin-1.0.3 (20 Sep 2006)

20 Sep 2006; +silc-plugin-1.0.3.ebuild:
Version bump.

19 Feb 2006; Andrej Kacian silc-plugin-1.0.1-r5.ebuild:
Fix the --with-pic option only to be used for amd64.

*silc-plugin-1.0.1-r5 (15 Feb 2006)

15 Feb 2006; Luis Medinas
+silc-plugin-1.0.1-r5.ebuild:
Fix build on amd64. Fixes bug #105260.

08 Jan 2006; Andrej Kacian silc-plugin-1.0.1-r4.ebuild:
Use fixlocalpod from perl-module.eclass to fix the file collision for
perllocal.pod. Bug #118292.

12 Dec 2005; Andrej Kacian -silc-plugin-1.0.1.ebuild,
-silc-plugin-1.0.1-r1.ebuild, -silc-plugin-1.0.1-r2.ebuild,
-silc-plugin-1.0.1-r3.ebuild, silc-plugin-1.0.1-r4.ebuild:
Removed old ebuilds to get rid of USE=pic cruft. 1.0.1-r4 stable on x86. commit

12 Dec 2005; Andrej Kacian -silc-plugin-1.0.1.ebuild,
-silc-plugin-1.0.1-r1.ebuild, -silc-plugin-1.0.1-r2.ebuild,
-silc-plugin-1.0.1-r3.ebuild, silc-plugin-1.0.1-r4.ebuild:
Removed old ebuilds to get rid of USE=pic cruft. 1.0.1-r4 stable on x86.

*silc-plugin-1.0.1-r4 (29 Aug 2005)

29 Aug 2005; Andrej Kacian
+silc-plugin-1.0.1-r4.ebuild:
Only change term_type to term_charset if installed irssi is >=0.8.10. Bug
#104046 by Daniel Link .

21 Aug 2005; Andrej Kacian silc-plugin-1.0.1-r3.ebuild:
Depend on glib-1.2.

*silc-plugin-1.0.1-r3 (02 Aug 2005)

02 Aug 2005; Andrej Kacian
+silc-plugin-1.0.1-r3.ebuild:
Fix pic USEflag abuse. Bug #101050.

25 May 2005; Michael Cummings
silc-plugin-1.0.1-r1.ebuild:
dev-perl/MIME-Base64 => perl-core/MIME-Base64 migration

03 Jan 2005; Andrej Kacian silc-plugin-1.0.1-r2.ebuild:
Added necessary perl modules into RDEPEND, according to
https://lists.silcnet.org/pipermail/silc-users/2003-November/000404.html.
Thanks to Jochen Eisinger.

24 Dec 2004; Dylan Carlson
silc-plugin-1.0.1-r2.ebuild:
Keywords ~amd64. Removed restriction to irssi-0.8.9 since it seems to work
as a plugin for 0.8.10 in my testing. You can flame me in a bug if it does
not.

30 Nov 2004; Andrej Kacian silc-plugin-1.0.1-r1.ebuild,
silc-plugin-1.0.1-r2.ebuild, silc-plugin-1.0.1.ebuild:
Changed wording on postinst einfo message regarding perl scripts.

*silc-plugin-1.0.1-r2 (28 Nov 2004)

28 Nov 2004; Andrej Kacian silc-plugin-1.0.1-r1.ebuild,
+silc-plugin-1.0.1-r2.ebuild:
Added a RDEPEND on dev-perl/MIME-tools-5.413 for silc-mime.pl script. Closes
#72653, reported by Daniel Webert .

*silc-plugin-1.0.1-r1 (17 Oct 2004)

17 Oct 2004; Andrej Kacian
+silc-plugin-1.0.1-r1.ebuild, +files/1.0.1-branch-update.patch:
Removing MAKEOPTS for silc-client's lib compilation, as parallel build (-jX)
breaks it. Thanks to viq for reporting this, and to Jochen
Eisinger for finding the solution. Closes
#67390.

12 Oct 2004; Andrej Kacian +files/1.0.1-gcc34.patch,
silc-plugin-1.0.1.ebuild:
Fix compile-time error with gcc3.4. Closes #67255, reported by viq
. Thanks to c0ffee for providing the fix promptly.

05 Sep 2004; David Holm silc-plugin-1.0.1.ebuild:
Added to ~ppc.

04 Sep 2004; Jon Hood silc-plugin-1.0.1.ebuild:
Change virtual/glibc --> virtual/libc.

01 Sep 2004; Andrej Kacian silc-plugin-1.0.1.ebuild:
Changed leading spaces to tabs, made src_compile() use emake where possible.

31 Aug 2004; Andrej Kacian silc-plugin-1.0.1.ebuild:
Some QA fixes (thanks to seemant)

*silc-plugin-1.0.1 (31 Aug 2004)

31 Aug 2004; +metadata.xml, +silc-plugin-1.0.1.ebuild:
Initial import, closes bug #60189. Marked unstable on x86 and sparc.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 1.0.1-branch-update.patch 6717 RMD160 b6e422fdf91baf3fbe9313e83d3a37e6d771a131 SHA1 0720a7702cad83529003338f8b801e00fd9982db SHA256 fa270bbc65eb6a16cd628ece425b15b68ed6e752d4763a60286f13c1bd6efc5e
AUX 1.0.1-gcc34.patch 471 RMD160 549d08e8ffa80a2ac2bb945b0a81a6b7d4cdb0ad SHA1 7f18c4d950e436a0eadbe5ca08d9c76d2e83fbf1 SHA256 6111df03ff5cb884bdce3566e3add9719c17894443644d40daee7967eaa3abe2
DIST irssi-0.8.9.tar.bz2 816465 RMD160 7a0a2a639c041802bfddd458c35bccaec8084013 SHA1 57799a1e99ac5f6694eb6fd049d39a4e2e51f576 SHA256 230ffa21a97f930000e0004f18cf5b709d5da5408d297e1567538a53cf91c32c
DIST silc-client-1.0.1.tar.gz 1862493 RMD160 007ff291d9d7481a646b24161b75be3a963a27b2 SHA1 d41ccb47dfe1a415da7dc15010ef8b52e1b129f8 SHA256 e53961ac6b79d150e0d3a1fa3e0e6220831402c9c50d699add00d82309682426
DIST silc-client-1.1.2.tar.bz2 1622496 RMD160 ac08152f7d49a0e14c2b900c3983d5e97992f29a SHA1 b529a48f8e21752e690c43e869ca7ff8ed3906ce SHA256 6c03bf28c87eef31c2058acfa132542cc088ae819f2233d520b042eb916d89f4
DIST silc-plugin-1.0.1.tar.gz 24789 RMD160 da196e12573032adcd22ed89de65e1f160a43ef3 SHA1 7a6f4999c5f2dceccf6fa351f416238133550fdd SHA256 af32e6bcd2b72dc2fb09c691c2be98f6c107845d45f47b34ac465b5d0ca7238f
EBUILD silc-plugin-1.0.1-r4.ebuild 3541 RMD160 1c02bfe2370529525377fda8cd2593be007af995 SHA1 b351a49ee2d4e750a94b6b4c32f93fe4d9f04d41 SHA256 8a49b846e31a875d5fd98689e3a303ea690625dc39ded24a573894ecc3e84ee5
EBUILD silc-plugin-1.1.2-r1.ebuild 2426 RMD160 1b036752313e858ec2ff1a9b1a08bc06adf7efcf SHA1 ccef98ab95841de265d6aed91561854dbba27e58 SHA256 209c5f2d7e22ecb30202683afda23d95be8b6c7b90d7a320dcc9a212b3cad749
EBUILD silc-plugin-1.1.2.ebuild 2375 RMD160 920328d08e41bf28bd1b46b44e362d5370a052d7 SHA1 75326678a77bb8fd5581f427f660b31c7daa6789 SHA256 b9cbbd1420e589391c299d362c738c7352f8be03f4bae7a16df19a39a2dee82c
MISC ChangeLog 5618 RMD160 170620a85e7a9b59b63d69403627e9f6d615fac3 SHA1 1369745921758aa1783a91a8e4fe1182a586cfc9 SHA256 33c1333bb457e9ba2d3f85dacb4c183e67e5b254279a62a7d261975b5bbef043
MISC metadata.xml 160 RMD160 a6ad0c05d64e31840114207dd45b62f889cbbe59 SHA1 be796d9ed970ebab12c2e943b724542bec95a3fe SHA256 11f74b4a52d7818d4a23729cf0dafa198080e898f1fc34aa63f639975f892940
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg/qDIACgkQyuNVb5qfaOZo7wCfRTZR08vt17rQTKxPjbWT0LA6
/7IAniLAvbghFs1UOiiwWpX4V/zBnmag
=a4su
-----END PGP SIGNATURE-----

files

metadata.xml




net-im

silc-plugin-1.0.1-r4.ebuild

# Copyright 1999-2007 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.1-r4.ebuild,v 1.6 2007/12/09 13:08:07 ticho Exp $

inherit eutils perl-module

IRSSI_PV=0.8.9

DESCRIPTION="A SILC plugin for Irssi"
HOMEPAGE="http://penguin-breeder.org/silc/"
SRC_URI="http://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="virtual/libc
=dev-libs/glib-1.2*
www-client/lynx" # this is for .html -> .txt docs convert
RDEPEND=">=net-irc/irssi-${IRSSI_PV}
>=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}"

src_compile() {

echo
einfo "Preparing silc-client\n"
cd "${S_SILC}"
if has_version ">=net-irc/irssi-0.8.10_rc1" ; then
sed -i -e "s:\"term_type\":\"term_charset\":" \
irssi/src/silc/core/silc-servers.c
sed -i -e "s:\"term_type\":\"term_charset\":" \
irssi/src/fe-text/term.c
fi
econf --with-helpdir="${D}"/usr/share/irssi/help/silc/ \
--without-libtoolfix \
--enable-static \
`use_enable debug` || die "silc-client configure failed"
( MAKEOPTS="" emake -C lib ) || die "silc-client's lib compilation failed"

echo
einfo "Patching irssi source for silc-plugin\n"
cd "${S}"
epatch "${FILESDIR}"/${PV}-branch-update.patch || die "${PV}-branch-update.patch failed"
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 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 README USAGE

fixlocalpod
}

pkg_postinst() {
einfo "You can load the plugin with following command in Irssi:"
einfo
einfo "\t/LOAD silc"
einfo
einfo "It will automatically generate a new key pair for you. You will be asked to"
einfo "enter a passphrase for this keypair twice. If you leave the passphrase"
einfo "empty, your key will not be stored encrypted."
einfo
einfo "To make full use of silc-plugin, you should load the following perl scripts"
einfo "into irssi:"
einfo
einfo "\t/SCRIPT LOAD silc"
einfo "\t/SCRIPT LOAD silc-mime"
einfo
einfo "To connect to the SILCNet, you can use following command in Irssi:"
einfo
einfo "\t/CONNECT -silcnet SILCNet silc.silcnet.org"
einfo
einfo "Have fun."
}

silc-plugin-1.1.2-r1.ebuild

# Copyright 1999-2007 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.1.2-r1.ebuild,v 1.1 2007/12/09 13:08:07 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.silcnet.org/download/client/sources/silc-client-${PV}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

# 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="${WORKDIR}/silc-client-${PV}"

pkg_setup() {
if ! built_with_use net-irc/irssi perl ; then
die "Irssi was built without perl support, building a perl plugin makes no sense."
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

sed -i -e "s:-g -O2:${CFLAGS}:g" configure
use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure
}

src_compile() {

econf \
${myflags} \
--with-silc-plugin \
--without-silc-includes \
--with-pic \
|| die

emake || die
}

src_install() {
local myflags

R1="s/installsitearch='//"
R2="s/';//"
perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
myflags="${myflags} INSTALLPRIVLIB=/usr/$(get_libdir)"
myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"

make DESTDIR="${D}" ${myflags} install || die

dodoc "${D}"/usr/share/doc/silc-client/*
rm -rf "${D}"/usr/share/doc/silc-client

rm "${D}"/usr/lib/irssi/modules/libfe_silc.so

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 script"
elog "into Irssi:"
elog
elog "\t/SCRIPT LOAD silc"
elog
elog "To connect to the SILCNet, you can use following command:"
elog
elog "\t/CONNECT -silcnet SILCNet silc.silcnet.org"
elog
elog "Have fun."
}

silc-plugin-1.1.2.ebuild

# Copyright 1999-2007 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.1.2.ebuild,v 1.5 2007/12/09 13:08:07 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.silcnet.org/download/client/sources/silc-client-${PV}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

# 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="${WORKDIR}/silc-client-${PV}"

pkg_setup() {
if ! built_with_use net-irc/irssi perl ; then
die "Irssi was built without perl support, building a perl plugin makes no sense."
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

sed -i -e "s:-g -O2:${CFLAGS}:g" configure
use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure
}

src_compile() {

econf \
${myflags} \
--with-silc-plugin \
--without-silc-includes \
--with-pic \
|| die

emake || die
}

src_install() {
local myflags

R1="s/installsitearch='//"
R2="s/';//"
perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
myflags="${myflags} INSTALLPRIVLIB=/usr/$(get_libdir)"
myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"

make DESTDIR="${D}" ${myflags} install || die

dodoc "${D}"/usr/share/doc/silc-client/*
rm -rf "${D}"/usr/share/doc/silc-client

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 script"
elog "into Irssi:"
elog
elog "\t/SCRIPT LOAD silc"
elog
elog "To connect to the SILCNet, you can use following command:"
elog
elog "\t/CONNECT -silcnet SILCNet silc.silcnet.org"
elog
elog "Have fun."
}