From 95e2de5fe989a6881686a98eebf97b807af40695 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 8 Apr 2023 14:06:31 -0700 Subject: Updated to 9.3 --- PKGBUILD | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 676d50c..a763cbe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ # Arch version lacks openrc support pkgname=openssh -pkgver=9.2p1 +pkgver=9.3p1 pkgrel=1 pkgdesc="SSH protocol implementation for remote login, command execution and file transfer" arch=('x86_64') @@ -47,12 +47,12 @@ source=( 'sshd.conf' 'sshd.pam' ) -sha256sums=('3f66dbf1655fb45f50e1c56da62ab01218c228807b21338d634ebcdf9d71cf46' +sha256sums=('e9baba7701a76a51f3d85a62c383a3c9dcd97fa900b859bc7db114c1868af8a8' 'SKIP' '27e43dfd1506c8a821ec8186bae65f2dc43ca038616d6de59f322bd14aa9d07f' '4effac1186cc62617f44385415103021f72f674f8b8e26447fc1139c670090f6' '64576021515c0a98b0aaf0a0ae02e0f5ebe8ee525b1e647ab68f369f81ecd846') -b2sums=('8d0b5e43cb42cba105a1fe303c447a2b85151cb33ec7ed47747d75c5a61d0f07f0ee4b1020b79c13eb8de4b451c5a844a8afc7ebbbea7ffeceafc3bf59cb8d21' +b2sums=('45578edf98bba3d23c7cefe60d8a7d3079e7c6676459f7422ace7a2461ab96943fbcadb478633a80f40bc098f2435722850b563714adb78b14922be53cb5753d' 'SKIP' '29e1a1c2744e0234830c6f93a46338ea8dc943370e20a24883d207d611025e54643da678f2826050c073a36be48dfdc7329d4cfb144c2ff90607a5f10f73dc59' '27571f728c3c10834a81652f3917188436474b588f8b047462e44b6c7a424f60d06ce8cb74839b691870177d7261592207d7f35d4ae6c79af87d6a7ea156d395' @@ -65,6 +65,24 @@ prepare() { } build() { + local configure_options=( + --prefix=/usr + --sbindir=/usr/bin + --libexecdir=/usr/lib/ssh + --sysconfdir=/etc/ssh + --disable-strip + --with-ldns + --with-libedit + --with-security-key-builtin + --with-ssl-engine + --with-pam + --with-privsep-user=nobody + --with-kerberos5=/usr + --with-xauth=/usr/bin/xauth + --with-pid-dir=/run + --with-default-path='/usr/local/sbin:/usr/local/bin:/usr/bin' + ) + cd "${pkgname}-${pkgver}" # -fPIE causes test errors @@ -72,23 +90,7 @@ build() { export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIC" #export LDFLAGS="$LDFLAGS,-pie" - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --libexecdir=/usr/lib/ssh \ - --sysconfdir=/etc/ssh \ - --disable-strip \ - --with-ldns \ - --with-libedit \ - --with-security-key-builtin \ - --with-ssl-engine \ - --with-pam \ - --with-privsep-user=nobody \ - --with-kerberos5=/usr \ - --with-xauth=/usr/bin/xauth \ - --with-pid-dir=/run \ - --with-default-path='/usr/local/sbin:/usr/local/bin:/usr/bin' \ - + ./configure "${configure_options[@]}" make } -- cgit v1.2.1