Check SSP support availabily for openssh and avahi
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12012 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
20dca36b7d
commit
c15d9f1a20
@ -103,7 +103,6 @@ endef
|
|||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-stack-protector \
|
|
||||||
--disable-glib \
|
--disable-glib \
|
||||||
--disable-gobject \
|
--disable-gobject \
|
||||||
--disable-qt3 \
|
--disable-qt3 \
|
||||||
@ -134,7 +133,12 @@ CONFIGURE_ARGS+= \
|
|||||||
--with-avahi-user=nobody \
|
--with-avahi-user=nobody \
|
||||||
--with-avahi-group=nogroup \
|
--with-avahi-group=nogroup \
|
||||||
--with-autoipd-user=nobody \
|
--with-autoipd-user=nobody \
|
||||||
--with-autoipd-group=nogroup \
|
--with-autoipd-group=nogroup
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_SSP_SUPPORT),y)
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
|
--disable-stack-protector
|
||||||
|
endif
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
CFLAGS="$$$$CFLAGS -DNDEBUG" \
|
CFLAGS="$$$$CFLAGS -DNDEBUG" \
|
||||||
|
@ -99,6 +99,27 @@ define Package/openssh-sftp-server/description
|
|||||||
OpenSSH SFTP server.
|
OpenSSH SFTP server.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_OPTS+= \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
--disable-debug \
|
||||||
|
--disable-strip \
|
||||||
|
--disable-etc-default-login \
|
||||||
|
--disable-lastlog \
|
||||||
|
--disable-utmp \
|
||||||
|
--disable-utmpx \
|
||||||
|
--disable-wtmp \
|
||||||
|
--disable-wtmpx \
|
||||||
|
--without-bsd-auth \
|
||||||
|
--without-kerberos5 \
|
||||||
|
--without-pam \
|
||||||
|
--without-x
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_SSP_SUPPORT),y)
|
||||||
|
CONFIGURE_OPTS+= \
|
||||||
|
--without-stackprotect
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
@ -126,21 +147,7 @@ define Build/Configure
|
|||||||
--sysconfdir=/etc/ssh \
|
--sysconfdir=/etc/ssh \
|
||||||
$(DISABLE_LARGEFILE) \
|
$(DISABLE_LARGEFILE) \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
--enable-shared \
|
$(CONFIGURE_OPTS) \
|
||||||
--disable-static \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-strip \
|
|
||||||
--disable-etc-default-login \
|
|
||||||
--disable-lastlog \
|
|
||||||
--disable-utmp \
|
|
||||||
--disable-utmpx \
|
|
||||||
--disable-wtmp \
|
|
||||||
--disable-wtmpx \
|
|
||||||
--without-stackprotect \
|
|
||||||
--without-bsd-auth \
|
|
||||||
--without-kerberos5 \
|
|
||||||
--without-pam \
|
|
||||||
--without-x \
|
|
||||||
);
|
);
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user