openssh: add gssapi vopt

Also remove --without-ssh1, which is not a valid configure arg.
This commit is contained in:
Peter Faiman 2018-03-20 00:38:20 -07:00 committed by Enno Boland
parent 549198da2b
commit b0d42915c0
1 changed files with 5 additions and 4 deletions

View File

@ -1,20 +1,21 @@
# Template file for 'openssh'
pkgname=openssh
version=7.6p1
revision=2
revision=3
build_style=gnu-configure
configure_args="--datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
--with-mantype=doc --without-rpath --with-xauth=/usr/bin/xauth
--disable-strip --with-privsep-path=/var/chroot/ssh
--with-pid-dir=/run --with-pam --without-kerberos5 --without-ssh1
--with-pid-dir=/run --with-pam
--with-libedit --with-Werror
$(vopt_with ldns ldns=$XBPS_CROSS_BASE/usr)
$(vopt_if ssl --with-ssl-engine --without-openssl)
$(vopt_if gssapi --with-kerberos5=$XBPS_CROSS_BASE/usr --without-kerberos5)
LD=$CC"
hostmakedepends="autoconf perl"
makedepends="zlib-devel pam-devel libedit-devel
$(vopt_if ssl libressl-devel) $(vopt_if ldns libldns-devel)"
$(vopt_if ssl libressl-devel) $(vopt_if ldns libldns-devel) $(vopt_if gssapi mit-krb5-devel)"
short_desc="The OpenSSH implementation of SSH protocol"
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/pam.d/sshd"
make_dirs="/var/chroot/ssh 0755 root root"
@ -25,7 +26,7 @@ distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version
checksum=a323caeeddfe145baaa0db16e98d784b1fbc7dd436a6bf1f479dfd5cd1d21723
# Package build options
build_options="ldns ssl"
build_options="ldns ssl gssapi"
build_options_default="ldns ssl"
case $XBPS_TARGET_MACHINE in