2002-10-17 10:55:05 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# openssh
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-09-24 14:00:57 +02:00
|
|
|
OPENSSH_VERSION=5.1p1
|
2007-08-23 00:36:04 +02:00
|
|
|
OPENSSH_SITE=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
|
2002-10-17 10:55:05 +02:00
|
|
|
|
2010-07-06 09:27:32 +02:00
|
|
|
OPENSSH_CONF_ENV = LD="$(TARGET_CC)"
|
2008-09-24 14:00:57 +02:00
|
|
|
OPENSSH_CONF_OPT = --libexecdir=/usr/lib --disable-lastlog --disable-utmp \
|
|
|
|
--disable-utmpx --disable-wtmp --disable-wtmpx --without-x
|
2002-10-17 10:55:05 +02:00
|
|
|
|
2008-09-24 14:00:57 +02:00
|
|
|
OPENSSH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,openssh))
|