Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.13-r1.ebuild rb_libtorrent-0.14.2.ebuild rb_libtorrent-0.13.1.ebuild rb_libtorrent-0.13_p2335.ebuild rb_libtorrent-0.12.1.ebuild rb_libtorrent-0.14.1.ebuild
Date: Sun, 28 Jun 2009 00:03:29
Message-Id: E1MKhrE-0005BA-Fe@stork.gentoo.org
1 yngwin 09/06/28 00:02:56
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.13-r1.ebuild
5 Removed: rb_libtorrent-0.14.2.ebuild
6 rb_libtorrent-0.13.1.ebuild
7 rb_libtorrent-0.13_p2335.ebuild
8 rb_libtorrent-0.12.1.ebuild
9 rb_libtorrent-0.14.1.ebuild
10 Log:
11 Cleanup, add 0.13-r1 with security fix for bug 273156, various other fixes
12 (Portage version: 2.2_rc33/cvs/Linux x86_64)
13
14 Revision Changes Path
15 1.59 net-libs/rb_libtorrent/ChangeLog
16
17 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.59&view=markup
18 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.59&content-type=text/plain
19 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.58&r2=1.59
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
24 retrieving revision 1.58
25 retrieving revision 1.59
26 diff -u -r1.58 -r1.59
27 --- ChangeLog 27 Jun 2009 12:56:43 -0000 1.58
28 +++ ChangeLog 28 Jun 2009 00:02:56 -0000 1.59
29 @@ -1,6 +1,25 @@
30 # ChangeLog for net-libs/rb_libtorrent
31 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.58 2009/06/27 12:56:43 yngwin Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.59 2009/06/28 00:02:56 yngwin Exp $
34 +
35 +*rb_libtorrent-0.13-r1 (27 Jun 2009)
36 +
37 + 27 Jun 2009; Ben de Groot <yngwin@g.o>
38 + -rb_libtorrent-0.12.1.ebuild, +rb_libtorrent-0.13-r1.ebuild,
39 + -rb_libtorrent-0.13_p2335.ebuild,
40 + +files/rb_libtorrent-0.13-CVE-2009-1760.patch,
41 + -rb_libtorrent-0.13.1.ebuild, +files/rb_libtorrent-0.13-boost-1.37.patch,
42 + +files/rb_libtorrent-0.13-gcc44.patch, -rb_libtorrent-0.14.1.ebuild,
43 + -rb_libtorrent-0.14.2.ebuild:
44 + Remove all older ebuilds, except for latest stable.
45 + Add 0.13-r1 with the following changes:
46 + - add security patch for CVE-2009-1760 (bug 273156)
47 + - add patch to fix building with boost-1.37 (bug 270447)
48 + - migrate to EAPI=2 and general cleanup
49 + - use append-ldflags from flag-o-matic.eclass
50 + - disable as-needed for now (bug 271818)
51 + - add minor patch to fix compilation with gcc-4.4
52 + - add doc useflag to install HTML documentation
53
54 27 Jun 2009; Ben de Groot <yngwin@g.o> metadata.xml:
55 Add qt herd as co-maintainer, as this is a dependency of qbittorrent
56
57
58
59 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.13-r1.ebuild
60
61 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13-r1.ebuild?rev=1.1&view=markup
62 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13-r1.ebuild?rev=1.1&content-type=text/plain
63
64 Index: rb_libtorrent-0.13-r1.ebuild
65 ===================================================================
66 # Copyright 1999-2009 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68 # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.13-r1.ebuild,v 1.1 2009/06/28 00:02:56 yngwin Exp $
69
70 EAPI="2"
71 inherit eutils flag-o-matic
72
73 MY_P=${P/rb_/}
74 S=${WORKDIR}/${MY_P}
75
76 DESCRIPTION="A C++ BitTorrent implementation focusing on efficiency and scalability"
77 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
78 SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
79
80 LICENSE="BSD"
81 SLOT="0"
82 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
83 IUSE="debug doc"
84
85 DEPEND="|| ( >=dev-libs/boost-1.34.1
86 ~dev-libs/boost-1.33.1[threads] )
87 !net-libs/libtorrent"
88 RDEPEND="${DEPEND}"
89
90 src_prepare() {
91 epatch "${FILESDIR}"/${P}-CVE-2009-1760.patch # bug 273156
92 epatch "${FILESDIR}"/${P}-boost-1.37.patch # bug 270447
93 epatch "${FILESDIR}"/${P}-gcc44.patch
94 }
95
96 src_configure() {
97 append-ldflags -pthread
98
99 # fails with as-needed, bug 271818
100 append-ldflags -Wl,--no-as-needed
101
102 # use multi-threaded boost libs
103 local BOOST_LIBS="--with-boost-date-time=boost_date_time-mt \
104 --with-boost-filesystem=boost_filesystem-mt \
105 --with-boost-thread=boost_thread-mt \
106 --with-boost-regex=boost_regex-mt \
107 --with-boost-program_options=boost_program_options-mt"
108
109 econf $(use_enable debug) ${BOOST_LIBS}
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die "emake install failed"
114 dodoc ChangeLog AUTHORS NEWS README || die "dodoc failed"
115 if use doc ; then
116 dohtml docs/* || die "Could not install HTML documentation"
117 fi
118 }