Date: Tue, 16 Mar 2021 01:29:11 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254322] gvfs: should depend on sysutils/lsof Message-ID: <bug-254322-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254322 Bug ID: 254322 Summary: gvfs: should depend on sysutils/lsof Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ler@FreeBSD.org Reporter: damjan.jov@gmail.com Flags: maintainer-feedback?(ler@FreeBSD.org) Assignee: ler@FreeBSD.org When a drive can't be unmounted and returns EBUSY, gvfs calls "lsof -t /mountpoint" to find which processes have files open. This list is sent over the "show-processes" signal, which allows file managers to show which apps = are preventing the unmount. For this to work, sysutils/lsof needs to be around. The port should depend = on it at runtime, ie. something along these lines: -------- diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile index 830823c13ecc..aad75271e9c1 100644 --- a/devel/gvfs/Makefile +++ b/devel/gvfs/Makefile @@ -23,7 +23,8 @@ LIB_DEPENDS=3D libgcrypt.so:security/libgcrypt \ libudisks2.so:sysutils/libudisks \ libsecret-1.so:security/libsecret -RUN_DEPENDS=3D bsdisks>0:sysutils/bsdisks +RUN_DEPENDS=3D bsdisks>0:sysutils/bsdisks \ + lsof:sysutils/lsof PORTSCOUT=3D limitw:1,even USES=3D gettext gnome libarchive localbase meson \ -------- --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254322-7788>