From owner-freebsd-ports@freebsd.org Thu Apr 28 07:09:07 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 152C8B1F41D for ; Thu, 28 Apr 2016 07:09:07 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 034C218FC for ; Thu, 28 Apr 2016 07:09:07 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: by mailman.ysv.freebsd.org (Postfix) id F335AB1F41C; Thu, 28 Apr 2016 07:09:06 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0B96B1F419 for ; Thu, 28 Apr 2016 07:09:06 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B67718F7; Thu, 28 Apr 2016 07:09:05 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.15.2/8.15.2) with ESMTPS id u3S769Oj048403 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Apr 2016 15:06:09 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.15.2/8.15.2/Submit) id u3S768N7048402; Thu, 28 Apr 2016 15:06:08 +0800 (CST) (envelope-from kevlo) Date: Thu, 28 Apr 2016 15:06:07 +0800 From: Kevin Lo To: patpro@patpro.net Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: owncloud-9.0.1_1 Message-ID: <20160428070607.GA48392@ns.kevlo.org> References: <6B4F2881-01D4-427F-924F-A27BD3EDCF02@patpro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6B4F2881-01D4-427F-924F-A27BD3EDCF02@patpro.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 07:09:07 -0000 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