Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xmlrpc-c: xmlrpc-c-1.32.05.ebuild ChangeLog
Date: Wed, 26 Dec 2012 12:04:39
Message-Id: 20121226120428.860A02171D@flycatcher.gentoo.org
1 maksbotan 12/12/26 12:04:28
2
3 Modified: ChangeLog
4 Added: xmlrpc-c-1.32.05.ebuild
5 Log:
6 Bump to 1.32.05, bug #443872. Thanks to slepnoga.
7
8 (Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.123 dev-libs/xmlrpc-c/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.123&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.123&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?r1=1.122&r2=1.123
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v
20 retrieving revision 1.122
21 retrieving revision 1.123
22 diff -u -r1.122 -r1.123
23 --- ChangeLog 31 Oct 2012 02:49:16 -0000 1.122
24 +++ ChangeLog 26 Dec 2012 12:04:28 -0000 1.123
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/xmlrpc-c
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.122 2012/10/31 02:49:16 ottxor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.123 2012/12/26 12:04:28 maksbotan Exp $
30 +
31 +*xmlrpc-c-1.32.05 (26 Dec 2012)
32 +
33 + 26 Dec 2012; Maxim Koltsov <maksbotan@g.o> +xmlrpc-c-1.32.05.ebuild:
34 + Bump to 1.32.05, bug #443872. Thanks to slepnoga.
35
36 31 Oct 2012; Christoph Junghans <ottxor@g.o> xmlrpc-c-1.29.02.ebuild:
37 added prefix keywords
38
39
40
41 1.1 dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xmlrpc-c-1.32.05.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild,v 1.1 2012/12/26 12:04:28 maksbotan Exp $
51
52 EAPI="4"
53
54 inherit eutils multilib
55
56 # Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
57 # We use "advanced" branch, so for the current release revision take look here:
58 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
59 # e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
60 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
61 # Note: autogenerated tarball checksum changes every download, thus download it
62 # manually and distribute on mirrors.
63 # It's possible to build net-libs/libwww without ssl support, but taking into
64 # account that libwww is not really well maintained and upstream is dead we
65 # better use it only in case ssl is required.
66
67 DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
68 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
69 SRC_URI="http://dev.gentoo.org/~maksbotan/${P}.tar.gz"
70
71 LICENSE="BSD"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-aix ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
74 IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads"
75
76 REQUIRED_USE="test? ( static-libs abyss curl cxx )"
77
78 DEPEND="
79 sys-libs/ncurses
80 sys-libs/readline
81 curl? ( net-misc/curl )
82 libxml2? ( dev-libs/libxml2 )"
83
84 RDEPEND="${DEPEND}"
85
86 S="${WORKDIR}/advanced"
87
88 pkg_setup() {
89 use curl || ewarn "Curl support disabled: No client library will be be built"
90 }
91
92 #Bug 214137: We need to filter this.
93 unset SRCDIR
94
95 # Bug 255440
96 export LC_ALL=C
97 export LANG=C
98
99 src_prepare() {
100 sed -i \
101 -e "/CFLAGS_COMMON/s|-g -O3$||" \
102 -e "/CXXFLAGS_COMMON/s|-g$||" \
103 "${S}"/common.mk || die
104
105 export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
106
107 use static-libs || { sed \
108 -e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
109 -i common.mk || die; }
110 }
111
112 src_configure() {
113 #Disable libwww support due GBZ #409549 and #320253
114
115 econf --disable-wininet-client \
116 $(use_enable libxml2 libxml2-backend) \
117 --disable-libwww-client \
118 --without-libwww-ssl \
119 $(use_enable threads abyss-threads) \
120 $(use_enable cgi cgi-server) \
121 $(use_enable abyss abyss-server) \
122 $(use_enable cxx cplusplus) \
123 $(use_enable curl curl-client)
124 }
125
126 src_compile() {
127 emake -r
128 }
129
130 src_test() {
131 unset LDFLAGS LADD SRCDIR
132 cd "${S}"/test/
133 einfo "Building general tests"
134 make || die "Make of general tests failed"
135 einfo "Running general tests"
136 ./test || die "General tests failed"
137 cd "${S}"/test/cpp/
138 einfo "Running C++ tests"
139 ./test || die "C++ tests failed"
140 }