Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 12:56:40 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        David Benfell <benfell@parts-unknown.org>
Cc:        Matthew Seaman <matthew@FreeBSD.org>, freebsd-questions@freebsd.org
Subject:   Re: Probably Solved, was Re: What's the gotcha with latest lang/php55?
Message-ID:  <alpine.BSF.2.20.1505261243040.12925@mail.fig.ol.no>
In-Reply-To: <20150526102727.GC23653@home.parts-unknown.org>
References:  <20150525180825.Horde.iLgBeoFSnW0rHEfqq6T9Wky@mail.parts-unknown.org> <556412B9.7000508@FreeBSD.org> <20150526090747.GA23653@home.parts-unknown.org> <alpine.BSF.2.20.1505261122020.12925@mail.fig.ol.no> <20150526102727.GC23653@home.parts-unknown.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@FreeBSD.org>; 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 <freebsd-questions@FreeBSD.org>; 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" <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==?= <k.anastasakis@protonmail.ch>
Reply-To: =?UTF-8?B?zprPjs+Dz4TOsc+CIM6RLg==?= <k.anastasakis@protonmail.ch>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 26 May 2015 14:26:03 -0000

SGVsbG8gRnJlZUJTRCB0ZWFtLAoKCgpPbmUgb2YgdGhlIHJlc3RyaWN0aW9ucyBvZiB0aGUgRnJl
ZUJTRCBsaWNlbnNlIGlzIHRoYXQgb25lIGNhbm5vdCBjbGFpbSBmb3JlaWduIGNvZGUgYXMgaGlz
IG93bi4gSG93ZXZlciwgY291bGRuJ3Qgb25lIG1pc3VzZSB0aGUgbGljZW5zZSBieSBtYWtpbmcg
anVzdCBlbm91Z2ggY2hhbmdlcyB0byBhIHByZXZpb3VzbHkgb3BlbiBzb3VyY2UgcHJvamVjdCBz
byBhcyB0byBtYWtlIGl0IGluZGlzdGluZ3Vpc2hhYmxlIGZyb20gdGhlIG9yaWdpbmFsLCB0aGVu
IHB1Ymxpc2hpbmcgaXQgYXMgcHJvcHJpZXRhcnkgYW5kIG5vdCBjcmVkaXRpbmcgdGhlIG9yaWdp
bmFsIGF1dGhvcnM/IERvZXNuJ3QgdGhhdCBicmVhayBzYWlkIHJlc3RyaWN0aW9uPwoKCgpUaGFu
ayB5b3UgYW5kIHRoZSBGcmVlQlNEIGNvbW11bml0eSBmb3IgcHJvdmlkaW5nIHVzIHdpdGggc3Vj
aCBhIHJvYnVzdCBhbmQgd2VsbC1zdHJ1Y3R1cmVkIE9TLgoKCgotS29zdGFz




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1505261243040.12925>