diff options
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb')
| -rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb new file mode 100644 index 0000000000..fafedd17b5 --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | DESCRIPTION = "userspace utilities for kernel nfs" | ||
| 2 | HOMEPAGE = "http://nfs.sourceforge.net/" | ||
| 3 | SECTION = "console/network" | ||
| 4 | PRIORITY = "optional" | ||
| 5 | |||
| 6 | LICENSE = "GPLv2+" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
| 8 | |||
| 9 | # util-linux for libblkid | ||
| 10 | DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers" | ||
| 11 | RDEPENDS = "portmap" | ||
| 12 | RRECOMMENDS = "kernel-module-nfsd" | ||
| 13 | |||
| 14 | PR = "r1" | ||
| 15 | |||
| 16 | SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \ | ||
| 17 | file://nfs-utils-1.0.6-uclibc.patch \ | ||
| 18 | file://nfsserver" | ||
| 19 | |||
| 20 | PARALLEL_MAKE = "" | ||
| 21 | |||
| 22 | # Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will | ||
| 23 | # pull in the remainder of the dependencies. | ||
| 24 | |||
| 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" | ||
| 30 | |||
| 31 | inherit autotools update-rc.d | ||
| 32 | |||
| 33 | # --enable-uuid is need for cross-compiling | ||
| 34 | EXTRA_OECONF = "--with-statduser=nobody \ | ||
| 35 | --enable-nfsv41 \ | ||
| 36 | --enable-uuid \ | ||
| 37 | --disable-gss \ | ||
| 38 | --disable-tirpc \ | ||
| 39 | --with-statedir=/var/lib/nfs" | ||
| 40 | |||
| 41 | INHIBIT_AUTO_STAGE = "1" | ||
| 42 | |||
| 43 | do_install_append () { | ||
| 44 | install -d ${D}${sysconfdir}/init.d | ||
| 45 | install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver | ||
| 46 | |||
| 47 | # the following are built by CC_FOR_BUILD | ||
| 48 | rm -f ${D}${sbindir}/rpcdebug | ||
| 49 | rm -f ${D}${sbindir}/rpcgen | ||
| 50 | rm -f ${D}${sbindir}/locktest | ||
| 51 | } | ||
