openldap: remove --without-tls and start SSL-protected server by default
authorW. Michael Petullo <[email protected]>
Fri, 23 Jan 2015 15:14:28 +0000 (10:14 -0500)
committerW. Michael Petullo <[email protected]>
Fri, 23 Jan 2015 15:14:28 +0000 (10:14 -0500)
Signed-off-by: W. Michael Petullo <[email protected]>
libs/openldap/Makefile
libs/openldap/files/ldap.init

index 5344080da8b263faba31ff66df8a6c7edb4111c7..dcc9d988a7a7ac3cea73e07eaf12b851625fc14b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openldap
 PKG_VERSION:=2.4.39
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
@@ -97,7 +97,6 @@ CONFIGURE_ARGS += \
        --with-yielding_select="yes" \
        --without-cyrus-sasl \
        --without-threads \
-       --without-tls \
        --enable-null \
        --disable-bdb \
        --disable-hdb \
index b30bbf1953ae45936680bce31b485f79a7d2adc8..2209e76b485b11f8cecc5e2ca1c6f0ec0201af8b 100644 (file)
@@ -7,7 +7,7 @@ SERVICE_USE_PID=1
 
 start() {
        mkdir -m 0755 -p /var/openldap-data
-       service_start /usr/sbin/slapd
+       service_start /usr/sbin/slapd -h "ldap://localhost/ ldaps:///"
 }
 
 stop() {