diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/libressl/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/libressl/MAKEPKG')
| -rw-r--r-- | core/libressl/MAKEPKG | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/core/libressl/MAKEPKG b/core/libressl/MAKEPKG new file mode 100644 index 0000000..c9ce279 --- /dev/null +++ b/core/libressl/MAKEPKG @@ -0,0 +1,42 @@ +#!/bin/mkpkg +# description: OpenBSD fork of OpenSSL +# url: https://www.libressl.org/ + +name=libressl +version=4.3.2 +release=1 +makedeps=(zlib) +source=(https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$name-$version.tar.gz) + +sha256sums=( + "edf01aee24c65d69e6a9efcb9d44bcda682ff9d4f3bbbd95e794e1dfa90847b5" +) + +build() { + cd $name-$version + ./configure \ + --prefix=/ \ + --libdir=/lib \ + --includedir=/include \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-openssldir=/etc/ssl \ + --disable-nc + make + make DESTDIR=$PKG install + + # CA certificate symlinks (cert.pem is the master bundle) + mkdir -p "$PKG"/etc/ssl/certs + ln -sf ../cert.pem "$PKG"/etc/ssl/certs/ca-certificates.crt + ln -sf ../cert.pem "$PKG"/etc/ssl/certs/cert.pem + + rm -f $PKG/lib/*.a + rm -rf $PKG/share +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
