]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - openldap/openldap.nm
openldap: Update to 2.4.30.
[people/ms/ipfire-3.x.git] / openldap / openldap.nm
index 028ca96e20f5cec27a1f8598cca6bd5f42340c84..fef3ca5500d9449c74f5e0356cd43b7f7e8a32cb 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = openldap
-version    = 2.4.25
-release    = 2
+version    = 2.4.30
+release    = 1
 
 groups     = System/Daemons
 url        = http://www.openldap.org/
@@ -21,7 +21,7 @@ description
        documentation for OpenLDAP.
 end
 
-source_dl  =
+source_dl  = ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
 sources    = %{thisapp}.tgz
 
 build
@@ -36,7 +36,7 @@ build
        end
 
        configure_options += \
-               --libexecdir=/usr/lib \
+               --libexecdir=%{libdir} \
                --sysconfdir=/etc \
                --localstatedir=/var \
                --with-threads=posix \
@@ -57,7 +57,7 @@ build
 #endef
 
        install_cmds
-               mv -v %{BUILDROOT}/usr/lib/slapd %{BUILDROOT}/usr/sbin/slapd
+               mv -v %{BUILDROOT}%{libdir}/slapd %{BUILDROOT}/usr/sbin/slapd
                ln -svf slapd %{BUILDROOT}/usr/sbin/slapacl
                ln -svf slapd %{BUILDROOT}/usr/sbin/slapadd
                ln -svf slapd %{BUILDROOT}/usr/sbin/slapauth
@@ -71,7 +71,7 @@ build
                rm -rvf %{BUILDROOT}/var/openldap-data
 
                for LINK in lber ldap ldap_r; do
-                       chmod -v 0755 %{BUILDROOT}/usr/lib/$(readlink %{BUILDROOT}/usr/lib/lib${LINK}.so)
+                       chmod -v 0755 %{BUILDROOT}%{libdir}/$(readlink %{BUILDROOT}%{libdir}/lib${LINK}.so)
                done
 
                # Install configuration
@@ -93,4 +93,8 @@ packages
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end