Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/bip: ChangeLog bip-0.8.5-r1.ebuild
Date: Thu, 09 Sep 2010 14:52:49
Message-Id: 20100909145243.3607120051@flycatcher.gentoo.org
1 a3li 10/09/09 14:52:43
2
3 Modified: ChangeLog
4 Added: bip-0.8.5-r1.ebuild
5 Log:
6 Revbump to fix CVE-2010-3071 (remote DoS), bug 336321.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 net-irc/bip/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/bip/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/bip/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/bip/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/bip/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 7 Aug 2010 16:41:44 -0000 1.15
23 +++ ChangeLog 9 Sep 2010 14:52:42 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-irc/bip
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/ChangeLog,v 1.15 2010/08/07 16:41:44 a3li Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/ChangeLog,v 1.16 2010/09/09 14:52:42 a3li Exp $
29 +
30 +*bip-0.8.5-r1 (09 Sep 2010)
31 +
32 + 09 Sep 2010; Alex Legler <a3li@g.o> +bip-0.8.5-r1.ebuild,
33 + +files/bip-CVE-2010-3071.patch:
34 + Revbump to fix CVE-2010-3071 (remote DoS), bug 336321.
35
36 07 Aug 2010; Alex Legler <a3li@g.o> bip-0.8.5.ebuild,
37 +files/bip-configure.patch:
38
39
40
41 1.1 net-irc/bip/bip-0.8.5-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/bip/bip-0.8.5-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/bip/bip-0.8.5-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bip-0.8.5-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-irc/bip/bip-0.8.5-r1.ebuild,v 1.1 2010/09/09 14:52:43 a3li Exp $
51
52 EAPI="2"
53 inherit eutils autotools
54
55 DESCRIPTION="Multiuser IRC proxy with ssl support"
56 HOMEPAGE="http://bip.t1r.net/"
57 SRC_URI="http://bip.t1r.net/downloads/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="debug freenode noctcp ssl vim-syntax oidentd"
63
64 DEPEND="ssl? ( dev-libs/openssl )"
65 RDEPEND="${DEPEND}
66 vim-syntax? ( || ( app-editors/vim
67 app-editors/gvim ) )
68 oidentd? ( >=net-misc/oidentd-2.0 )"
69
70 src_prepare() {
71 epatch "${FILESDIR}/${PN}-configure.patch" || die
72 epatch "${FILESDIR}/${PN}-CVE-2010-3071.patch" || die
73
74 eautoreconf
75
76 if use noctcp; then
77 sed -i -e '/irc_privmsg_check_ctcp(server, line);/s:^://:' src/irc.c || die
78 fi
79
80 if use freenode; then
81 epatch "${FILESDIR}/${PN}-freenode.patch" || die
82 fi
83 }
84
85 src_configure() {
86 econf \
87 $(use_with ssl openssl) \
88 $(use_enable debug) \
89 $(use_enable oidentd)
90 }
91
92 src_compile() {
93 # Parallel make fails.
94 emake -j1 || die "emake failed"
95 }
96
97 src_install() {
98 dobin src/bip src/bipmkpw || die "dobin failed"
99
100 dodoc AUTHORS ChangeLog README NEWS TODO || die "dodoc failed"
101 newdoc samples/bip.conf bip.conf.sample || die "newdoc failed"
102 doman bip.1 bip.conf.5 bipmkpw.1 || die "doman failed"
103
104 if use vim-syntax; then
105 insinto /usr/share/vim/vimfiles/syntax
106 doins samples/bip.vim || die "doins failed"
107 insinto /usr/share/vim/vimfiles/ftdetect
108 doins "${FILESDIR}"/bip.vim || die "doins failed"
109 fi
110 }
111
112 pkg_postinst() {
113 elog 'The default configuration file is "~/.bip/bip.conf"'
114 elog "You can find a sample configuration file in"
115 elog "/usr/share/doc/${PF}/bip.conf.sample"
116 }