|
|
|
@ -10,35 +10,36 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: slapi-nis
|
|
|
|
|
Version: 0.52
|
|
|
|
|
Version: 0.60.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: NIS Server and Schema Compatibility plugins for Directory Server
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: http://slapi-nis.fedorahosted.org/
|
|
|
|
|
Source0: https://fedorahosted.org/releases/s/l/slapi-nis/slapi-nis-%{version}.tar.gz
|
|
|
|
|
Source1: https://fedorahosted.org/releases/s/l/slapi-nis/slapi-nis-%{version}.tar.gz.sig
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: 389-ds-base-devel, %{ldap_impl}-devel
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
|
URL: http://pagure.io/slapi-nis/
|
|
|
|
|
Source0: https://releases.pagure.org/slapi-nis/slapi-nis-%{version}.tar.gz
|
|
|
|
|
Source1: https://releases.pagure.org/slapi-nis/slapi-nis-%{version}.tar.gz.asc
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: 389-ds-base-devel >= 1.3.5.6, %{ldap_impl}-devel
|
|
|
|
|
BuildRequires: nspr-devel, nss-devel, /usr/bin/rpcgen
|
|
|
|
|
%if 0%{?fedora} > 18 || 0%{?rhel} > 6
|
|
|
|
|
BuildRequires: libsss_nss_idmap-devel
|
|
|
|
|
%define sss_nss_opts --with-sss-nss-idmap
|
|
|
|
|
BuildRequires: libsss_nss_idmap-devel > 1.16.0-5
|
|
|
|
|
%define sss_nss_opts --with-sss-nss-idmap --with-idviews
|
|
|
|
|
%else
|
|
|
|
|
%define sss_nss_opts %{nil}
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
%if 0%{?fedora} > 6 || 0%{?rhel} > 5
|
|
|
|
|
BuildRequires: tcp_wrappers-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: tcp_wrappers
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
|
|
|
|
|
%if (0%{?fedora} > 14 && 0%{?fedora} < 28) || (0%{?rhel} > 6 && 0%{?rhel} < 8)
|
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: libnsl2-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} > 0
|
|
|
|
|
ExclusiveArch: x86_64 %{ix86}
|
|
|
|
|
%if 0%{?fedora} > 27 || 0%{?rhel} >= 9
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: 389-ds-base >= 1.3.5.6
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides two plugins for Red Hat and 389 Directory Server.
|
|
|
|
@ -57,7 +58,8 @@ for attributes from multiple entries in the tree.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --with-tcp-wrappers --with-ldap=%{ldap_impl} \
|
|
|
|
|
autoconf --force
|
|
|
|
|
%configure --disable-static --with-ldap=%{ldap_impl} \
|
|
|
|
|
--with-nsswitch --with-pam --with-pam-service=system-auth \
|
|
|
|
|
%{sss_nss_opts} %{betxn_opts}
|
|
|
|
|
sed -i -e 's,%{_libdir}/dirsrv/plugins/,,g' -e 's,.so$,,g' doc/examples/*.ldif
|
|
|
|
@ -74,25 +76,178 @@ rm $RPM_BUILD_ROOT/%{_libdir}/dirsrv/plugins/*.la
|
|
|
|
|
make check
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING NEWS README STATUS doc/*.txt doc/examples/*.ldif doc/ipa
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_libdir}/dirsrv/plugins/*.so
|
|
|
|
|
%{_sbindir}/nisserver-plugin-defs
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 20 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.60.0-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
- Change license from GPLv2 to GPLv3+ to follow 389-ds licensing
|
|
|
|
|
- Fix ID views integration
|
|
|
|
|
- Fix base scope lookups
|
|
|
|
|
- Bump NIS max dgram size to 8KB by default instead of 1KB
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 01 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.7-5
|
|
|
|
|
- Resolves: rhbz#2032691
|
|
|
|
|
- Rebuild against newer OpenLDAP version
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 0.56.7-3
|
|
|
|
|
- Rebuild(libnsl2)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 18 2021 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.7-1
|
|
|
|
|
- CVE-2021-3480: invalid bind DN crash
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 04 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.6-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Ignore searches which don't match any configured map
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 06 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.5-2
|
|
|
|
|
- Initialize map locks in NIS plugin to prevent crash
|
|
|
|
|
|
|
|
|
|
* Mon May 04 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.5-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Resolves: rhbz#1751295: (2) When sync-repl is enabled, slapi-nis can deadlock during retrochanglog trimming
|
|
|
|
|
- Resolves: rhbz#1768156: ERR - schemacompat - map rdlock: old way MAP_MONITOR_DISABLED
|
|
|
|
|
|
|
|
|
|
* Fri Feb 07 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.4-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Fix build with newer gcc versions
|
|
|
|
|
- Resolves rhbz#1800097
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 06 2019 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.3-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.2-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 02 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-6
|
|
|
|
|
- Force rebuild of configure
|
|
|
|
|
|
|
|
|
|
* Wed May 02 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-5
|
|
|
|
|
- Link with libnsl explicitly in Fedora 28 or later
|
|
|
|
|
- Require libnsl2-devel for build
|
|
|
|
|
- Resolves rhbz#1573636
|
|
|
|
|
|
|
|
|
|
* Thu Mar 15 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-4
|
|
|
|
|
- Remove tcpwrappers support as they aren't available in Fedora anymore
|
|
|
|
|
|
|
|
|
|
* Thu Mar 15 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-3
|
|
|
|
|
- Do not build on i686 in Fedora 28 or later as 389-ds-base is not available there anymore
|
|
|
|
|
- Resolves rhbz#1556448
|
|
|
|
|
- Remove outdated ExclusiveArch for RHEL6
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2018 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.2-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Update links to the upstream project page and releases
|
|
|
|
|
- Use extended SSSD API to signal that an entry should not be cached anymore
|
|
|
|
|
- Add support for timeout-based NSS queries with libsss_nss_idmap
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 08 2016 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.1-1
|
|
|
|
|
- Support querying external users by UPN alias
|
|
|
|
|
- Don't clobber target of the pblock for ID views
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2016 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.0-2
|
|
|
|
|
- Updated upstream tarball
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2016 Alexander Bokovoy <abokovoy@redhat.com> - 0.56-1
|
|
|
|
|
- Add support for changing passwords for users from a primary tree
|
|
|
|
|
- requires DS 1.3.5.6 or later
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2016 Alexander Bokovoy <abokovoy@redhat.com> - 0.55-3
|
|
|
|
|
- Add support to properly shutdown priming cache from RHEL 7.2.4
|
|
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.55-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2016 Alexander Bokovoy <abokovoy@redhat.com> - 0.55-1
|
|
|
|
|
- Support external members of IPA groups in schema compat
|
|
|
|
|
- Support bind over ID overrides when uid is not overridden
|
|
|
|
|
- Populate schema compat trees in parallel to LDAP server startup
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.54.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Mar 26 2015 Alexander Bokovoy <abokovoy@redhat.com> - 0.54.2-1
|
|
|
|
|
- CVE-2015-0283 slapi-nis: infinite loop in getgrnam_r() and getgrgid_r() (#1206049)
|
|
|
|
|
- Make sure nss_sss.so.2 module is used directly
|
|
|
|
|
- Allow building slapi-nis with ID views against 389-ds-base from RHEL7.0/CentOS7.0 releases
|
|
|
|
|
|
|
|
|
|
* Thu Nov 6 2014 Alexander Bokovoy <abokovoy@redhat.com> - 0.54.1-1
|
|
|
|
|
- support FreeIPA overrides in LDAP BIND callback
|
|
|
|
|
- ignore FreeIPA override searchs outside configured schema compat subtrees
|
|
|
|
|
|
|
|
|
|
* Fri Oct 10 2014 Alexander Bokovoy <abokovoy@redhat.com> - 0.54-1
|
|
|
|
|
- Add support for FreeIPA's ID views
|
|
|
|
|
- Allow searching SSSD-provided users as memberUid case-insensitevly
|
|
|
|
|
Fixes bug #1130131
|
|
|
|
|
|
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.53-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.53-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 22 2014 Nalin Dahyabhai <nalin@redhat.com> - 0.53-1
|
|
|
|
|
- correct the default NIS map settings for hosts.byname and hosts.byaddr,
|
|
|
|
|
from report by Rik Megens
|
|
|
|
|
- fix several problems when hitting out-of-memory conditions, spotted by
|
|
|
|
|
static analysis
|
|
|
|
|
|
|
|
|
|
* Mon Jan 20 2014 Nalin Dahyabhai <nalin@redhat.com> - 0.52-3
|
|
|
|
|
- remove ExclusiveArch if %%{rhel} is 7 or higher, because 389-ds-base gets
|
|
|
|
|
built for everything now (#1055711)
|
|
|
|
|
|
|
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.52-2
|
|
|
|
|
- Mass rebuild 2013-12-27
|
|
|
|
|
|
|
|
|
|
* Mon Dec 16 2013 Nalin Dahyabhai <nalin@redhat.com> - 0.52-1
|
|
|
|
|
- correctly reflect whether or not we're built with transaction support in
|
|
|
|
|
the module's nsslapd-pluginVersion attribute
|
|
|
|
|
- fix a couple of should've-used-memmove()-instead-of-memcpy() cases which
|
|
|
|
|
would hit when removing maps or groups of maps (#1043546)
|
|
|
|
|
would hit when removing maps or groups of maps (#1043546/#1043638)
|
|
|
|
|
|
|
|
|
|
* Mon Dec 9 2013 Nalin Dahyabhai <nalin@redhat.com> - 0.51-1
|
|
|
|
|
- fix another request argument memory leak in NIS server
|
|
|
|
|
- fix another request argument memory leak in NIS server (#1040159)
|
|
|
|
|
- fix miscellaneous items found by static analysis
|
|
|
|
|
|
|
|
|
|
* Tue Oct 1 2013 Nalin Dahyabhai <nalin@redhat.com> - 0.50-1
|
|
|
|
|