FreeBSD Port: owncloud-9.0.1_1

Kevin Lo kevlo at FreeBSD.org
Thu Apr 28 07:09:07 UTC 2016


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.
> 
> looking at apache's logs reveal many errors:
> 
> 	net: not found
> 	net: not found
> 	ps: illegal option -- -
> 	usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
> 	          [-J jid[,jid...]] [-M core] [-N system]
> 	          [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
> 	       ps [-L]
> 	net: not found
> 	net: not found
> 	net: not found
> 
> 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.

> thanks,
> Patrick

	Kevin


More information about the freebsd-ports mailing list