2010-09-28 14:30:42 +00:00
|
|
|
SUMMARY = "userspace utilities for kernel nfs"
|
|
|
|
DESCRIPTION = "The nfs-utils package provides a daemon for the kernel \
|
|
|
|
NFS server and related tools."
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
HOMEPAGE = "http://nfs.sourceforge.net/"
|
|
|
|
SECTION = "console/network"
|
|
|
|
|
2013-01-22 05:04:26 +00:00
|
|
|
LICENSE = "MIT & GPLv2+ & BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
|
|
|
# util-linux for libblkid
|
2013-05-31 02:26:29 +00:00
|
|
|
DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3"
|
2013-11-21 07:26:54 +00:00
|
|
|
RDEPENDS_${PN} = "rpcbind bash"
|
2010-12-23 19:23:33 +00:00
|
|
|
RRECOMMENDS_${PN} = "kernel-module-nfsd"
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
2013-01-22 05:04:26 +00:00
|
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
file://nfs-utils-1.0.6-uclibc.patch \
|
2013-01-22 05:04:26 +00:00
|
|
|
file://nfs-utils-1.2.3-sm-notify-res_init.patch \
|
2013-09-04 11:05:02 +00:00
|
|
|
file://nfsserver \
|
|
|
|
file://nfs-utils.conf \
|
|
|
|
file://nfs-server.service \
|
|
|
|
file://nfs-mountd.service \
|
|
|
|
file://nfs-statd.service "
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
2013-05-15 12:32:12 +00:00
|
|
|
SRC_URI[md5sum] = "6e7d97de51e428a0b8698c16ca23db77"
|
|
|
|
SRC_URI[sha256sum] = "1cc8f02a633eddbf0a1d93421f331479c4cdab4c5ab33b8bf8c7c369f9156ac6"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
|
|
|
|
# Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will
|
|
|
|
# pull in the remainder of the dependencies.
|
|
|
|
|
|
|
|
INITSCRIPT_NAME = "nfsserver"
|
|
|
|
# The server has no dependencies at the user run levels, so just put
|
|
|
|
# it in at the default levels. It must be terminated before the network
|
|
|
|
# in the shutdown levels, but that works fine.
|
|
|
|
INITSCRIPT_PARAMS = "defaults"
|
|
|
|
|
2013-09-04 11:05:02 +00:00
|
|
|
inherit autotools update-rc.d systemd
|
|
|
|
|
|
|
|
SYSTEMD_SERVICE_${PN} = "nfs-server.service nfs-mountd.service nfs-statd.service"
|
|
|
|
SYSTEMD_AUTO_ENABLE = "disable"
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
|
|
|
# --enable-uuid is need for cross-compiling
|
|
|
|
EXTRA_OECONF = "--with-statduser=nobody \
|
2013-01-22 05:04:26 +00:00
|
|
|
--enable-mountconfig \
|
|
|
|
--enable-libmount-mount \
|
|
|
|
--disable-nfsv41 \
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
--enable-uuid \
|
|
|
|
--disable-gss \
|
|
|
|
--disable-tirpc \
|
2013-01-22 05:04:26 +00:00
|
|
|
--disable-nfsdcltrack \
|
|
|
|
--with-statdpath=/var/lib/nfs/statd \
|
|
|
|
"
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
2013-05-31 02:26:29 +00:00
|
|
|
PACKAGECONFIG ??= "tcp-wrappers"
|
|
|
|
PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers"
|
|
|
|
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
INHIBIT_AUTO_STAGE = "1"
|
|
|
|
|
2011-10-13 11:44:13 +00:00
|
|
|
PACKAGES =+ "${PN}-client ${PN}-stats"
|
|
|
|
FILES_${PN}-client = "${base_sbindir}/*mount.nfs*"
|
|
|
|
FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat"
|
|
|
|
RDEPENDS_${PN}-stats = "python"
|
|
|
|
|
2013-05-15 12:32:12 +00:00
|
|
|
# Make clean needed because the package comes with
|
|
|
|
# precompiled 64-bit objects that break the build
|
|
|
|
do_compile_prepend() {
|
2013-08-13 06:52:38 +00:00
|
|
|
make clean
|
2013-05-15 12:32:12 +00:00
|
|
|
}
|
|
|
|
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}${sysconfdir}/init.d
|
2013-02-08 21:46:35 +00:00
|
|
|
install -d ${D}${localstatedir}/lib/nfs/statd
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
|
2013-09-04 11:05:02 +00:00
|
|
|
|
|
|
|
install -m 0755 ${WORKDIR}/nfs-utils.conf ${D}${sysconfdir}
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
|
|
install -m 0644 ${WORKDIR}/nfs-server.service ${D}${systemd_unitdir}/system/
|
|
|
|
install -m 0644 ${WORKDIR}/nfs-mountd.service ${D}${systemd_unitdir}/system/
|
|
|
|
install -m 0644 ${WORKDIR}/nfs-statd.service ${D}${systemd_unitdir}/system/
|
|
|
|
sed -i -e 's,@SBINDIR@,${sbindir},g' \
|
|
|
|
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
|
|
|
${D}${systemd_unitdir}/system/*.service
|
|
|
|
|
2013-02-28 18:43:47 +00:00
|
|
|
# kernel code as of 3.8 hard-codes this path as a default
|
|
|
|
install -d ${D}/var/lib/nfs/v4recovery
|
nfs-utils: upgrade to version 1.2.2
from 1.0.6
changes:
- there are several new dependencies: tirpc, libcap libgss,
libnfsimap, libevent and libwrap. disable tirpc, libgss, libwrap
- several changes are in upstream now, include the bzero change
and stat-include change, remove the patches
- a new build system is used, custom macros are now moved to aclocal/,
acinclude and rpcgen fixes are not necessary any more
- rebase uclibc patch
- enable nfsv41, nfsv3 and nfsv4 are default turned on
- do_compile is no longer needed
- the install target has changed a lot, instead of updating the file
list manually, try to use oe_runmake install for installation.
Several files are built against build environment, they are removed
from the packages.
Signed-off-by: Qing He <qing.he@intel.com>
2010-07-07 05:55:23 +00:00
|
|
|
|
|
|
|
# the following are built by CC_FOR_BUILD
|
|
|
|
rm -f ${D}${sbindir}/rpcdebug
|
|
|
|
rm -f ${D}${sbindir}/rpcgen
|
|
|
|
rm -f ${D}${sbindir}/locktest
|
|
|
|
}
|