Commit graph

10533 commits

Author SHA1 Message Date
he
6671d3e355 Hm, we need to ensure the gcc-wrap script is executable. 2018-10-13 17:54:57 +00:00
he
bf01d771ad Typo fix, CROSS_TARGET -> GNU_CROSS_TARGET. 2018-10-13 11:46:47 +00:00
he
5b1797db7d Add the bits required to build rust on NetBSD/powerpc ports, and
point to the bootstrap kit for NetBSD/powerpc I'm hosting at the
moment.

Also add the bits I used when cross-building the NetBSD/powerpc
rust on amd64, commented out, as well as the gcc / c++ wrapper
script I used in the process.

The changes affecting other ports are:
 * We now add LD_LIBRARY_PATH in the make environment, so that
   if the bootstrap kit binaries and shared libraries don't have
   the $ORIGIN-style RPATH entries, it will still work
 * The bootstrap.py script has been changed to turn off the
   generation of debuginfo in "RUSTFLAGS"; for some so far unknown
   reason, the NetBSD/powerpc rust will not build if you ask for
   debug info.  This could perhaps have been made OS-variant dependent,
   but isn't at the moment.

So .. bump PKGREVISION.
2018-10-13 10:03:36 +00:00
taca
753e46ba64 lang/php72: update to 7.2.11
11 Oct 2018, PHP 7.2.11

- Core:
  . Fixed bug #76800 (foreach inconsistent if array modified during loop).
    (Dmitry)
  . Fixed bug #76901 (method_exists on SPL iterator passthrough method corrupts
    memory). (Nikita)

- CURL:
  . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
    (Pierrick)

- iconv:
  . Fixed bug #66828 (iconv_mime_encode Q-encoding longer than it should be).
    (cmb)

- Opcache:
  . Fixed bug #76832 (ZendOPcache.MemoryBase periodically deleted by the OS).
    (Anatol)
  . Fixed bug #76796 (Compile-time evaluation of disabled function in opcache
    causes segfault). (Nikita)

- POSIX:
  . Fixed bug #75696 (posix_getgrnam fails to print details of group). (cmb)

- Reflection:
  . Fixed bug #74454 (Wrong exception being thrown when using ReflectionMethod).
    (cmb)

- Standard:
  . Fixed bug #73457 (Wrong error message when fopen FTP wrapped fails to open
    data connection). (Ville Hukkamäki)
  . Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with
    stream_socket_client). (Ville Hukkamäki)
  . Fixed bug #75533 (array_reduce is slow when $carry is large array).
    (Manabu Matsui)

- XMLRPC:
  . Fixed bug #76886 (Can't build xmlrpc with expat). (Thomas Petazzoni, cmb)

- Zlib:
  . Fixed bug #75273 (php_zlib_inflate_filter() may not update bytes_consumed).
    (Martin Burke, cmb)
2018-10-13 06:18:37 +00:00
taca
cfff7e7556 lang/php71: update to 7.1.23
11 Oct 2018, PHP 7.1.23

- Core:
  . Fixed bug #76901 (method_exists on SPL iterator passthrough method corrupts
    memory). (Nikita)
  . Fixed bug #76846 (Segfault in shutdown function after memory limit error).
    (Nikita)

- CURL:
  . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
    (Pierrick)

- iconv:
  . Fixed bug #66828 (iconv_mime_encode Q-encoding longer than it should be).
    (cmb)

- Opcache:
  . Fixed bug #76832 (ZendOPcache.MemoryBase periodically deleted by the OS).
    (Anatol)

- POSIX:
  . Fixed bug #75696 (posix_getgrnam fails to print details of group). (cmb)

- Reflection:
  . Fixed bug #74454 (Wrong exception being thrown when using ReflectionMethod).
    (cmb)

- Standard:
  . Fixed bug #73457 (Wrong error message when fopen FTP wrapped fails to open
    data connection). (Ville Hukkamäki)
  . Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with
    stream_socket_client). (Ville Hukkamäki)
  . Fixed bug #75533 (array_reduce is slow when $carry is large array).
    (Manabu Matsui)

- Zlib:
  . Fixed bug #75273 (php_zlib_inflate_filter() may not update bytes_consumed).
    (Martin Burke, cmb)
2018-10-13 06:17:31 +00:00
jperkin
f8611f86ed elixir: Fix PKGMANDIR. Add TEST_TARGET. 2018-10-11 12:10:08 +00:00
rjs
1203062ee7 Fix build for Java 1.8. 2018-10-10 21:55:20 +00:00
ryoon
5d7bdadb0a My website URI for bootsrap kit has changed. The older website will provide
older taballs, however new tarballs will be provided at the newer website only.
2018-10-09 12:40:05 +00:00
maya
f2ae4c6114 Update rakudo, nqp, MoarVM to 2018.06
Bumping buildlink3.mk required because the reporter mentions having
to do this because of a time-consuming incompatibility in p6-zip.
Unclear if the packages are independent, so updating together.

No changelog found.

From tomasz motyl in PR pkg/53663
2018-10-08 16:54:28 +00:00
ryoon
636de2f296 Extend PYTHON_FOR_BUILD_ONLY to test 2018-10-07 23:56:23 +00:00
ryoon
79890e338a Try to fix "warning: duplicate script for target "pre-build" ignored" 2018-10-07 23:12:49 +00:00
bsiegert
500924804a Add a few missing files, fix build.
Reported separately by abs, adam and prlw1. Sorry :/
2018-10-06 09:11:13 +00:00
maya
436119c28b spidermonkey52: backport patch for CVE-2018-12387
Don't inline push with more than 1 argument

A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push with multiple arguments that results in the stack pointer being off by 8 bytes after a bailout. This leaks a memory address to the calling function which can be used as part of an exploit inside the sandboxed content process.

Bump PKGREVISION
2018-10-03 18:58:22 +00:00
bsiegert
89df8ad024 Update go111 to 1.11.1.
go1.11.1 (released 2018/10/01) includes fixes to the compiler, documentation,
go command, runtime, and the crypto/x509, encoding/json, go/types, net,
net/http, and reflect packages. See the Go 1.11.1 milestone on our issue
tracker for details.

Also correct the PLIST and use ln -sf instead of ln -s.
2018-10-02 18:19:56 +00:00
ryoon
9ff16a98cc Update to 0.19
Changelog:
What’s new in 0.19.0

The nil state for strings/seqs is gone. Instead the default value for these is "" / @[]. Use --nilseqs:on for a transition period. This eliminates a large class of bugs that used to plague the average Nim code out there, including Nim’s standard library.

Accessing the binary zero terminator in Nim’s native strings is now invalid. Internally a Nim string still has the trailing zero for zero-copy interoperability with cstring. Compile your code with the new switch --laxStrings:on if you need a transition period.

These changes to strings and seqs give us more flexibility in how they are implemented and indeed alternative implementations are in development.

experimental is now a pragma and a command line switch that can enable specific language extensions, it is not an all-or-nothing switch anymore. We think this leads to a more robust development process where it’s clearly documented which parts of Nim are bleeding edge and which parts can be relied upon.

Other notable language additions:

    Dot calls combined with explicit generic instantiations can now be written as x.y[:z] which is transformed into y[z](x) by the parser.
    func is now an alias for proc {.noSideEffect.}.

    Anonymous tuples with a single element can now be written as (1,) with a trailing comma.

    In order to make for loops and iterators more flexible to use Nim now supports so called “for-loop macros”. See the manual for more details. This feature enables a Python-like generic enumerate implementation.

    Case statements can now be rewritten via macros. See the manual for more information. This feature enables custom pattern matching.

    The command syntax now supports keyword arguments after the first comma.

    Thread-local variables can now be declared inside procs. This implies all the effects of the global pragma.

    Nim now supports the except clause in the export statement.
    Range float types, example range[0.0 .. Inf]. More details in language manual.

Breaking changes to be mindful of

    The default location of nimcache for the native code targets was changed. Read the compiler user guide for more information.
    Lots of deprecated symbols in the standard library that have been deprecated for quite some time now like system.expr or the old type aliases starting with a T or P prefix have been removed.
    The exception hierarchy was slightly reworked, SystemError was renamed to CatchableError and is the new base class for any exception that is guaranteed to be catchable. This change should have minimal impact on most existing Nim code.

Async improvements

The “closure iterators” that Nim’s async macro is based on has been rewritten from the ground up and so async works completely with exception handling. Finally it is possible to use await in a try statement!
Nimble 0.9.0

This release includes a brand new version of Nimble. The new version contains a breaking change which you should read up on if you own hybrid packages. There are also the usual bug fixes and this release contains a lot of them.
2018-10-01 12:50:42 +00:00
ryoon
04f6e8b576 Add NetBSD to supported architecture. This is sufficient to build coreboot 2018-10-01 12:32:15 +00:00
wiedi
bac7e0539a racket-minimal: fix build on SunOS 2018-09-30 22:31:59 +00:00
minskim
83f368e43d lang/rust: Fix distfile checksum of Darwin-i386
Noted by jperkin@.
2018-09-30 17:46:24 +00:00
minskim
7ffa718709 rust-bin: Update to 1.29.1
The standard library's str::repeat function contained an out of bounds
write caused by an integer overflow. This has been fixed by
deterministically panicking when an overflow happens.
2018-09-30 16:19:54 +00:00
wiedi
a58cc75797 racket: fix SunOS build 2018-09-30 06:58:33 +00:00
kamil
a34c447463 pc-lisp: Fix build with Clang 7svn
Address invalid casts between types.
2018-09-29 21:19:13 +00:00
tnn
cff6e95cfd erlang-man: catch up with base package 2018-09-29 15:50:46 +00:00
adam
af8b85ccb6 Fix for Darwin/Xcode 10 (missing QuickTime.framework); PLIST_VARS cleanup 2018-09-28 11:01:37 +00:00
tnn
5f25be5e17 go19: fix PLIST 2018-09-27 20:39:45 +00:00
tnn
3dc964d735 nodejs: unbreak previous for nodejs6 & nodejs8, add comments 2018-09-27 19:27:57 +00:00
tnn
0ee6ad20bc nodejs: SUBST paxctl in the correct Makefile 2018-09-27 19:15:59 +00:00
maya
22b1591b19 erlang: correct typo.
pointed out by Michael Taylor in PR pkg/53567
2018-09-26 05:41:43 +00:00
jperkin
96cfe179b0 ocaml: Restore PLIST.ocaml-prof entries. Should fix SunOS-*-i386. 2018-09-25 11:39:12 +00:00
jperkin
9faffa3b43 go111: Restore PLIST vars. 2018-09-25 09:06:09 +00:00
minskim
d6cee94406 lang/rust: Make llvm build on Darwin
Patch from lang/llvm.
2018-09-24 03:42:42 +00:00
bsiegert
685842da4d Remove lang/go.
Replacements: the versioned lang/go19, lang/go110 and lang/go111.

Nothing in pkgsrc directly depends on this anymore. There are a few
stragglers in wip, which will be fixed.
2018-09-23 20:05:29 +00:00
taca
0c1848a16b lang/ruby: update rails to 5.1.6
Start update of Ruby on Rails to 5.1.6.
2018-09-23 18:30:36 +00:00
taca
2154b7c620 lang/ruby-gherkin: update to 5.1.0
5.1.0 - 2018-05-30

Added

* (.NET) - Better .NET Core support
* Support for Aragonese (#298 danilat)
* (C) build a shared libgherkin.so library which allows Gherkin to be used as
  a library. (Cucumber.ml currently uses this.) (cucumber/gherkin-c#6 cyocum)

Changed

* Pass the content type of a docstring down into its pickle string form (#292
  rjwittams)
* Fixed Russian equivalents of Given and Then. (#369 cerebellum13)

Fixed

* (C) Segfault when file does not exist (#394 #395 cyocum)
* (JavaScript) (#374 #377 charlierudolph)
* (Ruby, JavaScript) Remove berp.exe from packages (#289 aslakhellesoy)
* (Go) fixes validation for go vet tool on latest versions (#330 l3pp4rd)
* (Ruby) removed unneeded files from the gem
2018-09-23 15:31:22 +00:00
taca
e010f78d9a lang/pear: update to 1.10.6
1.10.6 (2018-08-22 15:11 UTC)

Changelog:

* PR #70: Fix notice undefined variable metadata_dir
* PR #71: fix Warning: count(): Parameter must be an array or an object
* PR #74: Bug #23744 Remove is_executable check
* Bug #23744: The is_executable check in the Which method when run on Windows
  is unnecessary
* PR #75: Migrate old while(list() = each()) constructs to foreach
* PR #76: Fix PHP Warning: "continue" targeting switch is equivalent to
  "break"
* PR #77: proxy server auth
* PR #72: Correctly authenticate at proxy server
* PR #78: array or Countable error in 7.2
2018-09-23 14:56:26 +00:00
bsiegert
7064d10572 Move most of the version selection logic into version.mk.
Provide a new variable, GO_PACKAGE_DEP, with the correct dependency on
the user-selected Go version, to be used for fixing syncthing and friends.
2018-09-22 19:44:21 +00:00
minskim
beffda2fa6 lang/go111: Fix ALTERNATIVES
- Install versioned commands in bin/
- Use ALTERNATIVES to create commands without version suffix
2018-09-22 12:15:28 +00:00
minskim
b1f2b47123 lang/rust: Move common BUILD_DEPENDS in rust packages to cargo.mk 2018-09-21 21:26:33 +00:00
bsiegert
b3aec47289 Use lang/go111, not lang/go, for package builds.
This moves builds of packages using Go off the unversioned lang/go package
and onto Go 1.11 or Go 1.9 (on NetBSD 6) by default.

There is a new, user-settable variable GO_VERSION_DEFAULT.

NOTE: not all Go packages completely implement this yet. For example,
net/syncthing does its own thing. This will be fixed.
2018-09-21 20:35:56 +00:00
fhajny
4598406515 lang/nodejs: Update to 10.11.0.
- fs
  - Fixed fsPromises.readdir `withFileTypes`.
- http2
  - Added `http2stream.endAfterHeaders` property.
- util
  - Added `util.types.isBoxedPrimitive(value)`.
2018-09-20 14:05:25 +00:00
adam
491728914f py-uncompyle6: added version 3.2.3
A native Python cross-version decompiler and fragment decompiler. The successor
to decompyle, uncompyle, and uncompyle2.

uncompyle6 translates Python bytecode back into equivalent Python source code.
It accepts bytecodes from Python version 1.3 to version 3.7, spanning over 22
years of Python releases. We include Dropbox's Python 2.5 bytecode and some
PyPy bytecode.
2018-09-20 13:48:55 +00:00
adam
c9685ce5ca py-spark-parser: added version 1.8.7
This package uses Jay Earley's algorithm for parsing context free grammars, and
comes with some generic Abstract Syntax Tree routines. There is also a
prototype scanner which does its job by combining Python regular expressions.

(SPARK stands for Scanning, Parsing, and Rewriting Kit. It is a poor name since
it conflicts with a more popular package of the same name. In the future we
will rename this.)
2018-09-20 13:46:52 +00:00
abs
e0ca14e28e Add jhat to JAVA_WRAPPERS. Bump PKGREVISION 2018-09-19 18:18:30 +00:00
minskim
c9fc5e9643 lang/go111: Use ${GO_PLATFORM} in PLIST 2018-09-19 17:59:35 +00:00
gson
1f7dd4faa4 lang/perl5: Fix file descriptor leak in in-place editing
Back-port perl commit 3d5e9c119db6b727684fe75dfcfe5831c4351bec to
fix a file descriptor leak in in-place editing which is breaking
the build of xentools48.  Should fix PR 53578.  Bump PKGREVISION.
2018-09-19 13:52:33 +00:00
bsiegert
294bb69985 Remove .orig files that were mistakenly committed.
Noticed by pgoyette@, thanks!
2018-09-19 13:23:36 +00:00
bsiegert
714330096e Add a versioned Go 1.10 package as lang/go110.
This uses a similar approach as go111. Its revision is one higher than
the existing lang/go.

Next steps:
 - make builds use this for dependent packages
 - delete lang/go to complete the move
2018-09-18 20:52:11 +00:00
bsiegert
7fee8b0dd5 Add Go 1.11 as lang/go111.
This installs the go tool as go111; all the supporting files go under
$PREFIX/go111, so it does not conflict with other Go versions. Go packages
in pkgsrc do not use it to build yet.

Changes:

There are many changes and improvements to the toolchain, runtime, and
libraries, but two features stand out as being especially exciting: modules
and WebAssembly support.

This release adds preliminary support for a new concept called "modules," an
alternative to GOPATH with integrated support for versioning and package
distribution. Module support is considered experimental, and there are still
a few rough edges to smooth out, so please make liberal use of the issue
tracker.

Go 1.11 also adds an experimental port to WebAssembly (js/wasm). This allows
programmers to compile Go programs to a binary format compatible with four
major web browsers.
2018-09-18 16:22:14 +00:00
maya
6ba2685739 erlang: bump PKGREVISION for previous.
This builds fine, but failed at runtime!
2018-09-18 04:12:38 +00:00
maya
ca3979425a erlang: Use existing workaround to deal with netbsd's kqueue
implementation limitation.

From Michael Taylor in PR pkg/53576, also in upstream ERL-725
2018-09-18 04:12:04 +00:00
maya
2813c03e03 erlang: limit pgo disabled for netbsd 8.0. Will be fixed in 8.1 release.
PR pkg/53567.
2018-09-18 03:48:40 +00:00