From owner-svn-ports-head@FreeBSD.ORG Tue Feb 4 14:23:09 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28CCA8C9; Tue, 4 Feb 2014 14:23:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 12D7012BD; Tue, 4 Feb 2014 14:23:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14EN8O0096315; Tue, 4 Feb 2014 14:23:08 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14EN8WQ096314; Tue, 4 Feb 2014 14:23:08 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201402041423.s14EN8WQ096314@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 4 Feb 2014 14:23:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342537 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 14:23:09 -0000 Author: bapt Date: Tue Feb 4 14:23:08 2014 New Revision: 342537 URL: http://svnweb.freebsd.org/changeset/ports/342537 QAT: https://qat.redports.org/buildarchive/r342537/ Log: Add a user warning so that everyone get a notice about the upcoming EoL of pkg_install Add a end user NO_WARNING_PKG_INSTALL_EOL to allow users willing to stay a bit more with pkg_install to not get bothered all the time with the warning With hat: portmgr Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Tue Feb 4 14:10:03 2014 (r342536) +++ head/Mk/bsd.port.mk Tue Feb 4 14:23:08 2014 (r342537) @@ -1206,6 +1206,12 @@ WITH_PKGNG?= yes .endif .endif +.if !defined(WITH_PKGNG) && !defined(NO_WARNING_PKG_INSTALL_EOL) +WARNING+= "pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng" +WARNING+= "http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/" +WARNING+= "If you do not want to see this message again set NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf" +.endif + # Enable new xorg for FreeBSD versions after Radeon KMS was imported unless # WITHOUT_NEW_XORG is set. .if ${OSVERSION} >= 1100000 @@ -4169,6 +4175,10 @@ fix-plist-sequence: ${TMPPLIST} @${EGREP} -v -e '^@exec echo.*Creating users and' -e '^@exec.*${PW}' -e '^@exec ${INSTALL} -d -g' ${TMPPLIST} >> ${TMPGUCMD} @${MV} -f ${TMPGUCMD} ${TMPPLIST} .endif +.if !defined(WITH_PKGNG) + @${ECHO_CMD} "@exec echo pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng" >> ${TMPPLIST} + @${ECHO_CMD} "@exec echo http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/" >> ${TMPPLIST} +.endif .endif .if !defined(DISABLE_SECURITY_CHECK)