commit: f7b51e906b7daf8b9e8b807cda6a63acdd1ae9d8
parent: 2e72d5fd363fb1723819d40dd0503717c2ad0906
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 26 Dec 2018 04:14:17 +0100
gnome-base/gvfs: Avoid hard-dependency on OpenSSH
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnome-base/gvfs/gvfs-1.32.2.ebuild b/gnome-base/gvfs/gvfs-1.32.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
LICENSE="LGPL-2+"
SLOT="0"
-IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf"
+IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs policykit samba sftp systemd test +udev udisks zeroconf"
REQUIRED_USE="
cdda? ( udev )
elogind? ( !systemd udisks )
@@ -29,7 +29,7 @@ RDEPEND="
app-crypt/gcr:=
>=dev-libs/glib-2.51:2
dev-libs/libxml2:2
- net-misc/openssh
+ sftp? ( net-misc/openssh )
afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
archive? ( app-arch/libarchive:= )
bluray? ( media-libs/libbluray:= )
@@ -127,6 +127,7 @@ src_configure() {
$(use_enable nfs) \
$(use_enable policykit admin) \
$(use_enable samba) \
+ $(use_enable sftp) \
$(use_enable systemd libsystemd-login) \
$(use_enable udev gudev) \
$(use_enable udev) \
diff --git a/gnome-base/gvfs/metadata.xml b/gnome-base/gvfs/metadata.xml
@@ -23,5 +23,6 @@ applications not using gio to access the gvfs filesystems.
<flag name="http">Enable the HTTP/DAV backend using <pkg>net-libs/libsoup</pkg></flag>
<flag name="nfs">Enable NFS client support via <pkg>net-fs/libnfs</pkg>.</flag>
<flag name="udev">Enable udev base replacement code for cdda feature</flag>
+ <flag name="sftp">Enable support for accessing SFTP(SSH FTP) remotes</flag>
</use>
</pkgmetadata>