Commit graph

13678 commits

Author SHA1 Message Date
taca
30ef68a78e lang/php80: update to 8.0.22
02 Aug 2022, PHP 8.0.22

- CLI:
  . Fixed potential overflow for the builtin server via the
    PHP_CLI_SERVER_WORKERS environment variable. (yiyuaner)

- Core:
  . Fixed bug GH-8923 (error_log on Windows can hold the file write
    lock). (cmb)

  . Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
    (Tobias Bachert)

- Date:
  . Fixed bug #80047 (DatePeriod doesn't warn with custom
    DateTimeImmutable).  (Derick)

- DBA:
  . Fixed LMDB driver hanging when attempting to delete a non-existing key
    (Girgias)

- FPM:
  . Fixed zlog message prepend, free on incorrect address. (Heiko Weber)
  . Fixed possible double free on configuration loading failure. (Heiko
    Weber).

- GD:
  . Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument).
    (cmb)

- Intl:
  . Fixed build for ICU 69.x and onwards. (David Carlier)

- OPcache:
  . Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php
    syntaxe of a valid file). (Dmitry)

- Standard:
  . Fixed the crypt_sha256/512 api build with clang > 12. (David Carlier)
  . Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David
    Carlier).
2022-08-04 15:19:39 +00:00
jperkin
e884897a23 clang-tools-extra: Fix build on SunOS. 2022-08-03 11:51:07 +00:00
wiz
d33513e0d9 python310: fix PLIST on NetBSD
3.10 has fixed ossaudio support, enabling that module by default.
2022-08-03 08:16:17 +00:00
adam
c4ef660135 python310 py310-html-docs: updated to 3.10.6
Python 3.10.6 final
Release date: 2022-08-01

Security
gh-87389: http.server: Fix an open redirection vulnerability in the HTTP server when an URI path starts with //. Vulnerability discovered, and initial fix proposed, by Hamza Avvan.
gh-92888: Fix memoryview use after free when accessing the backing buffer in certain cases.
Core and Builtins
gh-95355: _PyPegen_Parser_New now properly detects token memory allocation errors. Patch by Honglin Zhu.
gh-94938: Fix error detection in some builtin functions when keyword argument name is an instance of a str subclass with overloaded __eq__ and __hash__. Previously it could cause SystemError or other undesired behavior.
gh-94949: ast.parse() will no longer parse parenthesized context managers when passed feature_version less than (3, 9). Patch by Shantanu Jain.
gh-94947: ast.parse() will no longer parse assignment expressions when passed feature_version less than (3, 8). Patch by Shantanu Jain.
gh-94869: Fix the column offsets for some expressions in multi-line f-strings ast nodes. Patch by Pablo Galindo.
gh-91153: Fix an issue where a bytearray item assignment could crash if it’s resized by the new value’s __index__() method.
gh-94329: Compile and run code with unpacking of extremely large sequences (1000s of elements). Such code failed to compile. It now compiles and runs correctly.
gh-94360: Fixed a tokenizer crash when reading encoded files with syntax errors from stdin with non utf-8 encoded text. Patch by Pablo Galindo
gh-94192: Fix error for dictionary literals with invalid expression as value.
gh-93964: Strengthened compiler overflow checks to prevent crashes when compiling very large source files.
gh-93671: Fix some exponential backtrace case happening with deeply nested sequence patterns in match statements. Patch by Pablo Galindo
gh-93021: Fix the __text_signature__ for __get__() methods implemented in C. Patch by Jelle Zijlstra.
gh-92930: Fixed a crash in _pickle.c from mutating collections during __reduce__ or persistent_id.
gh-92914: Always round the allocated size for lists up to the nearest even number.
gh-92858: Improve error message for some suites with syntax error before ‘:’
Library
gh-95339: Update bundled pip to 22.2.1.

gh-95045: Fix GC crash when deallocating _lsprof.Profiler by untracking it before calling any callbacks. Patch by Kumar Aditya.

gh-95087: Fix IndexError in parsing invalid date in the email module.

gh-95199: Upgrade bundled setuptools to 63.2.0.

gh-95194: Upgrade bundled pip to 22.2.

gh-93899: Fix check for existence of os.EFD_CLOEXEC, os.EFD_NONBLOCK and os.EFD_SEMAPHORE flags on older kernel versions where these flags are not present. Patch by Kumar Aditya.

gh-95166: Fix concurrent.futures.Executor.map() to cancel the currently waiting on future on an error - e.g. TimeoutError or KeyboardInterrupt.

gh-93157: Fix fileinput module didn’t support errors option when inplace is true.

gh-94821: Fix binding of unix socket to empty address on Linux to use an available address from the abstract namespace, instead of “0”.

gh-94736: Fix crash when deallocating an instance of a subclass of _multiprocessing.SemLock. Patch by Kumar Aditya.

gh-94637: SSLContext.set_default_verify_paths() now releases the GIL around SSL_CTX_set_default_verify_paths call. The function call performs I/O and CPU intensive work.

gh-94510: Re-entrant calls to sys.setprofile() and sys.settrace() now raise RuntimeError. Patch by Pablo Galindo.

gh-92336: Fix bug where linecache.getline() fails on bad files with UnicodeDecodeError or SyntaxError. It now returns an empty string as per the documentation.

gh-89988: Fix memory leak in pickle.Pickler when looking up dispatch_table. Patch by Kumar Aditya.

gh-94254: Fixed types of struct module to be immutable. Patch by Kumar Aditya.

gh-94245: Fix pickling and copying of typing.Tuple[()].

gh-94207: Made _struct.Struct GC-tracked in order to fix a reference leak in the _struct module.

gh-94101: Manual instantiation of ssl.SSLSession objects is no longer allowed as it lead to misconfigured instances that crashed the interpreter when attributes where accessed on them.

gh-84753: inspect.iscoroutinefunction(), inspect.isgeneratorfunction(), and inspect.isasyncgenfunction() now properly return True for duck-typed function-like objects like instances of unittest.mock.AsyncMock.

This makes inspect.iscoroutinefunction() consistent with the behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.

gh-83499: Fix double closing of file description in tempfile.

gh-79512: Fixed names and __module__ value of weakref classes ReferenceType, ProxyType, CallableProxyType. It makes them pickleable.

gh-90494: copy.copy() and copy.deepcopy() now always raise a TypeError if __reduce__() returns a tuple with length 6 instead of silently ignore the 6th item or produce incorrect result.

gh-90549: Fix a multiprocessing bug where a global named resource (such as a semaphore) could leak when a child process is spawned (as opposed to forked).

gh-79579: sqlite3 now correctly detects DML queries with leading comments. Patch by Erlend E. Aasland.

gh-93421: Update sqlite3.Cursor.rowcount when a DML statement has run to completion. This fixes the row count for SQL queries like UPDATE ... RETURNING. Patch by Erlend E. Aasland.

gh-91810: Suppress writing an XML declaration in open files in ElementTree.write() with encoding='unicode' and xml_declaration=None.

gh-93353: Fix the importlib.resources.as_file() context manager to remove the temporary file if destroyed late during Python finalization: keep a local reference to the os.remove() function. Patch by Victor Stinner.

gh-83658: Make multiprocessing.Pool raise an exception if maxtasksperchild is not None or a positive int.

gh-74696: shutil.make_archive() no longer temporarily changes the current working directory during creation of standard .zip or tar archives.

gh-91577: Move imports in SharedMemory methods to module level so that they can be executed late in python finalization.

bpo-47231: Fixed an issue with inconsistent trailing slashes in tarfile longname directories.

bpo-46755: In QueueHandler, clear stack_info from LogRecord to prevent stack trace from being written twice.

bpo-46053: Fix OSS audio support on NetBSD.

bpo-46197: Fix ensurepip environment isolation for subprocess running pip.

bpo-45924: Fix asyncio incorrect traceback when future’s exception is raised multiple times. Patch by Kumar Aditya.

bpo-34828: sqlite3.Connection.iterdump() now handles databases that use AUTOINCREMENT in one or more tables.
Documentation
gh-94321: Document the PEP 246 style protocol type sqlite3.PrepareProtocol.
gh-86128: Document a limitation in ThreadPoolExecutor where its exit handler is executed before any handlers in atexit.
gh-61162: Clarify sqlite3 behavior when Using the connection as a context manager.
gh-87260: Align sqlite3 argument specs with the actual implementation.
gh-86986: The minimum Sphinx version required to build the documentation is now 3.2.
gh-88831: Augmented documentation of asyncio.create_task(). Clarified the need to keep strong references to tasks and added a code snippet detailing how to to this.
bpo-47161: Document that pathlib.PurePath does not collapse initial double slashes because they denote UNC paths.
Tests
gh-95280: Fix problem with test_ssl test_get_ciphers on systems that require perfect forward secrecy (PFS) ciphers.

gh-95212: Make multiprocessing test case test_shared_memory_recreate parallel-safe.

gh-91330: Added more tests for dataclasses to cover behavior with data descriptor-based fields.

# Write your Misc/NEWS entry below. It should be a simple ReST paragraph. # Don’t start with “- Issue #<n>: ” or “- gh-issue-<n>: ” or that sort of stuff. ###########################################################################

gh-94208: test_ssl is now checking for supported TLS version and protocols in more tests.

gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers.

gh-93957: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip.

gh-57539: Increase calendar test coverage for calendar.LocaleTextCalendar.formatweekday().

gh-92886: Fixing tests that fail when running with optimizations (-O) in test_zipimport.py

bpo-47016: Create a GitHub Actions workflow for verifying bundled pip and setuptools. Patch by Illia Volochii and Adam Turner.
Build
gh-94841: Fix the possible performance regression of PyObject_Free() compiled with MSVC version 1932.
bpo-45816: Python now supports building with Visual Studio 2022 (MSVC v143, VS Version 17.0). Patch by Jeremiah Vivian.
Windows
gh-90844: Allow virtual environments to correctly launch when they have spaces in the path.
gh-92841: asyncio no longer throws RuntimeError: Event loop is closed on interpreter exit after asynchronous socket activity. Patch by Oleg Iarygin.
bpo-42658: Support native Windows case-insensitive path comparisons by using LCMapStringEx instead of str.lower() in ntpath.normcase(). Add LCMapStringEx to the _winapi module.
IDLE
gh-95511: Fix the Shell context menu copy-with-prompts bug of copying an extra line when one selects whole lines.
gh-95471: In the Edit menu, move Select All and add a new separator.
gh-95411: Enable using IDLE’s module browser with .pyw files.
gh-89610: Add .pyi as a recognized extension for IDLE on macOS. This allows opening stub files by double clicking on them in the Finder.
Tools/Demos
gh-94538: Fix Argument Clinic output to custom file destinations. Patch by Erlend E. Aasland.
gh-94430: Allow parameters named module and self with custom C names in Argument Clinic. Patch by Erlend E. Aasland
C API
gh-94930: Fix SystemError raised when PyArg_ParseTupleAndKeywords() is used with # in (...) but without PY_SSIZE_T_CLEAN defined.
gh-94864: Fix PyArg_Parse* with deprecated format units “u” and “Z”. It returned 1 (success) when warnings are turned into exceptions.
2022-08-02 18:27:22 +00:00
abs
c4347211a9 Updated lang/npm to 8.15.1
v8.15.1 (2022-07-27)
Bug Fixes

    9905d0e #5197 fix: don't fail immediately if cache dir is not accessible (@lukekarrys)
    0e3660e #5206 fix(init): allow for spec on scope-only arg (@wraithgar)
    62b95a0 #5122 fix: allow hash character in paths (@AgainPsychoX)

Documentation

    f9abee7 #5205 docs: update commit-ish default branch (@dijonkitchen)
    77bf2e1 #5218 docs: update npm-ls.md (@MapleCCC)
    de40c31 #5207 docs: sync ci params with install (@wraithgar)
    4d1d8a9 #5221 docs: describe implicit workspace and prefix configuration (@fritzy) (@lukekarrys) (@wraithgar)

Dependencies

    3bbb293 #5223 deps: @npmcli/arborist@5.3.1

v8.15.0 (2022-07-20)
Features

    5ef53ee #5160 feat: accept registry-scoped certfile and keyfile as credentials (@jenseng)
    c8bdb4a feat: Support pure web authentication for commands (@jumoel) (@ljharb) (@hfaulds) (@sandeepmeduru)

Bug Fixes

    9c590fa #5172 fix: disable progress bar on publish (@wraithgar)
    2fa3271 #5196 fix: add missing ` in adduser warning (@MylesBorins)

Documentation

    7efad06 #5168 docs: Update audit signatures cmd (@feelepxyz)
    8ab5fca #5171 docs: correct bundledDependencies -> bundleDependencies (@nlf)

Dependencies

    64fe64b #5187 deps: @npmcli/config@4.2.0
    51b12a0 #5187 deps: npm-registry-fetch@13.3.0
    3ae1b81 #5190 deps: make-fetch-happen@10.2.0
2022-08-02 17:30:34 +00:00
jperkin
aac32eaad2 python37: Skip __pycache__ files seen in macOS build too. 2022-07-29 20:37:48 +00:00
gutteridge
8862f4a4f1 gcc*-libs: fix PKGREVISION values that got out of sync (again) 2022-07-28 16:59:08 +00:00
adam
5d2233d67f nodejs: updated to 18.7.0
Version 18.7.0 (Current)

Notable changes

doc:
add F3n67u to collaborators (Feng Yu)
deprecate coercion to integer in process.exit (Daeyeon Jeong)
(SEMVER-MINOR) deprecate diagnostics_channel object subscribe method (Stephen Belanger)
events:
(SEMVER-MINOR) expose CustomEvent on global with CLI flag (Daeyeon Jeong)
(SEMVER-MINOR) add CustomEvent (Daeyeon Jeong)
http:
(SEMVER-MINOR) add drop request event for http server (theanarkh)
lib:
(SEMVER-MINOR) improved diagnostics_channel subscribe/unsubscribe (Stephen Belanger)
util:
(SEMVER-MINOR) add tokens to parseArgs (John Gee)
2022-07-27 08:42:23 +00:00
tnn
f2156112bd rust: clean up pre-build target
Only needed for NetBSD i386, no need to copypasta it to all configurations.
XXX is it even needed on i386? Bootstrap toolchain should ship with PaX
settings if needed.
2022-07-27 00:39:35 +00:00
wiz
92b4a6e496 *: remove pkg-config from tools where no buildlink3.mk file is included
Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
2022-07-25 11:12:18 +00:00
jperkin
390b172b5d python37: Skip wrkrefs exposed by pkg-config change. 2022-07-25 10:04:35 +00:00
wiz
aeed0d684c python27: set path to pkg-config in environment
avoids hardcoding WRKDIR path to it in binary
2022-07-23 14:57:33 +00:00
micha
be420eac91 *: recursive bump for graphics/graphviz 5.0.0 2022-07-22 17:07:10 +00:00
wiz
36dd2b1aaf python: remove html2text support from versioned_dependencies 2022-07-20 23:04:56 +00:00
wiz
7c7e6de2f7 py-python-digest: remove
Not used any longer, use py-python3-digest
2022-07-20 22:58:17 +00:00
wiz
50739cafea python: remove pyparsing support from versioned_dependencies 2022-07-20 22:23:49 +00:00
dholland
1d1d5259e7 typo in lang/janet/DESCR 2022-07-20 07:58:59 +00:00
osa
7b89b5e18f */*: update NGINX JavaScript: 0.7.5 -> 0.7.6
Bump PKGREVISION for www/nginx.

<ChangeLog>

nginx modules:

*) Feature: improved r.args object. Added support for multiple
   arguments with the same key. Added case sensitivity for
   keys. Keys and values are percent-decoded now.

*) Bugfix: fixed r.headersOut setter for special headers.

Core:

*) Feature: added Symbol.for() and Symbol.keyfor().

*) Feature: added btoa() and atob() from WHATWG spec.

*) Bugfix: fixed large non-decimal literals.

*) Bugfix: fixed unicode argument trimming in parseInt().

*) Bugfix: fixed break instruction in a try-catch block.

*) Bugfix: fixed async function declaration in CLI.

</ChangeLog>
2022-07-19 18:09:44 +00:00
jperkin
fdf261ad9c ruby31-base: Remove man entries from ALTERNATIVES.
pkg_alternatives does not support manual pages (it creates its own wrappers
based on the binary names), and including them breaks upgrade rebuilds.

Bump PKGREVISION.
2022-07-18 12:48:38 +00:00
jperkin
82afce4c21 ruby30-base: Remove man entries from ALTERNATIVES.
pkg_alternatives does not support manual pages (it creates its own wrappers
based on the binary names), and including them breaks upgrade rebuilds.

Bump PKGREVISION.
2022-07-18 12:47:52 +00:00
wiz
a6c717397e vala: update to 0.56.2.
Vala 0.56.2
===========
 * Various improvements and bug fixes:
  - codegen: Correctly set array-length for NoAccessorMethods properties [#1316]
  - codegen: Detect usage of static type-parameter in runtime context [#1326]
  - vala: Avoid critical in SourceFile.get_mapped_length() [#1330]
  - codegen: Make sure to initialize static collections
  - codegen: Split reserved identifiers for C and Vala
  - codegen: Check cname of fields and methods against reserved identfiers [#1329]

 * Bindings:
  - glib2.0: Add abs() to int8/int16/int32/ssize_t [#1328]
  - Add initial wayland-client binding
  - Add geocode-glib-2.0 binding
  - Add rest-1.0 bindings
2022-07-17 08:31:33 +00:00
tnn
d58c9138be openjdk8: fix NetBSD/evbarm-aarch64 build; PAC is only supported on Linux 2022-07-17 03:03:41 +00:00
jperkin
bdd80f88b1 rust: Add ugly fix for incorrect flags on macOS/arm64.
I've dug through the source code and removed loads of '-arch ' invocations but
still can't find the one that is incorrectly adding '-arch x86_64', so for now
we're just brute-force transforming it.
2022-07-15 07:03:30 +00:00
dholland
838831b9b0 Bump everything affected by the jpeg.buildlink3.mk fix. 2022-07-14 23:46:18 +00:00
wiz
f16bdbed0c njs: use pkgsrc infrastructure for required options 2022-07-14 12:46:21 +00:00
osa
adbfa249f2 lang/njs: NJS requieres one of the PCRE versions
Bump PKGREVISION.
2022-07-14 10:59:51 +00:00
osa
461486ac46 lang/njs: update 0.7.3 -> 0.7.5 2022-07-14 10:42:09 +00:00
adam
52ebec0a01 npm: updated to 8.14.0
v8.14.0 (2022-07-13)

Features

feat: add npm audit signatures (@feelepxyz)
feat: Add web auth type (@jumoel)
feat(arborist): add support for dependencies script (@nlf)
feat: notify on adduser of upcoming cmds, login and register (@fritzy)
feat: warn on config --auth-type=sso/saml/oauth, undeprecate --auth-type (@fritzy)

Bug Fixes

fix: properly open package arg repo inside workspace (@wraithgar)

Documentation

docs: typo in npm command (@crisanmm)
docs: update reference to deprecated spdx package (@kachick)
docs: naming of files in example code should be consistent (@xc1427)
docs: document dependencies script
2022-07-14 07:17:14 +00:00
adam
3e166b0b35 nodejs: updated to 18.6.0
Version 18.6.0 (Current)

Notable Changes

Experimental ESM Loader Hooks API

Node.js ESM Loader hooks now support multiple custom loaders, and composition is achieved via "chaining": foo-loader calls bar-loader calls qux-loader (a custom loader must now signal a short circuit when intentionally not calling the next). See the ESM docs for details.
2022-07-14 07:10:40 +00:00
bsiegert
8a0a545038 go118: update to 1.18.4 (security update)
This minor release includes 9 security fixes following the security policy:

net/http: improper sanitization of Transfer-Encoding header

The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating
a "chunked" encoding. This could potentially allow for request smuggling, but
only if combined with an intermediate server that also improperly failed to
reject the header as invalid.

This is CVE-2022-1705 and https://go.dev/issue/53188.

When httputil.ReverseProxy.ServeHTTP was called with a Request.Header map
containing a nil value for the X-Forwarded-For header, ReverseProxy would set
the client IP as the value of the X-Forwarded-For header, contrary to its
documentation. In the more usual case where a Director function set the
X-Forwarded-For header value to nil, ReverseProxy would leave the header
unmodified as expected.

This is https://go.dev/issue/53423 and CVE-2022-32148.

Thanks to Christian Mehlmauer for reporting this issue.

compress/gzip: stack exhaustion in Reader.Read

Calling Reader.Read on an archive containing a large number of concatenated
0-length compressed files can cause a panic due to stack exhaustion.

This is CVE-2022-30631 and Go issue https://go.dev/issue/53168.

encoding/xml: stack exhaustion in Unmarshal

Calling Unmarshal on a XML document into a Go struct which has a nested field
that uses the any field tag can cause a panic due to stack exhaustion.

This is CVE-2022-30633 and Go issue https://go.dev/issue/53611.

encoding/xml: stack exhaustion in Decoder.Skip

Calling Decoder.Skip when parsing a deeply nested XML document can cause a
panic due to stack exhaustion.

The Go Security team discovered this issue, and it was independently reported
by Juho Nurminen of Mattermost.

This is CVE-2022-28131 and Go issue https://go.dev/issue/53614.

encoding/gob: stack exhaustion in Decoder.Decode

Calling Decoder.Decode on a message which contains deeply nested structures can
cause a panic due to stack exhaustion.

This is CVE-2022-30635 and Go issue https://go.dev/issue/53615.

path/filepath: stack exhaustion in Glob

Calling Glob on a path which contains a large number of path separators can
cause a panic due to stack exhaustion.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2022-30632 and Go issue https://go.dev/issue/53416.

io/fs: stack exhaustion in Glob

Calling Glob on a path which contains a large number of path separators can
cause a panic due to stack exhaustion.

This is CVE-2022-30630 and Go issue https://go.dev/issue/53415.

go/parser: stack exhaustion in all Parse* functions

Calling any of the Parse functions on Go source code which contains deeply
nested types or declarations can cause a panic due to stack exhaustion.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2022-1962 and Go issue https://go.dev/issue/53616.
2022-07-13 15:02:02 +00:00
taca
e85cf8cfea www/ruby-rails70: update to 7.0.3.1
Rails 7.0.3.1 (2022-07-12) updates databases/ruby-activerecord70 only.

databases/ruby-activerecord70

* Change ActiveRecord::Coders::YAMLColumn default to safe_load

  This adds two new configuration options The configuration options are as
  follows:

	o config.active_storage.use_yaml_unsafe_load

  When set to true, this configuration option tells Rails to use the old
  "unsafe" YAML loading strategy, maintaining the existing behavior but
  leaving the possible escalation vulnerability in place.  Setting this
  option to true is *not* recommended, but can aid in upgrading.

	o config.active_record.yaml_column_permitted_classes

  The "safe YAML" loading method does not allow all classes to be
  deserialized by default.  This option allows you to specify classes deemed
  "safe" in your application.  For example, if your application uses Symbol
  and Time in serialized data, you can add Symbol and Time to the allowed
  list as follows:


	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]


  [CVE-2022-32224]
2022-07-13 14:48:47 +00:00
taca
897ebaa12e www/ruby-rails61: update to 6.1.6.1
Rails 6.1.6.1 (2022-07-12) updates databases/ruby-activerecord61 only.

databases/ruby-activerecord61

* Change ActiveRecord::Coders::YAMLColumn default to safe_load

  This adds two new configuration options The configuration options are as
  follows:

	o config.active_storage.use_yaml_unsafe_load

  When set to true, this configuration option tells Rails to use the old
  "unsafe" YAML loading strategy, maintaining the existing behavior but
  leaving the possible escalation vulnerability in place.  Setting this
  option to true is *not* recommended, but can aid in upgrading.

	o config.active_record.yaml_column_permitted_classes

  The "safe YAML" loading method does not allow all classes to be
  deserialized by default.  This option allows you to specify classes deemed
  "safe" in your application.  For example, if your application uses Symbol
  and Time in serialized data, you can add Symbol and Time to the allowed
  list as follows:


	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]


  [CVE-2022-32224]
2022-07-13 14:46:23 +00:00
taca
2230a22ae7 www/ruby-rails60: update to 6.0.5.1
Rails 6.0.5.1 (2022-07-12) updates databases/ruby-activerecord60 only.

databases/ruby-activerecord60

* Change ActiveRecord::Coders::YAMLColumn default to safe_load

  This adds two new configuration options The configuration options are as
  follows:

	o config.active_storage.use_yaml_unsafe_load

  When set to true, this configuration option tells Rails to use the old
  "unsafe" YAML loading strategy, maintaining the existing behavior but
  leaving the possible escalation vulnerability in place.  Setting this
  option to true is *not* recommended, but can aid in upgrading.

	o config.active_record.yaml_column_permitted_classes

  The "safe YAML" loading method does not allow all classes to be
  deserialized by default.  This option allows you to specify classes deemed
  "safe" in your application.  For example, if your application uses Symbol
  and Time in serialized data, you can add Symbol and Time to the allowed
  list as follows:


	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]


  [CVE-2022-32224]
2022-07-13 14:44:08 +00:00
taca
0b86a1339d www/ruby-rails52: update to 5.2.8.1
Rails 5.2.8.1 (2022-07-12) updates databases/ruby-activerecord52 only.

databases/ruby-activerecord52

* Change ActiveRecord::Coders::YAMLColumn default to safe_load

  This adds two new configuration options The configuration options are as
  follows:

	o config.active_storage.use_yaml_unsafe_load

  When set to true, this configuration option tells Rails to use the old
  "unsafe" YAML loading strategy, maintaining the existing behavior but
  leaving the possible escalation vulnerability in place.  Setting this
  option to true is *not* recommended, but can aid in upgrading.

	o config.active_record.yaml_column_permitted_classes

  The "safe YAML" loading method does not allow all classes to be
  deserialized by default.  This option allows you to specify classes deemed
  "safe" in your application.  For example, if your application uses Symbol
  and Time in serialized data, you can add Symbol and Time to the allowed
  list as follows:


	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]


  [CVE-2022-32224]
2022-07-13 14:41:07 +00:00
bsiegert
1fdc21a8d0 go117: update to 1.17.12 (security update)
This minor release includes 9 security fixes following the security policy:

net/http: improper sanitization of Transfer-Encoding header

The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating
a "chunked" encoding. This could potentially allow for request smuggling, but
only if combined with an intermediate server that also improperly failed to
reject the header as invalid.

This is CVE-2022-1705 and https://go.dev/issue/53188.

When httputil.ReverseProxy.ServeHTTP was called with a Request.Header map
containing a nil value for the X-Forwarded-For header, ReverseProxy would set
the client IP as the value of the X-Forwarded-For header, contrary to its
documentation. In the more usual case where a Director function set the
X-Forwarded-For header value to nil, ReverseProxy would leave the header
unmodified as expected.

This is https://go.dev/issue/53423 and CVE-2022-32148.

Thanks to Christian Mehlmauer for reporting this issue.

compress/gzip: stack exhaustion in Reader.Read

Calling Reader.Read on an archive containing a large number of concatenated
0-length compressed files can cause a panic due to stack exhaustion.

This is CVE-2022-30631 and Go issue https://go.dev/issue/53168.

encoding/xml: stack exhaustion in Unmarshal

Calling Unmarshal on a XML document into a Go struct which has a nested field
that uses the any field tag can cause a panic due to stack exhaustion.

This is CVE-2022-30633 and Go issue https://go.dev/issue/53611.

encoding/xml: stack exhaustion in Decoder.Skip

Calling Decoder.Skip when parsing a deeply nested XML document can cause a
panic due to stack exhaustion.

The Go Security team discovered this issue, and it was independently reported
by Juho Nurminen of Mattermost.

This is CVE-2022-28131 and Go issue https://go.dev/issue/53614.

encoding/gob: stack exhaustion in Decoder.Decode

Calling Decoder.Decode on a message which contains deeply nested structures can
cause a panic due to stack exhaustion.

This is CVE-2022-30635 and Go issue https://go.dev/issue/53615.

path/filepath: stack exhaustion in Glob

Calling Glob on a path which contains a large number of path separators can
cause a panic due to stack exhaustion.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2022-30632 and Go issue https://go.dev/issue/53416.

io/fs: stack exhaustion in Glob

Calling Glob on a path which contains a large number of path separators can
cause a panic due to stack exhaustion.

This is CVE-2022-30630 and Go issue https://go.dev/issue/53415.

go/parser: stack exhaustion in all Parse* functions

Calling any of the Parse functions on Go source code which contains deeply
nested types or declarations can cause a panic due to stack exhaustion.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

This is CVE-2022-1962 and Go issue https://go.dev/issue/53616.
2022-07-13 14:14:18 +00:00
jperkin
9edd7c6d5d *: Revert nodeversion.mk changes.
The intention was to avoid nodejs-18.x which no longer supports older
platforms, but that didn't work as pbulk still chooses the latest anyway, so
we'll need to fix that a different way.

It also has the downside of tying them to a specific version, which meant you
could no longer use the npm or yarn package managers with anything other than
the default nodejs version.
2022-07-13 11:41:06 +00:00
wiz
35d772daaa python: remove support for docstyle from versioned_dependencies 2022-07-12 09:29:37 +00:00
wiz
4b1f61aae5 python: remove zipp support from versioned_dependencies 2022-07-12 09:21:18 +00:00
jperkin
6dbd0153d7 rust: Put back change lost in last update.
Should hopefully get build going again on macOS/arm64.
2022-07-11 20:13:50 +00:00
wiz
170b426b54 python: remove sphinx support from versioned_dependencies 2022-07-10 19:17:44 +00:00
ryoon
1915da7fe6 openjdk8: Update to 1.8.332
CHangelog:
Follow OpenJDK 8u332 GA.
2022-07-10 14:47:24 +00:00
wiz
2e03f9af6f llvm: does not support python 2.7 2022-07-09 08:16:02 +00:00
taca
d8dbb6cecf lang/php81: update to 8.1.8
07 Jul 2022, PHP 8.1.8

- Core:
  . Fixed bug GH-8338 (Intel CET is disabled unintentionally). (Chen, Hu)
  . Fixed leak in Enum::from/tryFrom for internal enums when using JIT (ilutov)
  . Fixed calling internal methods with a static return type from
    extension code. (Sara)
  . Fixed bug GH-8655 (Casting an object to array does not unwrap refcount=1
    references). (Nicolas Grekas)
  . Fixed potential use after free in php_binary_init(). (Heiko Weber)

- CLI:
  . Fixed GH-8827 (Intentionally closing std handles no longer possible). (cmb)

- COM:
  . Fixed bug GH-8778 (Integer arithmethic with large number variants fails).
    (cmb)

- Curl:
  . Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick)

- Date:
  . Fixed bug #72963 (Null-byte injection in CreateFromFormat and related
    functions). (Derick)
  . Fixed bug #74671 (DST timezone abbreviation has incorrect offset). (Derick)
  . Fixed bug #77243 (Weekdays are calculated incorrectly for negative years).
    (Derick)
  . Fixed bug #78139 (timezone_open accepts invalid timezone string argument).
    (Derick)

- Fileinfo:
  . Fixed bug #81723 (Heap buffer overflow in finfo_buffer). (CVE-2022-31627)
    (cmb)

- FPM:
  . Fixed bug #67764 (fpm: syslog.ident don't work). (Jakub Zelenka)

- GD:
  . Fixed imagecreatefromavif() memory leak. (cmb)

- MBString:
  . mb_detect_encoding recognizes all letters in Czech alphabet (alexdowad)
  . mb_detect_encoding recognizes all letters in Hungarian alphabet (alexdowad)
  . Fixed bug GH-8685 (pcre not ready at mbstring startup). (Remi)
  . Backwards-compatible mappings for 0x5C/0x7E in Shift-JIS are restored,
    after they had been changed in 8.1.0. (Alex Dowad)

- ODBC:
  . Fixed handling of single-key connection strings. (Calvin Buckley)

- OPcache:
  . Fixed bug GH-8591 (tracing JIT crash after private instance method change).
    (Arnaud, Dmitry, Oleg Stepanischev)

- OpenSSL:
  . Fixed bug #50293 (Several openssl functions ignore the VCWD).
    (Jakub Zelenka, cmb)
  . Fixed bug #81713 (NULL byte injection in several OpenSSL functions working
    with certificates). (Jakub Zelenka)

- PDO_ODBC:
  . Fixed handling of single-key connection strings. (Calvin Buckley)

- SPL:
  . Fixed bug GH-8563 (Different results for seek() on SplFileObject and SplTempFileObject). (Girgias)

- Zip:
  . Fixed bug GH-8781 (ZipArchive::close deletes zip file without updating stat
    cache). (Remi)
2022-07-08 13:51:56 +00:00
taca
9a1b92b20a lang/php80: update to 8.0.21
07 Jul 2022, PHP 8.0.21

- Core:
  . Fixed potential use after free in php_binary_init(). (Heiko Weber)

- CLI:
  . Fixed GH-8827 (Intentionally closing std handles no longer possible). (cmb)

- COM:
  . Fixed bug GH-8778 (Integer arithmethic with large number variants fails).
    (cmb)

- Curl:
  . Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick)

- Date:
  . Fixed bug #74671 (DST timezone abbreviation has incorrect offset). (Derick)
  . Fixed bug #77243 (Weekdays are calculated incorrectly for negative years).
    (Derick)
  . Fixed bug #78139 (timezone_open accepts invalid timezone string argument).
    (Derick)

- FPM:
  . Fixed bug #67764 (fpm: syslog.ident don't work). (Jakub Zelenka)

- MBString:
  . Fixed bug GH-8685 (pcre not ready at mbstring startup). (Remi)

- ODBC:
  . Fixed handling of single-key connection strings. (Calvin Buckley)

- OpenSSL:
  . Fixed bug #50293 (Several openssl functions ignore the VCWD).
    (Jakub Zelenka, cmb)
  . Fixed bug #81713 (NULL byte injection in several OpenSSL functions working
    with certificates). (Jakub Zelenka)

- PDO_ODBC:
  . Fixed errorInfo() result on successful PDOStatement->execute(). (Yurunsoft)
  . Fixed handling of single-key connection strings. (Calvin Buckley)

- SPL:
  . Fixed bug GH-8563 (Different results for seek() on SplFileObject and SplTempFileObject). (Girgias)

- Zip:
  . Fixed bug GH-8781 (ZipArchive::close deletes zip file without updating stat
    cache). (Remi)
2022-07-08 13:50:32 +00:00
adam
79fe42b2fe nodejs: updated to 18.5.0
Version 18.5.0 (Current), @RafaelGSS

This is a security release.

Notable Changes

- (SEMVER-MAJOR) src,deps,build,test: add OpenSSL config appname (Daniel Bevenius)
- (SEMVER-MAJOR) src,doc,test: add --openssl-shared-config option (Daniel Bevenius)
Node.js now reads nodejs_conf section in the openssl config
- deps: update archs files for quictls/openssl-3.0.5+quic (RafaelGSS)
- deps: upgrade openssl sources to quictls/openssl-3.0.5+quic (RafaelGSS)
2022-07-08 13:31:15 +00:00
adam
608d82c602 nodejs16: updated to 16.16.0
Version 16.16.0 'Gallium' (LTS)

This is a security release.

Notable changes

deps:
upgrade openssl sources to OpenSSL_1_1_1q (RafaelGSS)
src:
add OpenSSL config appname (Daniel Bevenius)
2022-07-08 13:30:19 +00:00
adam
b539447c64 nodejs14: updated to 14.20.0
Version 14.20.0 'Fermium' (LTS)

Notable Changes
- (SEMVER-MAJOR) src,deps,build,test: add OpenSSL config appname (Daniel Bevenius)
- deps: upgrade openssl sources to 1.1.1q (RafaelGSS)
2022-07-08 13:29:36 +00:00
jperkin
47e82cd514 lang: Switch distfile location from Joyent to MNX Manta.
No functional change.
2022-07-07 16:26:36 +00:00
khorben
41b45b905b python{39,310}: fix the build when the work directory is in $PREFIX
As documented in pkg/56774, when WRKOBJDIR is in LOCALBASE (eg set to
${LOCALBASE}/work) then changes done to Python's setup.py made it
unable to locate its own built-in modules, then failing to bootstrap and
build.

As suggested by tnn@; tested on NetBSD/amd64.

XXX pull-up to pkgsrc-2022Q2
2022-07-07 15:26:43 +00:00
adam
2dede64833 npm: updated to 8.13.2
v8.13.2 (2022-06-29)

Documentation

docs: add foreground-scripts to run-script page (@ruyadorno)
Dependencies

deps: @npmcli/run-script@4.1.4
deps: @npmcli/run-script@4.1.5
deps: @npmcli/metavuln-calculator@3.1.1
deps: npm-packlist@5.1.1

v8.13.1 (2022-06-23)

Dependencies

deps: @npmcli/run-script@4.1.3
fix: improves escaping of arguments for run-script, exec and npx (@nlf)
deps: libnpmpack@4.1.2
deps: @npmcli/arborist@5.2.3
deps: libnpmexec@4.0.8
deps: libnpmversion@3.0.6

v8.13.0 (2022-06-22)

Features

feat: prompt before opening web-login URL when performing login/adduser (@jumoel)

Bug Fixes

fix: Add space to SemVer log message (@dnicolson)
fix(view): error on missing version (@wraithgar)

Documentation

docs: consolidate docs and help for package spec (@wraithgar)
docs: fix typo (@westy92)

Dependencies

deps: pacote@13.6.1
deps: @npmcli/run-script@4.1.0
deps: make-fetch-happen@10.1.8
deps: npm-profile@6.1.0
deps: libnpmdiff@4.0.4
deps: libnpmversion@3.0.5
deps: libnpmpack@4.1.1
deps: libnpmexec@4.0.7
deps: @npmcli/arborist@5.2.2
2022-07-07 10:05:11 +00:00