Commit graph

8933 commits

Author SHA1 Message Date
joerg
a9bfce1290 Drop CVP memory use workaround for clang, no longer needed with 3.8. 2016-03-25 21:11:47 +00:00
joerg
2f8856f7f9 Regen. 2016-03-25 21:11:16 +00:00
joerg
193548ca6c Allow packages linking against libperl to get the rpath correctly. 2016-03-25 21:10:36 +00:00
taca
f24151ae79 Try to fix build error by recent OpenSSL change on NetBSD,
reported as PR pkg/50971.
2016-03-24 16:28:59 +00:00
joerg
e4e9278fbb Requires Python for build. Fix UB on left shift of negative values. 2016-03-22 19:01:17 +00:00
jperkin
231e0a4953 Ensure we don't try to use gold on Linux if it doesn't exist. Fixes
64-bit build on CentOS.
2016-03-18 11:39:18 +00:00
wiz
4e10979eaa Add upstream patch from SVN to fix build with RELRO.
I don't see a relation to relro, but the linker found out about
a missing symbol it didn't complain about before.

SVN 54139:

Thu Mar 17 11:36:27 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

       * ext/socket/option.c (inspect_tcpi_msec): more accurate condition
         for TCPI msec member inspection function.
         [ruby-core:74388] [Bug #12185]

Bump PKGREVISION.
2016-03-17 07:55:43 +00:00
wiz
0e3a70b5a7 Add upstream patch from SVN to fix build with RELRO.
I don't see a relation to relro, but the linker found out about
a missing symbol it didn't complain about before.

SVN 54139:

Thu Mar 17 11:36:27 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

       * ext/socket/option.c (inspect_tcpi_msec): more accurate condition
         for TCPI msec member inspection function.
         [ruby-core:74388] [Bug #12185]

Bump PKGREVISION.
2016-03-17 07:53:46 +00:00
tnn
80db3a24d8 fix wrong llvm-config --libs output. Should return -lLLVM-3.8. Bump. 2016-03-17 02:53:59 +00:00
asau
20724265a3 Update to Racket 6.4
Changes in Racket 6.4:

- We fixed a security vulnerability in the web server.  The existing
  web server is vulnerable to a navigation attack if it is also
  enabled to serve files statically; that is, any file readable by
  the web server is accessible remotely. For more information see

http://blog.racket-lang.org/2016/02/racket-web-server-security-vulnerability.html

- DrRacket's scrolling is faster.

- Incremental garbage-collection mode can eliminate long pauses in a
  program. For example, incremental mode is useful for avoiding pauses
  in games and animations.

  Programs must specifically request incremental mode with
  `(collect-garbage 'incremental)`, but libraries such as
  `2htdp/universe` include the request as part of the library's
  implementation.

- The default package catalog is an HTTPS address instead of HTTP, and
  package operations properly validate server certificates when using
  HTTPS.

- Documentation may define their own categories for the manual top-
  level page by using strings, rather than only symbols that name
  pre-defined categories.

- The Racket cheat sheet is included in the main distribution.

- DrRacket is available in Bulgarian, thanks to Alexander Shopov.

- The contract Typed Racket generates for the `Any` type is more
  permissive, allowing more typed/untyped programs to work without
  contract errors.

- Redex supports binding specifications; describe which variables bind
  in which expressions and your metafunctions and reduction relations
  automatically become scope-sensitive. Thanks to Paul Stansifer for
  this improvement.

- All `pict` functions accept `pict-convertible`s. This allows for
  transparent interoperability between `pict` and  libraries like
  `2htdp/image`.

- The `raco profile` and `raco contract-profile` commands provide easy
  access to profiling tools, without requiring program modifications.
2016-03-15 19:49:42 +00:00
dbj
3555fb3c89 add libiconv buildlink3 dependency, bump PKGREVISION 2016-03-14 05:49:51 +00:00
tnn
0eb65a92b4 remove references to ruby200 2016-03-14 00:59:05 +00:00
taca
8e12e34838 Drop support for ruby200, Ruby 2.0. 2016-03-13 15:52:51 +00:00
taca
ab564b3788 Update lang/ruby200-base, the package became EOL. 2016-03-13 15:46:57 +00:00
taca
9bb0246d8f Update lang/ruby200, the package became EOL. 2016-03-13 15:46:37 +00:00
taca
1dd1e59cdd Delete ruby200 and ruby200-base. 2016-03-13 15:44:23 +00:00
taca
f718214b84 Switch default Ruby's version to 2.2 (ruby22). 2016-03-13 09:35:59 +00:00
ryoon
0c895029ed Update to 2.11.8
Changelog:
Scala 2.11.8 is now available!
March 8, 2016

We are pleased to announce the availability of Scala 2.11.8!

Significant changes since 2.11.7 include:

    The Scala REPL now has robust and flexible tab-completion (details below)
    An assortment of bugs have been fixed

Compared to 2.11.7, this release resolves 44 issues. We merged 175 pull requests.

As usual for minor releases, Scala 2.11.8 is binary compatible with other releases in the Scala 2.11 series.

The last planned 2.11.x release will be 2.11.9 in late 2016.
New tab-completion in the Scala REPL

The implementation of tab-completion in the Scala REPL has been rewritten and now uses the same infrastructure as for example Scala IDE and ENSIME.

There are a number of improvements:

    Reliable completion, also in partial expressions and syntactically incorrect programs: try class C { def f(l: List[Int]) = l.<TAB>
    CamelCase completion: try (l: List[Int]).rro<TAB>, it expands to (l: List[Int]).reduceRightOption
    Show desugarings performed by the compiler by adding //print: try for (x <- 1 to 10) println(x) //print<TAB>
    Complete bean getters without typing get: try (d: java.util.Date).day<TAB>
    Find members by typing any CamelCased part of the name: try classOf[String].typ<TAB> to get getAnnotationsByType, getComponentType and others
    Complete non-qualified names, including types: try def f(s: Str<TAB>
    Press tab twice to see the method signature: try List(1,2,3).part<TAB>, which completes to List(1,2,3).partition; press tab again to display def partition(p: Int => Boolean): (List[Int], List[Int])

Thanks to @retronym and @som-snytt for their fruitful collaboration on this work!


Scala 2.11.7 is now available!
June 23, 2015

We are very pleased to announce the availability of Scala 2.11.7!

We would like to highlight the following changes:

    Exhaustivity checking for pattern matching is now much snappier — thank you @gbasler! (SI-9181)
    A 300x more embeddable Scala REPL, brought to you by a team effort with Apache Spark. Thank you @ScrapCodes, @retronym & co! (#4548, #4563)
    Scala also <3 INDYs – experiment with all our favorite new Java 8 features as follows and get an exclusive sneak preview of 2.12.0-M2!
    Oh, and the spec is now much spiffier! Thanks, @soc!

Compared to 2.11.6, this release resolves 53 issues. We merged 124 pull requests (out of 157). Before upgrading, please also check the known issues for this release.

As usual for minor releases, Scala 2.11.7 is binary compatible with other releases in the Scala 2.11 series.
2016-03-13 03:16:41 +00:00
tnn
4ef62c4256 Needs pthreads. set PTHREAD_AUTO_VARS. Fixes build on NetBSD. 2016-03-12 12:34:44 +00:00
tnn
5b921275af Make sure to use $(X_LIBS) when linking libjawt.so against libawt_xawt.so.
Might fix "ld: fatal: library -lXrender: not found" seen in SmartOS bulk build.
2016-03-12 07:31:02 +00:00
asau
2646edd528 Update to ECL 16.1.2
Changes since 16.0.0

 * API changes

 - si:do-setf accepts optional parameter stores.  New lambda-list:
   (access-fn function &optional (stores `(,(gensym))))
   This change is backward compatible.

 - New MP functions:
   mp:with-rwlock
   mp:try-get-semaphore (non-blocking)
   mp:mailbox-try-read  (non-blocking)
   mp:mailbox-try-send  (non-blocking)

 - Added back removed C interfaces
   ecl_import_current_thread
   ecl_release_current_thread

 - When cl-truename encounters a broken symlink, it returns its path
   instead of signalling a file-error

 - Deprecated variables has been removed
   c::*suppress-compiler-warnings*, c::*suppress-compiler-notes*

 - Random state might be initialized by a random seed (truncated to
   32bit value) or by a precomputed array.

   Latter is designed to allow reading back the printed random state
   (when printed readably), not as an array to initialize the random
   state.

 - C99 supporting compiler is mandatory for C backend.

 - COMPILER::*cc_is_cxx*: New variable to switch the output extension of
   emitted compiler code to ".cxx" when configured with "--with-c++". This
   eliminates compiler warnings that compiling C++ with a ".c" extension is
   deprecated; this is seen mostly with Clang++.

 - Added Clang-specific pragmas to disable return type, unused value and
   excessive parentheses warnings, which are fairly harmless, but annoying
   and clutter user output.

 - GRAY:CLOSE isn't specialized on T to preserve compatibility with some
   libraries.

 * Enhancements:

 - Added code walker (present as *feature* :walker)

 - Testing framework cleanup

 - Format fallbacks to prin1 if infinity or NaN are passed to it

 - Annotations are added at runtime (better integration with SLIME)

 - Mersenne-Twister RNG has new 64 bit implementation for appropriate
   machines

 - Add sockets implementation for android platform

 - Add android build target (official android support)

 * Issues fixed:

 - si:open-unix-socket-stream accepts both string and base-string
   (automatic coercion is performed)

 - Long form of DEFSETF accepts multiple-values as a store forms:

   (defsetf gah (x) (y z) `(list ,x ,y ,z))
   (setf (gah 3) (values 3 4))

 - Building with single-threaded boehm works if ECL threads are disabled

 - Using labels works with sharp-S-reader

   (read-from-string
    "(#1=\"Hello\" #S(sharp-s-reader.1.example-struct :A #1#))")

 - Generated C code works well with IEEE 754 infinities
   (regression tests created)

 - User-defined heap sizes can now exceed the size of a fixnum on 32-bit

 - The heap size limit was intended to be 1GB on 32-bit or 4GB on 64-bit
   but inconsistency between ECL_FIXNUM_BITS and FIXNUM_BITS in the code
   prevented the heap to grow for 64-bit.  This now occurs, and a few
   other less visible bugs were fixed by restoring consistency to
   ECL_FIXNUM_BITS.

 - EXT:EXTERNAL-PROCESS-WAIT potential race condition fix

 - Building with object files not created by ECL works (CFFI wrappers)

 - Regression regarding initialization of build by ECL libraries from
   external code fixed. Static and shared libraries initialization
   funcitons has predetermined name while object files has randomized
   names.

 - Random state initial state generation was buggy and insecure (entropy
   from urandom was rejected)

 - Fix `listen' on streams when FILE_CNT isn't available (use read instad
   of fread)

 - `FIND' compiled with C compiler didn't respect `START' nor `END'
   arguments. Compiler macro is fixed now and should work as expected

 - `compute-applicable-methods-using-classes` bugfix
2016-03-11 20:32:30 +00:00
tnn
85b998f9b0 skip the SHLIBS check for libjawt.so
It is a dlopened library and needs libmawt.so, but that can be provided by
either xawt/libmawt.so or headless/libmawt.so. The JVM will pick and load
the correct implementation to use so an explicit run path is neither
appropriate nor required.
2016-03-11 09:09:57 +00:00
tnn
b71586484d try harder to find system's zlib 2016-03-11 07:02:59 +00:00
tnn
7f28883c87 resurrect and copy the previous clang patch-ac to here
jperkin Mon Mar  7 16:27:47 UTC 2016
Do not use "-z discard-unused" linker flags on SunOS, it is only supported
by the very latest Oracle Solaris release.
2016-03-11 06:50:42 +00:00
jperkin
549fc53b11 Set CHECK_SHLIBS_SUPPORTED=no for both the JRE and JDK, a bug in check-shlibs
was masking test failures for the JDK package.
2016-03-10 19:20:15 +00:00
jperkin
b75f57b4e5 Set CHECK_SHLIBS_SUPPORTED=no for both the JRE and JDK, a bug in check-shlibs
was masking test failures for the JDK package.
2016-03-10 16:04:13 +00:00
tnn
b861e8f85b Update to clang-3.8.0. Split out llvm tools to lang/llvm.
Packaged in pkgsrc-wip by myself and Kamil.
Remove stale pkgsrc/SunOS bread crumbs that were difficult to merge
following the build framework switch. Needs to be redone. (Sorry!)

Summary of significant changes in LLVM:
- switch build framework from autoconf to CMake
- llvm-ar now supports thin archives.
- llvm doesn t produce .data.rel.ro.local or .data.rel sections anymore.
- opional support for linking clang and the LLVM tools with a single
  libLLVM shared library

  pkgsrc note: we have this library in lang/libLLVM, but we don't currently
  use it. We may do so in the future if/when the API matures.

- The optimization to move the prologue and epilogue of functions in colder
  code path (shrink-wrapping) is now enabled by default
- new target-independent gcc-compatible emulated Thread Local Storage mode
- various target specific optimizations

Summary of significant changes in Clang:

- new compiler flags for tuning what DWARF information is included
- better strict alignment handling
- better support for __builtin_object_size
2016-03-10 15:01:52 +00:00
nros
403f364da8 Update qore to build with open/libressl versions that miss evp_SHA.
Bump PKGREVISION.
2016-03-09 21:32:41 +00:00
tnn
b063fe0203 use BUILDLINK_TRANSFORM to handle -ldl 2016-03-09 20:19:31 +00:00
fhajny
7eab8b4bac Update lang/nodejs to 4.4.0. Clean stale bits from options.mk.
Notable changes

- deps: An update to v8 that introduces a new flag
  --perf_basic_prof_only_functions
- http: A new feature in http(s) agent that catches errors on keep
  alived connections
- src: Better support for Big-Endian systems
- tls: A new feature that allows you to pass common SSL options
  to tls.createSecurePair
- tools: a new flag --prof-process which will execute the tick
  processor on the provided isolate files
- build: Support python path that includes spaces. This should be
  of particular interest to our Windows users who may have python
  living in c:/Program Files
- https: A potential fix for #3692 HTTP/HTTPS client requests
  throwing EPROTO
- installer: More readable profiling information from isolate
  tick logs
- npm: upgrade to npm 2.14.20
- process: Add support for symbols in event emitters. Symbols
  didn't exist when it was written
- querystring: querystring.parse() is now 13-22% faster!
- streams: performance improvements for moving small buffers that
  shows a 5% throughput gain. IoT projects have been seen to be as
  much as 10% faster with this change!
- tools: eslint has been updated to version 2.1.0
2016-03-09 20:18:38 +00:00
fhajny
fce4745f48 Update lang/nodejs to 5.8.0. Clean stale bits from options.mk.
Changes since 5.7.1:
- child_process: send() now accepts an options parameter
- constants: ENGINE_METHOD_RSA is now correctly exposed
- Fixed two regressions which originated in v5.7.0:
  - http: Errors inside of http client callbacks now propagate
    correctly
  - path: Fixed normalization of absolute paths
- repl: start() no longer requires an options parameter
- util: Improved format() performance 50-300%
2016-03-09 20:13:23 +00:00
tnn
881d0c5155 Add Linux specific PLIST 2016-03-09 07:19:55 +00:00
tnn
c27a6e413e remove mentions of release candidate 2016-03-08 21:50:29 +00:00
tnn
7b4e10c0e1 g/c obsolete comment 2016-03-08 21:11:44 +00:00
tnn
2e37a0fa27 update to libLLVM-3.8.0
Decouple the package from lang/clang that so it can be maintained
and updated independently.

This switches the build framework from autoconf to cmake.
There are no significant changes to the AMDGPU target mentioned in
the release notes. Other changes are not relevant to mention here since
mesa is the only user of this package in pkgsrc proper.
2016-03-08 21:06:50 +00:00
tnn
fb6ddbb0a3 mark NetBSD-*-*arm* explicitly as needing floating point workarounds
The awk(1) test previously used is not sufficiently comprehensive
2016-03-08 20:03:52 +00:00
kamil
7db612f19b Backport upstream fix for pointersize test
The symbol 'main' is multiply defined because Perl 5's `Configure`
script erroneously appends `try.c`, instead of overwriting it.

This change backports an upstream patch, which will not be needed once
Perl 5 5.23.x is available.

Sent by Eric N. Vander Weele
2016-03-07 21:27:58 +00:00
jperkin
41c43a2d5e Do not use "-z discard-unused" linker flags on SunOS, it is only supported
by the very latest Oracle Solaris release.
2016-03-07 16:27:47 +00:00
adam
36aaedbeb4 Fix shared library name on Darwin 2016-03-06 14:13:36 +00:00
adam
38c033f2f7 Changes 8.6.5:
Bug fixes.
2016-03-06 11:47:49 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
taca
feb40be23d Start update of Ruby on Rails to 3.2.22.2. 2016-03-05 05:23:26 +00:00
taca
1a61d5d242 Update php70 to 7.0.4 (PHP 7.0.4), including security fxies.
03 Mar 2016 PHP 7.0.4

- Core:
  . Fixed bug (Low probability segfault in zend_arena). (Laruence)
  . Fixed bug #71441 (Typehinted Generator with return in try/finally crashes).
    (Bob)
  . Fixed bug #71442 (forward_static_call crash). (Laruence)
  . Fixed bug #71443 (Segfault using built-in webserver with intl using
    symfony). (Laruence)
  . Fixed bug #71449 (An integer overflow bug in php_implode()). (Stas)
  . Fixed bug #71450 (An integer overflow bug in php_str_to_str_ex()). (Stas)
  . Fixed bug #71474 (Crash because of VM stack corruption on Magento2).
    (Dmitry)
  . Fixed bug #71485 (Return typehint on internal func causes Fatal error
    when it throws exception). (Laruence)
  . Fixed bug #71529 (Variable references on array elements don't work when
    using count). (Nikita)
  . Fixed bug #71601 (finally block not executed after yield from). (Bob)
  . Fixed bug #71637 (Multiple Heap Overflow due to integer overflows in
    xml/filter_url/addcslashes). (Stas)

- CLI server:
  . Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug).
    (Johannes, Anatol)

- CURL:
  . Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes
    while curl_multi_exec). (Laruence)
  . Fixed memory leak in curl_getinfo(). (Leigh)

- Date:
  . Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time,
    causing date_date_set issues). (Sean DuBois)

- Fileinfo:
  . Fixed bug #71434 (finfo throws notice for specific python file). (Laruence)

- FPM:
  . Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi
    setup). (Matt Haught, Remi)
  . Fixed bug #71269 (php-fpm dumped core). (Mickaël)

- Opcache:
  . Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache).
    (Yussuf Khalil)

- PCRE:
  . Fixed bug #71537 (PCRE segfault from Opcache). (Laruence)

- phpdbg:
  . Fixed inherited functions from unspecified files being included in
    phpdbg_get_executable(). (Bob)

- SOAP:
  . Fixed bug #71610 (Type Confusion Vulnerability - SOAP /
    make_http_soap_request()). (Stas)

- Standard:
  . Fixed bug #71603 (compact() maintains references in php7). (Laruence)
  . Fixed bug #70720 (strip_tags improper php code parsing). (Julien)

- XMLRPC:
  . Fixed bug #71501 (xmlrpc_encode_request ignores encoding option). (Hieu Le)

- Zip:
  . Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo). (Laruence)
2016-03-05 05:20:17 +00:00
taca
4ef129bc0e Update php56 to 5.6.19 (PHP 5.6.19), including security fixes.
03 Mar 2016, PHP 5.6.19

- CLI server:
  . Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug).
    (Johannes, Anatol)

- CURL:
  . Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes
    while curl_multi_exec). (Laruence)

- Date:
  . Fixed bug #68078 (Datetime comparisons ignore microseconds). (Willem-Jan
    Zijderveld)
  . Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time,
    causing date_date_set issues). (Sean DuBois)

- Fileinfo:
  . Fixed bug #71434 (finfo throws notice for specific python file). (Laruence)

- FPM:
  . Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi
    setup). (Matt Haught, Remi)

- Opcache:
  . Fixed bug  #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache).
    (Yussuf Khalil)

- PDO MySQL:
  . Fixed bug #71569 (#70389 fix causes segmentation fault). (Nikita)

- Phar:
  . Fixed bug #71498 (Out-of-Bound Read in phar_parse_zipfile()). (Stas)

- Standard:
  . Fixed bug #70720 (strip_tags improper php code parsing). (Julien)

- WDDX:
  . Fixed bug #71587 (Use-After-Free / Double-Free in WDDX Deserialize). (Stas)

- XSL:
  . Fixed bug #71540 (NULL pointer dereference in xsl_ext_function_php()).
    (Stas)

- Zip:
  . Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo). (Laruence)
2016-03-05 05:18:51 +00:00
taca
1cc6d18032 Update php55 to 5.5.33, security fixes.
03 Mar 2016, PHP 5.5.33

- Phar:
  . Fixed bug #71498 (Out-of-Bound Read in phar_parse_zipfile()). (Stas)

- WDDX:
  . Fixed bug #71587 (Use-After-Free / Double-Free in WDDX Deserialize). (Stas)
2016-03-05 05:17:33 +00:00
jperkin
52cfb4848e Fixup library names on Darwin. 2016-03-04 13:29:53 +00:00
tnn
95d401d2cd remove duplicate .if-clause for SunOS 2016-03-03 22:41:21 +00:00
bsiegert
3c790afd3b Update Tcl to 8.5.19.
Changes in 8.5.16

Changed Tcl behavior
- Unicode 7.0 charset (within BMP)
- [scan %E%G%X].
Updated packages
- http 2.7.13
- tcltest 2.3.8
- platform 1.0.13

Changes in 8.5.17

Changed Tcl behavior
- Fixed several I/O bugs introduced in 8.5.16.

Changes in 8.5.18

(none)

Changes in 8.5.19

New global variables
- tcl_platform(engine) TIP440
Changed Tcl behavior
- Update to Unicode 8.0 support.
2016-03-03 21:16:46 +00:00
fhajny
c9110c672b Update lang/nodejs4 to 4.3.2.
Irrelevant to (dynamically linked) lang/nodejs4:

* openssl: Upgrade from 1.0.2f to 1.0.2g
2016-03-03 11:58:18 +00:00
fhajny
b83430a1c3 Update lang/nodejs to 5.7.1.
* path.relative():
  - Output is no longer unnecessarily verbose
  - Resolving UNC paths on Windows now works correctly
  - Resolving paths with prefixes now works correctly from
    the root directory
* url: Fixed an off-by-one error with parse()
* dgram: Now correctly handles a default address case when offset
  and length are specified (Matteo Collina) #5407.

Irrelevant to (dynamically linked) lang/nodejs:

* openssl: Upgrade from 1.0.2f to 1.0.2g
2016-03-03 11:54:28 +00:00