Update to 1.0.0b1 (psearch + bugfixes)
- bind-dyndb-ldap-rh727856.patch merged Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
ca3623992d
commit
e719fccf0e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
bind-dyndb-ldap-0.1.0b.tar.bz2
|
bind-dyndb-ldap-0.1.0b.tar.bz2
|
||||||
/bind-dyndb-ldap-0.2.0.tar.bz2
|
/bind-dyndb-ldap-0.2.0.tar.bz2
|
||||||
|
/bind-dyndb-ldap-1.0.0b1.tar.gz
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
diff -up bind-dyndb-ldap-0.2.0/src/semaphore.c.rh727856 bind-dyndb-ldap-0.2.0/src/semaphore.c
|
|
||||||
--- bind-dyndb-ldap-0.2.0/src/semaphore.c.rh727856 2011-08-02 18:03:49.034837252 +0200
|
|
||||||
+++ bind-dyndb-ldap-0.2.0/src/semaphore.c 2011-08-03 14:44:42.230665446 +0200
|
|
||||||
@@ -83,9 +83,9 @@ semaphore_wait(semaphore_t *sem)
|
|
||||||
|
|
||||||
LOCK(&sem->mutex);
|
|
||||||
|
|
||||||
- sem->value--;
|
|
||||||
- if (sem->value < 0)
|
|
||||||
+ while (sem->value <= 0)
|
|
||||||
WAIT(&sem->cond, &sem->mutex);
|
|
||||||
+ sem->value--;
|
|
||||||
|
|
||||||
UNLOCK(&sem->mutex);
|
|
||||||
}
|
|
@ -1,12 +1,18 @@
|
|||||||
|
#%define PATCHVER P4
|
||||||
|
%define PREVER b1
|
||||||
|
#%define VERSION %{version}
|
||||||
|
#%define VERSION %{version}-%{PATCHVER}
|
||||||
|
%define VERSION %{version}%{PREVER}
|
||||||
|
|
||||||
Name: bind-dyndb-ldap
|
Name: bind-dyndb-ldap
|
||||||
Version: 0.2.0
|
Version: 1.0.0
|
||||||
Release: 4%{?dist}
|
Release: 0.1.%{PREVER}%{?dist}
|
||||||
Summary: LDAP back-end plug-in for BIND
|
Summary: LDAP back-end plug-in for BIND
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://fedorahosted.org/bind-dyndb-ldap
|
URL: https://fedorahosted.org/bind-dyndb-ldap
|
||||||
Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
|
Source0: https://fedorahosted.org/released/%{name}/%{name}-%{VERSION}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: bind-devel >= 32:9.6.1-0.3.b1
|
BuildRequires: bind-devel >= 32:9.6.1-0.3.b1
|
||||||
@ -15,8 +21,6 @@ BuildRequires: openldap-devel
|
|||||||
|
|
||||||
Requires: bind >= 32:9.6.1-0.3.b1
|
Requires: bind >= 32:9.6.1-0.3.b1
|
||||||
|
|
||||||
Patch0:bind-dyndb-ldap-rh727856.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides an LDAP back-end plug-in for BIND. It features
|
This package provides an LDAP back-end plug-in for BIND. It features
|
||||||
support for dynamic updates and internal caching, to lift the load
|
support for dynamic updates and internal caching, to lift the load
|
||||||
@ -24,8 +28,7 @@ off of your LDAP server.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{VERSION}
|
||||||
%patch0 -p1 -b .rh727856
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
|
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
|
||||||
@ -48,11 +51,15 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING doc/{example.ldif,schema}
|
%doc NEWS README COPYING doc/{example.ldif,schema}
|
||||||
%{_libdir}/bind/ldap.so
|
%{_libdir}/bind/ldap.so
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 31 2011 Adam Tkac <atkac redhat com> - 1.0.0-0.1.b1
|
||||||
|
- update to 1.0.0b1 (psearch + bugfixes)
|
||||||
|
- bind-dyndb-ldap-rh727856.patch merged
|
||||||
|
|
||||||
* Wed Aug 03 2011 Adam Tkac <atkac redhat com> - 0.2.0-4
|
* Wed Aug 03 2011 Adam Tkac <atkac redhat com> - 0.2.0-4
|
||||||
- fix race condition in semaphore_wait (#727856)
|
- fix race condition in semaphore_wait (#727856)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user