summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2010-08-07 12:46:34 +0000
committerAlex Legler <a3li@gentoo.org>2010-08-07 12:46:34 +0000
commit3f875656d5eac129e584889667100cde8b9c9b08 (patch)
tree862cacbc9ad515cfd5c28000a6a3e9501d61f240 /net-irc
parentVersion bump, now with documentation and tests. (diff)
downloadhistorical-3f875656d5eac129e584889667100cde8b9c9b08.tar.gz
historical-3f875656d5eac129e584889667100cde8b9c9b08.tar.bz2
historical-3f875656d5eac129e584889667100cde8b9c9b08.zip
Version bump, adding support for freenode mute lists (+q).
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/bip/ChangeLog8
-rw-r--r--net-irc/bip/Manifest17
-rw-r--r--net-irc/bip/bip-0.8.5.ebuild66
-rw-r--r--net-irc/bip/files/bip-freenode.patch18
-rw-r--r--net-irc/bip/metadata.xml4
5 files changed, 109 insertions, 4 deletions
diff --git a/net-irc/bip/ChangeLog b/net-irc/bip/ChangeLog
index 8b316ab060ec..e198df8ace66 100644
--- a/net-irc/bip/ChangeLog
+++ b/net-irc/bip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/bip
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/ChangeLog,v 1.13 2010/07/30 15:05:53 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/ChangeLog,v 1.14 2010/08/07 12:46:33 a3li Exp $
+
+*bip-0.8.5 (07 Aug 2010)
+
+ 07 Aug 2010; Alex Legler <a3li@gentoo.org> +bip-0.8.5.ebuild,
+ +files/bip-freenode.patch, metadata.xml:
+ Version bump, adding support for freenode mute lists (+q).
30 Jul 2010; Markos Chandras <hwoarang@gentoo.org> bip-0.8.4.ebuild:
Stable on amd64 wrt bug #330121
diff --git a/net-irc/bip/Manifest b/net-irc/bip/Manifest
index b86e24af754d..45f4a1210dd3 100644
--- a/net-irc/bip/Manifest
+++ b/net-irc/bip/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX bip-freenode.patch 671 RMD160 8a418013b4443e3ea916399346d216984bcb17b1 SHA1 bce7080721511c50f361b2cb4f4a2d39b32b5a23 SHA256 a67e582f89cc6a32d5bb48c7e8ceb647b889808c2c8798ae3eb27d88869b892f
AUX bip.vim 157 RMD160 b6b18f156f31ea515e271e7cec714d994c056a41 SHA1 7d0b4e3ddaf6dc5dae04ba1c853075f3ad3232fc SHA256 7c97eaef6d3b51d0e2f9572c919e25a5fc2f480a95469194b012fc507da55fc5
DIST bip-0.8.4.tar.gz 218014 RMD160 b82370595a092dd6a57586355084a777ef04b034 SHA1 f5677004a1ce4eb86fa01c1d1f3a29d764ac5df6 SHA256 7636663137372e6890cd935112b285be904b376b86a4c7c164daa9981ccd4e2c
+DIST bip-0.8.5.tar.gz 219985 RMD160 2e0d610f5b8883bd7f453524676ebe95a1a9ea4c SHA1 c8dc9cde94d0ff6b12d6ad2c5c316a58a70f98a5 SHA256 06adbfde12ee7c93b55793d340f6eec60f70dfddbf091ba6664f0b2af593be12
EBUILD bip-0.8.4.ebuild 1652 RMD160 718528e19719233e4c0141b97bdcac9561d681dd SHA1 c89ce6f73b18d43a01b7fcde271b1652326797a7 SHA256 a882505106d518b1e1c35142b969ea87a3af40cb98f86ea8875ff13b419d645a
-MISC ChangeLog 2313 RMD160 588c7fb12e3c1c437b975f07f522f69867eadd86 SHA1 f4d5678130f787ffc8fc4f5d7fc8e7a82678737b SHA256 6b898dfa4de6b3644158c9d00cb01a5dec9a4c668dc0d6245fcb748da162ad2e
-MISC metadata.xml 961 RMD160 9b145b7463a51e606114346c73beec0192527a29 SHA1 26d1f99e90c2efaf13ec297c76472f98a1954a9d SHA256 eeb0927b5e09de3606394370aa1d1bc7ee7179d6a291fd04016a049a0e94aac5
+EBUILD bip-0.8.5.ebuild 1756 RMD160 a505701727a2e9e84264314503dbfe9525f9e9e8 SHA1 5c884743c5bb0cc5cf3358b0c816d58248fc9df2 SHA256 9875c7f4b8d74b39f89c12d21e627be9946f9b4b55f1757b13f510b15f67fc4c
+MISC ChangeLog 2504 RMD160 dc5fb8910f3cc5091d703298af5638f9b6680db4 SHA1 63c95d7880433ad1a771dd545414d16d56f4d7c6 SHA256 3f1bda1c04021b531d81adcc21ce54c545b9ebb7fad070633b4d2786c7a99ae3
+MISC metadata.xml 1102 RMD160 7cd449daed13af6f3f4165e99361542eb51b4820 SHA1 95d8b6681d216d97a3348b2799bbeb560a195325 SHA256 e5303154ae5787821fb38ca9be06d1e7cf033cc04a7098b07581c2e8ead8bbf4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAkxdVbMACgkQ3Ca6Xy8+rvSbnQD/QHjvIhmHlghkyjA0tUMXSwWf
+4TUH+Xsce3og64ObYmMBAIHWUih5PAq0HMtjoSEXdqllGk/n915UHNL+zHoUsCQ2
+=sEV+
+-----END PGP SIGNATURE-----
diff --git a/net-irc/bip/bip-0.8.5.ebuild b/net-irc/bip/bip-0.8.5.ebuild
new file mode 100644
index 000000000000..2d0daf51623b
--- /dev/null
+++ b/net-irc/bip/bip-0.8.5.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/bip-0.8.5.ebuild,v 1.1 2010/08/07 12:46:33 a3li Exp $
+
+EAPI="2"
+inherit eutils
+
+DESCRIPTION="Multiuser IRC proxy with ssl support"
+HOMEPAGE="http://bip.t1r.net/"
+SRC_URI="http://bip.t1r.net/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug freenode noctcp ssl vim-syntax oidentd"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}
+ vim-syntax? ( || ( app-editors/vim
+ app-editors/gvim ) )
+ oidentd? ( >=net-misc/oidentd-2.0 )"
+
+src_prepare() {
+ if use noctcp; then
+ sed -i -e '/irc_privmsg_check_ctcp(server, line);/s:^://:' src/irc.c || die
+ fi
+
+ if use freenode; then
+ epatch "${FILESDIR}/${PN}-freenode.patch" || die
+ fi
+}
+
+src_configure() {
+ econf \
+ $(use_with ssl openssl) \
+ $(use_enable debug) \
+ $(use_enable oidentd)
+}
+
+src_compile() {
+ # Parallel make fails.
+ # {C,CXX,LD}FLAGS aren't respected, bug 241030.
+ emake CFLAGS="${CFLAGS}" CPPFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" -j1 || die "emake failed"
+}
+
+src_install() {
+ dobin src/bip src/bipmkpw || die "dobin failed"
+
+ dodoc AUTHORS ChangeLog README NEWS TODO || die "dodoc failed"
+ newdoc samples/bip.conf bip.conf.sample || die "newdoc failed"
+ doman bip.1 bip.conf.5 bipmkpw.1 || die "doman failed"
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins samples/bip.vim || die "doins failed"
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/bip.vim || die "doins failed"
+ fi
+}
+
+pkg_postinst() {
+ elog 'Default configuration file is "~/.bip/bip.conf"'
+ elog "You can find a sample configuration file in"
+ elog "/usr/share/doc/${PF}/bip.conf.sample"
+}
diff --git a/net-irc/bip/files/bip-freenode.patch b/net-irc/bip/files/bip-freenode.patch
new file mode 100644
index 000000000000..437da08f438d
--- /dev/null
+++ b/net-irc/bip/files/bip-freenode.patch
@@ -0,0 +1,18 @@
+Freenode's ircd-seven uses a custom banlist type for mutes (+q).
+This patch makes bip handle +q the same way as +q.
+Without it, a user wouldn't get the banlist replies for mutes.
+
+diff --git a/src/irc.c b/src/irc.c
+index 556bf97..a5cc039 100644
+--- a/src/irc.c
++++ b/src/irc.c
+@@ -944,7 +947,8 @@ static int irc_cli_mode(struct link_client *ic, struct line *line)
+
+ /* This is a wild guess and that sucks. */
+ if (!irc_line_elem_equals(line, 0, "MODE") ||
+- strchr(irc_line_elem(line, 2), 'b') == NULL)
++ (strchr(irc_line_elem(line, 2), 'b') == NULL &&
++ strchr(irc_line_elem(line, 2), 'q') == NULL))
+ return OK_COPY;
+
+ ++ic->who_count;
diff --git a/net-irc/bip/metadata.xml b/net-irc/bip/metadata.xml
index 09a9076a4fa5..6a193d080ebf 100644
--- a/net-irc/bip/metadata.xml
+++ b/net-irc/bip/metadata.xml
@@ -15,9 +15,11 @@
of what was said while you were away.
</longdescription>
<use>
- <flag name="oidentd">Enable oidentd support</flag>
+ <flag name="freenode">Enables freenode-specific functionality.
+ Currently that is only support for mute lists (MODE #channel +q).</flag>
<flag name="noctcp">Disable the automatic CTCP VERSION reply which is often
exploited by malicious people to cause a DoS (reconnect due to flooding).
</flag>
+ <flag name="oidentd">Enable oidentd support</flag>
</use>
</pkgmetadata>