mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
openldap: remove --without-tls and start SSL-protected server by default
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=openldap
|
PKG_NAME:=openldap
|
||||||
PKG_VERSION:=2.4.39
|
PKG_VERSION:=2.4.39
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
|
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
|
||||||
@@ -97,7 +97,6 @@ CONFIGURE_ARGS += \
|
|||||||
--with-yielding_select="yes" \
|
--with-yielding_select="yes" \
|
||||||
--without-cyrus-sasl \
|
--without-cyrus-sasl \
|
||||||
--without-threads \
|
--without-threads \
|
||||||
--without-tls \
|
|
||||||
--enable-null \
|
--enable-null \
|
||||||
--disable-bdb \
|
--disable-bdb \
|
||||||
--disable-hdb \
|
--disable-hdb \
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ SERVICE_USE_PID=1
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
mkdir -m 0755 -p /var/openldap-data
|
mkdir -m 0755 -p /var/openldap-data
|
||||||
service_start /usr/sbin/slapd
|
service_start /usr/sbin/slapd -h "ldap://localhost/ ldaps:///"
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
|||||||
Reference in New Issue
Block a user