From owner-svn-ports-all@freebsd.org Wed Sep 4 07:31:28 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE796E7DC7; Wed, 4 Sep 2019 07:31:28 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Nb9D5yfSz3R1L; Wed, 4 Sep 2019 07:31:28 +0000 (UTC) (envelope-from ale@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 AFEAD18395; Wed, 4 Sep 2019 07:31:28 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x847VSdh092311; Wed, 4 Sep 2019 07:31:28 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x847VRYO092305; Wed, 4 Sep 2019 07:31:27 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201909040731.x847VRYO092305@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Wed, 4 Sep 2019 07:31:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511064 - in head/devel/sbt: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: in head/devel/sbt: . files X-SVN-Commit-Revision: 511064 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2019 07:31:29 -0000 Author: ale Date: Wed Sep 4 07:31:27 2019 New Revision: 511064 URL: https://svnweb.freebsd.org/changeset/ports/511064 Log: Update to 1.3.0 release. Deleted: head/devel/sbt/files/patch-bin_sbt-launch-lib.bash Modified: head/devel/sbt/Makefile head/devel/sbt/distinfo head/devel/sbt/files/patch-bin_sbt head/devel/sbt/files/sbt.sh.in Modified: head/devel/sbt/Makefile ============================================================================== --- head/devel/sbt/Makefile Wed Sep 4 07:31:11 2019 (r511063) +++ head/devel/sbt/Makefile Wed Sep 4 07:31:27 2019 (r511064) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= sbt -PORTVERSION= 1.2.8 +PORTVERSION= 1.3.0 CATEGORIES= devel java MASTER_SITES= https://github.com/sbt/sbt/releases/download/v${PORTVERSION}/ @@ -11,12 +11,13 @@ COMMENT= Build tool for Scala projects LICENSE= APACHE20 +USES= tar:tgz + OPTIONS_DEFINE= ADVANCED PRELOADED OPTIONS_DEFAULT=ADVANCED ADVANCED_DESC= Install advanced bash shell-script PRELOADED_DESC= Install preloaded jars for offline usage -USES= tar:tgz NO_BUILD= yes NO_ARCH= yes USE_JAVA= yes @@ -41,7 +42,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/bin/sbt-launch.jar ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MADVANCED} ${INSTALL_SCRIPT} ${WRKSRC}/bin/sbt ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/sbt-launch-lib.bash ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/conf ${INSTALL_DATA} ${FILESDIR}/sbtopts ${STAGEDIR}${DATADIR}/conf .if ${PORT_OPTIONS:MPRELOADED} Modified: head/devel/sbt/distinfo ============================================================================== --- head/devel/sbt/distinfo Wed Sep 4 07:31:11 2019 (r511063) +++ head/devel/sbt/distinfo Wed Sep 4 07:31:27 2019 (r511064) @@ -1,3 +1,3 @@ -TIMESTAMP = 1546262528 -SHA256 (sbt-1.2.8.tgz) = 9bb9212541176d6fcce7bd12e4cf8a9c9649f5b63f88b3aff474e0b02c7cfe58 -SIZE (sbt-1.2.8.tgz) = 47179935 +TIMESTAMP = 1567580745 +SHA256 (sbt-1.3.0.tgz) = c9bc6bcbbe7a65773f4526ad5613d93f220ce21bd2456c3cf35363c4cdd52648 +SIZE (sbt-1.3.0.tgz) = 51621435 Modified: head/devel/sbt/files/patch-bin_sbt ============================================================================== --- head/devel/sbt/files/patch-bin_sbt Wed Sep 4 07:31:11 2019 (r511063) +++ head/devel/sbt/files/patch-bin_sbt Wed Sep 4 07:31:27 2019 (r511064) @@ -1,20 +1,55 @@ ---- bin/sbt.orig 2018-12-30 07:45:19 UTC +--- bin/sbt.orig 2019-09-04 07:20:45 UTC +++ bin/sbt -@@ -63,7 +63,7 @@ cygwinpath() { +@@ -72,7 +72,7 @@ cygwinpath() { + + declare -r sbt_bin_dir="$(dirname "$(realpathish "$0")")" +-declare -r sbt_home="$(dirname "$sbt_bin_dir")" ++declare -r sbt_home="$sbt_bin_dir" + + echoerr () { + echo 1>&2 "$@" +@@ -85,7 +85,7 @@ dlog () { + } + + jar_file () { +- echo "$(cygwinpath "${sbt_home}/bin/sbt-launch.jar")" ++ echo "$(cygwinpath "${sbt_home}/sbt-launch.jar")" + } + + acquire_sbt_jar () { +@@ -277,14 +277,14 @@ getPreloaded() { + } + + syncPreloaded() { +- local source_preloaded="$sbt_home/lib/local-preloaded/" ++ local source_preloaded="$sbt_home/local-preloaded/" + local target_preloaded="$(getPreloaded)" + if [[ "$init_sbt_version" == "" ]]; then + # FIXME: better $init_sbt_version detection + init_sbt_version="$(ls -1 "$source_preloaded/org/scala-sbt/sbt/")" + fi + [[ -f "$target_preloaded/org.scala-sbt/sbt/$init_sbt_version/jars/sbt.jar" ]] || { +- # lib/local-preloaded exists (This is optional) ++ # local-preloaded exists (This is optional) + [[ -d "$source_preloaded" ]] && { + command -v rsync >/dev/null 2>&1 && { + mkdir -p "$target_preloaded" +@@ -401,7 +401,7 @@ run() { + declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy" declare -r sbt_opts_file=".sbtopts" -declare -r etc_sbt_opts_file="/etc/sbt/sbtopts" -+declare -r etc_sbt_opts_file="%%PREFIX%%/etc/sbtopts" ++declare -r etc_sbt_opts_file="%%PREFIX%%/etc/sbt/sbtopts" declare -r dist_sbt_opts_file="${sbt_home}/conf/sbtopts" declare -r win_sbt_opts_file="${sbt_home}/conf/sbtconfig.txt" -@@ -101,7 +101,7 @@ Usage: `basename "$0"` [options] - SBT_OPTS environment variable, if unset uses "$default_sbt_opts" - .sbtopts if this file exists in the current directory, its contents - are prepended to the runner args -- /etc/sbt/sbtopts if this file exists, it is prepended to the runner args -+ %%PREFIX%%/etc/sbtopts if this file exists, it is prepended to the runner args - -Dkey=val pass -Dkey=val directly to the java runtime - -J-X pass option -X directly to the java runtime - (-J is stripped) +@@ -446,7 +446,7 @@ Usage: `basename "$0"` [options] + SBT_OPTS environment variable, if unset uses "$default_sbt_opts" + .sbtopts if this file exists in the current directory, its contents + are prepended to the runner args +- /etc/sbt/sbtopts if this file exists, it is prepended to the runner args ++ %%PREFIX%%/etc/sbt/sbtopts if this file exists, it is prepended to the runner args + -Dkey=val pass -Dkey=val directly to the java runtime + -J-X pass option -X directly to the java runtime + (-J is stripped) Modified: head/devel/sbt/files/sbt.sh.in ============================================================================== --- head/devel/sbt/files/sbt.sh.in Wed Sep 4 07:31:11 2019 (r511063) +++ head/devel/sbt/files/sbt.sh.in Wed Sep 4 07:31:27 2019 (r511064) @@ -1,2 +1,2 @@ #!/bin/sh -exec "%%LOCALBASE%%/bin/java" -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -Dsbt.watch.mode=polling -Dsbt.io.jdktimestamps=true -jar "%%DATADIR%%/sbt-launch.jar" "$@" +exec "%%LOCALBASE%%/bin/java" -Xms1024M -Xmx1024M -Xss4M -XX:ReservedCodeCacheSize=128m -Dsbt.io.jdktimestamps=true -jar "%%DATADIR%%/sbt-launch.jar" "$@"