FreeBSD Port: owncloud-9.0.1_1

patpro at patpro at
Wed Apr 27 14:44:02 UTC 2016


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?


More information about the freebsd-ports mailing list