[arch-commits] Commit in libressl/repos (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Sat Oct 16 17:20:30 UTC 2021
Date: Saturday, October 16, 2021 @ 17:20:30
Author: archange
Revision: 1030546
archrelease: copy trunk to community-staging-x86_64
Added:
libressl/repos/community-staging-x86_64/
libressl/repos/community-staging-x86_64/PKGBUILD
(from rev 1030545, libressl/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: libressl/repos/community-staging-x86_64/PKGBUILD (from rev 1030545, libressl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-10-16 17:20:30 UTC (rev 1030546)
@@ -0,0 +1,56 @@
+# Maintainer: Levente Polyak <anthraxx at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Maarten de Vries <maarten at de-vri.es>
+# Contributor: Reventlov <contact at volcanis.me>
+# Contributor: kpcyrd <git at rxv.cc>
+
+pkgname=libressl
+pkgver=3.4.1
+pkgrel=1
+pkgdesc="Free version of the TLS/crypto stack forked from OpenSSL"
+arch=(x86_64)
+url="https://www.libressl.org/"
+license=(ISC custom:OpenSSL)
+depends=(glibc)
+optdepends=(ca-certificates)
+backup=(etc/libressl/openssl.cnf)
+source=(https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${pkgver}.tar.gz{,.asc})
+sha256sums=('107ceae6ca800e81cb563584c16afa36d6c7138fade94a2b3e9da65456f7c61c'
+ 'SKIP')
+validpgpkeys=(A1EB079B8D3EB92B4EBD3139663AF51BD5E4D8D5) # Brent Cook <bcook at openbsd.org>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -vfi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --with-openssldir=/etc/libressl \
+ --libdir=/usr/lib/libressl \
+ --includedir=/usr/include/libressl \
+ --program-prefix "libressl-"
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+ # Remove symlink man pages, that actually points to OpenSSL ones since the prefix is not accounted for
+ for manlink in $(find -L "${pkgdir}"/usr/share/man/man3/ -type l) ;
+ do
+ rm "${manlink}" ;
+ done
+}
+
+# vim: ts=4 sw=4 et:
More information about the arch-commits
mailing list