[Bug 216187] www/nextcloud Remove net/pecl-smbclient dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 17 17:15:21 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216187
Bug ID: 216187
Summary: www/nextcloud Remove net/pecl-smbclient dependency
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: johnllyon at gmail.com
CC: kevlo at FreeBSD.org, loic.blot at unix-experience.fr
CC: kevlo at FreeBSD.org, loic.blot at unix-experience.fr
It would be best to remove the hard dependency for net/pecl-smbclient for two
reasons. First, it depends on an outdated and deprecated version of
libsmbclient (3.6.25). Second, Nextcloud's documentation provides two
alternatives that are preferred (see
https://docs.nextcloud.com/server/10/admin_manual/configuration_files/external_storage/smb.html)
The first option is to replace net/pecl-smbclient with PHP's smbclient module.
This would probably be preferred because it's a lighter weight solution than
installing the entire samba suite. However, I have not seen a port of PHP's
smbclient module in the ports tree.
The second option is install the samba suite as a dependency (or rely on an
already installed version of samba) instead of net/pecl-smbclient. I have
tested this and can verify that it works. I installed samba43 from ports and
then manually installed nextcloud 11.0.1. Nextcloud automatically used the
command line client "smbclient" installed by the samba43 port for connecting to
SMB/CIFS external storage. I also remember that the old owncloud 9.0 port
allowed this (i.e. if samba was already installed, it would use it), so it
should be doable.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list