From owner-svn-ports-head@FreeBSD.ORG Tue Dec 9 18:05:33 2014 Return-Path: Delivered-To: svn-ports-head@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 2BD7F1E9; Tue, 9 Dec 2014 18:05:33 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C919AB0; Tue, 9 Dec 2014 18:05:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB9I5Wn2006212; Tue, 9 Dec 2014 18:05:32 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB9I5VUK006206; Tue, 9 Dec 2014 18:05:31 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201412091805.sB9I5VUK006206@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: xmj set sender to xmj@FreeBSD.org using -f From: Johannes Jost Meixner Date: Tue, 9 Dec 2014 18:05:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374417 - in head: . Mk emulators/linux_base-c6 www/linux-seamonkey 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.18-1 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, 09 Dec 2014 18:05:33 -0000 Author: xmj Date: Tue Dec 9 18:05:30 2014 New Revision: 374417 URL: https://svnweb.freebsd.org/changeset/ports/374417 QAT: https://qat.redports.org/buildarchive/r374417/ Log: Set CentOS 6.6 as default Linux version. Since CentOS 6.5 landed in the portstree and was updated to CentOS 6.6 and we've fixed the remaining issues, it's time to replace Fedora 10 as Linux default -- given that in the past five years it has done its service and has long since gone EOL upstream. The CentOS 6 series will go End of Life in 2020, this should give us some time to keep its annual releases up to date. If you have not switched to using CentOS 6.6 ports, please refer to today's UPDATING entry -- it contains detailed instructions. If you have already switched to CentOS 6.6 userland, you can now remove the following two lines from make.conf: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 If you encounter any difficulties, please follow the UPDATING entry from 20140922 but skip step 2. In case these steps do not fix the issues, please submit an issue report in Bugzilla and send an email to FreeBSD's emulation mailing list. Differential Revision: https://reviews.freebsd.org/D1145 Reviewed by: wblock, bcr (doc), rene (emulation) Approved by: swills (mentor) Approved by: portmgr (swills) Sponsored by: Perceivon Hosting Inc. Modified: head/Mk/bsd.linux-apps.mk head/Mk/bsd.linux-rpm.mk head/Mk/bsd.port.mk head/UPDATING head/emulators/linux_base-c6/pkg-message head/www/linux-seamonkey/Makefile.common Modified: head/Mk/bsd.linux-apps.mk ============================================================================== --- head/Mk/bsd.linux-apps.mk Tue Dec 9 17:53:15 2014 (r374416) +++ head/Mk/bsd.linux-apps.mk Tue Dec 9 18:05:30 2014 (r374417) @@ -51,8 +51,8 @@ IGNORE= valid values for OVERRID LINUX_DIST_SUFFIX= -${USE_LINUX} . endif . else -# default -LINUX_DIST_SUFFIX= -f10 # temporary default, set to -c6 soon +# default to CentOS +LINUX_DIST_SUFFIX= -c6 . endif WEB_AUTH= nvu @@ -208,9 +208,9 @@ gdkpixbuf_PORT= ${PORTSDIR}/graphics/li gdkpixbuf2_f10_FILE=${LINUXBASE}/usr/lib/libgdk_pixbuf-2.0.so.0 gdkpixbuf2_c6_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf-2.0.so.0 gdkpixbuf2_DETECT= ${gdkpixbuf2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} -.if ${USE_LINUX} == "f10" || ${USE_LINUX} == "yes" # temporary default, remove or clause soon +.if ${USE_LINUX} == "f10" gdkpixbuf2_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-gtk2 -.else +.else # default to CentOS 6. gdkpixbuf2_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-gdk-pixbuf2 .endif Modified: head/Mk/bsd.linux-rpm.mk ============================================================================== --- head/Mk/bsd.linux-rpm.mk Tue Dec 9 17:53:15 2014 (r374416) +++ head/Mk/bsd.linux-rpm.mk Tue Dec 9 18:05:30 2014 (r374417) @@ -43,13 +43,13 @@ NO_WRKSUBDIR= yes NO_BUILD= yes . if ${ARCH} == "amd64" || ${ARCH} == "i386" -. if ${USE_LINUX} == "c6" -# Do not build CentOS 6.6 ports if overridden by f10 +. if ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes" # default to CentOS +# Do not build CentOS 6 ports if overridden by f10 . if defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_NONBASE_PORTS} == "f10" IGNORE= This port requires CentOS ${LINUX_DIST_VER}. Please remove OVERRIDE_LINUX_NONBASE_PORTS=f10 in /etc/make.conf. . endif LINUX_RPM_ARCH?= i686 # ?= because of nasty c5 qt ports -. elif ${USE_LINUX} == "f10" || ${USE_LINUX} == "yes" # temporary default, move or clause to line 46 +. elif ${USE_LINUX} == "f10" # Do not build Fedora 10 ports unless specifically overridden. #. if ! defined(OVERRIDE_LINUX_NONBASE_PORTS) || ${OVERRIDE_LINUX_NONBASE_PORTS} != "f10" #IGNORE= This port requires Fedora 10, yet Fedora 10 is heavily outdated and contains many vulnerable ports. If you really need it, add OVERRIDE_LINUX_NONBASE_PORTS=f10 in /etc/make.conf. @@ -68,11 +68,11 @@ LINUX_RPM_ARCH?= ppc Linux_RPM_Post_Include= bsd.linux-rpm.mk -.if ${USE_LINUX} == "f10" || ${USE_LINUX} == "yes" # temporary default, remove or clause soon +.if ${USE_LINUX} == "f10" USE_LINUX?= "f10" LINUX_DIST= fedora LINUX_DIST_VER= 10 -.else +.else # default to CentOS LINUX_DIST= centos LINUX_DIST_VER= 6.6 .endif Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Tue Dec 9 17:53:15 2014 (r374416) +++ head/Mk/bsd.port.mk Tue Dec 9 18:05:30 2014 (r374417) @@ -1779,9 +1779,8 @@ USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT} LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX} . else . if ${USE_LINUX:tl} == "yes" -USE_LINUX= f10 # temporary default, set to c6 soon -LINUX_BASE_PORT= ${LINUXBASE}/etc/fedora-release:${PORTSDIR}/emulators/linux_base-f10 -#LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6 +USE_LINUX= c6 +LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6 . else IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT . endif Modified: head/UPDATING ============================================================================== --- head/UPDATING Tue Dec 9 17:53:15 2014 (r374416) +++ head/UPDATING Tue Dec 9 18:05:30 2014 (r374417) @@ -5,6 +5,54 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20141209: + AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6 + AUTHOR: xmj@freebsd.org + + The CentOS ports infrastructure has replaced Fedora 10 as default. + + 1. Please delete all remaining f10 ports/packages: + + # pkg delete -f linux_base-f10 linux-f10-\* + + 2. Persistently update the Linux kernel version in /etc/sysctl.conf: + + compat.linux.osrelease=2.6.18 + + This step is necessary on all FreeBSD versions older than 10.1-RELEASE. + + 3. Reinstall all software depending on Linux emulation. + As an example, reinstall linux-firefox: + + # portmaster -r linux-firefox + or + # portupgrade -f www/linux-firefox + or + # pkg install linux-firefox + + If difficulties are encountered, please follow the UPDATING entry 20140922 + but skip step 2 (OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS + in /etc/make.conf). In case these steps do not fix the issues, please submit + an issue report in Bugzilla and send an email to FreeBSD's emulation@ mailing + list. + + Users who need to continue using Fedora 10 base and userland should do the + following instead: + + 1. Add these lines to /etc/make.conf: + + OVERRIDE_LINUX_BASE_PORT=f10 + OVERRIDE_LINUX_NONBASE_PORTS=f10 + + 2. Downgrade the Linux kernel version in /etc/sysctl.conf on FreeBSD versions + newer than and including 10.1-RELEASE: + + compat.linux.osrelease=2.6.16 + + This is all that is needed to continue using an existing Fedora 10 Linux base + and userland. + + 20141208: AFFECTS: users of ports-mgmt/poudriere, ports-mgmt/poudriere-devel AUTHOR: bdrewery@FreeBSD.org Modified: head/emulators/linux_base-c6/pkg-message ============================================================================== --- head/emulators/linux_base-c6/pkg-message Tue Dec 9 17:53:15 2014 (r374416) +++ head/emulators/linux_base-c6/pkg-message Tue Dec 9 18:05:30 2014 (r374417) @@ -9,7 +9,6 @@ variable of rc.conf(5). ---------------------- You should enable Linux mode with the linux_enable variable of rc.conf(5) and use compat.linux.osrelease=2.6.18 in sysctl.conf(5). -This is highly experimental! ---------------------- If you want to use shared memory in Linux applications, you need to set up Modified: head/www/linux-seamonkey/Makefile.common ============================================================================== --- head/www/linux-seamonkey/Makefile.common Tue Dec 9 17:53:15 2014 (r374416) +++ head/www/linux-seamonkey/Makefile.common Tue Dec 9 18:05:30 2014 (r374417) @@ -1,6 +1,6 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ -.if defined(OVERRIDE_LINUX_NONBASE_PORTS) && \ +.if !defined(OVERRIDE_LINUX_NONBASE_PORTS) || \ ${OVERRIDE_LINUX_NONBASE_PORTS} != "f10" .undef WANT_GTK218 .endif