PN: nfs-utils
PV: 1.3.3
PR: r0
PKGV: 1.3.3
PKGR: r0
LICENSE: MIT & GPLv2+ & BSD
DESCRIPTION: The nfs-utils package provides a daemon for the kernel NFS server and related tools.
SUMMARY: userspace utilities for kernel nfs
RDEPENDS_nfs-utils-client: base-files base-passwd bash initscripts-functions rpcbind shadow libtirpc (>= 1.0.1) libnfsidmap (>= 0.25) libcap (>= 2.25) libwrap (>= 7.6) libevent (>= 2.0.22) glibc (>= linaro-2.23) util-linux-libmount (>= 2.28.1)
RRECOMMENDS_nfs-utils-client:  update-rc.d
SECTION: console/network
PKG_nfs-utils-client: nfs-utils-client
FILES_nfs-utils-client: /sbin/*mount.nfs* /usr/sbin/*statd \t\t      /usr/sbin/rpc.idmapd /usr/sbin/sm-notify \t\t      /usr/sbin/showmount /usr/sbin/nfsstat \t\t      /var/lib/nfs \t\t      /etc/nfs-utils.conf \t\t      /etc/nfsmount.conf \t\t      /etc/init.d/nfscommon \t\t      /lib/systemd/system/nfs-statd.service
pkg_postinst_nfs-utils-client: #!/bin/sh\n# Begin section update-rc.d\nif type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-r $D"\n\telse\n\t\tOPT="-s"\n\tfi\n\tupdate-rc.d $OPT nfscommon defaults 19 21\nfi\n# End section update-rc.d\n
pkg_postrm_nfs-utils-client: #!/bin/sh\nif type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT nfscommon remove\nfi\n
pkg_preinst_nfs-utils-client: #!/bin/sh\nif [ -z "$D" -a -f "/etc/init.d/nfscommon" ]; then\n\t/etc/init.d/nfscommon stop || :\nfi\nif type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT nfscommon remove\nfi\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "nfs-utils: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "nfs-utils: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "nfs-utils: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "nfs-utils: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "nfs-utils: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "nfs-utils: user $username already exists, not re-creating it"\n\tfi\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "nfs-utils: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tbbnote "nfs-utils: Running groupmems command with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupmems \\$opts\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "nfs-utils: groupmems command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "nfs-utils: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--root $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t    cp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --root\n\texport PSEUDO_PASSWD="$SYSROOT:/scratch/petalinux-yocto/yocto_sdk_full_2017.4/build/tmp/sysroots/x86_64-linux"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM="${GROUPADD_PARAM}"\n\tUSERADD_PARAM="${USERADD_PARAM}"\n\tGROUPMEMS_PARAM="${GROUPMEMS_PARAM}"\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm_nfs-utils-client: #!/bin/sh\n# Begin section update-rc.d\nif [ -z "$D" -a -x "/etc/init.d/nfscommon" ]; then\n\t/etc/init.d/nfscommon stop || :\nfi\n# End section update-rc.d\n
FILERPROVIDESFLIST_nfs-utils-client: /usr/sbin/rpc.idmapd /usr/sbin/showmount /usr/sbin/sm-notify /sbin/mount.nfs /usr/sbin/nfsstat /usr/sbin/rpc.statd
FILES_INFO: {"/var/lib/nfs/etab": 0, "/etc/init.d/nfscommon": 1609, "/usr/sbin/rpc.idmapd": 27584, "/usr/sbin/nfsstat": 19636, "/sbin/mount.nfs": 84216, "/usr/sbin/start-statd": 635, "/usr/sbin/rpc.statd": 60568, "/etc/nfsmount.conf": 3605, "/var/lib/nfs/statd/state": 0, "/var/lib/nfs/rmtab": 0, "/sbin/umount.nfs": 9, "/sbin/mount.nfs4": 9, "/usr/sbin/showmount": 12588, "/usr/sbin/sm-notify": 39136, "/sbin/umount.nfs4": 9, "/var/lib/nfs/xtab": 0, "/etc/nfs-utils.conf": 1087}
FILERPROVIDES_/usr/sbin/rpc.idmapd_nfs-utils-client: elf(buildid) (= 0b5c77d93e4d0d77ccfca13e58633d61c9bf0d10)
FILERPROVIDES_/usr/sbin/showmount_nfs-utils-client: elf(buildid) (= 1ed3007c048c363b7bc8a084f87c432d1ba1fc73)
FILERPROVIDES_/usr/sbin/sm-notify_nfs-utils-client: elf(buildid) (= 901e1003e53c6a89761e120bcd6a256b6b0fc059)
FILERPROVIDES_/sbin/mount.nfs_nfs-utils-client: elf(buildid) (= a60e4627e014c2062bf7468c2c762628476f27f0)
FILERPROVIDES_/usr/sbin/nfsstat_nfs-utils-client: elf(buildid) (= f62082aa6ffd2379a3a54626169dfc1400828382)
FILERPROVIDES_/usr/sbin/rpc.statd_nfs-utils-client: elf(buildid) (= bbb41e39e57fdbec368f7649f78f7923d9ea96ab)
FILERDEPENDSFLIST_nfs-utils-client: /usr/sbin/sm-notify /etc/init.d/nfscommon /usr/sbin/showmount /usr/sbin/rpc.idmapd /usr/sbin/nfsstat /sbin/mount.nfs /usr/sbin/start-statd /usr/sbin/rpc.statd
FILERDEPENDS_/usr/sbin/sm-notify_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) libcap.so.2 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libtirpc.so.3 libtirpc.so.3(TIRPC_0.3.0) rtld(GNU_HASH)
FILERDEPENDS_/etc/init.d/nfscommon_nfs-utils-client: /bin/sh
FILERDEPENDS_/usr/sbin/showmount_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libtirpc.so.3 libtirpc.so.3(TIRPC_0.3.0) rtld(GNU_HASH)
FILERDEPENDS_/usr/sbin/rpc.idmapd_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) libevent-2.0.so.5 libnfsidmap.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.4) rtld(GNU_HASH)
FILERDEPENDS_/usr/sbin/nfsstat_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) rtld(GNU_HASH)
FILERDEPENDS_/sbin/mount.nfs_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) libmount.so.1 libmount.so.1(MOUNT_2.19) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libtirpc.so.3 libtirpc.so.3(TIRPC_0.3.0) rtld(GNU_HASH)
FILERDEPENDS_/usr/sbin/start-statd_nfs-utils-client: /bin/sh
FILERDEPENDS_/usr/sbin/rpc.statd_nfs-utils-client: libc.so.6 libc.so.6(GLIBC_2.4) libcap.so.2 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libtirpc.so.3 libtirpc.so.3(TIRPC_0.3.0) libwrap.so.0 rtld(GNU_HASH)
PKGSIZE_nfs-utils-client: 250691
