From owner-freebsd-questions@freebsd.org Thu Jan 3 07:11:02 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20CAD141AAE3 for ; Thu, 3 Jan 2019 07:11:02 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 3062C8DA05 for ; Thu, 3 Jan 2019 07:10:59 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-92-208.bras1.adl6.internode.on.net (HELO leader.local) ([121.45.92.208]) by ipmail06.adl2.internode.on.net with ESMTP; 03 Jan 2019 17:35:45 +1030 Subject: Re: How to build depreated ports To: Paul Schmehl , FreeBSD Questions References: <0DCC6656F71191428B864CA3@Pauls-MacBook-Pro.local> <2D64FD6FE8B0BE361436CE70@Pauls-MacBook-Pro.local> From: Shane Ambler Message-ID: Date: Thu, 3 Jan 2019 17:35:43 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <2D64FD6FE8B0BE361436CE70@Pauls-MacBook-Pro.local> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3062C8DA05 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.31 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.984,0]; IP_SCORE(0.46)[ipnet: 150.101.0.0/16(1.82), asn: 4739(0.50), country: AU(-0.03)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ShaneWare.Biz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.989,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx.superb.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.988,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[129.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[208.92.45.121.zen.spamhaus.org : 127.0.0.11] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 07:11:02 -0000 On 3/1/19 7:56 am, Paul Schmehl wrote: > --On January 2, 2019 at 3:08:04 PM -0600 Paul Schmehl > wrote: > >> I have a server that requires php56. I cannot update to php7, because a >> critical app is not ready yet. >> >> How can I upgrade ports without upgrading all the php ports to 7? In /etc/make.conf add DEFAULT_VERSIONS+=php=5.6 Note that if you are using a public pkg repo, it will have pkgs that were built against php7, so this is for building from ports or your own pkg repo. >> I tried DISABLE_SECURITY_CHECK=yes in /etc/make.conf (and several others) >> but that didn't work. If being DEPRECATED is causing problems, you could remove the line from /usr/ports/lang/php56/Makefile > Following up on my own post, I ran pkg info php56* and it returned no > match. > But, I run this and they're there. > # pkg info | grep php > mod_php56-5.6.38               PHP Scripting Language > php56-5.6.39                   PHP Scripting Language > It appears that pkg isn't aware of the installed ports, yet it is. I am > confused. pkg info does an exact match on the pkg name, without the version Try pkg info -x php -- FreeBSD - the place to B...Software Developing Shane Ambler