diff options
Diffstat (limited to 'package/autofs')
-rw-r--r-- | package/autofs/Makefile | 28 | ||||
-rw-r--r-- | package/autofs/patches/patch-configure_in | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/package/autofs/Makefile b/package/autofs/Makefile new file mode 100644 index 000000000..9fd28a258 --- /dev/null +++ b/package/autofs/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= autofs +PKG_VERSION:= 5.1.3 +PKG_RELEASE:= 1 +PKG_HASH:= e96eebfe3ed5fb1a30f4510f538198affde223e370c6dc2bed9780309272b1bf +PKG_DESCR:= automount filesystems +PKG_SECTION:= net/fs +PKG_DEPENDS:= libtirpc +PKG_BUILDDEP:= libtirpc +PKG_SITES:= https://www.kernel.org/pub/linux/daemons/autofs/v5/ + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,AUTOFS,autofs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +AUTOTOOL_STYLE:= autoreconf +CONFIGURE_ARGS+= --with-libtirpc + +autofs-install: + $(INSTALL_DIR) $(IDIR_AUTOFS)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/autofs \ + $(IDIR_AUTOFS)/usr/bin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/autofs/patches/patch-configure_in b/package/autofs/patches/patch-configure_in new file mode 100644 index 000000000..bf4fe87a8 --- /dev/null +++ b/package/autofs/patches/patch-configure_in @@ -0,0 +1,12 @@ +--- autofs-5.1.3.orig/configure.in 2017-05-24 04:16:59.000000000 +0200 ++++ autofs-5.1.3/configure.in 2017-06-25 22:09:22.834510245 +0200 +@@ -124,8 +124,7 @@ AC_SUBST(flagdir) + # + # Use libtirpc + # +-AF_WITH_LIBTIRPC() +-AC_SUBST(TIRPCLIB) ++PKG_CHECK_MODULES([TIRPC], [tirpc]) + + # + # Optional include dmalloc |