1 |
commit: d381f6e4ebd9f79e122c9d33bb1a580697a68662 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 16:31:47 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 4 16:32:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d381f6e4 |
7 |
|
8 |
dev-libs/librelp: bump to v1.2.17 |
9 |
|
10 |
- EAPI bumped to EAPI=7 |
11 |
|
12 |
- You can now use OpenSSL (or LibreSSL) instead of GnuTLS |
13 |
for TLS engine. |
14 |
|
15 |
Package-Manager: Portage-2.3.44, Repoman-2.3.10 |
16 |
|
17 |
dev-libs/librelp/Manifest | 1 + |
18 |
dev-libs/librelp/librelp-1.2.17.ebuild | 75 ++++++++++++++++++++++++++++++++++ |
19 |
dev-libs/librelp/metadata.xml | 21 ++++++---- |
20 |
3 files changed, 89 insertions(+), 8 deletions(-) |
21 |
|
22 |
diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest |
23 |
index 20fcff97328..4c77fba5632 100644 |
24 |
--- a/dev-libs/librelp/Manifest |
25 |
+++ b/dev-libs/librelp/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST librelp-1.2.16.tar.gz 474456 BLAKE2B b528aaa66e9d52d5304510f86400067e1baea44be487f8cb176aeb146924bc35af24a403e849376e74614fb060093b48a3afe9d6c5da56bbf4dc37a6740478cc SHA512 54c101281c94046e4f8d6f77e73ab52874408e62c77f3dfa29ec0b294f39c216637674cc0bf1b7e04173557b3f21bfa74b7be1aafa3ff2771acd41d1d067d3a3 |
28 |
+DIST librelp-1.2.17.tar.gz 506426 BLAKE2B 998d2845263655a43d0cb002c4538663047f2e07f62d6a870bf93e435c4b2d100a3cc9e4ab711233e9c1f73aedd8771e116b7c7139d2ad6d1baa7c483b2867a1 SHA512 4f69d3e4bc3052c0488a01def49dab16b54fc4a092e06f8776415cb1eca2282702a37497e43baf98fc038853d373116d6b58515c9ad91fae91fb3eb84706890f |
29 |
|
30 |
diff --git a/dev-libs/librelp/librelp-1.2.17.ebuild b/dev-libs/librelp/librelp-1.2.17.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..ffce4fe9ec9 |
33 |
--- /dev/null |
34 |
+++ b/dev-libs/librelp/librelp-1.2.17.ebuild |
35 |
@@ -0,0 +1,75 @@ |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI="7" |
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.4.0" |
51 |
+ |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" |
53 |
+IUSE="debug doc +ssl +gnutls libressl openssl static-libs" |
54 |
+REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) ) |
55 |
+ gnutls? ( ssl ) |
56 |
+ openssl? ( ssl ) |
57 |
+ libressl? ( openssl )" |
58 |
+ |
59 |
+RDEPEND="ssl? ( |
60 |
+ gnutls? ( >=net-libs/gnutls-3.3.17.1:0= ) |
61 |
+ openssl? ( |
62 |
+ !libressl? ( dev-libs/openssl:0= ) |
63 |
+ libressl? ( dev-libs/libressl:0= ) |
64 |
+ ) |
65 |
+ )" |
66 |
+ |
67 |
+DEPEND="ssl? ( |
68 |
+ gnutls? ( >=net-libs/gnutls-3.3.17.1:0= ) |
69 |
+ openssl? ( |
70 |
+ !libressl? ( dev-libs/openssl:0= ) |
71 |
+ libressl? ( dev-libs/libressl:0= ) |
72 |
+ ) |
73 |
+ ) |
74 |
+ virtual/pkgconfig" |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ sed -i \ |
78 |
+ -e 's/ -g"/"/g' \ |
79 |
+ configure.ac || die "sed failed" |
80 |
+ |
81 |
+ default |
82 |
+ |
83 |
+ eautoreconf |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local myeconfargs=( |
88 |
+ --disable-valgrind |
89 |
+ $(use_enable debug) |
90 |
+ $(use_enable gnutls tls) |
91 |
+ $(use_enable openssl tls-openssl) |
92 |
+ $(use_enable static-libs static) |
93 |
+ ) |
94 |
+ |
95 |
+ econf "${myeconfargs[@]}" |
96 |
+} |
97 |
+ |
98 |
+src_test() { |
99 |
+ emake -j1 check |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ local DOCS=( ChangeLog ) |
104 |
+ use doc && local HTML_DOCS=( doc/relp.html ) |
105 |
+ default |
106 |
+ |
107 |
+ if ! use static-libs; then |
108 |
+ find "${ED}"usr/lib* -name '*.la' -delete || die |
109 |
+ fi |
110 |
+} |
111 |
|
112 |
diff --git a/dev-libs/librelp/metadata.xml b/dev-libs/librelp/metadata.xml |
113 |
index 4fca09fb733..17b00e2ac3e 100644 |
114 |
--- a/dev-libs/librelp/metadata.xml |
115 |
+++ b/dev-libs/librelp/metadata.xml |
116 |
@@ -1,12 +1,17 @@ |
117 |
<?xml version="1.0" encoding="UTF-8"?> |
118 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
119 |
<pkgmetadata> |
120 |
-<maintainer type="person"> |
121 |
- <email>whissi@g.o</email> |
122 |
- <name>Thomas Deutschmann</name> |
123 |
-</maintainer> |
124 |
-<maintainer type="person"> |
125 |
- <email>dev-zero@g.o</email> |
126 |
- <name>Tiziano Müller</name> |
127 |
-</maintainer> |
128 |
+ <maintainer type="person"> |
129 |
+ <email>whissi@g.o</email> |
130 |
+ <name>Thomas Deutschmann</name> |
131 |
+ </maintainer> |
132 |
+ <maintainer type="person"> |
133 |
+ <email>dev-zero@g.o</email> |
134 |
+ <name>Tiziano Müller</name> |
135 |
+ </maintainer> |
136 |
+ <use> |
137 |
+ <flag name="gnutls">Use GnuTLS</flag> |
138 |
+ <flag name="libressl">Use LibreSSL</flag> |
139 |
+ <flag name="openssl">Use OpenSSL</flag> |
140 |
+ </use> |
141 |
</pkgmetadata> |