diff options
author | Aki <please@ignore.pl> | 2023-05-17 23:04:09 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-05-17 23:05:22 +0200 |
commit | 6a67689062270f69233c0731916149aed1e34e13 (patch) | |
tree | 9c66db94dd7010fbcf8ea76631e0963cbfb026db /wolfssh | |
parent | 9500f973eff817239211538e7b9ae1575f249573 (diff) | |
download | arch-ignore-6a67689062270f69233c0731916149aed1e34e13.zip arch-ignore-6a67689062270f69233c0731916149aed1e34e13.tar.gz arch-ignore-6a67689062270f69233c0731916149aed1e34e13.tar.bz2 |
Added wolfssh and ssl packages
Diffstat (limited to 'wolfssh')
-rw-r--r-- | wolfssh/.SRCINFO | 18 | ||||
-rw-r--r-- | wolfssh/PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/wolfssh/.SRCINFO b/wolfssh/.SRCINFO new file mode 100644 index 0000000..724e6a2 --- /dev/null +++ b/wolfssh/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = wolfssh + pkgdesc = Small, fast, portable SSH implementation, including support for SCP and SFTP + pkgver = 1.4.13 + pkgrel = 5 + arch = x86_64 + arch = i686 + license = GPL 2.0 + makedepends = autoconf + depends = libtool + depends = wolfssl + source = https://github.com/wolfSSL/wolfssh/archive/refs/tags/v1.4.13-stable.tar.gz + sha256sums = 95de536d2390ca4a8a7f9be4b2faaaebb61dcedf2c6571107172d4a64347421c + +pkgname = wolfssh + +pkgname = wolfssh-examples + depends = libtool + depends = wolfssh diff --git a/wolfssh/PKGBUILD b/wolfssh/PKGBUILD new file mode 100644 index 0000000..f63f379 --- /dev/null +++ b/wolfssh/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Aki <please@ignore.pl> +pkgbase=wolfssh +pkgname=(${pkgbase} ${pkgbase}-examples) +pkgver=1.4.13 +pkgrel=5 +pkgdesc='Small, fast, portable SSH implementation, including support for SCP and SFTP' +license=('GPL 2.0') +arch=(x86_64 i686) +makedepends=(autoconf) +depends=(libtool wolfssl) +source=("https://github.com/wolfSSL/${pkgbase}/archive/refs/tags/v${pkgver}-stable.tar.gz") +sha256sums=('95de536d2390ca4a8a7f9be4b2faaaebb61dcedf2c6571107172d4a64347421c') + + +build() { + cd "${pkgbase}-${pkgver}-stable" + ./autogen.sh + ./configure --prefix=/usr --with-wolfssl=/usr --enable-certs --enable-scp --enable-sftp --enable-sshd \ + CPPFLAGS='-DWOLFSSH_NO_FPKI -DWOLFSSH_MAX_SFTP_RW=10485760' --enable-shared --disable-static + make +} + + +package_wolfssh() { + cd "${pkgbase}-${pkgver}-stable" + make DESTDIR="${pkgdir}" install +} + +package_wolfssh-examples() { + depends=(libtool wolfssh) + cd "${pkgbase}-${pkgver}-stable" + mkdir -p "${pkgdir}/usr/bin" + cp -r examples/client/{client,.libs} "${pkgdir}/usr/bin" +} |