Update to version 2.4 supporting IPv6
This commit is contained in:
parent
215d292297
commit
feb6de6078
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ ypbind-mt-1.32.tar.bz2
|
|||||||
/ypbind-mt-1.37.1.tar.bz2
|
/ypbind-mt-1.37.1.tar.bz2
|
||||||
/ypbind-mt-1.37.2.tar.bz2
|
/ypbind-mt-1.37.2.tar.bz2
|
||||||
/ypbind-mt-1.38.tar.bz2
|
/ypbind-mt-1.38.tar.bz2
|
||||||
|
/ypbind-mt-2.4.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
094088c0e282fa7f3b3dd6cc51d0a4e1 ypbind-mt-1.38.tar.bz2
|
SHA512 (ypbind-mt-2.4.tar.gz) = 6665aa9e80d036fa0b9a585abe30a992f1a2f4640c69a7f2ed65ffc7f22dd6a31ebd022f8214fbd816e7a06605fa1e0f639e010bfd0f61b91c87d6851dafcb7b
|
||||||
|
10
ypbind-2.4-gettext_version.patch
Normal file
10
ypbind-2.4-gettext_version.patch
Normal 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)
|
22
ypbind.spec
22
ypbind.spec
@ -1,11 +1,11 @@
|
|||||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||||
Name: ypbind
|
Name: ypbind
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
Version: 1.38
|
Version: 2.4
|
||||||
Release: 7%{?dist}
|
Release: 1%{?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.gz
|
||||||
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
|
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
|
||||||
#Source1: ypbind.init
|
#Source1: ypbind.init
|
||||||
Source2: nis.sh
|
Source2: nis.sh
|
||||||
@ -18,6 +18,7 @@ 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
|
Patch3: ypbind-systemdso.patch
|
||||||
|
Patch4: ypbind-2.4-gettext_version.patch
|
||||||
# This is for /bin/systemctl
|
# This is for /bin/systemctl
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -30,6 +31,8 @@ BuildRequires: systemd
|
|||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
|
BuildRequires: libnsl2-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Network Information Service (NIS) is a system that provides
|
The Network Information Service (NIS) is a system that provides
|
||||||
@ -51,8 +54,9 @@ also need to install the ypserv package to a machine on your network.
|
|||||||
%prep
|
%prep
|
||||||
%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
|
#%patch3 -p1 -b .systemdso
|
||||||
|
%patch4 -b .gettext_version
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
@ -63,7 +67,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||||
%endif
|
%endif
|
||||||
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
|
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
|
||||||
%configure --enable-dbus-nm
|
|
||||||
|
#export CFLAGS="$CFLAGS -H"
|
||||||
|
|
||||||
|
%configure
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -102,6 +109,9 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 19 2017 Matej Mužila <mmuzila@gmail.com> - 3:2.4-1
|
||||||
|
- Update to version 2.4 supporting IPv6
|
||||||
|
|
||||||
* Wed Nov 23 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 3:1.38-7
|
* Wed Nov 23 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 3:1.38-7
|
||||||
- Remove check for libsystemd-daemon from ypbind-systemdso.patch (RHBZ#1396893).
|
- Remove check for libsystemd-daemon from ypbind-systemdso.patch (RHBZ#1396893).
|
||||||
- Add check for systemd/sd-daemon.h to ypbind-systemdso.patch.
|
- Add check for systemd/sd-daemon.h to ypbind-systemdso.patch.
|
||||||
|
Loading…
Reference in New Issue
Block a user