2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2002-10-17 10:55:05 +02:00
|
|
|
#
|
|
|
|
# openssh
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2002-10-17 10:55:05 +02:00
|
|
|
|
2013-11-10 22:17:29 +01:00
|
|
|
OPENSSH_VERSION = 6.4p1
|
2010-12-01 15:44:26 +01:00
|
|
|
OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
|
2011-02-07 10:55:04 +01:00
|
|
|
OPENSSH_CONF_ENV = LD="$(TARGET_CC)" LDFLAGS="$(TARGET_CFLAGS)"
|
2013-04-25 22:53:00 +02:00
|
|
|
OPENSSH_CONF_OPT = --disable-lastlog --disable-utmp \
|
2010-11-05 14:49:07 +01:00
|
|
|
--disable-utmpx --disable-wtmp --disable-wtmpx --disable-strip
|
2002-10-17 10:55:05 +02:00
|
|
|
|
2008-09-24 14:00:57 +02:00
|
|
|
OPENSSH_DEPENDENCIES = zlib openssl
|
2003-11-12 10:31:12 +01:00
|
|
|
|
2012-09-15 16:27:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
|
|
OPENSSH_DEPENDENCIES += linux-pam
|
|
|
|
OPENSSH_CONF_OPT += --with-pam
|
|
|
|
endif
|
|
|
|
|
2010-09-01 22:48:22 +02:00
|
|
|
define OPENSSH_INSTALL_INITSCRIPT
|
2008-09-24 14:00:57 +02:00
|
|
|
$(INSTALL) -D -m 755 package/openssh/S50sshd $(TARGET_DIR)/etc/init.d/S50sshd
|
2010-09-01 22:48:22 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_INITSCRIPT
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|