Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.
rawhide ... f32

6 changed files with 38 additions and 36 deletions

1
.gitignore vendored
View File

@ -8,4 +8,3 @@ ypbind-mt-1.32.tar.bz2
/ypbind-mt-2.4.tar.gz
/ypbind-mt-2.5.tar.gz
/ypbind-mt-2.6.1.tar.gz
/ypbind-mt-2.7.2.tar.gz

View File

@ -1 +1 @@
SHA512 (ypbind-mt-2.7.2.tar.gz) = 415013ea003bb3d6162b1dac76462d13d1264a2a0dd3c4de057cf7239b9706a76d1f14ee1e3dcfba697aa48e25e3a972772c8210d87bbf847344e4a6c708a5b4
SHA512 (ypbind-mt-2.6.1.tar.gz) = 5d5a15bfdcf93683f309c5c6ddabe785bda274474cf8a68d7034ea4ade35f30efeff5aa9c1087945823ff1f28a85eb2965924189cd1c7d9495b437df26b79b8c

View File

@ -0,0 +1,10 @@
--- configure.ac.gettext_version 2016-03-02 15:10:26.000000000 +0100
+++ configure.ac 2017-02-15 13:39:12.295019148 +0100
@@ -59,7 +60,6 @@ JH_CHECK_XML_CATALOG([http://docbook.sou
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
dnl internationalization macros
-AM_GNU_GETTEXT_VERSION
AM_GNU_GETTEXT([external])
AC_OUTPUT(Makefile lib/Makefile src/Makefile man/Makefile po/Makefile.in)

20
ypbind-systemdso.patch Normal file
View File

@ -0,0 +1,20 @@
diff -Naur ypbind-mt-1.38.orig/configure.ac ypbind-mt-1.38/configure.ac
--- ypbind-mt-1.38.orig/configure.ac 2014-10-20 12:20:33.000000000 +0200
+++ ypbind-mt-1.38/configure.ac 2016-11-23 18:15:58.473713436 +0100
@@ -44,6 +44,7 @@
AC_CHECK_LIB(socket, bind)
AC_CHECK_LIB(pthread, pthread_create)
+AC_CHECK_HEADERS([systemd/sd-daemon.h])
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209], [USE_SD_NOTIFY=1], [USE_SD_NOTIFY=0])
AC_SUBST(USE_SD_NOTIFY)
@@ -105,7 +106,7 @@
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
dnl internationalization macros
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION(0.19)
AM_GNU_GETTEXT([external])
dnl By default, don't send a ping to all server at the same time

View File

@ -13,7 +13,7 @@ NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/network
EnvironmentFile=-/etc/sysconfig/ypbind
ExecStartPre=/usr/libexec/ypbind-pre-setdomain
ExecStartPre=-/bin/bash -c 'selinuxenabled && /usr/sbin/setsebool allow_ypbind=1'
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
ExecStartPost=/usr/libexec/ypbind-post-waitbind
PrivateTmp=true

View File

@ -1,8 +1,8 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind
Epoch: 3
Version: 2.7.2
Release: 9%{?dist}
Version: 2.6.1
Release: 2%{?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
@ -16,6 +16,8 @@ Source5: ypbind-post-waitbind
Patch1: ypbind-1.11-gettextdomain.patch
# Not sent to upstream.
Patch2: ypbind-2.5-helpman.patch
Patch3: ypbind-systemdso.patch
Patch4: ypbind-2.4-gettext_version.patch
# This is for /bin/systemctl
Requires(post): systemd
Requires(preun): systemd
@ -24,7 +26,6 @@ Requires: rpcbind
Requires: yp-tools >= 4.2.2-2
# New nss_nis package in F25+
Requires: nss_nis
BuildRequires: make
BuildRequires: gcc
BuildRequires: dbus-glib-devel, docbook-style-xsl
BuildRequires: systemd
@ -56,6 +57,8 @@ also need to install the ypserv package to a machine on your network.
%setup -q -n ypbind-mt-%{version}
%patch1 -p1 -b .gettextdomain
%patch2 -p1 -b .helpman
#%patch3 -p1 -b .systemdso
%patch4 -b .gettext_version
autoreconf -fiv
@ -109,36 +112,6 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
%license COPYING
%changelog
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 12 2021 Björn Esser <besser82@fedoraproject.org> - 3:2.7.2-7
- Rebuild(libnsl2)
* Tue Sep 28 2021 Marek Kulik <mkulik@redhat.com> - 3:2.7.2-6
- Fix setsebool message in logs, resolves: #1882069
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3:2.7.2-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Apr 20 2020 Filip Januš <fjanus@redhat.com> - 2.7.2-1
- Update version to 2.7.2
- Resolves: #1796030
- Removing obsolete patches
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild