1 |
commit: f388a3351b0bfdb1233211eefbc1e0d98b892190 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 8 17:14:39 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 8 17:15:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f388a335 |
7 |
|
8 |
net-irc/bip: version bump to solve CVE-2011-5268 and CVE-2013-4550 |
9 |
|
10 |
Gentoo-bug: 490772 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-irc/bip/Manifest | 1 + |
15 |
net-irc/bip/bip-0.8.9.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/net-irc/bip/Manifest b/net-irc/bip/Manifest |
19 |
index bf166b4..7f1005f 100644 |
20 |
--- a/net-irc/bip/Manifest |
21 |
+++ b/net-irc/bip/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST bip-0.8.8.tar.gz 220232 SHA256 7ca3fb96f5ee6b76eb398d7ea45344ea24855344ced11632241a33353bba05d7 SHA512 acd62a61379290088320567b299b9d2e236c24aea7c83c4bfb7dedba9727868fb931d7e2eb663c9041794c26583bcc923072049cb42eef0d13702f284bae2b34 WHIRLPOOL b2e5f7a1328832fce7b3c7eb706ec87e7eb023043e714dbc554126730d2e9dc37af2d127e15ef024fff1e95b9dd22351cd48b3b115b58b9fd9ecbdd92f20cda1 |
24 |
+DIST bip-0.8.9.tar.gz 256711 SHA256 3c950f71ef91c8b686e6835f9b722aa7ccb88d3da4ec1af19617354fd3132461 SHA512 572adb6e0982d74a39b0380ef6af51ba7f55b880f78e110b93e09616e6345bb4a9a60475df644ec891cae368287d502ba00bbf734370ba50c57b29de6934c138 WHIRLPOOL ffad5a0a525a09e6d31537dd4238353ac820a874f18a9590f039419e9d2b7aff4f92a1882f02db450e9e88957adbc4bc4eb993fbff01f7327bcdd02d0b1b6e6d |
25 |
|
26 |
diff --git a/net-irc/bip/bip-0.8.9.ebuild b/net-irc/bip/bip-0.8.9.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..bfa178e |
29 |
--- /dev/null |
30 |
+++ b/net-irc/bip/bip-0.8.9.ebuild |
31 |
@@ -0,0 +1,66 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
37 |
+inherit eutils |
38 |
+ |
39 |
+DESCRIPTION="Multiuser IRC proxy with SSL support" |
40 |
+HOMEPAGE="http://bip.milkypond.org/" |
41 |
+SRC_URI="ftp://ftp.duckcorp.org/bip/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="debug freenode noctcp oidentd vim-syntax" |
47 |
+ |
48 |
+COMMON_DEPEND=" |
49 |
+ dev-libs/openssl:0 |
50 |
+" |
51 |
+DEPEND="${COMMON_DEPEND} |
52 |
+ sys-devel/flex |
53 |
+ virtual/yacc |
54 |
+" |
55 |
+RDEPEND="${COMMON_DEPEND} |
56 |
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
57 |
+ oidentd? ( >=net-misc/oidentd-2.0 ) |
58 |
+" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ if use noctcp; then |
62 |
+ sed -i -e '/irc_privmsg_check_ctcp(server, line);/s:^://:' src/irc.c || die |
63 |
+ fi |
64 |
+ |
65 |
+ if use freenode; then |
66 |
+ epatch "${FILESDIR}/${PN}-freenode.patch" || die |
67 |
+ fi |
68 |
+ |
69 |
+ sed -i -e "s/-Werror//" Makefile.in || die |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ $(use_enable debug) \ |
75 |
+ $(use_enable oidentd) |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ dobin src/bip src/bipmkpw |
80 |
+ |
81 |
+ dodoc AUTHORS ChangeLog README NEWS TODO |
82 |
+ newdoc samples/bip.conf bip.conf.sample |
83 |
+ doman bip.1 bip.conf.5 bipmkpw.1 |
84 |
+ |
85 |
+ if use vim-syntax; then |
86 |
+ insinto /usr/share/vim/vimfiles/syntax |
87 |
+ doins samples/bip.vim |
88 |
+ insinto /usr/share/vim/vimfiles/ftdetect |
89 |
+ doins "${FILESDIR}"/bip.vim |
90 |
+ fi |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ elog 'The default configuration file is "~/.bip/bip.conf"' |
95 |
+ elog "You can find a sample configuration file in" |
96 |
+ elog "/usr/share/doc/${PF}/bip.conf.sample" |
97 |
+} |