diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-12-29 12:59:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-12-29 12:59:00 +0100 |
commit | 2bae92ac0bae618d686ccbdc5186f3e7ad232f77 (patch) | |
tree | e4726ee4d6afc15d0603c4745258514544d3c22d /dev-libs/libretls | |
parent | dev-python/setuptools: Use pytest-xdist (diff) | |
download | gentoo-2bae92ac0bae618d686ccbdc5186f3e7ad232f77.tar.gz gentoo-2bae92ac0bae618d686ccbdc5186f3e7ad232f77.tar.bz2 gentoo-2bae92ac0bae618d686ccbdc5186f3e7ad232f77.zip |
dev-libs/libretls: New package
LibreTLS is an implementation of LibreSSL's libtls repackaged
for compatibility with OpenSSL.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libretls')
-rw-r--r-- | dev-libs/libretls/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libretls/libretls-3.3.1.ebuild | 28 | ||||
-rw-r--r-- | dev-libs/libretls/metadata.xml | 8 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/libretls/Manifest b/dev-libs/libretls/Manifest new file mode 100644 index 000000000000..01df108e3ba7 --- /dev/null +++ b/dev-libs/libretls/Manifest @@ -0,0 +1 @@ +DIST libretls-3.3.1.tar.gz 431233 BLAKE2B b935cae7bdd2e2338099dbc830e2773198d5d4ed12df80b89291d0eb8ae68549e36413c79ba1373d8bce8fd857c4a291fbd9bce30c819cc182bd5b68ac7b9527 SHA512 ddb4eb7c2c7e9cbb36ced17424ea0e08863488e6b3e18cd462ccc52b2eca685b5299f79ed6ba58ad4da2d742b61fa4857109a19137a1ee4c6cfdb48463080f4a diff --git a/dev-libs/libretls/libretls-3.3.1.ebuild b/dev-libs/libretls/libretls-3.3.1.ebuild new file mode 100644 index 000000000000..82e1f3e0b5a8 --- /dev/null +++ b/dev-libs/libretls/libretls-3.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Port of libtls from LibreSSL to OpenSSL" +HOMEPAGE="https://git.causal.agency/libretls/about/" +SRC_URI="https://causal.agency/libretls/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/openssl:=" +RDEPEND=${DEPEND} +BDEPEND="virtual/pkgconfig" + +src_configure() { + local myconf=( + --disable-static + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libretls/metadata.xml b/dev-libs/libretls/metadata.xml new file mode 100644 index 000000000000..0319eec4c8be --- /dev/null +++ b/dev-libs/libretls/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> |