Commit d2a43db6 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

main/libretls: downgrade libtls SOVERSION to allow coexistence with community/libressl

parent 55ae4cc4
......@@ -2,7 +2,7 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=libretls
pkgver=3.3.3
pkgrel=0
pkgrel=1
pkgdesc="port of libtls from libressl to openssl"
arch="all"
url="https://git.causal.agency/libretls/"
......@@ -10,11 +10,19 @@ license="ISC AND (BSD-3-Clause OR MIT)"
depends="ca-certificates-bundle"
depends_dev="openssl-dev"
makedepends_host="openssl-dev"
makedepends="$depends_dev"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-doc $pkgname-static $pkgname-dev"
source="https://causal.agency/libretls/libretls-$pkgver.tar.gz
test_program.c"
prepare() {
default_prepare
# Override the LIBTLS_VERSION to be 2.0.0, as libtls-standalone was 1:0:0.
echo '2:0:0' > "$builddir"/LIBTLS_VERSION
autoreconf
}
build() {
./configure \
--build=$CBUILD \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment