Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 18:21:04 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r394903 - in branches/2015Q3/www/chromium: . files
Message-ID:  <201508201821.t7KIL4po070245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Thu Aug 20 18:21:03 2015
New Revision: 394903
URL: https://svnweb.freebsd.org/changeset/ports/394903

Log:
  MFH: r394902
  
  - Update to 44.0.2403.155 [1]
  - Add a non-default option to install Chrome Driver [2][3]
  
  PR:		202368 [2]
  PR:		202370 [3]
  Submitted by:	LeFroid via GitHub [1]
  Submitted by:	stb@lassitu.de [2][3]
  Approved by:	ports-secteam (feld)

Modified:
  branches/2015Q3/www/chromium/Makefile
  branches/2015Q3/www/chromium/distinfo
  branches/2015Q3/www/chromium/files/chrome.in
  branches/2015Q3/www/chromium/pkg-plist
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/www/chromium/Makefile
==============================================================================
--- branches/2015Q3/www/chromium/Makefile	Thu Aug 20 18:11:56 2015	(r394902)
+++ branches/2015Q3/www/chromium/Makefile	Thu Aug 20 18:21:03 2015	(r394903)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	chromium
-PORTVERSION=	44.0.2403.130
+PORTVERSION=	44.0.2403.155
 CATEGORIES=	www
 MASTER_SITES=	http://commondatastorage.googleapis.com/chromium-browser-official/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on
@@ -128,10 +128,12 @@ GYP_DEFINES+=	google_api_key=AIzaSyBsp9n
 SUB_FILES=	chromium-browser.desktop chrome
 SUB_LIST+=	COMMENT="${COMMENT}"
 
-OPTIONS_DEFINE=	CODECS GCONF PULSEAUDIO TEST KERBEROS DEBUG
+OPTIONS_DEFINE=	CODECS GCONF PULSEAUDIO TEST KERBEROS DEBUG DRIVER
 CODECS_DESC=	Compile and enable patented codecs like H.264
+DRIVER_DESC=	Install chromedriver
 
 OPTIONS_DEFAULT=	CODECS GCONF KERBEROS
+OPTIONS_SUB=	yes
 
 GCONF_USE=	GNOME=gconf2
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
@@ -195,6 +197,7 @@ CONFIGURE_ENV+=	CC="${CC}" \
 MAKE_ENV+=	BUILDTYPE=${BUILDTYPE} \
 		GPERF="${LOCALBASE}/bin/gperf"
 MAKE_ARGS=	-C out/${BUILDTYPE}
+DRIVER_MAKE_ARGS=chromedriver
 
 .include <bsd.port.pre.mk>
 
@@ -379,6 +382,10 @@ do-install:
 		${STAGEDIR}${DESKTOPDIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \
-		${STAGEDIR}${DATADIR}/mksnapshot
+		${STAGEDIR}${DATADIR}
+.if ${PORT_OPTIONS:MDRIVER}
+	${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \
+		${STAGEDIR}${PREFIX}/bin
+.endif
 
 .include <bsd.port.post.mk>

Modified: branches/2015Q3/www/chromium/distinfo
==============================================================================
--- branches/2015Q3/www/chromium/distinfo	Thu Aug 20 18:11:56 2015	(r394902)
+++ branches/2015Q3/www/chromium/distinfo	Thu Aug 20 18:21:03 2015	(r394903)
@@ -1,4 +1,4 @@
-SHA256 (chromium-44.0.2403.130.tar.xz) = 37779b2f4844e1a6ac75d69897031955541ad97f3dd1d4ad641c371c1d63b414
-SIZE (chromium-44.0.2403.130.tar.xz) = 293332128
-SHA256 (chromium-44.0.2403.130-testdata.tar.xz) = 47a0e7808f7c98ea02fb4aaaedf83fcbd78901da134de3cf1d53312a56710f49
-SIZE (chromium-44.0.2403.130-testdata.tar.xz) = 128611776
+SHA256 (chromium-44.0.2403.155.tar.xz) = eba271c210a020dd61b72c940abeecdafc562a1d15fb45615dda72bcb6219f3c
+SIZE (chromium-44.0.2403.155.tar.xz) = 293362744
+SHA256 (chromium-44.0.2403.155-testdata.tar.xz) = 1fbcfc5bb94db75970f04055163a82560814f3961dece961db4ed5c11014f3d4
+SIZE (chromium-44.0.2403.155-testdata.tar.xz) = 128600128

Modified: branches/2015Q3/www/chromium/files/chrome.in
==============================================================================
--- branches/2015Q3/www/chromium/files/chrome.in	Thu Aug 20 18:11:56 2015	(r394902)
+++ branches/2015Q3/www/chromium/files/chrome.in	Thu Aug 20 18:21:03 2015	(r394903)
@@ -15,4 +15,4 @@ $SYSCTL=1
 EOMSG
 	exit 1
 fi
-%%PREFIX%%/share/chromium/chrome $*
+exec %%PREFIX%%/share/chromium/chrome $*

Modified: branches/2015Q3/www/chromium/pkg-plist
==============================================================================
--- branches/2015Q3/www/chromium/pkg-plist	Thu Aug 20 18:11:56 2015	(r394902)
+++ branches/2015Q3/www/chromium/pkg-plist	Thu Aug 20 18:21:03 2015	(r394903)
@@ -1,5 +1,6 @@
 bin/chrome
 man/man1/chrome.1.gz
+%%DRIVER%%bin/chromedriver
 share/applications/chromium-browser.desktop
 %%DATADIR%%/chrome
 %%DATADIR%%/chrome-wrapper



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508201821.t7KIL4po070245>