summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-28 14:03:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-28 14:19:46 +0200
commitc441fd1e49c1fa3bf210b89b30c0de270e44fdcf (patch)
tree5a679c9b7e5771092de3c80746780cdafd480fee /package
parent90edc495d95f37c47f0065fd4d4fcbde8f5923b2 (diff)
autofs: add new package
Diffstat (limited to 'package')
-rw-r--r--package/autofs/Makefile28
-rw-r--r--package/autofs/patches/patch-configure_in12
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