Commit graph

11303 commits

Author SHA1 Message Date
ryoon
54b7a6e427 Update to 1.0.2
Changelog:
v1.0.2 - 2019-10-23
Bugfixes

    fixes the --verbosity:2 regression
    Fixed "Fail to compile a file twice under Windows (v1.0 bug)." #12242
    fix nimpretty removing space before pragma
    JS: gensym is stricter for 'this'
    Fixed "VM Assertion Error with newruntime" #12294
    Fixed "Assertion error when running nim check on compiler/nim.nim" #12281
    Fixed "Compiler crash with empty array and generic instantiation with int as parameter" #12264
    Fixed "Regression in JS backend codegen "Error: request to generate code for .compileTime proc"" #12240
    Fix how relativePath handle case sensitiviy
    Fixed "SIGSEGV in compiler when using generic types and seqs" #12336
    Fixed "[1.0.0] weird interaction between import os and casting integer to char on macosx trigger bad codegen" #12291
    VM: no special casing for big endian machines
    Fixed "internal error: environment misses with a simple template inside one of Jester macros" #12323
    nimsuggest: fix tcp socket leak
    nimsuggest: fix tcp socket leak for epc backend
    Fixed "writeFile and write(f, str) skip null bytes on Windows" #12315
    Fixed "Crash in intsets symmetric_difference" #12366
    Fixed "[regression] VM crash when dealing with var param of a proc result" #12244
    fixes a koch regression that made 'koch boot --listcmd' not work anymore
    Fixed "[regression] inconsistent signed int mod operator between runtime, compiletime, and semfold" #12332
    Fixed "Boehm disables interior pointer checking" #12286
    Fixes semCustomPragma when nkSym
    Fixed yield in nkCheckedFieldExpr
    Fixed "randomize() from random not working on JS" #12418
    Fixed "Compiler crash with invalid object variant" #12379
    fix type's case in random.nim
    Fixed "Update docs with a better way to signal unimplemented methods" #10804
    Fixed "Nim language manual, push pragma is not explained well" #10824
    Fixed "[regression] Importing more than one module with same name from different packages produce bad codegen" #12420
    Namespace unittest enums to avoid name conflicts
    Fixed "VM checks unsigned integers for overflow." #12310
    Fixed "line directive is not generated for first line of function definition" #12426

Documentation improvements

    threadpool: fix link in docs (#12258)
    Fix spellings (#12277)
    fix #12278, don't expose internal PCRE documentation
    Fixed "Documentation of quitprocs is wrong" [#12279(https://github.com/nim-lang/Nim/issues/12279)
    Fix typo in docs
    Fix reference to parseSpec proc in readme
    [doc/tut1] removed discard discussion in comments
    Documentation improvements around the db interface
    Easier build instructions for windows - just run build_all.bat.
    fix a few dead links and a missing sentence in documentation
    Macro docs additions
    Updated the code example in the os module to use better grammar.
    Mention "lambdas" and => in the manual
    Better documentation on Garbage Collector
2019-10-30 12:28:48 +00:00
gutteridge
f8d7bb5f75 ghc7: build fix (workaround) for NetBSD 9.x
NetBSD 9.x have libcurses with a newer major version than the
bootstrap kit is linked against. For now, work around this with
compat80. (This could also be dealt with by creating versioned
bootstrap kits, but that's more involved, and NetBSD 9.x is pre-
release software, so best to leave this off for now.) Thanks to
Greg Troxel for the compat80 hint.
2019-10-29 05:12:47 +00:00
he
3d92c13eca Fix CONFIGURE_ARGS for disabling debugging. Build fix so no bump. 2019-10-28 14:38:41 +00:00
jperkin
b9b5e07ee0 rust: Update SmartOS dependencies and tidy. 2019-10-28 08:56:14 +00:00
jperkin
b556d9e906 rust: Fix SunOS builds with newer compilers. 2019-10-28 00:42:21 +00:00
he
86b1a18e32 Bump bootstrap version to 1.38.0 for NetBSD/aarch64 (9.0),
NetBSD/amd64 (8.0) and NetBSD/i386 (8.0).  These bootstraps do
not use the pkgsrc llvm, i.e. are built with the rust-llvm option.

Disable warnings as fatal errors; 1.38.0 building 1.38.0 produces
warnings which would otherwise be fatal, ref.
  https://github.com/rust-lang/rust/issues/65722

Also, revert back to BUILD_TARGET=build which I mistakenly changed
to "dist" previously.

Bump PKGVERSION.
2019-10-27 18:34:27 +00:00
kamil
01f822cb53 basic256: Retired
Upstream dead. Last release 1.1.4.0 in 2014.
2019-10-27 13:50:55 +00:00
kamil
4e5fa33f9d -basic256 2019-10-27 13:48:45 +00:00
adam
1505525bfd py-asttokens: updated to 2.0.2
v2.0.2:
Bump patch version

v2.0.1:
Bump patch version

v2.0.0:
Bump major version, for non-backward-compatible changes.
- There is a parsing difference in that tuple nodes now include
  surrounding parentheses (when present).
2019-10-26 23:01:41 +00:00
gutteridge
0bb8fd3f86 ghc: adjust patch to allow for Perl >= 5.30 2019-10-25 08:55:46 +00:00
taca
3815767ccc lang/php71: update to 7.1.33
Update php71 to 7.1.33.

24 Oct 2019, PHP 7.1.33

- FPM:
  . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
    (CVE-2019-11043) (Jakub Zelenka)
2019-10-25 02:58:33 +00:00
taca
0f6d21bfff lang/php73: update to 7.3.11
Update php73 to 7.3.11.

24 Oct 2019, PHP 7.3.11

- Core:
  . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool).
    (bugreportuser)
  . Fixed bug #78620 (Out of memory error). (cmb, Nikita)

- Exif :
  . Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
	(Kalle)

- FPM:
  . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
    (CVE-2019-11043) (Jakub Zelenka)
  . Fixed bug #78413 (request_terminate_timeout does not take effect after
    fastcgi_finish_request). (Sergei Turchanov)

- MBString:
  . Fixed bug #78633 (Heap buffer overflow (read) in mb_eregi). (cmb)
  . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency).
    (cmb)
  . Fixed bug #78609 (mb_check_encoding() no longer supports stringable
    objects). (cmb)

- MySQLi:
  . Fixed bug #76809 (SSL settings aren't respected when persistent connections
    are used). (fabiomsouto)

- Mysqlnd:
  . Fixed bug #78525 (Memory leak in pdo when reusing native prepared
    statements). (Nikita)

- PCRE:
  . Fixed bug #78272 (calling preg_match() before pcntl_fork() will freeze
    child process). (Nikita)

- PDO_MySQL:
  . Fixed bug #78623 (Regression caused by "SP call yields additional empty
    result set"). (cmb)

- Session:
  . Fixed bug #78624 (session_gc return value for user defined session
    handlers). (bshaffer)

- Standard:
  . Fixed bug #76342 (file_get_contents waits twice specified timeout).
    (Thomas Calvet)
  . Fixed bug #78612 (strtr leaks memory when integer keys are used and the
    subject string shorter). (Nikita)
  . Fixed bug #76859 (stream_get_line skips data if used with data-generating
    filter). (kkopachev)

- Zip:
  . Fixed bug #78641 (addGlob can modify given remove_path value). (cmb)
2019-10-25 02:57:03 +00:00
taca
fadc522e6c lang/php72: update to 7.2.24
Update php72 to 7.2.24.


24 Oct 2019, PHP 7.2.24

- Core:
  . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool).
    (bugreportuser)
  . Fixed bug #78620 (Out of memory error). (cmb, Nikita)

- Exif:
  . Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
	(Kalle)

- FPM:
  . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
    (CVE-2019-11043) (Jakub Zelenka)

- MBString:
  . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency).
    (cmb)
  . Fixed bug #78609 (mb_check_encoding() no longer supports stringable
    objects). (cmb)

- MySQLi:
  . Fixed bug #76809 (SSL settings aren't respected when persistent connections
    are used). (fabiomsouto)

- PDO_MySQL:
  . Fixed bug #78623 (Regression caused by "SP call yields additional empty
    result set"). (cmb)

- Session:
  . Fixed bug #78624 (session_gc return value for user defined session
    handlers). (bshaffer)

- Standard:
  . Fixed bug #76342 (file_get_contents waits twice specified timeout).
    (Thomas Calvet)
  . Fixed bug #78612 (strtr leaks memory when integer keys are used and the
    subject string shorter). (Nikita)
  . Fixed bug #76859 (stream_get_line skips data if used with data-generating
    filter). (kkopachev)

- Zip:
  . Fixed bug #78641 (addGlob can modify given remove_path value). (cmb)
2019-10-25 02:51:18 +00:00
jperkin
3da928343c rust: Switch to using pkgsrc gzip for extraction on SunOS.
Something in the rust-1.38 tarball is tickling a bug in the version of
gzip shipped at least on SmartOS.
2019-10-24 17:34:10 +00:00
taca
66d821fff7 lang/ruby: change for --no-document option
Replace RUBY_BUILD_RDOC and RUBY_BUILD_RI with RUBY_BUILD_DOCUMENT since
rdoc's --no-rdoc and --no-ri options are deprecated almost 8 years ago
and these options are replaced with -no-document option.

No package should be changed.
2019-10-24 14:39:37 +00:00
tnn
c7776faa13 more packages with wrong LICENSE tag 2019-10-24 11:52:20 +00:00
tnn
c035e0f0dd catch up with llvm relicensing and bump PKGREVISIONs 2019-10-24 11:40:00 +00:00
jperkin
3c8b1f0940 llvm: Extend linkmap fix to another file for SunOS. 2019-10-24 11:20:09 +00:00
jperkin
2a993bdd75 python38: Make float words test a little less insane.
Fixes build on SunOS with the native grep.
2019-10-24 10:44:57 +00:00
taca
a177dfc735 lang/pear: update Archive_Tar to 1.4.8
Update pear Archive_Tar included in this package to 1.4.8

Bump PKGREVISION.


Archive_Tar 1.4.8 (2019-10-21 09:34 UTC)

Changelog:

* Fix Bug #23852: PHP 7.4 - Archive_Tar->_readHeader throws deprecation
  [mrook]
2019-10-22 07:46:25 +00:00
maya
1c1c7a3c3f mono6: add the missing bits for netbsd/aarch64 support.
unfortunately, mono-sgen crashes a lot, most likely due to pmap bugs.
it takes many retries to get further in the build.
2019-10-21 23:53:34 +00:00
adam
4b3f2994cb Added sphinx to Python versioned dependencies 2019-10-21 21:08:56 +00:00
rjs
a814cda087 Fixed C++ constructors on aarch64. 2019-10-21 11:47:16 +00:00
rjs
9b4504c675 Make C++ constructors work for aarch64.
Discussed here:

<http://mail-index.netbsd.org/tech-toolchain/2019/08/29/msg003611.html>
2019-10-21 11:14:44 +00:00
leot
ecb6f22f5c py27-html-docs: Update to 2.7.17
Changes:
2.7.17
======
Documentation
-------------
- bpo-37487: Fix PyList_GetItem index description to include 0.
- bpo-37149: Replace the dead link to the Tkinter 8.5 reference by John
  Shipman, New Mexico Tech, with a link to the archive.org copy.
- bpo-35126: Improve the examples in the "How do I convert a number to
  string?" question of the "Programming" section of the FAQ.  Contributed by
  Stéphane Wirtel.
- bpo-35605: Fix documentation build for sphinx<1.6.  Patch by Anthony
  Sottile.
- bpo-35564: Explicitly set master_doc variable in conf.py for compliance
  with Sphinx 2.0
- bpo-33832: Add glossary entry for 'magic method'.
2019-10-21 10:08:08 +00:00
adam
9c07ea7683 python27: updated to 2.7.17
2.7.17:
Escape the server title of :class:`DocXMLRPCServer.DocXMLRPCServer` when
rendering the document page as HTML.

Update vendorized expat library version to 2.2.8, which resolves
CVE-2019-15903.

Updated OpenSSL to 1.0.2s in Windows installer

Don't set cookie for a request when the request path is a prefix match of
the cookie's path attribute but doesn't end with "/".

Don't send cookies of domain A without Domain attribute to domain B when
domain A is a suffix match of domain B while using a cookiejar with
:class:`cookielib.DefaultCookiePolicy` policy.

Fix parsing of invalid email addresses with more than one ``@`` (e.g.
a@b@c.com.) to not return the part before 2nd ``@`` as valid email address.

Fixes mishandling of pre-normalization characters in urlsplit().

Address CVE-2019-9740 by disallowing URL paths with embedded whitespace or
control characters through into the underlying http client request.  Such
potentially malicious header injection URLs now cause an httplib.InvalidURL
exception to be raised.

Changes urlsplit() to raise ValueError when the URL contains characters that
decompose under IDNA encoding (NFKC-normalization) into characters that
affect how the URL is parsed.

CVE-2019-9948: Avoid file reading by disallowing ``local-file://`` and
``local_file://`` URL schemes in :func:`urllib.urlopen`,
:meth:`urllib.URLopener.open` and :meth:`urllib.URLopener.retrieve`.

Fix race in PyThread_release_lock that was leading to memory corruption and
deadlocks. The fix applies to POSIX systems where Python locks are
implemented with mutex and condition variable because POSIX semaphores are
either not provided, or are known to be broken. One particular example of
such system is macOS.

valgrind: suppress a false alarm in memory leak checks. _PyWarnings_Init()
only allocates memory once at startup but it is not released at exit. Ignore
this issue to be able to catch other bugs more easily.

Fix possible overflow in ``wrap_lenfunc()`` when ``sizeof(long) <
sizeof(Py_ssize_t)`` (e.g., 64-bit Windows).

pymalloc returns memory blocks aligned by 16 bytes, instead of 8 bytes, on
64-bit platforms to conform x86-64 ABI. Recent compilers assume this
alignment more often.

Fix signed integer overflow in _ctypes.c's ``PyCArrayType_new()``.

Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``.

Fix a possible reference leak in :func:`itertools.count`.

PyOS_StdioReadline() no longer leaks memory when realloc() fails.

Fix an unlikely memory leak on conversion from string to float in the
function ``_Py_dg_strtod()`` used by ``float(str)``, ``complex(str)``,
:func:`pickle.load`, :func:`marshal.load`, etc.

Fix use of uninitialized memory in cPickle when reading a truncated pickle
from a file object.

Clarified Doc string for builtin filter function. 2nd Argument can be any
iterable.

Allow the rare code that wants to send invalid http requests from the
`http.client` library a way to do so.  The fixes for bpo-30458 led to
breakage for some projects that were relying on this ability to test their
own behavior in the face of bad requests.

Fix a memory leak in comparison of :class:`sqlite3.Row` objects.

_hashlib no longer calls obsolete OpenSSL initialization function with
OpenSSL 1.1.0+.

Fixed a crash in the :func:`tee` iterator when re-enter it. RuntimeError is
now raised in this case.

Fix C compiler warning caused by distutils.ccompiler.CCompiler.has_function.

Fix file descriptors transfer in multiprocessing on FreeBSD: use
``CMSG_SPACE()`` rather than ``CMSG_LEN()``; see :rfc:`3542`.

Update wheels bundled with ensurepip (pip 19.2.3 and setuptools 41.2.0)

Update vendorized expat version to 2.2.7.

:func:`urlparse.urlsplit` error message for invalid ``netloc`` according to
NFKC normalization is now a :class:`str` string, rather than a
:class:`unicode` string, to prevent error when displaying the error.

:meth:`msilib.Directory.start_component()` no longer fails if *keyfile* is
not ``None``.

Rename the :meth:`test_ascii_replace` to :meth:`test_ascii_strict`.

Fix :mod:`distutils.sysconfig` if :data:`sys.executable` is ``None`` or an
empty string: use :func:`os.getcwd` to initialize ``project_base``.  Fix
also the distutils build command: don't use :data:`sys.executable` if it is
``None`` or an empty string.

Fix buffer overflow in :meth:`~socket.socket.send` and
:meth:`~socket.socket.sendall` methods of :func:`socket.socket` for data
larger than 2 GiB.

Fix a possible reference leak in the json module.

Fix a possible reference leak in the io module.

Fix two possible reference leaks in the hotshot module.

Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils.sysconfig``: when
the ``CFLAGS`` environment variable is defined, don't override ``CFLAGS``
variable with the ``OPT`` variable anymore.

Update ensurepip to install pip 19.0.3 and setuptools 40.8.0.

Fix linuxaudiodev.linux_audio_device() error handling: close the internal
file descriptor if it fails to open the device.

Fix memory leak in ctypes POINTER handling of large values.

Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in
out-of-memory cases.

Resolve potential name clash with libm's sinpi().

Fix ``setup.py check --restructuredtext`` for files containing ``include``
directives.

Fix PyList_GetItem index description to include 0.

Replace the dead link to the Tkinter 8.5 reference by John Shipman, New
Mexico Tech, with a link to the archive.org copy.

Improve the examples in the "How do I convert a number to string?" question
of the "Programming" section of the FAQ.

Fix documentation build for sphinx<1.6.

Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0

Add glossary entry for 'magic method'.

Fix test_wsgiref.testEnviron() to no longer depend on the environment
variables (don't fail if "X" variable is set).

Add --cleanup option to python3 -m test to remove ``test_python_*``
directories of previous failed jobs. Add "make cleantest" to run ``python3
-m test --cleanup``.

test_gdb no longer fails if it gets an "unexpected" message on stderr: it
now ignores stderr. The purpose of test_gdb is to test that python-gdb.py
commands work as expected, not to test gdb.

Update Lib/test/selfsigned_pythontestdotnet.pem to match
self-signed.pythontest.net's new TLS certificate.

Skip specific nntplib and ssl networking tests when they would otherwise
fail due to a modern OS or distro with a default OpenSSL policy of rejecting
connections to servers with weak certificates or disabling TLS below
TLSv1.2.

Fix reference leak hunting in regrtest: compute also deltas (of reference
count and file descriptor count) during warmup, to ensure that everything is
initialized before starting to hunt reference leaks.

test_posix.PosixUidGidTests: add tests for invalid uid/gid type (str).

Add test.support.TEST_HTTP_URL and replace references of
http://www.example.com by this new constant.

Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa Tk.

Re-enable missing widget testcases in test_ttk_guionly.

Fix ``test_default_ecdh_curve`` when TLSv1.3 is enabled by default.

In Solaris family, we must be sure to use ``-D_REENTRANT``.

Fix detection of the bind_textdomain_codeset function for building gettext
support into the locale module.

``make tags`` and ``make TAGS`` now also parse ``Modules/_io/*.c`` and
``Modules/_io/*.h``.

Fix SSL module build with OpenSSL 1.1.0

Updates bundled OpenSSL to 1.0.2t

Include the ``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in ``FormatMessageW()``
calls.

Update Windows builds to use SQLite 3.28.0.

Correctly handle string length in ``msilib.SummaryInfo.GetProperty()`` to
prevent it from truncating the last character.

Updated OpenSSL to 1.0.2t in macOS installer for 2.7.x.

When building 2.7 on macOS without system header files installed in
``/usr/include``, a few extension modules dependent on system-supplied
third-party libraries were not being built, most notably zlib.

Update macOS installer to use SQLite 3.28.0.

Updated OpenSSL to 1.0.2s in macOS installer.

Support building Python on macOS without /usr/include installed. As of macOS
10.14, system header files are only available within an SDK provided by
either the Command Line Tools or the Xcode app.

Properly 'attach' search dialogs to their main window so that they behave
like other dialogs and do not get hidden behind their main window.

When saving a file, call os.fsync() so bits are flushed to e.g. USB drive.

2to3 now works when run from a zipped standard library.

Fix the argument handling in Tools/scripts/lll.py.

Fix the cast on error in :c:func:`PyLong_AsUnsignedLongLongMask()`.
2019-10-21 09:40:35 +00:00
minskim
ffe667505f lang/gcc8: Make this build on macOS Catalina
A patch from Homebrew:

https://github.com/Homebrew/homebrew-core/pull/44762
2019-10-19 21:20:38 +00:00
adam
35218c6277 libcxx: updated to 9.0.0
Libc++ 9.0.0

Fixes

Minor fixes to std::chrono operators.
libc++ now correctly handles Objective-C++ ARC qualifiers in std::is_pointer.
std::span general updates and fixes.
Updates to the std::abs implementation.
std::to_chars now adds leading zeros.
Ensure std::tuple is trivially constructible.
std::aligned_union now works in C++03.
Output of nullptr to std::basic_ostream is formatted properly.

Features

Implemented P0608: sane variant converting constructor.
Added ssize function.
Added front and back methods in std::span.
std::is_unbounded_array and std::is_bounded_array added to type traits.
std::atomic now includes many new features and specialization including improved Freestanding support.
Added std::midpoint and std::lerp math functions.
Added the function std::is_constant_evaluated.
Erase-like algorithms now return size type.
Added contains method to container types.
std::swap is now a constant expression.

Updates

libc++ dropped support for GCC 4.9; we now support GCC 5.1 and above.
libc++ added explicit support for WebAssembly System Interface (WASI).
Progress towards full support of rvalues and variadics in C++03 mode. std::move and std::forward now both work in C++03 mode.
2019-10-19 13:59:06 +00:00
adam
ec74a5e6b8 clang-tools-extra: updated to 9.0.0
9.0.0:
Improvements to clangd
* Background indexing is on by default
When using clangd, it will build an index of your code base (all files listed in your compile database). This index enables go-to-definition, find-references, and even code completion to find symbols across your project.
This feature can consume a lot of CPU. It can be disabled using the --background-index=false flag, and respects -j to use fewer threads. The index is written to .clangd/index in the project root.

* Contextual code actions
Extract variable, expand auto, expand macro, convert string to raw string. More to come in the future!

* Clang-tidy warnings are available
These will be produced for projects that have a .clang-tidy file in their source tree, as described in the clang-tidy documentation.

* Improved diagnostics
Errors from headers are now shown (on the #including line). The message now indicates if fixes are available. Navigation between errors and associated notes is improved (for editors that support Diagnostic.relatedInformation).

* Suggested includes
When a class or other name is not found, clangd may suggest to fix this by adding the corresponding #include directive.

* Semantic highlighting
clangd can push syntax information to the editor, allowing it to highlight e.g. member variables differently from locals. (requires editor support)
This implements the proposed protocol from https://github.com/microsoft/vscode-languageserver-node/pull/367

* Type hierachy
Navigation to base/derived types is possible in editors that support the proposed protocol from https://github.com/microsoft/vscode-languageserver-node/pull/426

* Improvements to include insertion
Only headers with #include-guards will be inserted, and the feature can be disabled with the --header-insertion=never flag.
Standard library headers should now be inserted more accurately, particularly for C++ other than libstdc++, and for the C standard library.

* Code completion
Overloads are bundled into a single completion item by default. (for editors that support signature-help).
Redundant const/non-const overloads are no longer shown.
Before clangd is warmed up (during preamble build), limited identifier- and index-based code completion is available.

* Format-on-type
A new implementation of format-on-type is triggered by hitting enter: it attempts to reformat the previous line and reindent the new line. (Requires editor support).

* Toolchain header detection
Projects that use an embedded gcc toolchain may only work when used with the corresponding standard library. clangd can now query the toolchain to find these headers. The compilation database must correctly specify this toolchain, and the --query-driver=/path/to/toolchain/bin/* flag must be passed to clangd.

* Miscellaneous improvements
Hover now produces richer Markdown-formatted text (for supported editors).
Rename is safer and more helpful, though is still within one file only.
Files without extensions (e.g. C++ standard library) are handled better.
clangd can understand offsets in UTF-8 or UTF-32 through command-line flags or protocol extensions. (Useful with editors/platforms that don’t speak UTF-16).
Editors that support edits near the cursor in code-completion can set the textDocument.completion.editsNearCursor capability to true, and clangd will provide completions that correct . to ->, and vice-versa.

Improvements to clang-tidy

New OpenMP module.
New abseil-duration-addition check.
New abseil-duration-conversion-cast check.
New abseil-duration-unnecessary-conversion check.
New abseil-time-comparison check.
New abseil-time-subtraction check.
New android-cloexec-pipe check.
New android-cloexec-pipe2 check.
New bugprone-branch-clone check.
New bugprone-posix-return check.
New bugprone-unhandled-self-assignment check.
New fuchsia-default-arguments-calls check.
New fuchsia-default-arguments-declarations check.
New google-objc-avoid-nsobject-new check.
New google-readability-avoid-underscore-in-googletest-name check.
New llvm-prefer-isa-or-dyn-cast-in-conditionals check.
New modernize-use-trailing-return-type check.
New objc-super-self check.
New openmp-exception-escape check.
New openmp-use-default-none check.
New readability-convert-member-functions-to-static check.
New alias cert-oop54-cpp to bugprone-unhandled-self-assignment was added.
New alias cppcoreguidelines-explicit-virtual-functions to modernize-use-override was added.
Added UseAssignment option to cppcoreguidelines-pro-type-member-init
The fuchsia-default-arguments check has been removed.
The google-runtime-int check has been disabled in Objective-C++.
The modernize-use-override now supports OverrideSpelling and FinalSpelling options.
The misc-throw-by-value-catch-by-reference now supports WarnOnLargeObject and MaxSize options to warn on any large trivial object caught by value.
The Acronyms and IncludeDefaultAcronyms options for the objc-property-declaration check have been removed.

Improvements to pp-trace
* Added a new option -callbacks to filter preprocessor callbacks. It replaces the -ignore option.
2019-10-19 13:58:10 +00:00
adam
ea2d39aba7 clang: updated to 9.0.0
9.0.0:
Major New Features
* Experimental support for C++ for OpenCL has been added.

Non-comprehensive list of changes in this release
* The __VERSION__ macro has been updated. Previously this macro contained the string ‘4.2.1 Compatible’ to achieve compatibility with GCC 4.2.1, but that should no longer be necessary. However, to retrieve Clang’s version, please favor the one of the macro defined in clang namespaced version macros.

New Compiler Flags
* -ftime-trace and ftime-trace-granularity=N Emits flame chart style compilation time report in chrome://tracing and speedscope.app compatible format. A trace .json file is written next to the compiled object file, containing hierarchical time information about frontend activities (file parsing, template instantiation) and backend activities (modules and functions being optimized, optimization passes).

Modified Compiler Flags
* clang -dumpversion now returns the version of Clang itself.

Windows Support
* clang-cl now treats non-existent files as possible typos for flags, clang-cl /diagnostic:caret /c test.cc for example now produces clang: error: no such file or directory: '/diagnostic:caret'; did you mean '/diagnostics:caret'?
* clang now parses the __declspec(allocator) specifier and generates debug information, so that memory usage can be tracked in Visual Studio.
* The -print-search-dirs option now separates elements with semicolons, as is the norm for path lists on Windows
* Improved handling of dllexport in conjunction with explicit template instantiations for MinGW, to allow building a shared libc++ for MinGW without --export-all-symbols to override the dllexport attributes
2019-10-19 13:54:29 +00:00
adam
07c17ba550 llvm: updated to 9.0.0
9.0.0:
Non-comprehensive list of changes in this release:
* Two new extension points, namely EP_FullLinkTimeOptimizationEarly and EP_FullLinkTimeOptimizationLast are available for plugins to specialize the legacy pass manager full LTO pipeline.
* llvm-objcopy/llvm-strip got support for COFF object files/executables, supporting the most common copying/stripping options.
* The CMake parameter CLANG_ANALYZER_ENABLE_Z3_SOLVER has been replaced by LLVM_ENABLE_Z3_SOLVER.
* The RISCV target is no longer “experimental” (see Changes to the RISCV Target below for more details).
* The ORCv1 JIT API has been deprecated. Please see Transitioning from ORCv1 to ORCv2.
* Support for target-independent hardware loops in IR has been added, with PowerPC and Arm implementations.
2019-10-19 13:52:40 +00:00
bsiegert
cb070cf0eb Revbump all Go packages after lang/go112 update 2019-10-18 14:58:43 +00:00
bsiegert
d4e63a29c5 Update go112 to 1.12.12.
qo1.12.11 (released 2019/10/17) includes security fixes to the crypto/dsa
package. See the Go 1.12.11 milestone on our issue tracker for details.

go1.12.12 (released 2019/10/17) includes fixes to the go command, runtime,
syscall and net packages. See the Go 1.12.12 milestone on our issue tracker
for details.
2019-10-18 14:48:29 +00:00
adam
dccd3e3806 py-mypy: updated to 0.740; py-mypy_extensions updated to 0.4.3
This release includes many features, bug fixes and library stub (typeshed) updates.
2019-10-18 12:28:37 +00:00
leot
9b82dabd8c lang: Add py38-html-docs 2019-10-16 11:06:18 +00:00
leot
53aaab85c3 py38-html-docs: Import py38-html-docs-3.8.0 as lang/py38-html-docs
HTML Documentation for Python 3.8
2019-10-16 11:05:36 +00:00
leot
6080023b7f py37-html-docs: Update to 3.7.5
Changes:
3.7.5
-----
Documentation
  * bpo-26868: Fix example usage of PyModule_AddObject() to properly handle
    errors.
  * bpo-37979: Added a link to dateutil.parser.isoparse in the
    datetime.fromisoformat documentation. Patch by Paul Ganssle
  * bpo-37937: Mention frame.f_trace in sys.settrace() docs.
  * bpo-37726: Stop recommending getopt in the tutorial for command line
    argument parsing and promote argparse.
  * bpo-32910: Remove implementation-specific behaviour of how venv’s
    Deactivate works.
  * bpo-37256: Fix wording of arguments for Request in urllib.request
  * bpo-37284: Add a brief note to indicate that any new sys.implementation
    required attributes must go through the PEP process.
  * bpo-30088: Documented that mailbox.Maildir constructor doesn’t attempt to
    verify the maildir folder layout correctness. Patch by Sviatoslav
    Sydorenko.
  * bpo-37487: Fix PyList_GetItem index description to include 0.
  * bpo-37478: Added possible exceptions to the description of os.chdir().
  * bpo-37004: In the documentation for difflib, a note was added explicitly
    warning that the results of SequenceMatcher’s ratio method may depend on
    the order of the input strings.
  * bpo-35803: Document and test that tempfile functions may accept a path-like
    object for the dir argument. Patch by Anthony Sottile.
  * bpo-34293: Fix the Doc/Makefile regarding PAPER environment variable and
    PDF builds
2019-10-16 10:51:42 +00:00
adam
ffa8bdb1c7 python37: updated to 3.7.5
Python 3.7.5 is the fifth and most recent maintenance release of Python 3.7. The Python 3.7 series contains many new features and optimizations.
2019-10-16 07:04:04 +00:00
adam
3f9b93d19b py-uncompyle6: updated to 3.5.0
3.5.0:
Fix fragment bugs
- missing RETURN_LAST introduced when adding transformation layer
- more parent entries on tokens
Preliminary support for decompiling Python 1.0, 1.1. 1.2 and 1.6
- Newer xdis version needed
2019-10-15 17:01:48 +00:00
adam
e150f70678 python36: also remove --without-pymalloc from Makefile 2019-10-15 16:55:44 +00:00
adam
ad2225b28d python37: fix pymalloc option 2019-10-15 16:55:00 +00:00
adam
9f8cc1edeb python36: add pymalloc option 2019-10-15 16:52:41 +00:00
adam
9452b3899b python38: also add buildlink3.mk 2019-10-15 16:51:19 +00:00
adam
4db700cbcc python38: added version 3.8.0
Major new features of the 3.8 series, compared to 3.7

PEP 572, Assignment expressions
PEP 570, Positional-only arguments
PEP 587, Python Initialization Configuration (improved embedding)
PEP 590, Vectorcall: a fast calling protocol for CPython
PEP 578, Runtime audit hooks
PEP 574, Pickle protocol 5 with out-of-band data
Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
Parallel filesystem cache for compiled bytecode
Debug builds share ABI as release builds
f-strings support a handy = specifier for debugging
continue is now legal in finally: blocks
on Windows, the default asyncio event loop is now ProactorEventLoop
on macOS, the spawn start method is now used by default in multiprocessing
multiprocessing can now use shared memory segments to avoid pickling costs between processes
typed_ast is merged back to CPython
LOAD_GLOBAL is now 40% faster
pickle now uses Protocol 4 by default, improving performance
2019-10-15 16:50:10 +00:00
tnn
22efc9d864 openjdk11: don't leak WRKDIR references. Bump.
Apparently it's unsafe to have LD_LIBRARY_PATH in PKGSRC_MAKE_ENV because
it somehow gets passed to pkg_create(8) which then messes up REQUIRES lines
in +BUILD_INFO. Reported to pkgsrc-users@ by Mike Pumford.
2019-10-14 07:58:50 +00:00
gutteridge
daf6f0c123 ghc7: minor comment fix in bootstrap.mk (NFC) 2019-10-14 02:36:30 +00:00
he
a15351517d Various updates to smlnj so it builds on NetBSD/powerpc again:
* Modernize the powerpc entry in signal-sysdep.h to use the
   various _UC_MACHINE_ macros.
 * mk.ppc-netbsd: don't pass an empty RANLIB variable, causing build failure.

Also make checksums of all the three arch-specific distfiles ("boxes"),
for sparc, x86 and ppc.

Bump PKGREVISION.
2019-10-12 20:52:53 +00:00
rillig
8e006fc6f7 lang/yabasic: fix location of HTML documentation 2019-10-12 20:05:59 +00:00
rillig
bdc33d1981 lang/oo2c: fix location of HTML documentation 2019-10-12 20:03:36 +00:00
he
4d48fd58ae Various updates to smlnj 110.72 so that it builds on NetBSD/powerpc again:
* Makefile.common: do PLILST.nlffi (though this file isn't used...)
 * Modernize the powerpc entry in signal-sysdep.h to use the
   various _UC_MACHINE_ macros.
 * mk.ppc-netbsd: don't pass an empty RANLIB variable, causing build failure.

Also make checksums of all the three arch-specific distfiles ("boxes"),
for sparc, x86 and ppc.

Bump PKGREVISION.
2019-10-12 20:00:06 +00:00
he
2d1e97eaca NetBSD/powerpc also needs PLIST.nlffi. 2019-10-12 19:50:58 +00:00
he
11f0f1a9f4 A couple of fixes to sbcl:
* Don't request job control in the shell scripts used during the build
   via the "-m" option; it will cause a backgrounded job to stall with
   SIGTTIN.
 * Add a Config.generic-netbsd, and collect common settings for all
   the various NetBSD configs there.
 * Do tty handling in sbcl the same way OpenBSD does, i.e. no TIOCNOTTY.
Bump PKGREVISION.
2019-10-12 09:47:39 +00:00
maya
0bac4406d3 perl5: backport upstream commits to remove a codepath that assumes
unaligned accesses are OK.
Remove relevant hacks.mk entry to disable optimizations.

PR pkg/53568
2019-10-10 17:59:57 +00:00
maya
4949f4b9ff mono6: help the next person to try the SunOS build.
Don't disable sgen after we enabled it in configure.ac
(I'm not sure the non-sgen non-boehm option is even supported).

Disable dtrace, needs a makefile fixup and is an optional thing, so
let's leave it for later.
2019-10-10 00:06:12 +00:00
maya
06119dc00a mono6: update to mono 6.4.0.198
- Use python tool.mk instead of searching more files to patch
@PYTHONBIN@ in.
- Add some preliminary ideas for how to get netbsd/aarch64 and solaris
working. it shouldn't be enough to complete a build.
(They can't use Mono's outdated libgc)

notable for us, this release re-adds FreeBSD supports.

Mono 6.4.0 release notes:
Highlights

    C# compiler support for C# 8 language version
    .NET Standard 2.1 support
    Updated libgdiplus to 6.0.2
    Notarized macOS installer package

In Depth
Runtime
Hardened Runtime and Notarization support on macOS

The Mono binary installed by the .pkg for macOS is now using the Hardened Runtime capabilities and the package was notarized to comply with Apple’s new restrictions: https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution.

This allows the package to work on the upcoming macOS 10.15 Catalina without showing warning dialogs.
Interpreter improvements

The Mono interpreter was updated to support the Windows operating system.

We also completed a lot of groundwork for upcoming future optimizations in the interpreter, like constant folding.
Bitness independent AOT cross compiler

The Ahead-Of-Time (AOT) cross compiler was updated to no longer require being executed with the same bitness that it should generate code for. This means a 64bit Mono can now emit AOT code for 32bit targets.

This work was mainly done to support executing the AOT cross compiler on macOS 10.15 Catalina (which is 64bit only) as we still need to generate code for 32bit targets like older iPhone and Apple Watch devices.
WebAssembly

We continue to work on making our WebAssembly support better. Various sets of issues with the debugger have been resolved in this release and general performance and feature work is happening as well.
LLVM improvements

We now leave it up to the LLVM framework to insert safepoints. Later optimizations can understand safepoints then which leads to better generated code. See https://github.com/mono/mono/pull/11789

The LLVM backend is also supported on the Windows operating system now.
PPC JIT optimizations

The PowerPC JIT received a bunch of optimization from community contributor Calvin Buckley (@NattyNarwhal).
Experimental build support for Fuchsia

A very minimal and experimental support for building Mono targeting the Fuchsia OS landed in the build system.
Class Libraries
.NET Standard 2.1 support

We updated our class libraries to support the latest additions to .NET Standard. You can now run a library compiled against the .NET Standard 2.1 specification on Mono.
CoreFX integration

We continued to replace some of our classes with the implementation from CoreFX to improve performance and compatibility with .NET.
libgdiplus update to 6.0.2

The libgdiplus native library is used for implementing System.Drawing on Unix platforms. This release contains many important improvements from our community members.

Special thanks go to Hugh Bellamy (@hughbe), Frederik Carlier (@qmfrederik) and Filip Navara (@filipnavara) for their awesome contributions!
System.Windows.Forms

More fixes and layout improvements for different controls made by external contributors have landed in this release .
Tools
C# 8 language version support in csc and msbuild

The C# compiler and msbuild tooling were updated to versions that support the final C# 8 language specification.

The Default Interface Methods (DIM) feature also received a few runtime enhancements.
NuGet

Bundled NuGet version has been upgraded to 5.2 RTM.
2019-10-09 22:46:04 +00:00
fox
3d56e5ac3a clojure: Avoid changing version numbers in two places.
Fix suggested by leot@
2019-10-09 12:41:13 +00:00
msaitoh
4b71ad8d04 Update campl4 to 4.08+1.
This is due to the upgrade of lang/ocaml to 4.08 - camlp4 has to follow
suit.
2019-10-09 08:57:14 +00:00
fox
774a902ca6 clojure: Update to 1.10.1.469
Changes since 1.8.0:

https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-19
https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-110
https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1101

Submitted by: Sunil Nimmagadda (sunil@nimmagadda.net)

ok maya@
2019-10-08 23:40:37 +00:00
jklos
e463fa20d5 Fix spidermonkey52 fo compile on alpha. 2019-10-08 21:34:15 +00:00
jklos
639b14b488 Fix spidermonkey52 fo compile on alpha. 2019-10-08 21:16:06 +00:00
ryoon
8274d0f9ba Update to 5.0.1
Changelog:
Changes from 5.0.0 to 5.0.1
---------------------------

1. A number of ChangeLog.1 files that were left out of the distribution
   have been restored.

2. Multiple syntax errors should no longer be able to cause a core dump.

3. Sandbox mode now disallows assigning new filename values in ARGV that
   were not there when gawk was invoked.

4. There are many small documentation improvements in the manual.

5. The new argument "no-ext" to --lint disables ``XXX is a gawk extension''
   lint warnings.

6. Infrastructure upgrades: Bison 3.4.

N. A number of bugs, some of them quite significant, have been fixed.
   See the ChangeLog for details.
2019-10-08 14:19:42 +00:00
adam
d5e147913a py-asttokens: updated to 1.1.15
1.1.15:
Unknown changes
2019-10-07 20:28:13 +00:00
kamil
ea8d7785a3 + tcltutor 2019-10-07 14:38:49 +00:00
kamil
90e7cda039 lang/tcltutor: import tcltutor-30b7
This is a package designed to teach the Tcl programming language in a
quick and easy manner.  The goal is to teach the minimal amount of Tcl
syntax, commands and options that are necessary to write useful
programs.

You are encouraged to use the man pages and books to augment this
tutorial.
2019-10-07 14:37:34 +00:00
adam
88f46842e7 py-uncompyle6: updated to 3.4.1
3.4.1:
Correct assert{,2} transforms
Fragment parsing fixes:
- Wasn't handling 3-arg %p
- fielding error in code_deparse()
Use newer xdis to better track Python 3.8.0
2019-10-07 05:43:16 +00:00
fox
9b52758db9 Added gjs to Makefile SUBDIRs. 2019-10-06 15:52:44 +00:00
fox
e12eb8ecaf Import of gjs-1.53.4 as lang/gjs
Gjs is a Javascript binding for GNOME. It's mainly based on
Spidermonkey javascript engine and the GObject introspection
framework.

Reviewed by:	nia@
2019-10-06 15:50:31 +00:00
ryoon
6c40e13636 Update to 1.0.0
Changelog:
This is a major release containing nearly 60 commits. Most changes are bug fixes, but this release also includes a couple new features:

    Binaries can now be built and run using the new run command.
    The NimblePkgVersion is now defined so you can easily get the package version in your source code (example).

Some other highlights:

    Temporary files are now kept when the --debug flag is used.
    Fixed dependency resolution issues with "#head" packages (#432 and #672).
    The install command can now take Nim compiler flags via the new --passNim flag.
    Command line arguments are now passed properly to tasks (#633).
    The test command now respects the specified backend (#631).
    The dump command will no longer prompt and now has an implicit -y.
    Fixed bugs with the new nimscript executor (#665).
    Fixed multiple downloads and installs of the same package (#678).
    Nimble init no longer overwrites existing files (#581).
    Fixed incorrect submodule version being pulled when in a non-master branch (#675).
2019-10-04 13:25:23 +00:00
maya
e93f05be4b ocaml: claim natdynlink support on solaris. bump PKGREVISION
fixes ocaml-findlib PLIST issue.
2019-10-04 10:33:21 +00:00
tnn
0360fc3287 openjdk11: build fix for -current 2019-10-03 16:57:20 +00:00
ryoon
fb4b15e91c Bump PKGREVISIONs really 2019-10-03 00:42:50 +00:00
ryoon
a6190263cd Ruby binary is not PaX mprotect safe in devel/ruby-ffi and www/ruby-sassc case
Bump PKGREVISIONs.
2019-10-03 00:40:32 +00:00
kamil
f93df2e3d5 libtcl-nothread: Remove
tcl8.4 is long eol.

This package used to be a shortlived workaround for postgresql-pltcl in
2004.
2019-10-02 18:11:39 +00:00
kamil
ac9a954175 -libtcl-nothread 2019-10-02 18:10:15 +00:00
kamil
9dfc687f84 tcl85: Disable false positive detection of gethostby*_r/NetBSD
gethostbyaddr_r and gethostbyname_r is an internal libc symbol, not to be
used in 3rd party software.

Proper fix merged upstream:
https://core.tcl-lang.org/tcl/info/16768d65f0
2019-10-02 14:53:41 +00:00
kamil
b3547f5b89 tcl: Disable false positive detection of gethostbyaddr_r/NetBSD
gethostbyaddr_r is an internal libc symbol, not to be used in 3rd party
software.

Proper fix merged upstream:
https://core.tcl-lang.org/tcl/info/16768d65f0
2019-10-02 14:50:25 +00:00
taca
39f6a0e1d2 lang/php73: update to 7.3.10
Update lang/php73 to 7.3.10.

pkgsrc changes

* Clean two pkglint's warnings.

26 Sep 2019, PHP 7.3.10

- Core:
  . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab)
  . Fixed bug #77922 (Double release of doc comment on inherited shadow
    property). (Nikita)
  . Fixed bug #78441 (Parse error due to heredoc identifier followed by digit).
    (cmb)
  . Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc).
    (cmb, Nikita)

- FastCGI:
  . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
    pipes on Windows). (Sergei Turchanov)

- FPM:
  . Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr
    notation). (Tsuyoshi Sadakata)

- Intl:
  . Ensure IDNA2003 rules are used with idn_to_ascii() and idn_to_utf8()
    when requested. (Sara)

- MBString:
  . Fixed bug #78559 (Heap buffer overflow in mb_eregi). (cmb)

- MySQLnd:
  . Fixed connect_attr issues and added the _server_host connection attribute.
    (Qianqian Bu)

- ODBC:
  . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb)

- PDO_MySQL:
  . Fixed bug #41997 (SP call yields additional empty result set). (cmb)

- sodium:
  . Fixed bug #78510 (Partially uninitialized buffer returned by
    sodium_crypto_generichash_init()). (Frank Denis, cmb)
2019-10-02 14:08:05 +00:00
taca
b9784f7468 lang/php72: update to 7.2.23
Update lang/php72 to 7.2.23.

pkgsrc changes

* Clean two pkglint's warnings.


26 Sep 2019, PHP 7.2.23

- Core:
  . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab)
  . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC
    child). (Nikita)

- FastCGI:
  . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
    pipes on Windows). (Sergei Turchanov)

- MySQLnd:
  . Fixed connect_attr issues and added the _server_host connection attribute.
    (Qianqian Bu)

- ODBC:
  . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb)

- PDO_MySQL:
  . Fixed bug #41997 (SP call yields additional empty result set). (cmb)

- sodium:
  . Fixed bug #78510 (Partially uninitialized buffer returned by
    sodium_crypto_generichash_init()). (Frank Denis, cmb)

- SPL:
  . Fixed bug #72884 (SplObject isCloneable() returns true but errs on clone).
    (Chu Zhaowei)
2019-10-02 14:05:22 +00:00
taca
3d8d2529f2 lang/ruby26: update to 2.6.5
Update ruby26-base and ruby26 packges to 2.6.5

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.6.5 (2019-10-01)

This release includes security fixes. Please check the topics below for
details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick's Digest access authentication
2019-10-02 13:44:34 +00:00
taca
56ca8e2a32 lang/ruby25: update to 2.5.7
Update ruby25-base, ruby25 and ruby25-mode packges to 2.5.7.

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.5.7 (2019-10-01)

This release includes security fixes as listed below. Please check the
topics below for details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick's Digest access authentication
2019-10-02 13:39:52 +00:00
taca
93cce3641f lang/ruby24: update to 2.4.9
Update ruby24-base and related packges to 2.4.9.

pkgsrc chagnes

* fix warnings of pkglint.

Quote from release announce:

Ruby 2.4.8 (2019-10-01)

This release includes security fixes. Please check the topics below for
details.

* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
  File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of
  WEBrick¡Çs Digest access authentication


Ruby 2.4.9 (2019-10-02)

This release is a re-package of 2.4.8 because the previous Ruby 2.4.8
release tarball does not install. (See [Bug #16197] in detail.) There are no
essential change except their version numbers between 2.4.8 and 2.4.9.

Ruby 2.4 is now under the state of the security maintenance phase, until the
end of March of 2020. After that date, maintenance of Ruby 2.4 will be
ended. We recommend you start planning the migration to newer versions of
Ruby, such as 2.6 or 2.5.
2019-10-02 13:31:47 +00:00
taca
ff711a54aa lang/ruby: fix a warning of pkglint
Fix a warning of pkglint.
2019-10-02 13:25:54 +00:00
ryoon
61fe92088e Add buildlink3.mk to prepare to support java-vm.mk 2019-10-02 13:10:23 +00:00
he
574a18d73c Update rust to version 1.38.0.
Pkgsrc changes:
 * Adapt to the move of the implementation of random numbers.
 * Remove patch which is no longer relevant (Signals.inc)
 * Cross-build currently fails due to the still unresolved
   https://github.com/rust-lang/rust/issues/62558, so bootstrap
   kits for 1.38.0 have to be built natively, and will follow shortly.
 * Bump bootstrap requirements to 1.37.0 except for armv7-unknown-netbsd-eabihf
   which I've neither managed to cross-build nor build natively.

Upstream changes:

Version 1.38.0 (2019-09-26)
==========================

Language
--------
- [The `#[global_allocator]` attribute can now be used in submodules.][62735]
- [The `#[deprecated]` attribute can now be used on macros.][62042]

Compiler
--------
- [Added pipelined compilation support to `rustc`.][62766] This will
  improve compilation times in some cases. For further information please refer
  to the [_"Evaluating pipelined rustc compilation"_][pipeline-internals]
  thread.
- [Added tier 3\* support for the `aarch64-uwp-windows-msvc`,
  `i686-uwp-windows-gnu`, `i686-uwp-windows-msvc`, `x86_64-uwp-windows-gnu`,
  and `x86_64-uwp-windows-msvc` targets.][60260]
- [Added tier 3 support for the `armv7-unknown-linux-gnueabi` and
  `armv7-unknown-linux-musleabi` targets.][63107]
- [Added tier 3 support for the `hexagon-unknown-linux-musl` target.][62814]
- [Added tier 3 support for the `riscv32i-unknown-none-elf` target.][62784]

\* Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.

Libraries
---------
- [`ascii::EscapeDefault` now implements `Clone` and `Display`.][63421]
- [Derive macros for prelude traits (e.g. `Clone`, `Debug`, `Hash`) are now
  available at the same path as the trait.][63056] (e.g. The `Clone` derive
  macro is available at `std::clone::Clone`). This also makes all built-in
  macros available in `std`/`core` root. e.g. `std::include_bytes!`.
- [`str::Chars` now implements `Debug`.][63000]
- [`slice::{concat, connect, join}` now accepts `&[T]` in addition to
   `&T`.][62528]
- [`*const T` and `*mut T` now implement `marker::Unpin`.][62583]
- [`Arc<[T]>` and `Rc<[T]>` now implement `FromIterator<T>`.][61953]
- [Added euclidean remainder and division operations (`div_euclid`,
  `rem_euclid`) to all numeric primitives.][61884] Additionally `checked`,
  `overflowing`, and `wrapping` versions are available for all
  integer primitives.
- [`thread::AccessError` now implements `Clone`, `Copy`, `Eq`, `Error`, and
  `PartialEq`.][61491]
- [`iter::{StepBy, Peekable, Take}` now implement `DoubleEndedIterator`.][61457]

Stabilized APIs
---------------
- [`<*const T>::cast`]
- [`<*mut T>::cast`]
- [`Duration::as_secs_f32`]
- [`Duration::as_secs_f64`]
- [`Duration::div_duration_f32`]
- [`Duration::div_duration_f64`]
- [`Duration::div_f32`]
- [`Duration::div_f64`]
- [`Duration::from_secs_f32`]
- [`Duration::from_secs_f64`]
- [`Duration::mul_f32`]
- [`Duration::mul_f64`]
- [`any::type_name`]

Cargo
-----
- [Added pipelined compilation support to `cargo`.][cargo/7143]
- [You can now pass the `--features` option multiple times to enable
  multiple features.][cargo/7084]

Misc
----
- [`rustc` will now warn about some incorrect uses of
  `mem::{uninitialized, zeroed}` that are known to cause undefined
  behaviour.][63346]

Compatibility Notes
-------------------
- Unfortunately the [`x86_64-unknown-uefi` platform can not be built][62785]
  with rustc 1.39.0.
- The [`armv7-unknown-linux-gnueabihf` platform is also known to have
  issues][62896] for certain crates such as libc.

[60260]: https://github.com/rust-lang/rust/pull/60260/
[61457]: https://github.com/rust-lang/rust/pull/61457/
[61491]: https://github.com/rust-lang/rust/pull/61491/
[61884]: https://github.com/rust-lang/rust/pull/61884/
[61953]: https://github.com/rust-lang/rust/pull/61953/
[62042]: https://github.com/rust-lang/rust/pull/62042/
[62528]: https://github.com/rust-lang/rust/pull/62528/
[62583]: https://github.com/rust-lang/rust/pull/62583/
[62735]: https://github.com/rust-lang/rust/pull/62735/
[62766]: https://github.com/rust-lang/rust/pull/62766/
[62784]: https://github.com/rust-lang/rust/pull/62784/
[62785]: https://github.com/rust-lang/rust/issues/62785/
[62814]: https://github.com/rust-lang/rust/pull/62814/
[62896]: https://github.com/rust-lang/rust/issues/62896/
[63000]: https://github.com/rust-lang/rust/pull/63000/
[63056]: https://github.com/rust-lang/rust/pull/63056/
[63107]: https://github.com/rust-lang/rust/pull/63107/
[63346]: https://github.com/rust-lang/rust/pull/63346/
[63421]: https://github.com/rust-lang/rust/pull/63421/
[cargo/7084]: https://github.com/rust-lang/cargo/pull/7084/
[cargo/7143]: https://github.com/rust-lang/cargo/pull/7143/
[`<*const T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast
[`<*mut T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast
[`Duration::as_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32
[`Duration::as_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64
[`Duration::div_duration_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f32
[`Duration::div_duration_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f64
[`Duration::div_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32
[`Duration::div_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64
[`Duration::from_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32
[`Duration::from_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f64
[`Duration::mul_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f32
[`Duration::mul_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f64
[`any::type_name`]: https://doc.rust-lang.org/std/any/fn.type_name.html
[forge-platform-support]: https://forge.rust-lang.org/platform-support.html
[pipeline-internals]: https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199
2019-10-02 12:51:43 +00:00
rjs
ed2b9d2e3e Update to version 1.5.7
Changes between version 1.5.6 and version 1.5.7

  * platform support:
    many bug fixes to the experimental 64-bit PowerPC/Linux port, to the
    extent that the little-endian variant passes all applicable tests in
    the regression test suite; the big-endian variant currently has some
    failures
    experimental support for sb-threads on 64-bit PowerPC/Linux
    support threads on x86-64 Sun OS (#1841280)
    handle PAX restrictions on mprotect() on NetBSD
    experimental support for HaikuOS
    the runtime is built as a position-independent executable by default
    on x86-64 Linux and x86-64 Darwin
  * fixes and enhancements related to Unicode:
      update of the data files to Unicode 8.0
      fix a bug in the implementation of the Unicode line breaking algorithm
      regarding hebrew letters and hyphens
  * enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to
    allow re-opening with :APPEND. (#806398, reported by Tobias
    Rittweiler)
  * bug fix: compiler optimizations on SEARCH with :FROM-END T
    didn't account for the empty sequence. (#1844821)
  * bug fix: handle SETF of nested empty VALUES correctly. (#1806478)
    optimization: FLOOR and CEILING on rationals are simpler, and
    the compiler's understanding of them is better.

Changes between version 1.5.5 and version 1.5.6

  * platform support:
    experimental support for 64-bit PowerPC running Linux (extending Brian
    Bokser's work from 2018), on both the v1 and v2 ABIs
    new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to
    the roots keeping them alive.
  * enhancement: string output streams created with :ELEMENT-TYPE
    'BASE-CHAR use internal buffers of BASE-STRING instead of UCS-4
    strings restricted to the ASCII range, yielding a theoretical 4:1
    space reduction.
  * optimization: improved make-array type derivation for multi-dimensional
    arrays. (#1838442)
  * bug fix: compliant redefinition of classes whose previous definition
    caused argument mismatch errors does not generate errors any
    more. (#1840595, reported by 3b on #sbcl)
  * bug fixes for issues caught by the random tester:
    never derive the type of TRUNCATE on arbitrary numbers as the empty
    type. (#1838267)
    provide out-of-line definitions for internal machinery related to
    FLOAT-SIGN. (#1838337)
    include COMPLEX in the derived type of SIGNUM when appropriate. (#1838333)
    more correct internal type testing for function types. (#1838808,
    #1838888, #1838986)
    don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array
    header. (#1838827)
    recognize that PHASE on non-positive numbers can return 0 as well as
    PI. (#1838892)
2019-10-01 22:15:57 +00:00
rillig
5ea02d3bc5 lang/tcl: fix the build with GNU_CONFIGURE_STRICT=yes 2019-10-01 19:17:08 +00:00
tnn
ac0d18ef8b openjdk7: invert GCC>=6 conditional to make it more future proof 2019-10-01 14:54:31 +00:00
tnn
a25d1a78a2 openjdk8: delete GCC>=6 workaround; configure has equivalent logic 2019-10-01 14:43:32 +00:00
tnn
bdd0dca9bf openjdk11: delete GCC>=6 workaround; configure has equivalent logic 2019-10-01 14:39:07 +00:00
tnn
7ac5a1805f doc: +lang/openjdk11 2019-10-01 12:41:15 +00:00
tnn
208b2c7fcb lang/openjdk11: import openjdk11-1.11.0.5.8 from pkgsrc-wip 2019-10-01 12:36:34 +00:00
maya
a73c5e37b7 ocaml: use the narrower scoped _POSIX_PTHREAD_SEMANTICS
The wider _XOPEN_SOURCE might cause issues with older versions of smartos
and newer C standards.
2019-10-01 09:52:51 +00:00
maya
ed25bb0631 ocaml: fix SmartOS build.
- Claimed shared library support. same as other ELF platforms, but
  since it's not GNU ld, no -Wl,-E available.
- Change the PLIST vars based on what is actually built
- consider x86_64-*-solaris to be x86_64 and solaris. the arch=none
  option doesn't build.
- Search for socket stuff in -lnsl -lsocket.
- for a POSIX prototype sigwait, we need to define _XOPEN_SOURCE to something
2019-10-01 09:07:33 +00:00
adam
511c5a2d17 llvm: remove unnecessary patch (DragonFly support is already there) 2019-09-28 06:35:28 +00:00
bsiegert
866c85b303 Revbump all Go packages after 1.12.10 update.
ok wiz@ for PMC
2019-09-26 20:10:39 +00:00
bsiegert
ea642613fd Update go112 to 1.12.10.
Commit ok'd by wiz@ for PMC.

Go 1.12.10:

net/http (through net/textproto) used to accept and normalize invalid
HTTP/1.1 headers with a space before the colon, in violation of RFC 7230. If
a Go server is used behind an uncommon reverse proxy that accepts and
forwards but doesn't normalize such invalid headers, the reverse proxy and
the server can interpret the headers differently. This can lead to filter
bypasses or request smuggling, the latter if requests from separate clients
are multiplexed onto the same upstream connection by the proxy. Such invalid
headers are now rejected by Go servers, and passed without normalization to
Go client applications.

The issue is CVE-2019-16276 and Go issue golang.org/issue/34540.

Go 1.12.9:

go1.12.9 (released 2019/08/15) includes fixes to the linker, and the os and
math/big packages. See the Go 1.12.9 milestone on our issue tracker for
details.
2019-09-26 18:36:46 +00:00
wiz
8759b3265b R-codetools: remove
This package conflicts with the base R package we have in pkgsrc.
2019-09-25 23:28:32 +00:00
sevan
aaac326e5e typo 2019-09-24 12:29:36 +00:00
sevan
f504138ad2 typo 2019-09-24 12:17:40 +00:00
tnn
4c01c47ab5 openjdk*: make NetBSD 7 bootstrap binaries valid for all future releases
Also drop support for NetBSD 6 and older.
2019-09-22 15:16:26 +00:00