Bug 222138 - [PATCH] devel/sbt update to 1.0.1
Summary: [PATCH] devel/sbt update to 1.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-09-08 10:59 UTC by j-keck
Modified: 2017-09-08 13:33 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
patch to update sbt from 1.0.0 to 1.0.1 (4.08 KB, patch)
2017-09-08 10:59 UTC, j-keck
no flags Details | Diff
poudriere log (15.74 KB, text/x-log)
2017-09-08 11:00 UTC, j-keck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description j-keck 2017-09-08 10:59:50 UTC
Created attachment 186166 [details]
patch to update sbt from 1.0.0 to 1.0.1

patch updates sbt from 1.0.0 to the actual 1.0.1 version.

notes:

  * master site changed to 'https://cocl.us'

    - the download link from the sbt main-site points to 'cocl.us'
      http://www.scala-sbt.org/download.html

    - the artifacts are not longer on github because the sbt team currently change the CDN:
      https://groups.google.com/forum/#!msg/sbt-dev/xXXop3ytxC4/DcYaoABkDAAJ


  * adjust path for the global 'sbtopts' file

    - the actual sbt version expects the global 'sbtopts' file under '/etc/sbt/sbtopts'
      see: https://github.com/sbt/sbt/issues/3243
           https://github.com/sbt/sbt-launcher-package/pull/179

    - changed to '/usr/local/etc/sbt/sbtopts'


  * reformat 'sbt -help' output

    - from: 
 
      ...
      # jvm options and output control
      JAVA_OPTS          environment variable, if unset uses ""
      .jvmopts           if this file exists in the current directory, its contents
                         are appended to JAVA_OPTS
      SBT_OPTS           environment variable, if unset uses ""
      .sbtopts           if this file exists in the current directory, its contents
                         are prepended to the runner args
      /usr/local/bin/../share/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)
      -S-X               add -X to sbt's scalacOptions (-S is stripped)
      ...


    - to:

      ...
      # jvm options and output control
      JAVA_OPTS                    environment variable, if unset uses ""
      .jvmopts                     if this file exists in the current directory, its contents
                                   are appended to JAVA_OPTS
      SBT_OPTS                     environment variable, if unset uses ""
      .sbtopts                     if this file exists in the current directory, its contents
                                   are prepended to the runner args
      /usr/local/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)
      -S-X                         add -X to sbt's scalacOptions (-S is stripped)
      ...

----
release notes: https://github.com/sbt/sbt/releases/tag/v1.0.1
Comment 1 j-keck 2017-09-08 11:00:45 UTC
Created attachment 186167 [details]
poudriere log
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-09-08 13:33:58 UTC
A commit references this bug:

Author: ale
Date: Fri Sep  8 13:33:26 UTC 2017
New revision: 449453
URL: https://svnweb.freebsd.org/changeset/ports/449453

Log:
  Update to 1.0.1 release.

  PR:		222138
  Submitted by:	j-keck <jhyphenkeck@gmail.com>

Changes:
  head/devel/sbt/Makefile
  head/devel/sbt/distinfo
  head/devel/sbt/files/patch-bin_sbt
  head/devel/sbt/files/patch-bin_sbt-launch-lib.bash