Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/wvstreams: wvstreams-4.6.1-r1.ebuild ChangeLog wvstreams-4.6.1-r2.ebuild
Date: Wed, 06 Jun 2012 20:34:00
Message-Id: 20120606203349.E36E32004B@flycatcher.gentoo.org
1 ssuominen 12/06/06 20:33:49
2
3 Modified: wvstreams-4.6.1-r1.ebuild ChangeLog
4 Added: wvstreams-4.6.1-r2.ebuild
5 Log:
6 Pass --localstatedir=/var to correct uniconfd.ini location. Use -fno-strict-aliasing since this package is not ready for aliasing. Fix compability with sys-devel/gcc >= 4.7 wrt #419563 and #419971 by Ioannis Galanomatis. inherit eutils for epatch
7
8 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild?r1=1.8&r2=1.9
16
17 Index: wvstreams-4.6.1-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- wvstreams-4.6.1-r1.ebuild 5 May 2012 02:54:29 -0000 1.8
24 +++ wvstreams-4.6.1-r1.ebuild 6 Jun 2012 20:33:49 -0000 1.9
25 @@ -1,9 +1,9 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild,v 1.8 2012/05/05 02:54:29 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r1.ebuild,v 1.9 2012/06/06 20:33:49 ssuominen Exp $
30
31 EAPI=2
32 -inherit autotools toolchain-funcs versionator
33 +inherit autotools eutils toolchain-funcs versionator
34
35 DESCRIPTION="A network programming library in C++"
36 HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
37
38
39
40 1.144 net-libs/wvstreams/ChangeLog
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?rev=1.144&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?rev=1.144&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?r1=1.143&r2=1.144
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v
49 retrieving revision 1.143
50 retrieving revision 1.144
51 diff -u -r1.143 -r1.144
52 --- ChangeLog 5 May 2012 02:54:29 -0000 1.143
53 +++ ChangeLog 6 Jun 2012 20:33:49 -0000 1.144
54 @@ -1,6 +1,19 @@
55 # ChangeLog for net-libs/wvstreams
56 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.143 2012/05/05 02:54:29 jdhore Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.144 2012/06/06 20:33:49 ssuominen Exp $
59 +
60 + 06 Jun 2012; Samuli Suominen <ssuominen@g.o>
61 + wvstreams-4.6.1-r1.ebuild:
62 + inherit eutils for epatch
63 +
64 +*wvstreams-4.6.1-r2 (06 Jun 2012)
65 +
66 + 06 Jun 2012; Samuli Suominen <ssuominen@g.o>
67 + +wvstreams-4.6.1-r2.ebuild, +files/wvstreams-4.6.1-gcc47.patch:
68 + Pass --localstatedir=/var to correct uniconfd.ini location. Use
69 + -fno-strict-aliasing since this package is not ready for aliasing. Fix
70 + compability with sys-devel/gcc >= 4.7 wrt #419563 and #419971 by Ioannis
71 + Galanomatis.
72
73 05 May 2012; Jeff Horelick <jdhore@g.o> wvstreams-4.6.1-r1.ebuild:
74 dev-util/pkgconfig -> virtual/pkgconfig
75
76
77
78 1.1 net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild?rev=1.1&content-type=text/plain
82
83 Index: wvstreams-4.6.1-r2.ebuild
84 ===================================================================
85 # Copyright 1999-2012 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild,v 1.1 2012/06/06 20:33:49 ssuominen Exp $
88
89 EAPI=4
90 inherit autotools eutils flag-o-matic toolchain-funcs versionator
91
92 DESCRIPTION="A network programming library in C++"
93 HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
94 SRC_URI="http://wvstreams.googlecode.com/files/${P}.tar.gz"
95
96 LICENSE="GPL-2"
97 SLOT="0"
98 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
99 IUSE="pam doc +ssl +dbus debug"
100
101 #Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
102 RESTRICT="test"
103
104 #QA Fail: xplc is compiled as a part of wvstreams.
105 #It'll take a larger patching effort to get it extracted, since upstream integrated it
106 #more tightly this time. Probably for the better since upstream xplc seems dead.
107
108 RDEPEND="sys-libs/readline
109 sys-libs/zlib
110 dbus? ( >=sys-apps/dbus-1.4.20 )
111 dev-libs/openssl:0
112 pam? ( sys-libs/pam )
113 virtual/c++-tr1-functional"
114 DEPEND="${RDEPEND}
115 virtual/pkgconfig
116 doc? ( app-doc/doxygen )"
117
118 DOCS="ChangeLog README*"
119
120 pkg_setup() {
121 if has_version '>=sys-devel/gcc-4.1' && ! has_version '>=dev-libs/boost-1.34.1'
122 then
123 if ! version_is_at_least 4.1 "$(gcc-fullversion)"
124 then
125 eerror "This package requires the active gcc to be at least version 4.1"
126 eerror "or >=dev-libs/boost-1.34.1 must be installed."
127 die "Please activate >=sys-devel/gcc-4.1 with gcc-config."
128 fi
129 fi
130 }
131
132 src_prepare() {
133 epatch \
134 "${FILESDIR}"/${P}-parallel-make.patch \
135 "${FILESDIR}"/${P}-openssl-1.0.0.patch \
136 "${FILESDIR}"/${P}-glibc212.patch \
137 "${FILESDIR}"/${P}-gcc47.patch
138
139 eautoreconf
140 pushd argp >/dev/null
141 eautoreconf
142 popd >/dev/null
143 }
144
145 src_configure() {
146 append-flags -fno-strict-aliasing
147 tc-export CXX
148
149 econf \
150 --localstatedir=/var \
151 $(use_enable debug) \
152 --disable-optimization \
153 $(use_with dbus) \
154 --with-openssl \
155 $(use_with pam) \
156 --without-tcl \
157 --without-qt \
158 --with-zlib \
159 --without-valgrind
160 }
161
162 src_compile() {
163 default
164
165 if use doc; then
166 doxygen || die
167 fi
168 }
169
170 src_test() {
171 emake test
172 }
173
174 src_install() {
175 default
176
177 if use doc; then
178 #the list of files is too big for dohtml -r Docs/doxy-html/*
179 cd Docs/doxy-html
180 dohtml -r *
181 fi
182 }