summaryrefslogtreecommitdiff
path: root/package/rpcbind/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
commit53b2ff052e3a164154d4ee17f189b213e4600ecb (patch)
tree876b66d8afcdb3e83ec5f4cac90721c32fabcd07 /package/rpcbind/Makefile
parent69f8e5c7f61a46b79a3a75036d8cfe86830023c1 (diff)
fix nfs server stuff
If you need ipv6, you should choose TIRPC flavour. This will install rpcbind, which is similar to portmap. For ipv4 only you can just use nfs-utils without TIRPC and portmap will be installed. Fix some kernel module dependencies. Add a new package rpcbind.
Diffstat (limited to 'package/rpcbind/Makefile')
-rw-r--r--package/rpcbind/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/rpcbind/Makefile b/package/rpcbind/Makefile
new file mode 100644
index 000000000..6afd4b8bd
--- /dev/null
+++ b/package/rpcbind/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= rpcbind
+PKG_VERSION:= 0.2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 1a77ddb1aaea8099ab19c351eeb26316
+PKG_DESCR:= converts RPC program numbers into universal addresses
+PKG_SECTION:= net
+PKG_DEPENDS:= libtirpc
+PKG_BUILDDEP+= libtirpc
+PKG_URL:= http://sourceforge.net/projects/rpcbind/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rpcbind/}
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,RPCBIND,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+TCFLAGS+= -I${STAGING_DIR}/usr/include/tirpc
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= --disable-libwrap
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_RPCBIND)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcbind \
+ $(IDIR_RPCBIND)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcinfo \
+ $(IDIR_RPCBIND)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk