mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
openssh: adjust with glibc and libcrypt-compat
glibc 2.39 has removed libcrypt completely. solution: link against libxcrypt built with glibc compatibility. Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
This commit is contained in:
committed by
Josef Schlehofer
parent
874c65e7ef
commit
6ff10c3abf
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=openssh
|
PKG_NAME:=openssh
|
||||||
PKG_REALVERSION:=10.0p1
|
PKG_REALVERSION:=10.0p1
|
||||||
PKG_VERSION:=10.0_p1
|
PKG_VERSION:=10.0_p1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_REALVERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_REALVERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
|
PKG_SOURCE_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
|
||||||
@@ -88,7 +88,7 @@ endef
|
|||||||
|
|
||||||
define Package/openssh-server
|
define Package/openssh-server
|
||||||
$(call Package/openssh/Default)
|
$(call Package/openssh/Default)
|
||||||
DEPENDS+= +libopenssl +zlib +openssh-keygen
|
DEPENDS+= +USE_GLIBC:libcrypt-compat +libopenssl +zlib +openssh-keygen
|
||||||
TITLE+= server
|
TITLE+= server
|
||||||
USERID:=sshd=22:sshd=22
|
USERID:=sshd=22:sshd=22
|
||||||
VARIANT:=without-pam
|
VARIANT:=without-pam
|
||||||
@@ -110,7 +110,7 @@ endef
|
|||||||
|
|
||||||
define Package/openssh-server-pam
|
define Package/openssh-server-pam
|
||||||
$(call Package/openssh/Default)
|
$(call Package/openssh/Default)
|
||||||
DEPENDS+= +libopenssl +zlib +libpthread +openssh-keygen +libpam
|
DEPENDS+= +USE_GLIBC:libcrypt-compat +libopenssl +zlib +libpthread +openssh-keygen +libpam
|
||||||
TITLE+= server (with PAM support)
|
TITLE+= server (with PAM support)
|
||||||
VARIANT:=with-pam
|
VARIANT:=with-pam
|
||||||
USERID:=sshd=22:sshd=22
|
USERID:=sshd=22:sshd=22
|
||||||
|
|||||||
Reference in New Issue
Block a user