From dd659bf840c4cf5f1c6230f426fe1ddda4f5ce13 Mon Sep 17 00:00:00 2001 From: Marek Kulik Date: Mon, 27 Sep 2021 11:43:51 +0200 Subject: [PATCH 01/11] Fix setsebool log message with selinux disabled This is cosmetic fix, that's prevent execution of setsebool during ypbind service start when selinux is disabled. As a result invalid boolean message should not occur in logs anymore: systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder... setsebool[1581714]: Could not change active booleans: Invalid boolean Resolves: #1882069 --- ypbind.service | 2 +- ypbind.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ypbind.service b/ypbind.service index 16a4cf8..2c45afe 100644 --- a/ypbind.service +++ b/ypbind.service @@ -13,7 +13,7 @@ NotifyAccess=all EnvironmentFile=-/etc/sysconfig/network EnvironmentFile=-/etc/sysconfig/ypbind ExecStartPre=/usr/libexec/ypbind-pre-setdomain -ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1 +ExecStartPre=-/bin/bash -c 'selinuxenabled && /usr/sbin/setsebool allow_ypbind=1' ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS ExecStartPost=/usr/libexec/ypbind-post-waitbind PrivateTmp=true diff --git a/ypbind.spec b/ypbind.spec index d82dc7d..434db87 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Tue Sep 28 2021 Marek Kulik - 3:2.7.2-6 +- Fix setsebool message in logs, resolves: #1882069 + * Fri Jul 23 2021 Fedora Release Engineering - 3:2.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 9c8d1c730a7baba83390482aa5e10d2fda90f872 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 02/11] Rebuild(libnsl2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 434db87..70f3a2a 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Fri Nov 12 2021 Björn Esser - 3:2.7.2-7 +- Rebuild(libnsl2) + * Tue Sep 28 2021 Marek Kulik - 3:2.7.2-6 - Fix setsebool message in logs, resolves: #1882069 From c8e5bb11ff65c1f0f3ada84509b836c3191c5077 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:43:39 +0000 Subject: [PATCH 03/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 70f3a2a..39f3345 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 3:2.7.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Nov 12 2021 Björn Esser - 3:2.7.2-7 - Rebuild(libnsl2) From 70148df8e22f743a3887ce65c1024bbfb049968f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:46:44 +0000 Subject: [PATCH 04/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 39f3345..73783f0 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 3:2.7.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 3:2.7.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From e8bedaf5bf3c652e5a825a78a56e44e1403b9fe5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:07:25 +0000 Subject: [PATCH 05/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 73783f0..b01bb3c 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 3:2.7.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 3:2.7.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 13276c032243dab0714e817b25ccc4cb8181dec5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:32:42 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index b01bb3c..24ca265 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 3:2.7.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 3:2.7.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 48d7eadb2cb7fdc32974bd266529e207377dcfa1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 10:50:37 +0000 Subject: [PATCH 07/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 24ca265..7cc0aa4 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2 Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz Url: http://www.linux-nis.org/nis/ypbind-mt/index.html @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 3:2.7.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 3:2.7.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 307377a249fb38c73d318f85eea9959758b1c776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sloup?= Date: Tue, 30 Jan 2024 19:41:22 +0100 Subject: [PATCH 08/11] Update license tag to the SPDX format (GPL-2.0-only) --- ypbind.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/ypbind.spec b/ypbind.spec index 7cc0aa4..0642fed 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,20 +2,23 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 12%{?dist} -License: GPLv2 +Release: 13%{?dist} +License: GPL-2.0-only +Url: https://www.thkukuk.de/nis/nis/ypbind-mt/ + Source0: https://github.com/thkukuk/ypbind-mt/archive/v%{version}.tar.gz#/ypbind-mt-%{version}.tar.gz -Url: http://www.linux-nis.org/nis/ypbind-mt/index.html #Source1: ypbind.init Source2: nis.sh Source3: ypbind.service Source4: ypbind-pre-setdomain Source5: ypbind-post-waitbind + # Fedora-specific patch. Renaming 'ypbind' package to proper # 'ypbind-mt' would allow us to drop it. Patch1: ypbind-1.11-gettextdomain.patch # Not sent to upstream. Patch2: ypbind-2.5-helpman.patch + # This is for /bin/systemctl Requires(post): systemd Requires(preun): systemd @@ -53,9 +56,7 @@ Install the ypbind package on any machines running NIS client programs also need to install the ypserv package to a machine on your network. %prep -%setup -q -n ypbind-mt-%{version} -%patch1 -p1 -b .gettextdomain -%patch2 -p1 -b .helpman +%autosetup -p1 -n ypbind-mt-%{version} autoreconf -fiv @@ -72,7 +73,6 @@ export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now" %configure %make_build - %install %make_install @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Tue Jan 30 2024 Ondrej Sloup - 3:2.7.2-13 +- Update license tag to the SPDX format (GPL-2.0-only) + * Sat Jan 27 2024 Fedora Release Engineering - 3:2.7.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b3767f7b0a876d6a21c4a99439526c2b9ada1ba2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:43:48 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 0642fed..574490f 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 13%{?dist} +Release: 14%{?dist} License: GPL-2.0-only Url: https://www.thkukuk.de/nis/nis/ypbind-mt/ @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 3:2.7.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jan 30 2024 Ondrej Sloup - 3:2.7.2-13 - Update license tag to the SPDX format (GPL-2.0-only) From 3f90d57db51a6bd150aa7cf3378d831192b7ece2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:36:18 +0000 Subject: [PATCH 10/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index 574490f..d9c8621 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 14%{?dist} +Release: 15%{?dist} License: GPL-2.0-only Url: https://www.thkukuk.de/nis/nis/ypbind-mt/ @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 3:2.7.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 3:2.7.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 2b10648b4c8472d7db32ac12329a127ce064b960 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:13:27 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- ypbind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ypbind.spec b/ypbind.spec index d9c8621..77e5fc6 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Epoch: 3 Version: 2.7.2 -Release: 15%{?dist} +Release: 16%{?dist} License: GPL-2.0-only Url: https://www.thkukuk.de/nis/nis/ypbind-mt/ @@ -109,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind %license COPYING %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3:2.7.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 3:2.7.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild