FreeBSD Port: owncloud-9.0.1_1

Miroslav Lachman 000.fbsd at quip.cz
Thu Apr 28 07:32:35 UTC 2016


Kevin Lo wrote on 04/28/2016 09:06:
> On Wed, Apr 27, 2016 at 04:34:23PM +0200, patpro at patpro.net wrote:
>>
>> Hello,
>
> Hi Patrick,
>
>> I'm currently trying to setup Owncloud on FreeBSD 10.2.
>> I'm using the provided files_external app to give access to SMB shares, but it fails when I try to upload files.

[...]

>> digging in the code shows things like:
>>
>> 	preg_split('/\s+/', `ps -o pid --no-heading --ppid $ppid`);
>> 	(from apps/files_external/3rdparty/icewind/smb/src/RawConnection.php)
>>
>> which will never work on FreeBSD because it requires a GNU ps...
>>
>> Similarly, in apps/files_external/3rdparty/icewind/smb/src/Server.php and apps/files_external/3rdparty/icewind/smb/src/Share.php some references to /proc/self/fd exist that must be changed in /dev/fd.
>>
>> Is there any plan to patch linux-only commands and paths in Owncloud package/port?
>
> I added a dependency on net/pecl-smbclient and it works fine for me when
> uploading files over smb.  Please give it a spin, thanks.

Then somebody should fix it's dependency. net/pecl-smbclient depends on 
net/samba36 which is deprecated, expired 2016-04-01 and is waiting for 
removal from the ports tree.

Miroslav Lachman



More information about the freebsd-ports mailing list