From owner-freebsd-ports@FreeBSD.ORG Fri Jun 22 16:22:28 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C068E106566B for ; Fri, 22 Jun 2012 16:22:28 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4138FC0C for ; Fri, 22 Jun 2012 16:22:28 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=JFH50q 0SCARLlB6vLibTkFmgmIZZsgOAaakAfNb5puh8tCABi9IgyPUIKBMhNP3wqGCK6b 4EOE7pQSzHHgL76oUhpgDxVwJPnF1Rh9TuUond2+z14fRFuy2Om57RLvPQVR02ur MLrOa7Q6W9H3lNZL4C7tIeNtANh04SBopj7A4= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=INF6v+TsFlK/ 4+Xtw4WBOr67k8aktHGlGIReMFHQ+yA=; b=ce7+Om5SrtlqWaAcOHRfatCIFrnl nB7N43X7s1Lgeqwg2Cb/Iw5YDGZhHwMM+YmdOz0bJ/Uw6t8w2OLpuyOaicld6bph +r4l51qoV5UalIo0vTdrSCABk4XPV6YmdISjoHyRElWUij/YPB6RE3rjx7JgnsOq zj8MSNdd5ydxwlg= Received: (qmail 74370 invoked from network); 22 Jun 2012 11:22:21 -0500 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 22 Jun 2012 11:22:21 -0500 Message-ID: <4FE49BD3.2010803@shatow.net> Date: Fri, 22 Jun 2012 11:22:43 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Michael Scheidell References: <4FE48696.2020601@FreeBSD.org> <4FE49AD4.6050901@FreeBSD.org> In-Reply-To: <4FE49AD4.6050901@FreeBSD.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Kevin Oberman Subject: Re: painful process.. php53/etc X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 16:22:28 -0000 On 6/22/2012 11:18 AM, Michael Scheidell wrote: > > > On 6/22/12 12:05 PM, Kevin Oberman wrote: >> N.B. I have no clue on PHP in specific, having avoided it like the >> plague for years, but in general, the proper way to replace one port >> with another is: >> portmaster -o www/php5 www/php53 >> This will cause portmaster to do the right things, including fix-up >> all dependent ports to point at the newly installed port. At least, I >> see no reason to re-build all of the ports that depend on PHP. I don't >> think that this produced any changed in APIs or ABIs. > > this patch look reasonable? install it right under ale@ UPDATING entry? > > RCS file: /home/pcvs/ports/UPDATING,v > retrieving revision 1.1256 > diff -u -r1.1256 UPDATING > --- UPDATING 18 Jun 2012 23:23:18 -0000 1.1256 > +++ UPDATING 22 Jun 2012 16:16:16 -0000 > @@ -252,6 +252,17 @@ > If you want to remain at PHP 5.3, a new port (lang/php53) has been > created for such purpose. > > +20120516: > + AFFECTS: users of lang/php5 who want to stay at lang/php53 > + AUTHOR: scheidell@FreeBSD.org > + > + If as above, you want to stay at lang/php53, and you have lang/php5 > (5.3) > + currently installed, you should allow portmaster to fix this up for you. > + Update your ports tree, and do this: > + portmaster -o lang/php53 lang/php5 > + It should do the right things, including fix-up all the dependent ports > + to point at the newly installed port. (with thanks to Kevin Oberman) > + > Does that actually work though? Somehow it seems too simple given this discussion continues to come up with various /var/db/pkg hacks. -- Regards, Bryan Drewery bdrewery@freenode/EFNet