Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libretls/
Date: Tue, 29 Dec 2020 12:11:04
Message-Id: 1609243140.2bae92ac0bae618d686ccbdc5186f3e7ad232f77.mgorny@gentoo
1 commit: 2bae92ac0bae618d686ccbdc5186f3e7ad232f77
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 11:59:00 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 11:59:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bae92ac
7
8 dev-libs/libretls: New package
9
10 LibreTLS is an implementation of LibreSSL's libtls repackaged
11 for compatibility with OpenSSL.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-libs/libretls/Manifest | 1 +
16 dev-libs/libretls/libretls-3.3.1.ebuild | 28 ++++++++++++++++++++++++++++
17 dev-libs/libretls/metadata.xml | 8 ++++++++
18 3 files changed, 37 insertions(+)
19
20 diff --git a/dev-libs/libretls/Manifest b/dev-libs/libretls/Manifest
21 new file mode 100644
22 index 00000000000..01df108e3ba
23 --- /dev/null
24 +++ b/dev-libs/libretls/Manifest
25 @@ -0,0 +1 @@
26 +DIST libretls-3.3.1.tar.gz 431233 BLAKE2B b935cae7bdd2e2338099dbc830e2773198d5d4ed12df80b89291d0eb8ae68549e36413c79ba1373d8bce8fd857c4a291fbd9bce30c819cc182bd5b68ac7b9527 SHA512 ddb4eb7c2c7e9cbb36ced17424ea0e08863488e6b3e18cd462ccc52b2eca685b5299f79ed6ba58ad4da2d742b61fa4857109a19137a1ee4c6cfdb48463080f4a
27
28 diff --git a/dev-libs/libretls/libretls-3.3.1.ebuild b/dev-libs/libretls/libretls-3.3.1.ebuild
29 new file mode 100644
30 index 00000000000..82e1f3e0b5a
31 --- /dev/null
32 +++ b/dev-libs/libretls/libretls-3.3.1.ebuild
33 @@ -0,0 +1,28 @@
34 +# Copyright 2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +DESCRIPTION="Port of libtls from LibreSSL to OpenSSL"
40 +HOMEPAGE="https://git.causal.agency/libretls/about/"
41 +SRC_URI="https://causal.agency/libretls/${P}.tar.gz"
42 +
43 +LICENSE="ISC"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +DEPEND="dev-libs/openssl:="
48 +RDEPEND=${DEPEND}
49 +BDEPEND="virtual/pkgconfig"
50 +
51 +src_configure() {
52 + local myconf=(
53 + --disable-static
54 + )
55 + econf "${myconf[@]}"
56 +}
57 +
58 +src_install() {
59 + default
60 + find "${D}" -name '*.la' -delete || die
61 +}
62
63 diff --git a/dev-libs/libretls/metadata.xml b/dev-libs/libretls/metadata.xml
64 new file mode 100644
65 index 00000000000..0319eec4c8b
66 --- /dev/null
67 +++ b/dev-libs/libretls/metadata.xml
68 @@ -0,0 +1,8 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <email>mgorny@g.o</email>
74 + <name>Michał Górny</name>
75 + </maintainer>
76 +</pkgmetadata>