From e5ff945d65863e6cde941dd6f6369436be1a7f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 14 Jan 2019 19:20:33 +0100 Subject: [PATCH 01/23] Rebuilt for libcrypt.so.2 (#1666033) --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 1eb776c..67ef4d6 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: System Environment/Base Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz @@ -79,6 +79,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Mon Jan 14 2019 Björn Esser - 4.2.3-3 +- Rebuilt for libcrypt.so.2 (#1666033) + * Sat Jul 14 2018 Fedora Release Engineering - 4.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From f1b5fbef42c287a74bef4b3793cfa20a417e8f1d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:32 +0100 Subject: [PATCH 02/23] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- yp-tools.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/yp-tools.spec b/yp-tools.spec index 67ef4d6..cebab2d 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -3,7 +3,6 @@ Name: yp-tools Version: 4.2.3 Release: 3%{?dist} License: GPLv2 -Group: System Environment/Base Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch Patch2: yp-tools-2.12-crypt.patch @@ -38,7 +37,6 @@ you'll need to install the ypserv package on one machine on the network. %package devel Summary: NIS (or YP) client programs -Group: System Environment/Base Requires: yp-tools %description devel From 4f79a55d9d8931a0a4137e0c38f345e3c8fdf9bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 13:00:41 +0000 Subject: [PATCH 03/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index cebab2d..efef186 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -77,6 +77,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 4.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Jan 14 2019 Björn Esser - 4.2.3-3 - Rebuilt for libcrypt.so.2 (#1666033) From 8cbc5e0761e8d7473e8a4b4ffbb26ca29365af0f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 04:51:05 +0000 Subject: [PATCH 04/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index efef186..8870661 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -77,6 +77,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 4.2.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 4.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 8c3df022862bde8c2cd519539cf132262a0dbc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Janu=C5=A1?= Date: Tue, 29 Oct 2019 13:32:17 +0100 Subject: [PATCH 05/23] fix (#1671452), add patch --- yp-tools-4.2.3-yppasswd.patch | 19 +++++++++++++++++++ yp-tools.spec | 9 ++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 yp-tools-4.2.3-yppasswd.patch diff --git a/yp-tools-4.2.3-yppasswd.patch b/yp-tools-4.2.3-yppasswd.patch new file mode 100644 index 0000000..4c680e3 --- /dev/null +++ b/yp-tools-4.2.3-yppasswd.patch @@ -0,0 +1,19 @@ + author Filip Januš (fjanus@redhat.com) + date 29. 10. 2019 + + +diff -ur yp-tools-4.2.3/src/yppasswd.c yp-tools-master/src/yppasswd.c +--- yp-tools-4.2.3/src/yppasswd.c 2018-03-27 15:47:48.000000000 +0200 ++++ yp-tools-master/src/yppasswd.c 2019-10-29 12:00:29.000000000 +0100 +@@ -281,6 +281,11 @@ + CLIENT *clnt; + + clnt = clnt_create (master, YPPROG, YPVERS, "udp"); ++ ++ /* clnt_create can return NULL in some cases */ ++ if (clnt == NULL) ++ return NULL; ++ + clnt->cl_auth = authunix_create_default (); + + if (name == NULL) diff --git a/yp-tools.spec b/yp-tools.spec index 8870661..d8187f6 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,13 +1,14 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch Patch2: yp-tools-2.12-crypt.patch Patch3: yp-tools-2.12-adjunct.patch Patch4: yp-tools-4.2.2-strict-prototypes.patch +Patch5: yp-tools-4.2.3-yppasswd.patch Url: http://www.linux-nis.org/nis/yp-tools/index.html BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel, libnsl2-devel Requires: ypbind >= 3:2.4-2 @@ -49,6 +50,7 @@ Install yp-tools-devel package for developing applications that use yp-tools %patch2 -p1 -b .crypt %patch3 -p1 -b .adjunct %patch4 -p1 -b .strict-prototypes +%patch5 -p1 autoreconf -i -f -v @@ -77,6 +79,11 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Tue Oct 29 2019 Filip Januš - 4.2.3-6 +- Add yppasswd patch +- Bug https://bugzilla.redhat.com/show_bug.cgi?id=1671452 +- Pull request https://github.com/thkukuk/yp-tools/pull/7 + * Sat Jul 27 2019 Fedora Release Engineering - 4.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 027424d77bdb41b92351d42e662e6051f780cd92 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 05:09:29 +0000 Subject: [PATCH 06/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index d8187f6..7843412 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -79,6 +79,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 4.2.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Oct 29 2019 Filip Januš - 4.2.3-6 - Add yppasswd patch - Bug https://bugzilla.redhat.com/show_bug.cgi?id=1671452 From 9399460d6a0315560266c8786a927fe780741a07 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 15:15:48 +0000 Subject: [PATCH 07/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 7843412..8ffb567 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -79,6 +79,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 4.2.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 4.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 0e60ba4c4107ed044316687531f7408277f77365 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 01:48:25 +0000 Subject: [PATCH 08/23] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- yp-tools.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/yp-tools.spec b/yp-tools.spec index 8ffb567..d558c02 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -10,6 +10,7 @@ Patch3: yp-tools-2.12-adjunct.patch Patch4: yp-tools-4.2.2-strict-prototypes.patch Patch5: yp-tools-4.2.3-yppasswd.patch Url: http://www.linux-nis.org/nis/yp-tools/index.html +BuildRequires: make BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel, libnsl2-devel Requires: ypbind >= 3:2.4-2 Requires: glibc From e93c24ac81b7aa34994e9170b96531ef4edd1ae1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 28 Jan 2021 00:34:38 +0000 Subject: [PATCH 09/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index d558c02..786788b 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Thu Jan 28 2021 Fedora Release Engineering - 4.2.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 4.2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d05a692008b7cdd7f2b038f0cce6ad51876adb55 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 22:09:58 +0000 Subject: [PATCH 10/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 786788b..b7917f8 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 4.2.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jan 28 2021 Fedora Release Engineering - 4.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 07357a4c993c3ec2abef3faf3aeb618ea4ee82c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 12 Nov 2021 22:26:59 +0100 Subject: [PATCH 11/23] Rebuild(libnsl2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index b7917f8..186f7d1 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Fri Nov 12 2021 Björn Esser - 4.2.3-11 +- Rebuild(libnsl2) + * Fri Jul 23 2021 Fedora Release Engineering - 4.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From ca8a641b1adc569a74be3cbd406c58eb99960346 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:43:30 +0000 Subject: [PATCH 12/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 186f7d1..f2cd151 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 4.2.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Nov 12 2021 Björn Esser - 4.2.3-11 - Rebuild(libnsl2) From 96414c8d511610309d059f492a2adeba14d779c7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:46:34 +0000 Subject: [PATCH 13/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index f2cd151..1d899b4 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 4.2.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 4.2.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From a3389b2b8d8a80a078ddf62e79ed7eafd2cc76b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:07:15 +0000 Subject: [PATCH 14/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 1d899b4..f463616 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 4.2.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 4.2.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 17e3997a83f366e67b378cfb1bb2a82c36fae9cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:32:31 +0000 Subject: [PATCH 15/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index f463616..0962bef 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 14%{?dist} +Release: 15%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 4.2.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 4.2.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From b46e2bc563f62e65dfccc0dbd9f9261db6b9ee7f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 10:50:13 +0000 Subject: [PATCH 16/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 0962bef..a95a8f7 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 15%{?dist} +Release: 16%{?dist} License: GPLv2 Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz Patch1: yp-tools-2.12-hash.patch @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 4.2.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 4.2.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 2305a85795931c4df3247663af9ea86427073fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sloup?= Date: Tue, 30 Jan 2024 19:49:18 +0100 Subject: [PATCH 17/23] Fix /etc/passwd flags for locked and deactivated account (rhbz#2093381), Update license tag to the SPDX format (GPL-2.0-only) Minor spec adjustements + autosetup --- ...ools-4.2.3-yppasswd-exclamation_mark.patch | 15 ++++++++++++ yp-tools.spec | 23 +++++++++++-------- 2 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 yp-tools-4.2.3-yppasswd-exclamation_mark.patch diff --git a/yp-tools-4.2.3-yppasswd-exclamation_mark.patch b/yp-tools-4.2.3-yppasswd-exclamation_mark.patch new file mode 100644 index 0000000..c85be96 --- /dev/null +++ b/yp-tools-4.2.3-yppasswd-exclamation_mark.patch @@ -0,0 +1,15 @@ +diff -ur yp-tools-4.2.3/src/yppasswd.c yp-tools-4.2.3/src/yppasswd.c +--- yp-tools-4.2.3/src/yppasswd.c 2018-03-27 15:47:48.000000000 +0200 ++++ yp-tools-4.2.3/src/yppasswd.c 2022-08-16 19:02:41.727441211 +0200 +@@ -689,6 +689,11 @@ + } + } + ++ if (strchr(pwd->pw_passwd, '!') != NULL || strchr(pwd->pw_passwd, '*') != NULL) { ++ printf("%s: The account is locked or has no password. Please unlock the account or set an initial password\n", progname); ++ return 1; ++ } ++ + /* Initialize password information */ + memset (&yppwd, '\0', sizeof (yppwd)); + yppwd.newpw.pw_passwd = pwd->pw_passwd; diff --git a/yp-tools.spec b/yp-tools.spec index a95a8f7..7662f03 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,15 +1,19 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 16%{?dist} -License: GPLv2 +Release: 17%{?dist} +License: GPL-2.0-only + +URL: https://www.thkukuk.de/nis/nis/yp-tools/ Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz + Patch1: yp-tools-2.12-hash.patch Patch2: yp-tools-2.12-crypt.patch Patch3: yp-tools-2.12-adjunct.patch Patch4: yp-tools-4.2.2-strict-prototypes.patch Patch5: yp-tools-4.2.3-yppasswd.patch -Url: http://www.linux-nis.org/nis/yp-tools/index.html +Patch6: yp-tools-4.2.3-yppasswd-exclamation_mark.patch + BuildRequires: make BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel, libnsl2-devel Requires: ypbind >= 3:2.4-2 @@ -46,13 +50,7 @@ Install yp-tools-devel package for developing applications that use yp-tools %prep -%setup -q -n %{name}-%{version} -%patch1 -p1 -b .hash -%patch2 -p1 -b .crypt -%patch3 -p1 -b .adjunct -%patch4 -p1 -b .strict-prototypes -%patch5 -p1 - +%autosetup -n %{name}-%{version} -p1 autoreconf -i -f -v @@ -60,6 +58,7 @@ autoreconf -i -f -v export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type" +# If needed the yppasswd can be deprecated by --enable-call-passwd %configure --disable-domainname %make_build @@ -80,6 +79,10 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Tue Jan 30 2024 Ondrej Sloup - 4.2.3-17 +- Update license tag to the SPDX format (GPL-2.0-only) +- Fix /etc/passwd flags for locked and deactivated account (rhbz#2093381) + * Sat Jan 27 2024 Fedora Release Engineering - 4.2.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 8d79e7ead19682e1b34f98ef4498b247d3577253 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:43:38 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 7662f03..e4e7a58 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 17%{?dist} +Release: 18%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -79,6 +79,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 4.2.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jan 30 2024 Ondrej Sloup - 4.2.3-17 - Update license tag to the SPDX format (GPL-2.0-only) - Fix /etc/passwd flags for locked and deactivated account (rhbz#2093381) From d9e307ecca57a6d9601a1eb941b7d217522c9808 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:36:06 +0000 Subject: [PATCH 19/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index e4e7a58..d5e8158 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 18%{?dist} +Release: 19%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -79,6 +79,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 4.2.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 4.2.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a818b9fb6fc4969d6b885972fb3c5b73f790a6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 1 Feb 2025 19:58:28 +0100 Subject: [PATCH 20/23] Add explicit BR: libxcrypt-devel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- yp-tools.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index d5e8158..c90b094 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 19%{?dist} +Release: 20%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -15,6 +15,7 @@ Patch5: yp-tools-4.2.3-yppasswd.patch Patch6: yp-tools-4.2.3-yppasswd-exclamation_mark.patch BuildRequires: make +BuildRequires: libxcrypt-devel BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel, libnsl2-devel Requires: ypbind >= 3:2.4-2 Requires: glibc @@ -79,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Feb 01 2025 Björn Esser - 4.2.3-20 +- Add explicit BR: libxcrypt-devel + * Sun Jan 19 2025 Fedora Release Engineering - 4.2.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From de942a148b0ef7391ec94c55e2f69d3d976e6cf1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:13:21 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index c90b094..cce17c5 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 20%{?dist} +Release: 21%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.2.3-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Feb 01 2025 Björn Esser - 4.2.3-20 - Add explicit BR: libxcrypt-devel From 9e6d17ad9870a1c183e0a6602ebc8ce8eb85de4a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 21:03:01 +0000 Subject: [PATCH 22/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index cce17c5..09a8e17 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 21%{?dist} +Release: 22%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 4.2.3-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 4.2.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 612f54c61c11b35f06361e5debaabf7c4362885f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:35:39 +0000 Subject: [PATCH 23/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- yp-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yp-tools.spec b/yp-tools.spec index 09a8e17..9e04312 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,7 +1,7 @@ Summary: NIS (or YP) client programs Name: yp-tools Version: 4.2.3 -Release: 22%{?dist} +Release: 23%{?dist} License: GPL-2.0-only URL: https://www.thkukuk.de/nis/nis/yp-tools/ @@ -80,6 +80,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install /var/yp/nicknames %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 4.2.3-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 4.2.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild