Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/znc: ChangeLog znc-0.202-r1.ebuild znc-0.202.ebuild
Date: Sun, 08 Jan 2012 18:20:19
Message-Id: 20120108182008.86F312004B@flycatcher.gentoo.org
1 wired 12/01/08 18:20:08
2
3 Modified: ChangeLog
4 Added: znc-0.202-r1.ebuild
5 Removed: znc-0.202.ebuild
6 Log:
7 security: bouncedcc dos fix - bug #398159
8
9 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.54 net-irc/znc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/ChangeLog?rev=1.54&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/ChangeLog?rev=1.54&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/ChangeLog?r1=1.53&r2=1.54
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v
21 retrieving revision 1.53
22 retrieving revision 1.54
23 diff -u -r1.53 -r1.54
24 --- ChangeLog 30 Oct 2011 22:35:45 -0000 1.53
25 +++ ChangeLog 8 Jan 2012 18:20:08 -0000 1.54
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-irc/znc
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.53 2011/10/30 22:35:45 wired Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.54 2012/01/08 18:20:08 wired Exp $
32 +
33 +*znc-0.202-r1 (08 Jan 2012)
34 +
35 + 08 Jan 2012; Alex Alexander <wired@g.o> -znc-0.202.ebuild,
36 + +znc-0.202-r1.ebuild, +files/znc-0.202-bouncedcc-dos-fix.patch:
37 + security: bouncedcc dos fix - bug #398159
38
39 30 Oct 2011; Alex Alexander <wired@g.o> -znc-0.096.ebuild,
40 -znc-0.096-r1.ebuild, -znc-0.098.ebuild, -znc-0.200.ebuild, znc-0.202.ebuild,
41
42
43
44 1.1 net-irc/znc/znc-0.202-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/znc-0.202-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/znc-0.202-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: znc-0.202-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-0.202-r1.ebuild,v 1.1 2012/01/08 18:20:08 wired Exp $
54
55 EAPI=2
56
57 PYTHON_DEPEND="python? 3"
58 inherit base python
59
60 DESCRIPTION="An advanced IRC Bouncer"
61 HOMEPAGE="http://znc.sourceforge.net"
62 SRC_URI="http://znc.in/releases/archive/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~x86"
67 IUSE="ares debug extras ipv6 perl python ssl sasl tcl"
68
69 RDEPEND="
70 ares? ( >=net-dns/c-ares-1.5 )
71 perl? ( >=dev-lang/perl-5.10 )
72 sasl? ( >=dev-libs/cyrus-sasl-2 )
73 ssl? ( >=dev-libs/openssl-0.9.7d )
74 tcl? ( dev-lang/tcl )
75 "
76 DEPEND="
77 dev-util/pkgconfig
78 perl? ( dev-lang/swig )
79 python? (
80 >=dev-lang/swig-2.0.2
81 >=dev-lang/perl-5.10
82 )
83 ${RDEPEND}
84 "
85
86 pkg_setup() {
87 if use python; then
88 python_set_active_version 3
89 python_pkg_setup
90 fi
91 }
92
93 src_prepare() {
94 # security fix, bug #398159
95 epatch "${FILESDIR}"/"${P}"-bouncedcc-dos-fix.patch
96 }
97
98 src_configure() {
99 econf \
100 $(use_enable ares c-ares) \
101 $(use_enable debug) \
102 $(use_enable extras extra) \
103 $(use_enable ipv6) \
104 $(use_enable perl) \
105 $(use python && echo "--enable-python=python-$(python_get_version)") \
106 $(use_enable sasl) \
107 $(use_enable ssl openssl) \
108 $(use_enable tcl tcl) \
109 || die "econf failed"
110 }
111
112 src_install() {
113 emake install DESTDIR="${D}" || die "make install failed."
114 dodoc AUTHORS README.md || die "dodoc failed"
115 }
116
117 pkg_postinst() {
118 elog
119 elog "Run 'znc --makeconf' as the user you want to run ZNC as"
120 elog "to make a configuration file"
121 elog "If you are using SSL you should also run 'znc --makepem'"
122 elog
123 }