Date: Thu, 28 Apr 2016 15:06:07 +0800 From: Kevin Lo <kevlo@FreeBSD.org> To: patpro@patpro.net Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: owncloud-9.0.1_1 Message-ID: <20160428070607.GA48392@ns.kevlo.org> In-Reply-To: <6B4F2881-01D4-427F-924F-A27BD3EDCF02@patpro.net> References: <6B4F2881-01D4-427F-924F-A27BD3EDCF02@patpro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 27, 2016 at 04:34:23PM +0200, patpro@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160428070607.GA48392>