]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
openldap: Do not strip binaries during install
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 12 Mar 2023 09:28:09 +0000 (10:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Mar 2023 14:37:00 +0000 (14:37 +0000)
We need those symbols for our hardening checks. The binaries
anyway will be stripped afterwards and the debug symbols will
be used for the debuginfo packages.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
openldap/openldap.nm

index 847d13fc4391304bab80bf23f850ec1b2b5e65fd..afda58701f55b522624b42d2d0ab0c743254498a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = openldap
 version    = 2.6.4
-release    = 1.1
+release    = 2
 
 groups     = System/Daemons
 url        = https://www.openldap.org/
@@ -54,6 +54,10 @@ build
                %{create_user}
        end
 
+       # Do not strip the binaries during install.
+       make_install_targets += \
+               STRIP_OPTS=
+
        install_cmds
                mv -v %{BUILDROOT}%{libdir}/slapd %{BUILDROOT}/usr/sbin/slapd
                ln -svf slapd %{BUILDROOT}/usr/sbin/slapacl