[arch-commits] Commit in (4 files)

Eli Schwartz eschwartz at archlinux.org
Wed Jan 27 21:50:55 UTC 2021


    Date: Wednesday, January 27, 2021 @ 21:50:55
  Author: eschwartz
Revision: 833020

addpkg: libretls 3.3.1-2

libressl's "libtls" modified to build against openssl. Hopefully we can use
this to drop libressl from the repos rather than packaging two different
versions of libssl just so we can build packages against libtls.

Added:
  libretls/
  libretls/repos/
  libretls/trunk/
  libretls/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: libretls/trunk/PKGBUILD
===================================================================
--- libretls/trunk/PKGBUILD	                        (rev 0)
+++ libretls/trunk/PKGBUILD	2021-01-27 21:50:55 UTC (rev 833020)
@@ -0,0 +1,29 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: lillian rose winter <hi at neko.vg>
+# Contributor: Evan McCarthy <evan at mccarthy.mn>
+
+pkgname=libretls
+pkgver=3.3.1
+pkgrel=2
+pkgdesc="libtls for OpenSSL"
+arch=('x86_64')
+url="https://git.causal.agency/${pkgname}"
+license=('ISC' 'BSD' 'MIT')
+depends=('openssl')
+source=("https://causal.agency/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('f23a29ef321eff099b8fbabdecc3a3378cfb9eca24b2bf02062554e9779c4d33')
+b2sums=('b935cae7bdd2e2338099dbc830e2773198d5d4ed12df80b89291d0eb8ae68549e36413c79ba1373d8bce8fd857c4a291fbd9bce30c819cc182bd5b68ac7b9527')
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+    sed -n '1,/*\//p' tls.c | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list