Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 16:34:23 +0200
From:      patpro@patpro.net
To:        kevlo@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: owncloud-9.0.1_1
Message-ID:  <6B4F2881-01D4-427F-924F-A27BD3EDCF02@patpro.net>

next in thread | raw e-mail | index | archive | help
Hello,

I'm currently trying to setup Owncloud on FreeBSD 10.2.=20
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?

thanks,
Patrick=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B4F2881-01D4-427F-924F-A27BD3EDCF02>