Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 17:15:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216187] www/nextcloud Remove net/pecl-smbclient dependency
Message-ID:  <bug-216187-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216187

            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@FreeBSD.org
          Reporter: johnllyon@gmail.com
                CC: kevlo@FreeBSD.org, loic.blot@unix-experience.fr
                CC: kevlo@FreeBSD.org, loic.blot@unix-experience.fr

It would be best to remove the hard dependency for net/pecl-smbclient for t=
wo
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/exter=
nal_storage/smb.html)

The first option is to replace net/pecl-smbclient with PHP's smbclient modu=
le.=20
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 a=
nd
then manually installed nextcloud 11.0.1.  Nextcloud automatically used the
command line client "smbclient" installed by the samba43 port for connectin=
g 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.

--=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-216187-13>