Package Details: wolfclu 0.1.5-0

Git Clone URL: https://aur.archlinux.org/wolfclu.git (read-only, click to copy)
Package Base: wolfclu
Description: This is the wolfSSL Command Line Utility (wolfCLU).
Upstream URL: https://github.com/wolfSSL/wolfCLU
Licenses: GPL2
Provides: wolfclu
Submitter: kistlin
Maintainer: kistlin
Last Packager: kistlin
Votes: 0
Popularity: 0.000000
First Submitted: 2024-05-02 13:47 (UTC)
Last Updated: 2024-05-02 13:47 (UTC)

Latest Comments

kistlin commented on 2024-05-02 13:49 (UTC)

The default wolfssl does not have all options enabled. This will make the build fail. Until this gets fixed, you can build wolfssl yourself with the following PKGBUILD.

pkgname=wolfssl
pkgver=5.7.0
pkgrel=1
pkgdesc='Lightweight, portable, C-language-based SSL/TLS library'
arch=('x86_64')
url='https://www.wolfssl.com/'
license=('GPL-2.0-or-later')
makedepends=('autoconf')
depends=('glibc')
provides=("libwolfssl.so")
source=(
  $pkgname-$pkgver-stable.tar.gz::https://github.com/$pkgname/$pkgname/archive/refs/tags/v$pkgver-stable.tar.gz
  https://github.com/$pkgname/$pkgname/releases/download/v$pkgver-stable/$pkgname-$pkgver-stable.tar.gz.asc
)
sha512sums=('52cc7bdda7e3cfbea7c60fad1e2b1565d7057607bbb66014ef03643a75e78777d10d53799fba314bab37e245b7e8a60e29c6f4177070ed44536a898e04b27b44'

            'SKIP')
b2sums=('a85342264022d9f1ab3cd49bd282cbd9f2ef4fa90eda69ebd145a412f1557ed6d0ca5620f5a916fe1bf8c546c1d3ef0d01c80ec90722d49059683620ccbcdf1b'
        'SKIP')

validpgpkeys=(
  A2A48E7BCB96C5BECB987314EBC80E415CA29677  # wolfSSL <secure@wolfssl.com>
)

_build_directory=wolfssl-${pkgver}-stable

prepare() {
  cd "${srcdir}/${_build_directory}"
  ./autogen.sh
  ./configure --prefix=/usr --enable-all
}

build() {
  cd "${srcdir}/${_build_directory}"
  make -j8
}

check() {
  cd "${srcdir}/wolfssl-${pkgver}-stable"
  ${srcdir}/${_build_directory}/wolfcrypt/test/testwolfcrypt
}

package() {
  cd "${srcdir}/${_build_directory}"
  DESTDIR="${pkgdir}" make install
  install -vDm 644 ./{README,ChangeLog}.md -t "$pkgdir/usr/share/doc/$pkgname/"
}