2018-02-05 13:56:51 +00:00
|
|
|
Name: nss_nis
|
2019-08-14 15:02:49 +00:00
|
|
|
Version: 3.1
|
2019-09-23 10:02:33 +00:00
|
|
|
Release: 2%{?dist}
|
2018-02-05 13:56:51 +00:00
|
|
|
Summary: Name Service Switch (NSS) module using NIS
|
|
|
|
License: LGPLv2+
|
|
|
|
Url: https://github.com/thkukuk/libnss_nis
|
|
|
|
Source: https://github.com/thkukuk/libnss_nis/archive/v%{version}.tar.gz
|
|
|
|
|
2018-08-01 10:19:39 +00:00
|
|
|
# https://github.com/systemd/systemd/issues/7074
|
|
|
|
Source2: nss_nis.conf
|
|
|
|
|
2018-02-05 13:56:51 +00:00
|
|
|
BuildRequires: libnsl2-devel
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
2018-08-01 12:56:23 +00:00
|
|
|
BuildRequires: systemd
|
2018-02-05 13:56:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
The nss_nis Name Service Switch module uses the Network Information System (NIS)
|
|
|
|
to obtain user, group, host name, and other data.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libnss_nis-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
|
|
|
%configure --libdir=%{_libdir} --includedir=%{_includedir}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm %{buildroot}/%{_libdir}/libnss_nis.{a,la}
|
|
|
|
rm %{buildroot}/%{_libdir}/libnss_nis.so
|
|
|
|
|
2018-08-01 10:19:39 +00:00
|
|
|
install -D -m 644 %{SOURCE2} %{buildroot}/%{_unitdir}/systemd-logind.service.d/nss_nis.conf
|
|
|
|
|
2018-02-05 13:56:51 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2019-01-22 17:40:31 +00:00
|
|
|
%ldconfig_scriptlets
|
2018-02-05 13:56:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_libdir}/libnss_nis.so.2
|
|
|
|
%{_libdir}/libnss_nis.so.2.0.0
|
2018-08-01 10:19:39 +00:00
|
|
|
%{_unitdir}/systemd-logind.service.d/*
|
|
|
|
|
2018-02-05 13:56:51 +00:00
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%changelog
|
2019-08-14 15:02:49 +00:00
|
|
|
* Wed Aug 14 2019 Matej Mužila <mmuzila@redhat.com> - 3.1-1
|
|
|
|
- Update to version 3.1
|
|
|
|
- Resolves: #1736327
|
|
|
|
|
2019-07-25 22:37:01 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 16:33:37 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-09 13:55:14 +00:00
|
|
|
* Fri Nov 9 2018 Matej Mužila <mmuzila@redhat.com> 3.0-8
|
|
|
|
- Add systemd-logind snippet (RestrictAddressFamilies)
|
|
|
|
- Resolves: #1645308
|
|
|
|
|
2018-08-01 12:56:23 +00:00
|
|
|
* Wed Aug 1 2018 Matej Mužila <mmuzila@redhat.com> - 3.0-7
|
|
|
|
- BuildRequire systemd
|
|
|
|
|
2018-08-01 10:19:39 +00:00
|
|
|
* Wed Aug 1 2018 Matej Mužila <mmuzila@redhat.com> - 3.0-6
|
|
|
|
- Add systemd-logind snippet (IPAddressAllow=any)
|
|
|
|
- Resolves: #1574959
|
|
|
|
|
2018-07-13 14:32:11 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 08:30:06 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 13:56:51 +00:00
|
|
|
* Tue Jan 30 2018 Matej Mužila <mmuzila@redthat.com> - 3.0-3
|
|
|
|
- Inital release
|