Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

7 changed files with 78 additions and 42 deletions

7
.gitignore vendored
View File

@ -1,2 +1,7 @@
SOURCES/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz
/libnsl-libnsl-1.0.4.tar.gz
/libnsl-libnsl-1.0.5.tar.gz
/libnsl-libnsl-1.1.0.tar.gz
/libnsl-1.2.0.tar.gz
/libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz
/v1.3.0.tar.gz
/v2.0.0.tar.gz

1
.libnsl2.metadata Normal file
View File

@ -0,0 +1 @@
f727e4e0bbf233a2367465bcbaed546ab4875744 v2.0.0.tar.gz

View File

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1,10 +0,0 @@
--- 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"

View File

@ -1,32 +1,37 @@
%global commit0 4a062cf4180d99371198951e4ea5b4550efd58a3
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# Uncomment on initial build for soname bump.
#global bump_soname 1
%global sover 3
%if 0%{?bump_soname}
%global relsuffix ~sonamebump
%global old_sover %(echo $((%{sover}-1)))
%endif
Name: libnsl2
Version: 1.2.0
Release: 2.20180605git%{shortcommit0}%{?dist}
Version: 2.0.0
Release: 1%{?relsuffix}%{?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
Source0: https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
BuildRequires: make
BuildRequires: gcc
%if 0%{?bump_soname}
BuildRequires: libnsl2 < %{version}
%endif
%description
This package contains the libnsl library. This library contains
the public client interface for NIS(YP) and NIS+.
the public client interface for NIS(YP).
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
@ -35,40 +40,33 @@ Development files for libnsl2
%prep
%setup -q -n libnsl-%{commit0}
%patch0 -p1 -b .include_stdint
%setup -q -n libnsl-%{version}
%build
export CFLAGS="%{optflags}"
autoreconf -fiv
%configure\
--libdir=%{_libdir}\
%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
rm %{buildroot}%{_libdir}/libnsl.{a,la}
%if 0%{?bump_soname}
cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}%{_libdir}
%endif
%files
%{_libdir}/libnsl.so.2
%{_libdir}/libnsl.so.2.0.0
%license COPYING
%{_libdir}/libnsl.so.%{sover}*
%if 0%{?bump_soname}
%{_libdir}/libnsl.so.%{old_sover}*
%endif
%files devel
%{_libdir}/libnsl.so
@ -76,6 +74,45 @@ rm %{buildroot}/%{_libdir}/libnsl.la
%{_libdir}/pkgconfig/libnsl.pc
%changelog
* Thu Jan 20 2022 Alexander Bokovoy <abokovoy@redhat.com> - 2.0.0-1
- Rebase to upstream 2.0.0 release
- Resolves: rhbz#2039220
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.0-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.0-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Sep 18 2020 Filip Janus <fjanus@redhat.com> - 1.3.0-1
- Upstreal released new version 1.3.0
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8.20180605git4a062cf
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7.20180605git4a062cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6.20180605git4a062cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5.20180605git4a062cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4.20180605git4a062cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Oct 29 2018 James Antill <james.antill@redhat.com>
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc (#1644073).
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3.20180605git4a062cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* 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

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
---
inspections:
badfuncs: off

View File

@ -1 +1 @@
SHA512 (libnsl-4a062cf4180d99371198951e4ea5b4550efd58a3.tar.gz) = b64e9c41b102e7c33fda82f24130a02e5ffad2e04f5279a75eff227771a17298da3136ddd209d5e8cd9b2cf47ceb8a5d0723836898abcc4caab24f851c5f518d
SHA512 (v2.0.0.tar.gz) = 86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935