1 DESCRIPTION = "userspace utilities for kernel nfs"
3 SECTION = "console/network"
8 DEPENDS = "e2fsprogs-libs tcp-wrappers libevent"
10 SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \
11 file://nfs-utils-tools-unset-cflags.patch;patch=1 \
12 file://nfs-utils-uclibc-compile.patch;patch=1 \
16 S = "${WORKDIR}/nfs-utils-${PV}/"
20 # Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will
21 # pull in the remainder of the dependencies.
23 RRECOMMENDS = "kernel-module-nfsd"
25 INITSCRIPT_NAME = "nfsserver"
26 # The server has no dependencies at the user run levels, so just put
27 # it in at the default levels. It must be terminated before the network
28 # in the shutdown levels, but that works fine.
29 INITSCRIPT_PARAMS = "defaults"
31 inherit autotools update-rc.d
33 EXTRA_OECONF = "--with-statduser=nobody \
37 --with-statedir=/var/lib/nfs"
41 cat ${WORKDIR}/forgotten-defines >> ${S}/support/include/config.h
45 INHIBIT_AUTO_STAGE = "1"
48 install -d ${D}${sysconfdir}/init.d
49 install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
51 rm ${D}${sbindir}/rpcdebug
54 PACKAGES =+ "nfs-utils-client"
55 FILES_nfs-utils-client = "${base_sbindir}/*mount.nfs*"