drop an obsolete local patch

drop local patch to make the client flush some more read buffers
This commit is contained in:
Nalin Dahyabhai 2013-01-18 15:54:18 -05:00
parent 43df9235ee
commit 807d19ed0c
2 changed files with 4 additions and 23 deletions

View File

@ -1,20 +0,0 @@
Try to reduce EPIPE errors in nslcd by reading any pending data before closing
our connection to the daemon, in the cases where we weren't already doing that.
--- nss-pam-ldapd-0.8.12/nss/common.h
+++ nss-pam-ldapd-0.8.12/nss/common.h
@@ -148,6 +148,7 @@
NSS_AVAILCHECK; \
if (fp!=NULL) \
{ \
+ (void)tio_skipall(fp); \
(void)tio_close(fp); \
fp=NULL; \
} \
@@ -182,6 +183,7 @@
/* reset failed, we close and give up with a permanent error \
because we cannot retry just the getent() call because it \
may not be only the first entry that failed */ \
+ tio_skipall(fp); \
tio_close(fp); \
fp=NULL; \
*errnop=EINVAL; \

View File

@ -34,7 +34,7 @@
Name: nss-pam-ldapd
Version: 0.8.12
Release: 1%{?dist}
Release: 2%{?dist}
Summary: An nsswitch module which uses directory servers
Group: System Environment/Base
License: LGPLv2+
@ -46,7 +46,6 @@ Source3: nslcd.tmpfiles
Source4: nslcd.service
Patch1: nss-pam-ldapd-0.8.12-validname.patch
Patch3: nss-pam-ldapd-0.8.12-uid-overflow.patch
Patch4: nss-pam-ldapd-0.8.12-epipe.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openldap-devel, krb5-devel
BuildRequires: autoconf, automake
@ -95,7 +94,6 @@ nsswitch module.
%setup -q
%patch1 -p0 -b .validname
%patch3 -p1 -b .overflow
%patch4 -p1 -b .epipe
autoreconf -f -i
%build
@ -321,6 +319,9 @@ exit 0
%endif
%changelog
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-2
- drop local patch to make the client flush some more read buffers
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-1
- update to 0.8.12 (#846793)
- make building pam_ldap conditional on the targeted release