Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librelp/
Date: Mon, 07 Mar 2016 15:48:23
Message-Id: 1457363789.bcdaa01b11a2b4c5dee4b7c030a7e88148f6e6e5.idella4@gentoo
1 commit: bcdaa01b11a2b4c5dee4b7c030a7e88148f6e6e5
2 Author: Thomas D <whissi <AT> whissi <DOT> de>
3 AuthorDate: Mon Mar 7 15:16:29 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 7 15:16:29 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcdaa01b
7
8 dev-libs/librelp: Bump to v1.2.9 (Fixes #562138, wrt bug #576708)
9
10 - librelp no longer require GNUtls
11 - Bumped to EAPI=6
12
13 Bug: https://bugs.gentoo.org/show_bug.cgi?id=576708
14
15 Package-Manager: portage-2.2.27
16
17 dev-libs/librelp/Manifest | 1 +
18 dev-libs/librelp/librelp-1.2.9.ebuild | 56 +++++++++++++++++++++++++++++++++++
19 2 files changed, 57 insertions(+)
20
21 diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest
22 index 64c28ef..2b5b121 100644
23 --- a/dev-libs/librelp/Manifest
24 +++ b/dev-libs/librelp/Manifest
25 @@ -1 +1,2 @@
26 DIST librelp-1.2.7.tar.gz 410896 SHA256 3a434a1c71772706104cfb1c93ba8e6809d257851d60de29ac2142c60c68d7d1 SHA512 f8a71ad037cb5eaeb807b1bcb942893e2d10bcd57b18764bb13700c8e114d59de37b1b36560288abac18a07b6cb2920b46feaef4ae629aa0b3478ed16723542a WHIRLPOOL 784f291d0318b29be33bcd4bdd41e04c2e0fc8f292c6cb7f5985743559aa65f3c10932680f943e065ebf34e3f62c75bf2ed5500aebe0b7ab2fa7e64ced37cc44
27 +DIST librelp-1.2.9.tar.gz 415909 SHA256 520de7ba3dc688dc72c5b014dc61ef191e9528f77d1651ddca55fc0c149d98a3 SHA512 2d30fdb1946d8c0484de26a741bf187016b8639a702e3a1d42aa390a34931be46064bdb2552950a078366fe2705644db8c6a6015ced2ce14d3d2488527cf0819 WHIRLPOOL ae7095cdf93c2057f34aeee0cf0622284c39f9e84672baa9ff6296b50438cba4d8893114962b2b6f8feb68c0313057edb5fde3060e4fdffb904626a84e7a9690
28
29 diff --git a/dev-libs/librelp/librelp-1.2.9.ebuild b/dev-libs/librelp/librelp-1.2.9.ebuild
30 new file mode 100644
31 index 0000000..96db26a
32 --- /dev/null
33 +++ b/dev-libs/librelp/librelp-1.2.9.ebuild
34 @@ -0,0 +1,56 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +
41 +inherit autotools
42 +
43 +DESCRIPTION="An easy to use library for the RELP protocol"
44 +HOMEPAGE="http://www.librelp.com/"
45 +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="GPL-3 doc? ( FDL-1.3 )"
48 +
49 +# subslot = soname version
50 +SLOT="0/0.1.0"
51 +
52 +KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
53 +IUSE="debug doc +ssl static-libs"
54 +
55 +RDEPEND="
56 + ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
57 +"
58 +
59 +DEPEND="
60 + ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
61 + virtual/pkgconfig
62 +"
63 +
64 +src_prepare() {
65 + sed -i \
66 + -e 's/ -g"/"/g' \
67 + configure.ac || die "sed failed"
68 +
69 + default
70 +
71 + eautoreconf
72 +}
73 +
74 +src_configure() {
75 + local myeconfargs=(
76 + $(use_enable debug)
77 + $(use_enable ssl tls)
78 + $(use_enable static-libs static)
79 + )
80 +
81 + econf "${myeconfargs[@]}"
82 +}
83 +
84 +src_install() {
85 + local DOCS=( ChangeLog )
86 + use doc && local HTML_DOCS=( doc/relp.html )
87 + default
88 +
89 + find "${ED}"usr/lib* -name '*.la' -delete
90 +}