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