cf35e7989e
http://www.scala-lang.org/news/2.11.6 Scala 2.11.6 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. We would like to highlight the following changes: * We fixed a cross-site scripting vulnerability in Scaladoc's JavaScript. Many thanks to @todesking for discovering this, suggesting a fix, and for delaying disclosure until this release! This bug could be used to access sensitive information on sites hosted on the same domain as Scaladoc-generated documentation. All previous versions of Scaladoc are affected (Scala 2.10.5 includes the fix as well). We do recommend, as a general precaution, to host Scaladoc documentation on its own domain. * SI-9089 repl is now much less crash-and-burny when calling a function (which turns out to be a common thing people do in a REPL). Also, apologies to the author of SI-9022, who reported this before the bug was discovered and you had to wait in line for like three hours on a Tuesday afternoon. Or, maybe, that honor should go to the enigmatic dk14. * SI-8759 no need to enter almost half the konami code to enter a right square bracket in the REPL (via jline 2.12.1). Thank you for implementing the jline fix, @michael72, and kudos to @jdillon and @trptcolin for cutting a new jline release just for us! http://www.scala-lang.org/news/2.11.5 Scala 2.11.5 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. We would like to highlight the following changes: * heathermiller's SI-6502 Reenables loading jars into the running REPL * mpociecha's The alternative, flat representation of classpath elements * gbasler's Avoid the ¡CNF budget exceeded¢ exception via smarter translation into CNF * adriaanm's SAMmy: eta-expansion, overloading, existentials * A great number of documentation improvements - thank you (and, to those appearing for the first time in our release notes, welcome!): @kanielc, @lymia, @stevegury, @vigdorchik, @gourlaysama, @ichoran, @retronym, @xuwei-k, @dickwall, @phaller. http://www.scala-lang.org/news/2.11.4 Scala 2.11.4 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. The changes include: * Scala shell (REPL) is more friendly to Ctrl+D. It leaves your terminal in a clean state and suggests using :quit the next time (see #3902). Kudos to @gourlaysama! * REPL uses different colors when printing references to vals and types. Pass -Dscala.color to enable that behavior (see #3993). Thanks to @puffnfresh! * The Scala specification received a fair amount of love and became much more beautiful. It has got syntax highlighting (#3984), linkable headers, and a side bar with TOC (#3996). A few final touches has been merged that fix typos and mistakes stemming from automatic Latex to Markdown conversion we've done a while ago. Thanks for attention to details @gourlaysama, @som-snytt and roberthoedicke! * Non-deterministic pattern matching warnings has been fixed (SI-7746). Many thanks to @gbasler for diving deep (#3954) into logical formulas constructed by our pattern matcher implementation! https://groups.google.com/forum/#!msg/scala-internals/SSD9BNJaFbU/rACBkHrs2JEJ > I've got an important information to share. I'd like to announce the > Scala 2.11.3 artifacts as being dead on arrival. The 2.11.3 > artifacts that got released to Maven Central have a critical bug > related to binary compatibility. Please stick to using Scala 2.11.2 > until 2.11.4 is released which is planned to happen as soon as we > fix all critical bugs found in Scala 2.11.3. The rest of my email > will discuss the events that led to a broken Scala release, next > steps we're planning to take. http://www.scala-lang.org/news/2.11.2 Scala 2.11.2 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. The changes include: * Several issues in the collections library were resolved, most notably equality on ranges (SI-8738). * The optimizer no longer eliminates division instructions that may throw an ArithmeticException (SI-7607). * The -Xlint compiler flag is now parameterized by individual warnings. This is intended to replace the -Ywarn-... options, for instance, -Xlint:nullary-unit is equivalent to -Ywarn-nullary-unit. Run scalac -Xlint:help to see all available options. Kudos to @som-snytt!x * TypeTags and Exprs are now serializable (SI-5919).
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2015/04/07 14:21:43 yyamano Exp $
|
|
|
|
DISTNAME= scala-2.11.6
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.scala-lang.org/files/archive/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= yyamano@NetBSD.org
|
|
HOMEPAGE= http://www.scala-lang.org/
|
|
COMMENT= Scala is a multi-paradigm programming language
|
|
|
|
USE_JAVA= run
|
|
USE_JAVA2= 6
|
|
NO_BUILD= yes
|
|
|
|
USE_TOOLS+= bash:run
|
|
REPLACE_BASH+= bin/fsc bin/scala bin/scalac \
|
|
bin/scaladoc bin/scalap
|
|
|
|
SCALA_HOME= ${PREFIX}/share/${DISTNAME}
|
|
|
|
SUBST_CLASSES+= scala
|
|
SUBST_FILES.scala= bin/fsc bin/scala bin/scalac bin/scaladoc bin/scalap
|
|
SUBST_STAGE.scala= pre-configure
|
|
SUBST_SED.scala= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.scala+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
|
|
SUBST_SED.scala+= -e 's,@SCALA_HOME@,${SCALA_HOME},g'
|
|
|
|
PLIST_SUBST+= DISTNAME=${DISTNAME}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/${DISTNAME}
|
|
|
|
post-extract:
|
|
@${RM} ${WRKSRC}/bin/*.bat
|
|
|
|
do-install:
|
|
@${RM} -f ${WRKSRC}/bin/*.orig
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/* ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
@cd ${WRKSRC} && ${TAR} cf - doc lib | ${TAR} xf - -C ${DESTDIR}${SCALA_HOME}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|