From owner-freebsd-questions@FreeBSD.ORG Tue May 26 10:56:47 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A63E4E0; Tue, 26 May 2015 10:56:47 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E951DB26; Tue, 26 May 2015 10:56:46 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t4QAufjQ045591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 May 2015 12:56:41 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t4QAueHF045588; Tue, 26 May 2015 12:56:40 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 26 May 2015 12:56:40 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: David Benfell cc: Matthew Seaman , freebsd-questions@freebsd.org Subject: Re: Probably Solved, was Re: What's the gotcha with latest lang/php55? In-Reply-To: <20150526102727.GC23653@home.parts-unknown.org> Message-ID: References: <20150525180825.Horde.iLgBeoFSnW0rHEfqq6T9Wky@mail.parts-unknown.org> <556412B9.7000508@FreeBSD.org> <20150526090747.GA23653@home.parts-unknown.org> <20150526102727.GC23653@home.parts-unknown.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 10:56:47 -0000 On Tue, 26 May 2015 03:27-0700, David Benfell wrote: > On Tue, May 26, 2015 at 11:23:40AM +0200, Trond Endrestøl wrote: > > > > Going from lang/php5 to lang/php56 was an interesting lesson a few > > weeks ago. I whipped up this script to ease the pain: > > > > http://ximalas.info/~trond/create-zfs/canmount/upgrade-to-lang-php56.sh > > There was definitely some strange behavior, which I hope was due to > inconsistency with the zend thread safety option, where libraries > literally seemed to disappear after I had reinstalled them. In my first case, I was switching from stable/8 to stable/10, and had to recompile all ports. I ran something like portupgrade -acn, and literally ran my upgrade script manually. Actually, my steps then formed the basis for my script. It also helps to pay attention to what happens to /var/db/ports, comparing the old options files with the new ones, and further keep that hierarchy under some form of SCM. I use CVS (devel/cvs) since it's pretty lightweight, but YMMV. I had a change to try the script last weekend on a stable/10 system, switching from lang/php5 to lang/php56, and all went well. > But I also discovered I needed to reinstall pecl- and pear- packages, > especially the latter. I think there's more to portupgrade than > appears in the man page and there's lots more to portupgrade than I > know, but I hope your script catches that. I'm saving it. On my systems, databases/pear-DB depends on devel/pear, which in turn depends on textproc/php56-xml and lang/php56, so yes, my script should handle such cases. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Tue May 26 14:26:03 2015 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74FC7F43 for ; Tue, 26 May 2015 14:26:03 +0000 (UTC) (envelope-from k.anastasakis@protonmail.ch) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Gold CA 2008 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33D58793 for ; Tue, 26 May 2015 14:26:02 +0000 (UTC) (envelope-from k.anastasakis@protonmail.ch) Received: by mail1.protonmail.ch (Postfix, from userid 48) id 5A14088E77; Tue, 26 May 2015 10:17:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.ch; s=default; t=1432649871; bh=eEhO0/nK0F54xHgwj6i83n9XY1vrZcwYTP1xx1NCrPo=; h=To:Subject:Date:From:Reply-To; b=Is3tSmJD8xvFb74Q0OwoVEp26Ln5vt9yyUqDDygpRRHyuTNFjRH/Ng3UsCggFqhbl wy4PmbPTdWw6PHX/pwPNZ+VWrJ5ZtCZA31lRsZW1Bhva/EOq0Cq36uwWS6HP7BZO9B g/Bu8IhCNe5DAvT512zCt/ZKGTjpkY+0YZuRV92g= To: "freebsd-questions@FreeBSD.org" Subject: About the FreeBSD license X-PHP-Originating-Script: 0:class.phpmailer.php Date: Tue, 26 May 2015 10:17:51 -0400 From: =?UTF-8?B?zprPjs+Dz4TOsc+CIM6RLg==?= Reply-To: =?UTF-8?B?zprPjs+Dz4TOsc+CIM6RLg==?= Message-ID: <57c055d5fe4a3efe6b046c012ffca038@protonmail.ch> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 14:26:03 -0000 SGVsbG8gRnJlZUJTRCB0ZWFtLAoKCgpPbmUgb2YgdGhlIHJlc3RyaWN0aW9ucyBvZiB0aGUgRnJl ZUJTRCBsaWNlbnNlIGlzIHRoYXQgb25lIGNhbm5vdCBjbGFpbSBmb3JlaWduIGNvZGUgYXMgaGlz IG93bi4gSG93ZXZlciwgY291bGRuJ3Qgb25lIG1pc3VzZSB0aGUgbGljZW5zZSBieSBtYWtpbmcg anVzdCBlbm91Z2ggY2hhbmdlcyB0byBhIHByZXZpb3VzbHkgb3BlbiBzb3VyY2UgcHJvamVjdCBz byBhcyB0byBtYWtlIGl0IGluZGlzdGluZ3Vpc2hhYmxlIGZyb20gdGhlIG9yaWdpbmFsLCB0aGVu IHB1Ymxpc2hpbmcgaXQgYXMgcHJvcHJpZXRhcnkgYW5kIG5vdCBjcmVkaXRpbmcgdGhlIG9yaWdp bmFsIGF1dGhvcnM/IERvZXNuJ3QgdGhhdCBicmVhayBzYWlkIHJlc3RyaWN0aW9uPwoKCgpUaGFu ayB5b3UgYW5kIHRoZSBGcmVlQlNEIGNvbW11bml0eSBmb3IgcHJvdmlkaW5nIHVzIHdpdGggc3Vj aCBhIHJvYnVzdCBhbmQgd2VsbC1zdHJ1Y3R1cmVkIE9TLgoKCgotS29zdGFz