link with systemd.so
This commit is contained in:
parent
793231fb50
commit
892ab7c8f2
16
ypbind-systemdso.patch
Normal file
16
ypbind-systemdso.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff -up ypbind-mt-1.37.2/configure.in.systemdso ypbind-mt-1.37.2/configure.in
|
||||||
|
--- ypbind-mt-1.37.2/configure.in.systemdso 2014-08-15 10:47:04.183182884 +0200
|
||||||
|
+++ ypbind-mt-1.37.2/configure.in 2014-08-15 10:47:37.182232398 +0200
|
||||||
|
@@ -105,10 +105,10 @@ AM_CONDITIONAL(ENABLE_REGENERATE_MAN, te
|
||||||
|
|
||||||
|
USE_SD_NOTIFY=0
|
||||||
|
AC_SUBST(USE_SD_NOTIFY)
|
||||||
|
-AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
|
||||||
|
+AC_CHECK_LIB(systemd,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd",
|
||||||
|
LIBSYSTEMD_DAEMON="")
|
||||||
|
if test -z "$LIBSYSTEMD_DAEMON" ; then
|
||||||
|
- AC_CHECK_LIB(systemd,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd",
|
||||||
|
+ AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
|
||||||
|
LIBSYSTEMD_DAEMON="")
|
||||||
|
fi
|
||||||
|
if test -n "$LIBSYSTEMD_DAEMON" ; then
|
@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain
|
|||||||
Name: ypbind
|
Name: ypbind
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
Version: 1.37.2
|
Version: 1.37.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2
|
Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2
|
||||||
@ -17,6 +17,7 @@ Source5: ypbind-post-waitbind
|
|||||||
Patch1: ypbind-1.11-gettextdomain.patch
|
Patch1: ypbind-1.11-gettextdomain.patch
|
||||||
# Not sent to upstream.
|
# Not sent to upstream.
|
||||||
Patch2: ypbind-helpman.patch
|
Patch2: ypbind-helpman.patch
|
||||||
|
Patch3: ypbind-systemdso.patch
|
||||||
# This is for /bin/systemctl
|
# This is for /bin/systemctl
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -48,6 +49,7 @@ also need to install the ypserv package to a machine on your network.
|
|||||||
%setup -q -n ypbind-mt-%{version}
|
%setup -q -n ypbind-mt-%{version}
|
||||||
%patch1 -p1 -b .gettextdomain
|
%patch1 -p1 -b .gettextdomain
|
||||||
%patch2 -p1 -b .helpman
|
%patch2 -p1 -b .helpman
|
||||||
|
%patch3 -p1 -b .systemdso
|
||||||
|
|
||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
@ -96,6 +98,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||||||
%doc README NEWS COPYING
|
%doc README NEWS COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-2
|
||||||
|
- link with systemd.so
|
||||||
|
|
||||||
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-1
|
* Fri Aug 15 2014 Honza Horak <hhorak@redhat.com> - 3:1.37.2-1
|
||||||
- Update to 1.37.2
|
- Update to 1.37.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user