diff options
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb new file mode 100644 index 0000000000..5bad6f17ad --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb | |||
@@ -0,0 +1,65 @@ | |||
1 | SUMMARY = "userspace utilities for kernel nfs" | ||
2 | DESCRIPTION = "The nfs-utils package provides a daemon for the kernel \ | ||
3 | NFS server and related tools." | ||
4 | HOMEPAGE = "http://nfs.sourceforge.net/" | ||
5 | SECTION = "console/network" | ||
6 | |||
7 | LICENSE = "MIT & GPLv2+ & BSD" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84" | ||
9 | |||
10 | # util-linux for libblkid | ||
11 | DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers sqlite3" | ||
12 | RDEPENDS_${PN} = "rpcbind" | ||
13 | RRECOMMENDS_${PN} = "kernel-module-nfsd" | ||
14 | |||
15 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \ | ||
16 | file://nfs-utils.1.2.8.rc3.patch \ | ||
17 | file://nfs-utils-1.0.6-uclibc.patch \ | ||
18 | file://nfs-utils-1.2.3-uclibc-libio.h.patch \ | ||
19 | file://nfs-utils-1.2.3-sm-notify-res_init.patch \ | ||
20 | file://nfsserver" | ||
21 | |||
22 | SRC_URI[md5sum] = "3b5ca797197765dc0c3a4122720c7716" | ||
23 | SRC_URI[sha256sum] = "7ef8e0a8b22cd7ff33f3afd28e770d45643fae303468a180640c2967833fe75e" | ||
24 | |||
25 | PARALLEL_MAKE = "" | ||
26 | |||
27 | # Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will | ||
28 | # pull in the remainder of the dependencies. | ||
29 | |||
30 | INITSCRIPT_NAME = "nfsserver" | ||
31 | # The server has no dependencies at the user run levels, so just put | ||
32 | # it in at the default levels. It must be terminated before the network | ||
33 | # in the shutdown levels, but that works fine. | ||
34 | INITSCRIPT_PARAMS = "defaults" | ||
35 | |||
36 | inherit autotools update-rc.d | ||
37 | |||
38 | # --enable-uuid is need for cross-compiling | ||
39 | EXTRA_OECONF = "--with-statduser=nobody \ | ||
40 | --enable-mountconfig \ | ||
41 | --enable-libmount-mount \ | ||
42 | --disable-nfsv41 \ | ||
43 | --enable-uuid \ | ||
44 | --disable-gss \ | ||
45 | --disable-tirpc \ | ||
46 | --disable-nfsdcltrack \ | ||
47 | --with-statdpath=/var/lib/nfs/statd \ | ||
48 | " | ||
49 | |||
50 | INHIBIT_AUTO_STAGE = "1" | ||
51 | |||
52 | PACKAGES =+ "${PN}-client ${PN}-stats" | ||
53 | FILES_${PN}-client = "${base_sbindir}/*mount.nfs*" | ||
54 | FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat" | ||
55 | RDEPENDS_${PN}-stats = "python" | ||
56 | |||
57 | do_install_append () { | ||
58 | install -d ${D}${sysconfdir}/init.d | ||
59 | install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver | ||
60 | |||
61 | # the following are built by CC_FOR_BUILD | ||
62 | rm -f ${D}${sbindir}/rpcdebug | ||
63 | rm -f ${D}${sbindir}/rpcgen | ||
64 | rm -f ${D}${sbindir}/locktest | ||
65 | } | ||