1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE_URL
:=@SF
/rpcbind
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
9 PKG_HASH
:=2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a
11 PKG_MAINTAINER
:=Andy Walsh
<andy.walsh44
+github@gmail.com
>
12 PKG_LICENSE
:=BSD-3-Clause
15 PKG_REMOVE_FILES
:=autogen.sh aclocal.m4
18 PKG_CONFIG_DEPENDS
:= \
19 CONFIG_RPCBIND_LIBWRAP
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/rpcbind
26 DEPENDS
:=+libtirpc
+RPCBIND_LIBWRAP
:libwrap
27 TITLE
:=Universal addresses to RPC mapper
28 URL
:=http
://rpcbind.sourceforge.net
/
29 USERID
:=rpc
=65533:rpc
=65533
32 define Package
/rpcbind
/description
33 The rpcbind utility is a server that converts RPC program numbers into universal addresses.
34 It must be running on the host to be able to make RPC calls on a server on that machine.
36 Rpcbind replaces portmap for NFS v2
/v3. It has more features
, like ipv6 support.
37 Note
: Nfs4 only configurations can run without it.
40 define Package
/rpcbind
/config
42 config RPCBIND_LIBWRAP
43 bool
"Enable libwrap (TCP wrappers) support."
50 --without-systemdsystemunitdir \
53 ifeq ($(CONFIG_RPCBIND_LIBWRAP
),y
)
54 CONFIGURE_ARGS
+= --enable-libwrap
56 CONFIGURE_ARGS
+= --disable-libwrap
59 define Package
/rpcbind
/install
60 $(INSTALL_DIR
) $(1)/usr
/bin
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/rpcinfo
$(1)/usr
/bin
/
62 $(INSTALL_DIR
) $(1)/usr
/sbin
63 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/rpcbind
$(1)/usr
/sbin
/
64 $(INSTALL_DIR
) $(1)/etc
/init.d
65 $(INSTALL_BIN
) .
/files
/rpcbind.init
$(1)/etc
/init.d
/rpcbind
68 $(eval
$(call BuildPackage
,rpcbind
))