Commit graph

10150 commits

Author SHA1 Message Date
wiz
f0711fb72d lang/*: remove BROKEN markers for known openssl-1.1 breakage
Requested by joerg.
2018-02-23 15:26:14 +00:00
fhajny
4b580df1e8 lang/openjdk8: The libinstrument, libnpt and libsplashscreen libs
require to be linked against libiconv on SunOS too. Fixes problems
with e.g. the JPDA debugger. Bump PKGREVISION.
2018-02-23 14:43:49 +00:00
adam
dce6a117af py-hy: updated to 0.14.0
0.14.0

Removals
* Python 3.3 is no longer supported
* def is gone; use setv instead
* apply is gone; use the new #* and #** syntax instead
* yield-from is no longer supported under Python 2
* Periods are no longer allowed in keywords
* Numeric literals can no longer begin with a comma or underscore
* Literal Inf\s and NaN\s must now be capitalized like that

Other Breaking Changes
* Single-character "sharp macros" are now "tag macros", which can have
  longer names
* xi from hy.extra.anaphoric is now a tag macro #%
* eval is now a function instead of a special form

New Features
* The compiler now automatically promotes values to Hy model objects
  as necessary, so you can write (eval (+ 1 ~n)) instead of
  (eval (+ 1 ~(HyInteger n)))
* return has been implemented as a special form
* Added a form of string literal called "bracket strings" delimited by
  #[FOO[ and ]FOO], where FOO is customizable
* Added support for PEP 492 (async and await) with fn/a, defn/a,
  with/a, and for/a
* Added Python-style unpacking operators #* and  #** (e.g.,
  (f #* args #** kwargs))
* Added a macro comment
* Added EDN #_ syntax to discard the next term
* while loops may now contain an else clause, like for loops
* #% works on any expression and has a new &kwargs parameter %**
* Added a macro doc and a tag macro #doc
* get is available as a function
* ~@ (unquote-splice) form now accepts any false value as empty

Bug Fixes
* Relative imports (PEP 328) are now allowed
* Numeric literals are no longer parsed as symbols when followed by a dot
  and a symbol
* Hy now respects the environment variable PYTHONDONTWRITEBYTECODE
* String literals should no longer be interpreted as special forms or macros
* Tag macros (née sharp macros) whose names begin with ! are no longer
  mistaken for shebang lines
* Fixed a bug where REPL history wasn't saved if you quit the REPL with
  (quit) or (exit)
* exec now works under Python 2
* No TypeError from multi-arity defn returning values evaluating to None
* try forms are now possible in defmacro and deftag
* Multiple expressions are now allowed in try
* Fixed a crash when macroexpand\ing a macro with a named import
* Fixed a crash when with suppresses an exception. with now returns
  None in this case.
* Fixed a crash when --repl-output-fn raises an exception
* Fixed a crash when HyTypeError was raised with objects that had no
  source position
* assoc now evaluates its arguments only once each
* Multiple expressions are now allowed in the else clause of
  a for loop
* else clauses in for and while are recognized more reliably
* Statements in the condition of a while loop are repeated properly
* Argument destructuring no longer interferes with function docstrings
* Nullary yield-from is now a syntax error
* break and continue now raise an error when given arguments
  instead of silently ignoring them

Misc. Improvements
* read, read_str, and eval are exposed and documented as top-level
  functions in the hy module
* An experimental let macro has been added to hy.contrib.walk
2018-02-23 07:03:09 +00:00
adam
b5006d1161 py-asttokens: updated to 1.1.10
1.1.10:
Unknown changes.
2018-02-22 10:07:59 +00:00
wiz
48141e5499 php: bump default to 70. 2018-02-20 13:22:42 +00:00
wiz
8e26913586 ruby23: mark as broken on NetBSD-current due to openssl-1.1 2018-02-20 06:43:32 +00:00
wiz
eef6a7adac ruby22-base: mark as broken on NetBSD-current due to openssl-1.1 2018-02-20 06:43:14 +00:00
wiz
db48249836 python34: mark as broken on NetBSD-current due to openssl-1.1 2018-02-20 06:42:32 +00:00
wiz
140c937b88 php56: mark as broken on NetBSD-current due to openssl-1.1 2018-02-20 06:42:20 +00:00
taca
7116f74b77 lang/ruby22-base: rubygem security fix
Add an patch to fix security problem of rubygems.

Bump PKGREVISION.
2018-02-19 16:47:53 +00:00
taca
5716995b01 lang/ruby25-base: rubygem security fix
Add an patch to fix security problem of rubygems.

Bump PKGREVISION.
2018-02-19 16:47:17 +00:00
taca
5e98e578da lang/ruby24-base: rubygem security fix
Add an patch to fix security problem of rubygems.

Bump PKGREVISION.
2018-02-19 16:46:58 +00:00
taca
9cc413ac3a lang/ruby23-base: rubygem security fix
Add an patch to fix security problem of rubygems.

Bump PKGREVISION.
2018-02-19 16:46:26 +00:00
taca
f5b3ce1a39 lang/ruby: GC unused variable related to version of Rubygems
Remove RUBY_GEMS_VERSION which is referenced by _RUBYGEMS_MAJOR and
_RUBYGEMS_MINOR, unused variables.
2018-02-19 13:48:11 +00:00
taca
2847f349e9 Add RUBY_NAME to PLIST_SUBST to fix ruby-xapian. 2018-02-19 13:31:23 +00:00
ryoon
a325dccc60 Update to 1.24.0
* Disable SunOS support for a while

Changelog:
Version 1.24.0 (2018-02-15)
Language
    External sysv64 ffi is now available. eg. extern "sysv64" fn foo () {}

Compiler
    rustc now uses 16 codegen units by default for release builds. For
      the fastest builds, utilize codegen-units=1.
    Added armv4t-unknown-linux-gnueabi target.
    Add aarch64-unknown-openbsd support

Libraries
    str::find::<char> now uses memchr. This should lead to a 10x improvement
      in performance in the majority of cases.
    OsStr's Debug implementation is now lossless and consistent with Windows.
    time::{SystemTime, Instant} now implement Hash.
    impl From<bool> for AtomicBool
    impl From<{CString, &CStr}> for {Arc<CStr>, Rc<CStr>}
    impl From<{OsString, &OsStr}> for {Arc<OsStr>, Rc<OsStr>}
    impl From<{PathBuf, &Path}> for {Arc<Path>, Rc<Path>}
    float::from_bits now just uses transmute. This provides some optimisations
      from LLVM.
    Copied AsciiExt methods onto char
    Remove T: Sized requirement on ptr::is_null()
    impl From<RecvError> for {TryRecvError, RecvTimeoutError}
    Optimised f32::{min, max} to generate more efficent x86 assembly
    [u8]::contains now uses memchr which provides a 3x speed improvement

Stabilized APIs
    RefCell::replace
    RefCell::swap
    atomic::spin_loop_hint

The following functions can now be used in a constant expression.
eg. let buffer: [u8; size_of::<usize>()];, static COUNTER: AtomicUsize =
AtomicUsize::new(1);

    AtomicBool::new
    AtomicUsize::new
    AtomicIsize::new
    AtomicPtr::new
    Cell::new
    {integer}::min_value
    {integer}::max_value
    mem::size_of
    mem::align_of
    ptr::null
    ptr::null_mut
    RefCell::new
    UnsafeCell::new

Cargo
    Added a workspace.default-members config that overrides implied --all
      in virtual workspaces.
    Enable incremental by default on development builds. Also added
      configuration keys to Cargo.toml and .cargo/config to disable on
      a per-project or global basis respectively.

Misc
Compatibility Notes
    Floating point types Debug impl now always prints a decimal point.
    Ipv6Addr now rejects superfluous ::'s in IPv6 addresses This is in
      accordance with IETF RFC 4291 Sec. 2.2.
    Unwinding will no longer go past FFI boundaries, and will instead abort.
    Formatter::flags method is now deprecated. The sign_plus, sign_minus,
      alternate, and sign_aware_zero_pad should be used instead.
    Leading zeros in tuple struct members is now an error
    column!() macro is one-based instead of zero-based
    fmt::Arguments can no longer be shared across threads
    Access to #[repr(packed)] struct fields is now unsafe
    Cargo sets a different working directory for the compiler
2018-02-18 12:12:54 +00:00
rillig
057906f507 lang/mercury: move HTML documentation to share/doc/mercury/html 2018-02-18 05:30:55 +00:00
rillig
05c3eb5ef8 lang/jikes: move documentation to share/doc/jikes 2018-02-18 05:06:18 +00:00
wiz
b0df3c4789 openjdk8: remove -Werror from compiler flags. 2018-02-16 22:31:01 +00:00
jdolecek
db831ebb99 remove patches/patch-ext_imap_config.m4, it's not needed any more
mail/php-imap was changed to not use the option this patch adds; it was
also entirely ineffective in what it was supposed to do
2018-02-16 22:26:29 +00:00
fhajny
2ad4cb62d5 lang/nodejs6: Update to 6.13.0.
- console:
  - added console.count() and console.clear()
- crypto:
  - expose ECDH class
  - added cypto.randomFill() and crypto.randomFillSync()
  - warn on invalid authentication tag length
- deps:
  - upgrade libuv to 1.16.1
- dgram:
  - added socket.setMulticastInterface()
- http:
  - add agent.keepSocketAlive and agent.reuseSocket as to allow
    overridable keep-alive behavior of `Agent`
- lib:
  - return this from net.Socket.end()
- module:
  - add builtinModules api that provides list of all builtin modules
    in Node
- net:
  - return this from getConnections()
- promises:
  - more robust stringification for unhandled rejections
- repl:
  - improve require() autocompletion
- src:
  - add openssl-system-ca-path configure option
  - add --use-bundled-ca --use-openssl-ca check
  - add process.ppid
- tls:
  - accept `lookup` option for `tls.connect()`
- tools, build:
  - a new macOS installer!
- url:
  - WHATWG URL api support
- util:
  - add %i and %f formatting specifiers
2018-02-16 11:53:54 +00:00
ryoon
23ad862b7b Update to 1.8.162
* Pass -fno-lifetime-dse for GCC 6 to prevent segfault

Changelog:
Fix security bugs
CVE-2018-2638
CVE-2018-2639
CVE-2018-2633
CVE-2018-2627
CVE-2018-2637
CVE-2018-2634
CVE-2018-2582
CVE-2018-2641
CVE-2018-2618
CVE-2018-2629
CVE-2018-2603
CVE-2018-2657
CVE-2018-2599
CVE-2018-2581
CVE-2018-2602
CVE-2018-2677
CVE-2018-2678
CVE-2018-2588
CVE-2018-2663
CVE-2018-2675
CVE-2018-2579
2018-02-13 12:57:44 +00:00
wiz
e3f7fa4b12 vala: update to 0.38.7.
Vala 0.38.7
===========
 * Regression fix:
  - codegen: Don't try to infer error argument on async begin methods [#793158]
    This was a regression introduced by [#614294]

Vala 0.38.6
===========
 * Various bug fixes:
  - girparser:
    + Set NoAccessorMethod for non-readable and construct-only properties
    + Ignore conflicting closure/destroy indexes
    + Don't accept methods as property-accessor which throw errors [#792998]
  - codegen:
    + Infer error parameter from abstract/virtual base methods [#614294]
    + Fix return-type for cancelled async creation methods of classes [#792942]
  - vala: Variadic constructors without a real first parameter are not allowed
  - libvaladoc: Keep bootstrap-support with valac >= 0.16.1

 * Bindings:
  - gstreamer-1.0: Update from 1.13+ git master
  - gtk+-4.0: Only override type of "event" parameters

Vala 0.38.5
===========
 * Various improvements and bug fixes:
  - codegen
    + Only add property-enum and GParamSpec-array for GObject classes
    + Add destroy param when invoking delegate returned by delegate [#792077]
  - vala: Add pkgdatadir and pkglibdir to pkg-config file
  - gidlparser: Update type qualifiers
  - libvaladoc: Allow @link tags to be split over multiple lines [#646982]
  - libvaladoc: Add support for single line documentation comments [#736483]
  - vala: Fix parameter type inference of overridden async methods [#792660]
  - codewriter: Don't use string.replace() to apply header_to_override [#731322]

 * Bindings:
  - glib-2.0: Add GLib.OPTION_REMAINING and GLib.OptionFlags.NONE
  - gstreamer-1.0: Update from 1.13+ git master
  - gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as
    nullable [#791570]
  - gtk+-2.0/3.0: Don't hide user_data in Clipboard.set_with_data() [#792237]
  - gtk+-3.0: Update to 3.22.26+6f26d0dc
  - gtk+-4.0: Update to 3.93.0 and split Gsk.RenderNode into several classes
  - libwnck-3.0: Update to 3.24.1
  - posix: Add ctime(3) and fix binding of struct hostent and gethostbyname(3)
  - webkit2gtk-4.0: Update to 2.19.5
  - webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface
2018-02-11 16:27:27 +00:00
adam
6581d74097 py-cxfreeze: updated to 5.1.1
Version 5.1.1:
Correct code used to identify the directory in which the library and its zip file are located.
Ensure that the pythoncom and pywintypes DLLs are found in the lib directory, not in the base directory.
Copy dependent files to the same directory as the file it depends on, not the root directory; also add a sample for PyQt5 to demonstrate its correct use.

Version 5.1:
Use fixed library location on all platforms; should correct the error “no module named __startup__”.
Correct sqlite3 hook for use in Python 2.7.
Correct usage of scipy.lib.
Correct handling of __path__ attribute in module.
Fix gevent bug 42.
Droppped support for Python 3.4.
2018-02-09 08:04:41 +00:00
jdolecek
7b39c84375 Add upstream bug report number for the libgcc part of patch too
Thanks Jonathan for elaboration of why it's necessary.
2018-02-09 00:01:13 +00:00
jdolecek
f88f94cca8 note configure meta_ccld was reported upstream as #75940 2018-02-08 21:50:55 +00:00
jdolecek
3123663b49 drop patch removing pthread checks for apache <2.4.1 module build
the patch predates php56, doesn't seem to be necessary when building
with apache22, and we want to reduce diffs against upstream; maybe
that part was needed with distant past with apache 1.3 or whatnot,
but that is not in pkgsrc any more
2018-02-08 21:23:04 +00:00
jdolecek
75a44c8ee3 remove part of configure patch related to sqlite3
the part of the patch is not needed anymore, we use external sqlite3 lib,
and the patch was for the bundled sqlite3 build
2018-02-08 20:55:42 +00:00
bsiegert
66aa33f03a Update Go to 1.9.4.
By using the clang or gcc plugin mechanism, it was possible for an attacker to
trick the “go get” command into executing arbitrary code. The go command now
restricts the set of allowed host compiler and linker arguments in cgo source
files to a list of allowed flags, in particular disallowing -fplugin= and
-plugin=.

The issue is CVE-2018-6574 and Go issue golang.org/issue/23672. See the Go
issue for details.

Thanks to Christopher Brown of Mattermost for reporting this problem.
2018-02-08 19:32:17 +00:00
jperkin
b7fb739101 php: Remove LIBTOOL_OVERRIDE=YES.
This was added 8 years ago intending to ensure pkgsrc libtool was used, except
it actually did the opposite.  By default we will try to replace any script
named "libtool" up to the override depth.  Setting LIBTOOL_OVERRIDE changes
the behaviour to instead override the list of filenames specified by the
LIBTOOL_OVERRIDE variable.  Thus we were trying to replace any file named
"YES" instead of "libtool".

Noticed by SmartOS/clang builds of php-intl which were using the supplied
broken libtool script instead of the correct pkgsrc one.
2018-02-07 16:14:36 +00:00
joerg
080ce9fdf1 Belatedly bump requirement. 4.0 and 5.0 are not API (nor ABI)
compatible.
2018-02-07 12:10:21 +00:00
jperkin
5ea8abc68a eieio: Use default EMACS_VERSIONS_ACCEPTED. 2018-02-06 16:36:44 +00:00
leot
e7e7e6c442 py34-html-docs: Update py34-html-docs to 3.4.8
Changes:
Sync py34-html-docs to current python34 version (no changes regarding
documentation in the 3.4.8 changelog).
2018-02-06 10:12:05 +00:00
adam
c1c82f687a python34: updated to 3.4.8
3.4.8:
This is a bug-fix release.
2018-02-05 17:35:12 +00:00
adam
3bf432e517 python35: updated to 3.5.5
3.5.5:
This is a bug-fix release.
2018-02-05 17:34:18 +00:00
jperkin
592403252e php7*: Standardise on major.minor.99 usage in buildlink3.mk
With the introduction of beta and rc releases of php7* into pkgsrc the pattern
matching is often incorrect (for example the current version of php-7.1.0rc6
breaks both <7.1.0 and >=7.1.0).  Using .99 is not ideal but does at least
avoid the confusion developers seem to be having with the pmatch ordering.
2018-02-05 11:21:56 +00:00
jdolecek
90dc8d854a Switch lang/php72 to use pkgsrc pcre library instead of the bundled one
PHP bundles it's own copy of pcre 8.41 with the distribution, which
is used when build doesn't find system one. Switch to the pkgsrc
pcre, so that we don't need to maintain local PHP JIT patch here.
Upcoming PHP 7.3 already switched to pcre2, so no value maintaining
private PCRE patch any more (if there ever was).

XXX devel/pcre doesn't seem to enable PCRE JIT, might be good to do so
2018-02-05 08:51:25 +00:00
jdolecek
1bb0fc7874 Switch php72 to use pkgsrc sqlite3 library instead of the bundled one
PHP bundles a sqlite3 lib, it's used when the build can't find
system one. Switch to the pkgsrc-provided one, eliminating also
need to maintain a local patch for it. While here make this into a
tunable compile option 'sqlite3', by default on, same as before.
2018-02-04 16:19:00 +00:00
jdolecek
6f090e8853 note upstream bug report numbers for two more patches 2018-02-04 15:38:41 +00:00
jdolecek
e735e6c56f adjust wording - php70 is actually on regular security fixes only support 2018-02-04 11:37:53 +00:00
jdolecek
33cbfa4283 note a planned End of Life for support of PHP 5.6.x and PHP 7.0.x
Those releases will stop getting official support on Dec 31 2018 and
Dec 3 2018 respectively, and they should be removed from pkgsrc by then.
2018-02-04 11:35:39 +00:00
kamil
a89e09d9ed Added lang/pc-lisp 2018-02-03 20:28:28 +00:00
kamil
946d49d3a1 pc-lisp: Remove unwanted sentence from DESCR 2018-02-03 20:27:31 +00:00
kamil
7af7f94243 lang/pc-lisp: import pc-lisp-6.0
PC-LISP is a small implementation of LISP for just about any machine with a
good C compiler. This manual is biased towards the UNIX and MS-DOS versions.

While small, it is capable of running a pretty good subset of Franz LISP.
The functions are supposed to perform in the same way as Franz with a few
exceptions made for effeciencies sake.
2018-02-03 20:26:31 +00:00
adam
21768eb197 Removed mpc patches as these are not needed with newer mpc(omplex) 2018-02-03 19:30:46 +00:00
adam
14e059e1ea tcl: updated to 8.6.8
8.6.8:
[array names -regexp] supports backrefs
Fix gcc build failures due to #pragma placement
(bug)[b50fb2] exec redir append stdout and stderr to file
(bug)[2a9465] http state 100 continue handling broken
(bug)[0e4d88] replace command, delete trace kills namespace
(bug)[1a5655] [info * methods] includes mixins
tzdata updated to Olson's tzdata2017c
(bug)[fc1409] segfault in method cloning, oo-15.15
(bug)[6f2f83] More robust [load] for ReactOS
(bug)[3298012] Stop crash when hash tables overflow 32 bits
(bug)[5d6de6] Close failing case of [package prefer stable]
(bug)[fab924] Fix misleading [load] message on Windows
(bug)[4f6a1e] Crash when ensemble map and list are same
(bug)[ce3a21] file normalize failure when tail is empty
(new)[TIP 477] nmake build system reform
(bug)[586e71] EvalObjv exception handling at level 0
2018-02-03 17:51:19 +00:00
kamil
5223fe6c0c Add lang/zenlisp 2018-02-03 17:31:45 +00:00
kamil
785028a062 lang/zenlisp: import zenlisp-0.0.20131122
Interpreter for purely symbolic, pure, lexically scoped dialect of LISP

Zenlisp is an interpreter for a purely symbolic, side effect-free,
lexically scoped dialect of LISP.  It may be considered an
implementation of pure LISP plus global definitions.

Zenlisp is derived from ArrowLISP.
2018-02-03 17:28:53 +00:00
jdolecek
58766f2a48 Update lang/php71 to php 7.1.14
Changes since 7.1.13:

Core:
Fixed bug #75679 (Path 260 character problem).
Fixed bug #75786 (segfault when using spread operator on generator passed by reference).
Fixed bug #75799 (arg of get_defined_functions is optional).
Fixed bug #75396 (Exit inside generator finally results in fatal error).
Fixed bug #75079 (self keyword leads to incorrectly generated TypeError when in closure in trait).

FCGI:
Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false).

IMAP:
Fixed bug #75774 (imap_append HeapCorruction).

Opcache:
Fixed bug #75720 (File cache not populated after SHM runs full).
Fixed bug #75579 (Interned strings buffer overflow may cause crash).

PGSQL:
Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach).
Readline:
Fixed bug #75775 (readline_read_history segfaults with empty file).

SAPI:
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry).

SOAP:
Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used).
Fixed bug #75502 (Segmentation fault in zend_string_release).

SPL:
Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference).
Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class).
Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties).

Standard:
Fixed bug #75781 (substr_count incorrect result).
2018-02-02 12:53:39 +00:00
jdolecek
f5d8d1a9a5 Update php72 to php 7.2.2
Changes since 7.2.1:

Core:
Fixed bug #75742 (potential memleak in internal classes's static members).
Fixed bug #75679 (Path 260 character problem).
Fixed bug #75614 (Some non-portable == in shell scripts).
Fixed bug #75786 (segfault when using spread operator on generator passed by reference).
Fixed bug #75799 (arg of get_defined_functions is optional).
Fixed bug #75396 (Exit inside generator finally results in fatal error).

FCGI:
Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false).

IMAP:
Fixed bug #75774 (imap_append HeapCorruction).

Opcache:
Fixed bug #75720 (File cache not populated after SHM runs full).
Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
Fixed bug #75698 (Using @ crashes php7.2-fpm).
Fixed bug #75579 (Interned strings buffer overflow may cause crash).

PDO:
Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin).

PDO MySQL:
Fixed bug #75615 (PDO Mysql module can't be built as module).

PGSQL:
Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach).
Readline:
Fixed bug #75775 (readline_read_history segfaults with empty file).

SAPI:
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry).

SOAP:
Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used).
Fixed bug #75502 (Segmentation fault in zend_string_release).

SPL:
Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference).
Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class).
Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties).
Standard:
Fixed bug #75781 (substr_count incorrect result).
Fixed bug #75653 (array_values don't work on empty array).

Zip:
Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1).
2018-02-02 12:50:38 +00:00