openssh: fix cross build.
This commit is contained in:
parent
f3ce82d000
commit
7e49a9b0e5
1 changed files with 7 additions and 1 deletions
|
@ -7,7 +7,7 @@ configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
|||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
|
||||
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
|
||||
--with-kerberos5=/usr --with-pid-dir=/run --with-pam LD=$CC"
|
||||
--with-pid-dir=/run --with-pam LD=$CC"
|
||||
hostmakedepends="perl"
|
||||
makedepends="zlib-devel openssl-devel pam-devel mit-krb5-devel"
|
||||
short_desc="The OpenSSH implementation of SSH protocol versions 1 and 2 (client)"
|
||||
|
@ -17,6 +17,12 @@ license="BSD"
|
|||
distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version.tar.gz"
|
||||
checksum=7f29b9d2ad672ae0f9e1dcbff871fc5c2e60a194e90c766432e32161b842313b
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-kerberos5=$XBPS_CROSS_BASE"
|
||||
else
|
||||
configure_args+=" --with-kerberos5=/usr"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
|
||||
vinstall contrib/ssh-copy-id 755 usr/bin
|
||||
|
|
Loading…
Reference in a new issue