Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2017 12:57:35 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r442614 - branches/2017Q2/devel/spark
Message-ID:  <201706051257.v55CvZ0r000686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Mon Jun  5 12:57:35 2017
New Revision: 442614
URL: https://svnweb.freebsd.org/changeset/ports/442614

Log:
  MFH: r438655 r439441
  
  bash is needed on build stage too.
  
  - Fix shebangs
  - Fix plist
  - Bump PORTREVISION
  
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2017Q2/devel/spark/Makefile
  branches/2017Q2/devel/spark/pkg-plist
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/devel/spark/Makefile
==============================================================================
--- branches/2017Q2/devel/spark/Makefile	Mon Jun  5 12:54:27 2017	(r442613)
+++ branches/2017Q2/devel/spark/Makefile	Mon Jun  5 12:57:35 2017	(r442614)
@@ -3,6 +3,7 @@
 
 PORTNAME=	spark
 PORTVERSION=	2.1.0
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		LOCAL/demon/:maven \
@@ -17,14 +18,16 @@ COMMENT=	Fast big data processing engine
 LICENSE=	APACHE20
 
 BUILD_DEPENDS=	${LOCALBASE}/share/java/maven33/bin/mvn:devel/maven33 \
-		${LOCALBASE}/lib/libsnappyjava.so:archivers/snappy-java
+		${LOCALBASE}/lib/libsnappyjava.so:archivers/snappy-java \
+		bash:shells/bash
 RUN_DEPENDS=	bash:shells/bash \
 		yarn:devel/hadoop2
 
-USES=		python:2
+USES=		python:2 shebangfix
 USE_JAVA=	yes
 JAVA_VERSION=	1.7+
 MAKE_ENV+=	JAVA_HOME=${JAVA_HOME} MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
+SHEBANG_FILES=	bin/sparkR
 
 USERS=		spark
 GROUPS=		spark

Modified: branches/2017Q2/devel/spark/pkg-plist
==============================================================================
--- branches/2017Q2/devel/spark/pkg-plist	Mon Jun  5 12:54:27 2017	(r442613)
+++ branches/2017Q2/devel/spark/pkg-plist	Mon Jun  5 12:57:35 2017	(r442614)
@@ -792,5 +792,6 @@
 %%DATADIR%%/sbin/stop-slave.sh
 %%DATADIR%%/sbin/stop-slaves.sh
 %%DATADIR%%/sbin/stop-thriftserver.sh
+@dir %%DATADIR%%/lib
 @dir(%%SPARK_USER%%,%%SPARK_GROUP%%,) /var/log/spark
 @dir(%%SPARK_USER%%,%%SPARK_GROUP%%,) /var/run/spark



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