Bug 232639

Summary: devel/gvfs: Add NFS option and fix check-plist
Product: Ports & Packages Reporter: Ting-Wei Lan <lantw44>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gnome)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add NFS option and fix check-plist none

Description Ting-Wei Lan 2018-10-24 16:24:43 UTC
Created attachment 198580 [details]
Add NFS option and fix check-plist

gvfs automatically enables NFS support when libnfs is installed, but currently the port doesn't list libnfs in its dependencies. If 'make check-plist' is run on a system with libnfs, it will report 'gvfsd-nfs' and 'nfs.mount' as files missing from pkg-plist:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: libexec/gvfsd-nfs
Error: Orphaned: %%DATADIR%%/mounts/nfs.mount
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

The attached patch fixes it by adding a new NFS option and enabling it by default.
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2020-10-12 10:15:40 UTC
gvfs 1.46.1 is in ports with this option