Merge pull request #6108 from cotequeiroz/openldap_openssl-1.1

openldap: use /dev/urandom as entropy source
This commit is contained in:
Hannu Nyman 2018-06-03 20:46:03 +03:00 committed by GitHub
commit 408af14f86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openldap
PKG_VERSION:=2.4.45
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
@ -82,7 +82,8 @@ define Package/openldap-server/conffiles
/etc/openldap/slapd.conf
endef
TARGET_CFLAGS += $(FPIC) -lpthread
TARGET_CFLAGS += $(FPIC) -lpthread \
-DURANDOM_DEVICE=\\\"/dev/urandom\\\"
CONFIGURE_ARGS += \
--enable-shared \