import ypserv-4.1-1.el8

This commit is contained in:
CentOS Sources 2022-03-29 12:52:27 -04:00 committed by Stepan Oksanichenko
parent 29e30fcaf7
commit b72b67d769
4 changed files with 10 additions and 25 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ypserv-5bfba76.tar.gz
SOURCES/v4.1.tar.gz

View File

@ -1 +1 @@
d789e46627d62e08663bbcade57af44317259120 SOURCES/ypserv-5bfba76.tar.gz
2778d0a8d83c2bffe443541fc25bf359dfe5c777 SOURCES/v4.1.tar.gz

View File

@ -1,12 +0,0 @@
--- ypserv-5bfba760283060087aefeb417342bcc66d349b2e/lib/access.c.oldaddr 2017-04-07 13:23:34.403404792 +0200
+++ ypserv-5bfba760283060087aefeb417342bcc66d349b2e/lib/access.c 2017-04-07 13:32:07.315466530 +0200
@@ -151,6 +151,9 @@ copy_netbuf (struct netbuf *src)
static int
cmp_netbuf (struct netbuf *nbuf1, struct netbuf *nbuf2)
{
+ if (nbuf1 == NULL || nbuf2 == NULL)
+ return 1;
+
if (nbuf1->len != nbuf2->len)
return 1;

View File

@ -1,18 +1,13 @@
%global first_tc_version 2.29-2
%global commit0 5bfba760283060087aefeb417342bcc66d349b2e
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Summary: The NIS (Network Information Service) server
Url: http://www.linux-nis.org/nis/ypserv/index.html
Name: ypserv
Version: 4.0
Release: 6.20170331git%{shortcommit0}%{?dist}
Version: 4.1
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Daemons
#Source0: http://www.linux-nis.org/download/ypserv/ypserv-%{version}.tar.bz2
#Source0: https://github.com/thkukuk/ypserv/archive/ypserv-%{version}.tar.gz#/ypserv-ypserv-%{version}.tar.gz
Source0: https://github.com/thkukuk/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz
Source1: ypserv.service
Source2: yppasswdd.service
Source3: ypxfrd.service
@ -40,7 +35,6 @@ Patch9: ypserv-2.29-relro.patch
Patch10: ypserv-2.31-netgrprecur.patch
Patch11: ypserv-2.32-systemdso.patch
Patch12: ypserv-4.0-headers.patch
Patch13: ypserv-4.0-oldaddr.patch
BuildRequires: tokyocabinet-devel
BuildRequires: systemd
@ -69,7 +63,7 @@ machines.
%prep
%setup -n %{name}-%{commit0}
%setup -q
%patch0 -p1 -b .redhat
#%patch1 -p1 -b .path
@ -84,7 +78,6 @@ machines.
%patch10 -p1 -b .netgrprecur
#%patch11 -p1 -b .systemdso
%patch12 -b .headers
%patch13 -p1 -b .oldaddr
autoreconf -i
@ -246,6 +239,10 @@ fi
%{_includedir}/rpcsvc
%changelog
* Tue Jun 29 2021 Filip Januš <fjanus@redhat.com> - 4.1-1
- Update to v4.1
- Resolves: #1974925
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-6.20170331git5bfba76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild