From owner-freebsd-ports@freebsd.org Tue Mar 15 11:49:58 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 736CAAD0FB2 for ; Tue, 15 Mar 2016 11:49:58 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qk0-x241.google.com (mail-qk0-x241.google.com [IPv6:2607:f8b0:400d:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31B59B9D for ; Tue, 15 Mar 2016 11:49:58 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qk0-x241.google.com with SMTP id s5so490038qkd.2 for ; Tue, 15 Mar 2016 04:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=ZYJRrQjtOYJ/kci3KG1/ZoCAsxBXMuCGf+mQkEFj/NQ=; b=YLnLmP2bFPJi3RnPtpb2Ri2kaHSNtbXt36yjzeFbwPGeFW46fSBIe/JjBenm4o7RXb 6EhAcCzr+EDQxadwaoDK/oezmmJcrN064snd6j2SeGixzGf5ZLSRDbluVyTzhN2qKfcx ouEBPPhqXiCJOyjkNX0PKwTIGQ86esnOwdkRD212ttSabcWCX2TIKk33jrK0p5E+ixZj 98PZM8Aq2rZ1YikHgJXu92OK6/6GnBi/NJ7QWxYs1crgbnmu7w0xx4iCmZTCDHOVpIvr z46wA9AZIqDmWg6XK98vNhsRNXvRIB62Cu7ryAK9l5CoaGxHsVvDz3NKlcunhRLzwI/R QFhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ZYJRrQjtOYJ/kci3KG1/ZoCAsxBXMuCGf+mQkEFj/NQ=; b=JPw2fCxKNbI1gJ7gLVa96oyixYNyD4mLN+pDYTuhbLT5GtmHS2I+GpPmKPhGfVOIcI lfL1F8WZ3S0voVVmUtXnD9qirvo0CMIYLPinMkJcOrZbIGs9ouZGkJBqsMFFRzQcGsRk KXkrcIpiwFIbv7qPw63fq9nhr69R4o9ipNQu04vPJk+yM3ECL5t04bn6WszYM73gwJJD GD1nh4ie0E0Wexad4IqV3RKEU756sV3yiO7afhXKCbhHK/R2r1Y5R3IC156XCAEzM+p4 N3wx4KZF6Rno7zxsLYgXOcKOu0FpxFd78h2r3kRV4I0io21fF4Gu4wB59/YlHkYu7Nl2 H1BQ== X-Gm-Message-State: AD7BkJIlv5YEu81wkfRP73uUs0+0GD6ZY5sigMnXUOIGF4jKPxx5LJD+eLuO/niCH1GWEA== X-Received: by 10.55.72.198 with SMTP id v189mr37364786qka.33.1458042597264; Tue, 15 Mar 2016 04:49:57 -0700 (PDT) Received: from ?IPv6:2001:470:7:71f::2? (ohlstein-2-pt.tunnel.tserv13.ash1.ipv6.he.net. [2001:470:7:71f::2]) by smtp.googlemail.com with ESMTPSA id a129sm12573061qkb.45.2016.03.15.04.49.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2016 04:49:56 -0700 (PDT) Subject: Re: Owncloud port marked broken with PHP 7.0 and MySQL To: Mathieu Arnold , ports FreeBSD , kevlo@FreeBSD.org References: <56E725AF.3000108@ohlste.in> <4BB1DBF1542C5E725325D045@atuin.in.mat.cc> From: Jim Ohlstein Message-ID: <56E7F6E3.5020001@ohlste.in> Date: Tue, 15 Mar 2016 07:49:55 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <4BB1DBF1542C5E725325D045@atuin.in.mat.cc> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 15 Mar 2016 11:49:58 -0000 Hello, On 3/15/16 7:05 AM, Mathieu Arnold wrote: > > > +--On 14 mars 2016 16:57:19 -0400 Jim Ohlstein wrote: > | Hello, > | > | Not sure of the motivation behind this. Owncloud has supported PHP 7.0 > | since prior to this release (9.0.0). See > | https://owncloud.org/blog/php-7-is-here-and-owncloud-is-ready/. Perhaps > | removing the unnecessary php(Xx)-mysql runtime requirement is what's > | actually needed, as it actually requires php(Xx)-pdo-mysql. That in > | itself creates a php-mysql dependency in PHP versions up to 5.6, but not > | in later versions, such as 7.0. > > The owncloud port needs mysql, php 7.0 does not provide mysql, so it was > marked broken, along with all the ports that do so, and who also don't > build with 7.0. > At the risk of sounding like a broken record (did you actually READ what I wrote?) Owncloud does NOT require php-mysql, it requires php-pdo_mysql. In PHP versions before 7.0 that pulled in the corresponding php-mysql port. It is NOT a requirement (there, I said it a THIRD time). From their docs at https://doc.owncloud.org/server/9.0/admin_manual/installation/source_installation.html Database connectors (pick the one for your database:) PHP module sqlite (>= 3, usually not recommended for performance reasons) PHP module pdo_mysql (MySQL/MariaDB) PHP module pgsql (requires PostgreSQL >= 9.0) Now I may just be dumb, but I don't see a mention of php-mysql (I do however see pdo_mysql). -- Jim Ohlstein "Never argue with a fool, onlookers may not be able to tell the difference." - Mark Twain