Date: Thu, 27 Dec 2018 10:49:36 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r488532 - in branches/2018Q4/devel/sbt: . files Message-ID: <201812271049.wBRAnaO8011981@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Thu Dec 27 10:49:36 2018 New Revision: 488532 URL: https://svnweb.freebsd.org/changeset/ports/488532 Log: MFH: r481614 r482814 r486504 r488526 Update to 1.2.7 release. Use java getLastModifiedTime now that openjdk8 port supports millisecond resolution. 'struct stat' ABI changed in FreeBSD 12, breaking FreeBSD specific JNA code that is no longer needed. Approved by: portmgr (bapt) Modified: branches/2018Q4/devel/sbt/Makefile branches/2018Q4/devel/sbt/distinfo branches/2018Q4/devel/sbt/files/patch-bin_sbt-launch-lib.bash branches/2018Q4/devel/sbt/files/sbt.sh.in branches/2018Q4/devel/sbt/files/sbtopts Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/devel/sbt/Makefile ============================================================================== --- branches/2018Q4/devel/sbt/Makefile Thu Dec 27 10:46:56 2018 (r488531) +++ branches/2018Q4/devel/sbt/Makefile Thu Dec 27 10:49:36 2018 (r488532) @@ -2,7 +2,8 @@ # $FreeBSD$ PORTNAME= sbt -PORTVERSION= 1.2.3 +PORTVERSION= 1.2.7 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= https://github.com/sbt/sbt/releases/download/v${PORTVERSION}/ Modified: branches/2018Q4/devel/sbt/distinfo ============================================================================== --- branches/2018Q4/devel/sbt/distinfo Thu Dec 27 10:46:56 2018 (r488531) +++ branches/2018Q4/devel/sbt/distinfo Thu Dec 27 10:49:36 2018 (r488532) @@ -1,3 +1,3 @@ -TIMESTAMP = 1538119815 -SHA256 (sbt-1.2.3.tgz) = d502fbe587a6c2181d6acc688741ae4131386bb10ca50c73c923effc60bafeeb -SIZE (sbt-1.2.3.tgz) = 46849530 +TIMESTAMP = 1543826287 +SHA256 (sbt-1.2.7.tgz) = 2625cbd8db75ec9b4a57e9a0af55a5ee8ad7700e1eba7d97ad78d9296450e781 +SIZE (sbt-1.2.7.tgz) = 47171488 Modified: branches/2018Q4/devel/sbt/files/patch-bin_sbt-launch-lib.bash ============================================================================== --- branches/2018Q4/devel/sbt/files/patch-bin_sbt-launch-lib.bash Thu Dec 27 10:46:56 2018 (r488531) +++ branches/2018Q4/devel/sbt/files/patch-bin_sbt-launch-lib.bash Thu Dec 27 10:49:36 2018 (r488532) @@ -1,6 +1,6 @@ ---- bin/sbt-launch-lib.bash.orig 2017-08-29 21:39:02 UTC +--- bin/sbt-launch-lib.bash.orig 2018-12-03 08:50:53 UTC +++ bin/sbt-launch-lib.bash -@@ -26,7 +26,7 @@ while [ -h "$SCRIPT" ] ; do +@@ -27,7 +27,7 @@ while [ -h "$SCRIPT" ] ; do fi done declare -r sbt_bin_dir="$(dirname "$SCRIPT")" @@ -9,7 +9,7 @@ echoerr () { echo 1>&2 "$@" -@@ -39,7 +39,7 @@ dlog () { +@@ -40,7 +40,7 @@ dlog () { } jar_file () { @@ -18,21 +18,20 @@ } acquire_sbt_jar () { -@@ -172,14 +172,14 @@ process_args () { +@@ -249,14 +249,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 "$sbt_home/lib/local-preloaded/org.scala-sbt/sbt/")" -+ init_sbt_version="$(ls -1 "$sbt_home/local-preloaded/org.scala-sbt/sbt/")" + init_sbt_version="$(ls -1 "$source_preloaded/org.scala-sbt/sbt/")" fi - [[ -f "$HOME/.sbt/preloaded/org.scala-sbt/sbt/$init_sbt_version/jars/sbt.jar" ]] || { - # lib/local-preloaded exists (This is optional) -- [[ -d "$sbt_home/lib/local-preloaded/" ]] && { -+ [[ -d "$sbt_home/local-preloaded/" ]] && { + [[ -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 "$HOME/.sbt/preloaded" -- rsync -a --ignore-existing "$sbt_home/lib/local-preloaded/" "$HOME/.sbt/preloaded" -+ rsync -a --ignore-existing "$sbt_home/local-preloaded/" "$HOME/.sbt/preloaded" - } - } - } + mkdir -p "$target_preloaded" Modified: branches/2018Q4/devel/sbt/files/sbt.sh.in ============================================================================== --- branches/2018Q4/devel/sbt/files/sbt.sh.in Thu Dec 27 10:46:56 2018 (r488531) +++ branches/2018Q4/devel/sbt/files/sbt.sh.in Thu Dec 27 10:49:36 2018 (r488532) @@ -1,2 +1,2 @@ #!/bin/sh -exec "%%LOCALBASE%%/bin/java" -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -Dsbt.watch.mode=polling -jar "%%DATADIR%%/sbt-launch.jar" "$@" +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" "$@" Modified: branches/2018Q4/devel/sbt/files/sbtopts ============================================================================== --- branches/2018Q4/devel/sbt/files/sbtopts Thu Dec 27 10:46:56 2018 (r488531) +++ branches/2018Q4/devel/sbt/files/sbtopts Thu Dec 27 10:49:36 2018 (r488532) @@ -2,3 +2,6 @@ # This triggers rebuilds on src changes after max. 0.5 seconds (instead of 10 seconds). # Reference: https://github.com/sbt/sbt/issues/3868 -Dsbt.watch.mode=polling +# Use java getLastModifiedTime now that it supports millisecond resolution +# 'struct stat' ABI changed in FreeBSD 12, breaking JNA code +-Dsbt.io.jdktimestamps=true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812271049.wBRAnaO8011981>