Browse Source

openssh: introduced SDECFG_PKG_OPENSSH_SFTPONLY option, to only build sftp-server

user/karasz/test/ecn
Alejandro Mery 15 years ago committed by Alejandro Mery
parent
commit
3c009e19ab
  1. 4
      security/openssh/config.in
  2. 10
      security/openssh/openssh.conf

4
security/openssh/config.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../openssh/config.in
# Copyright (C) 2009 The OpenSDE Project
# Copyright (C) 2009 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -20,5 +20,7 @@ if pkgcheck openssh X; then
bool 'Include LDAP Public Key Support' \
SDECFG_PKG_OPENSSH_LPK 0
fi
bool 'Build sftp-server only' SDECFG_PKG_OPENSSH_SFTPONLY 0
menu_end
fi

10
security/openssh/openssh.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../openssh/openssh.conf
# Copyright (C) 2007 - 2009 The OpenSDE Project
# Copyright (C) 2007 - 2010 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -14,7 +14,13 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
makeinstopt="install-nokeys"
if [ "$SDECFG_PKG_OPENSSH_SFTPONLY" = 1 ]; then
var_append makeopt ' ' 'sftp-server'
makeinstopt=
hook_add postmake 5 "cp sftp-server '$root$libdir/'"
else
makeinstopt="install-nokeys"
fi
if atstage cross ; then
LD="$root/TOOLCHAIN/$toolsdir/crosscc/$CC"

Loading…
Cancel
Save