import libnsl2-1.2.0-2.20180605git4a062cf.el8

This commit is contained in:
CentOS Sources 2020-12-16 11:56:52 +00:00 committed by Andrew Lukoshko
commit 18641e6dc1
4 changed files with 117 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz

1
.libnsl2.metadata Normal file
View File

@ -0,0 +1 @@
cab137801ef69007c38c8ab033d57b8f95eb6cb6 SOURCES/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz

View File

@ -0,0 +1,10 @@
--- libnsl-libnsl-1.0.5/src/nisplus/nis_call.c.include_stdint 2017-06-12 16:05:36.864341686 +0200
+++ libnsl-libnsl-1.0.5/src/nisplus/nis_call.c 2017-06-12 16:05:56.745337017 +0200
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <stdint.h>
#include "libc-lock.h"
#include "nis_intern.h"

105
SPECS/libnsl2.spec Normal file
View File

@ -0,0 +1,105 @@
%global commit0 4a062cf4180d99371198951e4ea5b4550efd58a3
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: libnsl2
Version: 1.2.0
Release: 2.20180605git%{shortcommit0}%{?dist}
Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+
Group: System Environment/Libraries
URL: https://github.com/thkukuk/libnsl
Source0: https://github.com/thkukuk/libnsl/archive/%{commit0}.tar.gz#/libnsl-%{commit0}.tar.gz
Patch0: libnsl2-1.0.5-include_stdint.patch
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
%description
This package contains the libnsl library. This library contains
the public client interface for NIS(YP) and NIS+.
This code was formerly part of glibc, but is now standalone to
be able to link against TI-RPC for IPv6 support.
%package devel
Summary: Development files for libnsl
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: glibc-devel < 2.26.9000-40
%description devel
Development files for libnsl2
%prep
%setup -q -n libnsl-%{commit0}
%patch0 -p1 -b .include_stdint
%build
export CFLAGS="%{optflags}"
autoreconf -fiv
%configure\
--libdir=%{_libdir}\
--includedir=%{_includedir}
%make_build
%install
%make_install
rm %{buildroot}/%{_libdir}/libnsl.a
rm %{buildroot}/%{_libdir}/libnsl.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_libdir}/libnsl.so.2
%{_libdir}/libnsl.so.2.0.0
%license COPYING
%files devel
%{_libdir}/libnsl.so
%{_includedir}/*
%{_libdir}/pkgconfig/libnsl.pc
%changelog
* Tue Jun 05 2018 Matej Mužila <mmuzila@redhat.com> - 1.2.0-2.20181605git4a062cf
- Update to 1.2.0-2.20181605git4a062cf
Resolves: rhbz#1573895
* Fri Feb 09 2018 Matej Mužila <mmuzila@reedhat.com> - 1.2.0-1
- Update to version 1.2.0
- Change libdir and includedir
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Oct 04 2017 Matej Mužila <mmuzila@redhat.com> 1.1.0-1
- Update to version 1.1.0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 12 2017 Matej Mužila <mmuzila@redhat.com> 1.0.5-1
- Update to version 1.0.5
- Fix missing stdint.h
* Mon Apr 10 2017 Matej Mužila <mmuzila@redhat.com> 1.0.4-4
- Initial version for 1.0.4