From owner-svn-ports-branches@freebsd.org Wed Aug 8 20:31:46 2018 Return-Path: Delivered-To: svn-ports-branches@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 63FA4106A1C8; Wed, 8 Aug 2018 20:31:46 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19D3192B5E; Wed, 8 Aug 2018 20:31:46 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EFBB479AB; Wed, 8 Aug 2018 20:31:45 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w78KVjHM097103; Wed, 8 Aug 2018 20:31:45 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w78KVjAC097101; Wed, 8 Aug 2018 20:31:45 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201808082031.w78KVjAC097101@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Wed, 8 Aug 2018 20:31:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r476676 - in branches/2018Q3/www/chromium: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in branches/2018Q3/www/chromium: . files X-SVN-Commit-Revision: 476676 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 20:31:46 -0000 Author: cpm Date: Wed Aug 8 20:31:45 2018 New Revision: 476676 URL: https://svnweb.freebsd.org/changeset/ports/476676 Log: MFH: r476675 www/chromium: minor fix in pkg-message %%DATADIR%% is not being expanded in pkg-message, and it shows up like this: --II-- Chromium has a known problem of hanging tabs. The workaround for this problem is to mount ~/.cache/chromium as memory-fs. In order to do this, before you run Chromium, please run the following script as root once for each user who uses Chromium (replace {user}/{group} with your user/group names): # %%DATADIR%%/fix-hanging-tabs.sh {user} {group} - Add DATADIR to SUB_LIST to correctly be replaced with its value and move pkg-message to FILESDIR. - Bump PORTREVISION Reported by: olgeni via mail Approved by: ports-secteam (blanket) Added: branches/2018Q3/www/chromium/files/pkg-message.in - copied unchanged from r476675, head/www/chromium/files/pkg-message.in Deleted: branches/2018Q3/www/chromium/pkg-message Modified: branches/2018Q3/www/chromium/Makefile Directory Properties: branches/2018Q3/ (props changed) Modified: branches/2018Q3/www/chromium/Makefile ============================================================================== --- branches/2018Q3/www/chromium/Makefile Wed Aug 8 20:27:42 2018 (r476675) +++ branches/2018Q3/www/chromium/Makefile Wed Aug 8 20:31:45 2018 (r476676) @@ -3,6 +3,7 @@ PORTNAME= chromium PORTVERSION= 68.0.3440.84 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -133,8 +134,8 @@ GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoa google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn" .if !defined(GN_ONLY) -SUB_FILES= chromium-browser.desktop chrome -SUB_LIST+= COMMENT="${COMMENT}" +SUB_FILES= chromium-browser.desktop chrome pkg-message +SUB_LIST+= COMMENT="${COMMENT}" DATADIR="${DATADIR}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS TEST CODECS_DESC= Compile and enable patented codecs like H.264 Copied: branches/2018Q3/www/chromium/files/pkg-message.in (from r476675, head/www/chromium/files/pkg-message.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q3/www/chromium/files/pkg-message.in Wed Aug 8 20:31:45 2018 (r476676, copy of r476675, head/www/chromium/files/pkg-message.in) @@ -0,0 +1,21 @@ +--I-- +For correct operation, shared memory support has to be enabled +in Chromium by performing the following command as root: + + # sysctl kern.ipc.shm_allow_removed=1 + +To preserve this setting across reboots, append the following +to /etc/sysctl.conf: + + kern.ipc.shm_allow_removed=1 + +FreeBSD 11.0-RELEASE and newer have this set by default. + +--II-- +Chromium has a known problem of hanging tabs. The workaround +for this problem is to mount ~/.cache/chromium as memory-fs. +In order to do this, before you run Chromium, please run the +following script as root once for each user who uses Chromium +(replace {user}/{group} with your user/group names): + + # %%DATADIR%%/fix-hanging-tabs.sh {user} {group}