Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librelp/
Date: Wed, 26 Sep 2018 22:57:12
Message-Id: 1538002613.4aee5b11ef13851c912baa5df23bd77d29781b2e.whissi@gentoo
1 commit: 4aee5b11ef13851c912baa5df23bd77d29781b2e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 26 22:56:24 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 26 22:56:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aee5b11
7
8 dev-libs/librelp: bump to v1.2.18
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 dev-libs/librelp/Manifest | 1 +
14 dev-libs/librelp/librelp-1.2.18.ebuild | 75 ++++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+)
16
17 diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest
18 index 4c77fba5632..487a22d06de 100644
19 --- a/dev-libs/librelp/Manifest
20 +++ b/dev-libs/librelp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST librelp-1.2.16.tar.gz 474456 BLAKE2B b528aaa66e9d52d5304510f86400067e1baea44be487f8cb176aeb146924bc35af24a403e849376e74614fb060093b48a3afe9d6c5da56bbf4dc37a6740478cc SHA512 54c101281c94046e4f8d6f77e73ab52874408e62c77f3dfa29ec0b294f39c216637674cc0bf1b7e04173557b3f21bfa74b7be1aafa3ff2771acd41d1d067d3a3
23 DIST librelp-1.2.17.tar.gz 506426 BLAKE2B 998d2845263655a43d0cb002c4538663047f2e07f62d6a870bf93e435c4b2d100a3cc9e4ab711233e9c1f73aedd8771e116b7c7139d2ad6d1baa7c483b2867a1 SHA512 4f69d3e4bc3052c0488a01def49dab16b54fc4a092e06f8776415cb1eca2282702a37497e43baf98fc038853d373116d6b58515c9ad91fae91fb3eb84706890f
24 +DIST librelp-1.2.18.tar.gz 506766 BLAKE2B 939bd2279e03a6431fbdfb787aa3d62b3f622ec3248dfc7c0a0a141294c27319081092a624c328374cdba0cbd51659301a77ad41bed27ba13f47601f7a607944 SHA512 7193438238b7019e7a4944d6d900a1fa5a369ff8a6b97a6dca7e82b6637c0f391ec3554eeeaa285881457cb2abe72fa1a893244ec9a36cc9d2e2592d58c5462a
25
26 diff --git a/dev-libs/librelp/librelp-1.2.18.ebuild b/dev-libs/librelp/librelp-1.2.18.ebuild
27 new file mode 100644
28 index 00000000000..b57bbb9097e
29 --- /dev/null
30 +++ b/dev-libs/librelp/librelp-1.2.18.ebuild
31 @@ -0,0 +1,75 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="An easy to use library for the RELP protocol"
40 +HOMEPAGE="http://www.librelp.com/"
41 +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-3+ doc? ( FDL-1.3 )"
44 +
45 +# subslot = soname version
46 +SLOT="0/0.4.0"
47 +
48 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
49 +IUSE="debug doc +ssl +gnutls libressl openssl static-libs"
50 +REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )
51 + gnutls? ( ssl )
52 + openssl? ( ssl )
53 + libressl? ( openssl )"
54 +
55 +RDEPEND="ssl? (
56 + gnutls? ( >=net-libs/gnutls-3.3.17.1:0= )
57 + openssl? (
58 + !libressl? ( dev-libs/openssl:0= )
59 + libressl? ( dev-libs/libressl:0= )
60 + )
61 + )"
62 +
63 +DEPEND="ssl? (
64 + gnutls? ( >=net-libs/gnutls-3.3.17.1:0= )
65 + openssl? (
66 + !libressl? ( dev-libs/openssl:0= )
67 + libressl? ( dev-libs/libressl:0= )
68 + )
69 + )
70 + virtual/pkgconfig"
71 +
72 +src_prepare() {
73 + sed -i \
74 + -e 's/ -g"/"/g' \
75 + configure.ac || die "sed failed"
76 +
77 + default
78 +
79 + eautoreconf
80 +}
81 +
82 +src_configure() {
83 + local myeconfargs=(
84 + --disable-valgrind
85 + $(use_enable debug)
86 + $(use_enable gnutls tls)
87 + $(use_enable openssl tls-openssl)
88 + $(use_enable static-libs static)
89 + )
90 +
91 + econf "${myeconfargs[@]}"
92 +}
93 +
94 +src_test() {
95 + emake -j1 check
96 +}
97 +
98 +src_install() {
99 + local DOCS=( ChangeLog )
100 + use doc && local HTML_DOCS=( doc/relp.html )
101 + default
102 +
103 + if ! use static-libs; then
104 + find "${ED%/}"/usr/lib* -name '*.la' -delete || die
105 + fi
106 +}