6760 Commits

Author SHA1 Message Date
sthen
5e4370b64d bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:12 +00:00
sthen
4805e96969 switch default MODPY_DEFAULT_VERSION_3 to 3.9, ok kmos@ 2021-11-02 00:00:01 +00:00
sthen
7f0d1524e9 update notes on version switches 2021-11-01 17:16:23 +00:00
sthen
bc96ab094e simplify switching default Python versions, ok kmos@
Add a new SUBST_VARS variable that is set to "@comment " on
most Python versions, but is set to "" on the default one. This makes
it easier to swap between default versions because you don't need
to figure out which @comments should be kept and which should be moved.

While there I remove some existing lines with @comment markers for
files that are not created by any of our current Python ports:

@comment bin/pyvenv
@comment lib/libpython3.8m.so (etc)

The @comment -> ${PY_DEFAULTONLY} change doesn't affect the generated
PLISTs at all, so for that a REVISION bump is unnecessary, but removing
the pyvenv/libpython3.Xm.so does require a bump
2021-11-01 16:56:24 +00:00
semarie
fb3b1fe6f0 update lang/rust to 1.56.1
it adds lints for detecting some bidi characters which could be used to hide code in source file.

https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html
2021-11-01 15:40:58 +00:00
kmos
0bd996c76c Hook Python 3.10 into build and add the necessary bit to python.port.mk
to accept Python 3.10
2021-11-01 14:17:16 +00:00
kmos
856d7d22f1 Import Python 3.10.0
Much work done by tb@ who got the needed APIs into LibreSSL and
patched the crypto parts of Python 3.10 to work with it.

ok sthen@ daniel@
2021-11-01 14:16:09 +00:00
semarie
79cd170f73 update lang/rust to 1.56.0
Announce: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1560-2021-10-21

ok landry@
2021-11-01 08:17:24 +00:00
ajacoutot
9237601765 Update to vala-0.54.3. 2021-11-01 08:02:15 +00:00
landry
89cd0faf06 lang/python: stop leaking python build LDFLAGS/CFLAGS to python extensions build
right now the installed python retains paths to the python build objdir,
and also enforces -L/usr/local/lib when linking python shared extensions
(which might not be desired):

$python3 -m sysconfig|grep LDSH
        BLDSHARED = "cc -pthread -shared -fPIC -L/usr/local/lib/ -L/usr/obj/ports/Python-3.8.12/Python-3.8.12 -L/usr/local/lib/"
        LDSHARED = "cc -pthread -shared -fPIC -L/usr/local/lib/ -L/usr/obj/ports/Python-3.8.12/Python-3.8.12 -L/usr/local/lib/"

python 3.x provides LDFLAGS_NODIST/CFLAGS_NODIST to avoid that (cf
https://docs.python.org/3/using/configure.html#envvar-CONFIGURE_LDFLAGS_NODIST),
but sadly if we only use it (and remove CPPFLAGS/LDFLAGS pointing at
/usr/local from CONFIGURE_ENV), libintl/textdomain detection during
configure fails.

So, taking inspiration from freebsd PR181721, dont add
CONFIGURE_LDFLAGS/CONFIGURE_CPPFLAGS to PY_LDFLAGS/PY_CPPFLAGS.

extend CHANGES.OpenBSD to explain the change (reminded by sthen@).

went in a bulk build (thanks ajacoutot@!) with a single fallout
(devel/gdb) that will get fixed shortly.
2021-11-01 07:43:39 +00:00
landry
e09ade2ced go.port.mk: point TMPDIR at WRKBUILD via MAKE_ENV
this way, go ports will stop polluting /tmp with go-build${timestamp}
dirs, and should use WRKBUILD as intended.

went in a bulk build without fallout, thanks ajacoutot@
2021-11-01 07:25:42 +00:00
kmos
8b0df7e981 If MODPY_TEST_ARGS are set, default MODPY_PYTEST to Yes
Additionally add the elaborate lib.openbsd.... directory and lib to
PYTHONPATH when testing

Diff from sthen with small tweak from me
2021-11-01 03:55:31 +00:00
tb
89e9a397cc lang/pypy: fix build after libressl bump. Neuter API reimplementations
and do not try to redefine functions that we provide.
2021-10-31 17:16:48 +00:00
sthen
ba10c532f7 use the suffix part of DISTFILES "local{upstream}suffix" syntax to reduce
size of DISTFILES.

refactor MODGO_SETUP_WORKSPACE generation to avoid regex on DISTFILES,
instead build it up from module names to pass to a shell for loop, allowing
a big reduction in command line length.

parts from espie, parts from me
2021-10-30 21:05:15 +00:00
sthen
900ea7df72 backout previous, MODGO_SETUP_WORKSPACE setup is even more horrible than i remembered 2021-10-30 18:06:09 +00:00
sthen
24e57f1b94 make use of DISTFILES syntax properly to avoid duplicating
foobar/blahblahblahblah/@v/v0.0.0-20210123012345-abcdefghijjkl.zip
(x 1000+ for the average modern go port) on generated command lines
"yep" espie
2021-10-30 17:15:11 +00:00
ajacoutot
31ba6ffd2f Unbreak with ICU >= 70.1 2021-10-30 06:17:45 +00:00
kmos
4a88a35ac3 Python 3.9 needs the same fix as 3.8 in order to build wiht llvm 13.
Identical diff sent by jsg
2021-10-30 00:24:16 +00:00
jca
0b62f8247b Unbreak sqlports on archs that don't have lang/gcc support (riscv64)
Culprit found with help from espie@
2021-10-29 21:37:58 +00:00
espie
773e587f52 allow sqlports on arches where ports-gcc does not exist 2021-10-28 13:04:03 +00:00
kmos
7fe8f4911f Fix build for LLVM 13
LLVM 13 introduces the --print-multiarch option. OpenBSD isn't multi-arch,
but that option caused problems for the build anyway.

I neutralized those checks.
2021-10-26 23:30:08 +00:00
sthen
2a7143288b add some more bits about living with chroot 2021-10-26 15:11:13 +00:00
sthen
997adf2743 missed bump when I adjusted plists to merge 7.3 into 7.4, thanks aja@ 2021-10-26 11:15:39 +00:00
jca
256a630bda Mark this as broken on riscv64 (segfault at startup) 2021-10-26 10:41:01 +00:00
tb
023155883f lang/swi-prolog: Drop a few #if defined(LIBRESSL_VERSION_NUMBER) in
preparation for upcoming libcrypto bump.
2021-10-26 10:01:12 +00:00
jasper
10cc1c96bf - update to clojure-1.10.3.986
- drop maintainership

from Omar Polo
2021-10-25 18:54:00 +00:00
sthen
1645c2e515 remove php73 from FLAVORS list 2021-10-25 15:04:03 +00:00
jasper
e50ebd5588 update to vala-0.54.2 2021-10-25 14:48:36 +00:00
sthen
f611d84e40 drop php 7.3 from -current, although it is still officially in
security support it appears this is not really the case any more
https://bugs.php.net/bug.php?id=81026

add @pkgpaths to merge pecl-* etc across
mark www/syweb broken, it was marked 7.3-only so looks like it needs more work
other php-ish ports have a RDEP on either 7.4 (default version) or 8.0
2021-10-25 12:33:18 +00:00
daniel
a3e94c3ff4 update pcc to 20211015 2021-10-24 01:43:35 +00:00
sthen
b80a6e917f LDEP on libvorbis for vorbisfile, the LDEP previously came via
openal->libsamplerate but vorbisfile is needed directly in hashlink
2021-10-23 19:32:50 +00:00
sthen
955387a5de update to php-7.4.25, including a fix for https://bugs.php.net/bug.php?id=81026
PHP-FPM oob R/W in root process leading to privilege escalation
2021-10-23 08:37:23 +00:00
sthen
e208740827 update to php-8.0.12, including a fix for https://bugs.php.net/bug.php?id=81026
PHP-FPM oob R/W in root process leading to privilege escalation

(new releases for previous branches not yet available but they're all affected)
2021-10-22 09:00:41 +00:00
sthen
5e04194ebb with the last commit, dpb no longer _disliked_ what i was doing to handle
apache/embed subpackages, but it didn't really like it either because it
was getting removed by the BUILD_ONCE logic. instead use "embed" as a
pseudo flavour to switch it instead of "no_apache". ("bootstrap" doesn't
seem appropriate here as it's either/or rather than a bootstrap as such).
2021-10-22 08:42:01 +00:00
sthen
da8ddcdd5c dpb didn't like what i was trying to do with the embed and apache subpackages 2021-10-20 21:55:59 +00:00
sthen
a033b2fb2c rearrange the php ports a little so that the embedded SAPI modules
can be built (needed if we want to add nginx unit with php support).

while there patch to tweak a "minimum number of bits" check done for
openssl_pkey_new which A) only looks at openssl.cnf settings and PHP
code, ignoring that the TLS library sets a default length internally,
and B) also checks this when generating named curve EC keys,
resulting in a confusing bogus error message.
2021-10-20 20:45:58 +00:00
jturner
b9fa788240 Update janet to 1.18.1 2021-10-19 13:59:09 +00:00
gkoehler
631ea31585 Fix fibers in dlang; unbreak powerpc64; add D for powerpc64
Unbreak gcc 11 on powerpc64 by adding a missing header file
(gnu-user.h in patch-gcc_config_gcc).  Add PFRAG.powerpc64-main.

The other changes are for D.  Add powerpc64 to ONLY_FOR_ARCHS-dlang,
and add enough PPC64 code to build libphobos.  While adding fibers for
powerpc64, also fix fibers for 32-bit powerpc, and pass MAP_STACK to
mmap(2) for fibers on all archs.

ok pascal@ (maintainer)
2021-10-18 00:25:48 +00:00
bcallah
72f744ccd6 Enabling gdmd was a little too premature: it causes gcc-11 to hang out on
the build machines, which breaks many more important ports.
Switch dtools to build with dmd. This allows us to continue to offer the
package on at least amd64.
Comment out the gdmd line in lang/Makefile to make it clear this is
intentional. We will revisit gdmd once the ports world moves to gcc-11.
Found the hard way by tb@ -- apologies for the breakage
ok sthen@, who also mentioned the commenting out of gdmd in lang/Makefile
2021-10-17 01:43:18 +00:00
rsadowski
dd8653a827 Update node to 12.22.7
CVE-2021-22959, CVE-2021-22960
https://nodejs.org/en/blog/vulnerability/oct-2021-security-releases/

OK abieber@
2021-10-16 08:00:54 +00:00
jeremy
9b37b29fff Update to JRuby 9.3.1.0 2021-10-15 20:27:51 +00:00
bcallah
c3a5fa5db2 +gdmd 2021-10-14 03:45:51 +00:00
bcallah
67328c5b27 Import lang/gdmd, a dmd-like wrapper for gdc.
ok gkoehler@

gdmd is a DMD-like wrapper for GDC. It lets you use DMD-style command
line flags with GDC.
2021-10-14 03:45:11 +00:00
bcallah
8d9e234287 +dmd 2021-10-13 04:39:43 +00:00
bcallah
c7cd68b4c2 Import lang/dmd, the reference compiler for the D programming language.
ok gkoehler@

DMD is the reference compiler for the D programming language.
D is a general-purpose programming language with static typing,
systems-level access, and C-like syntax.

This package contains the following:
* dmd: the D compiler
* libphobos2.a: the D standard library (with headers)
2021-10-13 04:38:50 +00:00
jturner
ffd5e99ae7 Update janet to 1.18.0 2021-10-11 18:24:32 +00:00
phessler
bb6cda17f5 aarch64 fails during ./configure, and the trivial diffs end up failing
because of a missing "/usr/bin/as" binary
2021-10-10 13:52:19 +00:00
ajacoutot
07c69bcc9d Update to vala-0.52.6. 2021-10-08 19:10:15 +00:00
jeremy
8375548b03 Use @option is-branch for Ruby
Pointed out by espie@
OK espie@
2021-10-08 14:12:36 +00:00
jeremy
b57f6829a9 Update to JRuby 9.3.0.0
Update embedded version of jffi to 1.3.5 and jruby_launcher to 1.1.19.
2021-10-07 22:24:06 +00:00