aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch66
1 files changed, 0 insertions, 66 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch
deleted file mode 100644
index 8ad2afacff..0000000000
--- a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-fix-libtirpc-build-option.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-autofs-5.0.7 - fix libtirpc build option
-
-From: Ian Kent <raven@themaw.net>
-
-
----
- CHANGELOG | 1 +
- autofs.spec | 17 ++++++++++++++++-
- 2 files changed, 17 insertions(+), 1 deletion(-)
-
-diff --git a/CHANGELOG b/CHANGELOG
-index e848bcd..b6b2679 100644
---- a/CHANGELOG
-+++ b/CHANGELOG
-@@ -34,6 +34,7 @@
- - depricate nosymlink pseudo option.
- - add symlink pseudo option.
- - fix requires in spec file.
-+- fix libtirpc build option to require libtirpc-devel if needed.
-
- 25/07/2012 autofs-5.0.7
- =======================
-diff --git a/autofs.spec b/autofs.spec
-index 703f7a9..f77acc1 100644
---- a/autofs.spec
-+++ b/autofs.spec
-@@ -12,6 +12,10 @@
- # disable them.
- %define with_systemd %{?_without_systemd: 0} %{?!_without_systemd: 1}
-
-+# Use --without libtirpc in your rpmbuild command or force values to 0 to
-+# disable them.
-+%define with_libtirpc %{?_without_libtirpc: 0} %{?!_without_libtirpc: 1}
-+
- Summary: A tool from automatically mounting and umounting filesystems.
- Name: autofs
- %define version 5.0.7
-@@ -25,6 +29,9 @@ Buildroot: %{_tmppath}/%{name}-tmp
- %if %{with_systemd}
- BuildRequires: systemd-units
- %endif
-+%if %{with_libtirpc}
-+BuildRequires: libtirpc-devel
-+%endif
- BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, cyrus-sasl-devel
- Requires: chkconfig
- Requires: /bin/bash mktemp sed textutils sh-utils grep /bin/ps
-@@ -72,9 +79,17 @@ echo %{version}-%{release} > .version
- %define _unitdir %{?_unitdir:/lib/systemd/system}
- %define systemd_configure_arg --with-systemd
- %endif
-+%if %{with_libtirpc}
-+ %define libtirpc_configure_arg --with-libtirpc
-+%endif
-
- %build
--CFLAGS="$RPM_OPT_FLAGS -Wall" ./configure --libdir=%{_libdir} --disable-mount-locking --enable-ignore-busy --with-libtirpc %{?systemd_configure_arg:}
-+CFLAGS="$RPM_OPT_FLAGS -Wall" \
-+./configure --libdir=%{_libdir} \
-+ --disable-mount-locking \
-+ --enable-ignore-busy \
-+ %{?systemd_configure_arg:} \
-+ %{?libtirpc_configure_arg:}
- CFLAGS="$RPM_OPT_FLAGS -Wall" make initdir=/etc/rc.d/init.d DONTSTRIP=1
-
- %install