[pam_ldap] - bite the bullet and start linking the module with -z nodelete so that apps which insist on loadi
Nalin Dahyabhai
nalin at fedoraproject.org
Thu Dec 2 23:13:31 UTC 2010
commit 8d69dc5de917d09ef421b9baaf2dba3654e56549
Author: Nalin Dahyabhai <nalin at redhat.com>
Date: Thu Dec 2 18:13:27 2010 -0500
- bite the bullet and start linking the module with -z nodelete so that
apps which insist on loading and unloading the module over and over and
over again don't leak large amounts of memory (part of #511238)
pam_ldap.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pam_ldap.spec b/pam_ldap.spec
index f53f0dc..8079f73 100644
--- a/pam_ldap.spec
+++ b/pam_ldap.spec
@@ -7,7 +7,7 @@
Summary: PAM module for LDAP
Name: pam_ldap
Version: 185
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: http://www.padl.com/OSS/pam_ldap.html
License: LGPLv2+
Group: System Environment/Base
@@ -67,7 +67,7 @@ cp %{_datadir}/libtool/config/config.{sub,guess} .
%configure --libdir=/%{_lib} \
--with-ldap-conf-file=%{_sysconfdir}/%{name}.conf \
--with-ldap-secret-file=%{_sysconfdir}/%{name}.secret
-env PATH=`pwd`:"$PATH" make %{?_smp_mflags}
+env PATH=`pwd`:"$PATH" make %{?_smp_mflags} LDFLAGS=-Wl,-z,nodelete
# Check that the module is actually loadable.
sh %{SOURCE7} -lpam ./pam_ldap.so
@@ -129,6 +129,11 @@ fi
%attr(0600,root,root) %ghost %config(noreplace) /etc/%{name}.secret
%changelog
+* Thu Dec 2 2010 Nalin Dahyabhai <nalin at redhat.com> 185-8
+- bite the bullet and start linking the module with -z nodelete so that apps
+ which insist on loading and unloading the module over and over and over
+ again don't leak large amounts of memory (part of #511238)
+
* Wed Sep 29 2010 jkeating - 185-7
- Rebuilt for gcc bug 634757
More information about the scm-commits
mailing list