pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/kore kore: update to 4.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03f52e707a7a
branches:  trunk
changeset: 375645:03f52e707a7a
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Sat Mar 19 08:51:46 2022 +0000

description:
kore: update to 4.2.0.

Changes:

- Removed OpenSSL 1.0.2 support.
- TLS 1.3 is now the default for tls_version.
- Fixed support for Python 3.10 and higher.
- Kore ships with the ffdhe4096 DH parameters.
- Changed the routing configuration context.
- JSON API error handling functions no longer take a kore_json context as
  parameter.
- Removed stale out-of-date examples.
- Changed the way the workers log to the parent process.
- Changed kore.domain() and kore.server() for Python API, name is now a
  keyword, if omitted defaults to "default".
- Added new HTTP APIs for obtaining headers as native C types.
- http_state_create() no longer takes an onfree callback.
- Updated log levels in the ACME process.
- New logfile configuration option, allowing all Kore logs to go to the given
  file instead of stdout.
- New kodev commands: cflags, ldflags and gen.
- New TLS_BACKEND option to compile without TLS.
- New privsep configuration context.
- New @kore.route("url", methods=[]) decorator in Python API.
- New http_response_json() API function.
- New http_response_close() API function.
- New kore_signal_trap() API function.
- New kore_worker_signal() API hook.
- New kore.connection.x509dict in Python API.
- New koreapp.workerstop, koreapp.workerstart hooks for Python.
- New kore.task_id() for Python, returning current coroutine ID.
- New kore.sigtrap() for Python, trapping a given signal.
- New kore.privsep() for Python, for setting up the new privsep
  configuration.
- New curlopt keyword for kore.httpclient, allowing setting of specific curl
  options directly into it.
- New TARGET_PLATFORM environment variable for cross building Linux.
- New on_body, on_headers and on_free route handlers.
- New kore_mem_zero() function.
- New http.protocol() for Python API.
- Removed run_as and root configuration options.
- Removed keymgr_runas and keymgr_root configuration options.
- Removed acme_runas and acme_root configuration options.
- Added ability for parent to send messages via the msg framework to workers.
- Added several new system calls to seccomp whitelist filters.
- Added support for overriding previously set headers with
  http_response_header().
- Added support for 100 in http_response_* APIs.
- Added new "docker" deployment target for Python.
- Updated the pgsql code to understand PGRES_PIPELINE_SYNC and
  PGRES_PIPELINE_ABORTED.
- Modified Kore child handling code to wait for processes in its worker
  process group.
- And much more..

Bug fixes:

- All kore_pool elements are now always properly aligned on a boundary of 8.
- execve() now takes an environment pointer instead of NULL.
- Fixed a problem in kore.socket.recvfrom() Python API.
- Fixed several wrong log messages while parsing configuration.
- Fixed a bug in the kore_http client related to OPTIONS and DELETE methods.
- Fixed potential uninitialised parameter in accesslog.
- Fixed small bugs in several examples.
- Fix bug in several kore_json_create_*() API functions with regards to
  variadic arguments.
- Fixed dependencies in the Kore Makefile.
- Fixed how Kore obtains paths to openssl on Mac platforms.

diffstat:

 www/kore/Makefile                     |   5 ++---
 www/kore/PLIST                        |  17 +++++++++++++++--
 www/kore/distinfo                     |  12 ++++++------
 www/kore/patches/patch-Makefile       |   6 +++---
 www/kore/patches/patch-kodev_Makefile |   6 +++---
 5 files changed, 29 insertions(+), 17 deletions(-)

diffs (130 lines):

diff -r d2b9c3546255 -r 03f52e707a7a www/kore/Makefile
--- a/www/kore/Makefile Sat Mar 19 08:47:35 2022 +0000
+++ b/www/kore/Makefile Sat Mar 19 08:51:46 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2022/03/02 14:06:00 fcambus Exp $
+# $NetBSD: Makefile,v 1.17 2022/03/19 08:51:46 fcambus Exp $
 
-DISTNAME=      kore-4.1.0
-PKGREVISION=   3
+DISTNAME=      kore-4.2.0
 CATEGORIES=    www
 MASTER_SITES=  https://kore.io/releases/
 
diff -r d2b9c3546255 -r 03f52e707a7a www/kore/PLIST
--- a/www/kore/PLIST    Sat Mar 19 08:47:35 2022 +0000
+++ b/www/kore/PLIST    Sat Mar 19 08:51:46 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/04/07 09:17:09 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/03/19 08:51:46 fcambus Exp $
 bin/kodev
 bin/kore
 bin/kore-serve
@@ -12,11 +12,14 @@
 include/kore/python_api.h
 include/kore/python_methods.h
 include/kore/seccomp.h
+include/kore/sha1.h
+include/kore/sha2.h
 include/kore/tasks.h
 man/man1/kodev.1
 share/kore/Makefile
 share/kore/RELEASE
 share/kore/features
+share/kore/ffdhe4096.pem
 share/kore/include/kore/acme.h
 share/kore/include/kore/curl.h
 share/kore/include/kore/hooks.h
@@ -27,9 +30,13 @@
 share/kore/include/kore/python_api.h
 share/kore/include/kore/python_methods.h
 share/kore/include/kore/seccomp.h
+share/kore/include/kore/sha1.h
+share/kore/include/kore/sha2.h
 share/kore/include/kore/tasks.h
+share/kore/linker
 share/kore/misc/curl-extract-opt.sh
 share/kore/misc/curl/python_curlopt.h
+share/kore/misc/ffdhe4096.pem
 share/kore/misc/kore-build/build-curl.sh
 share/kore/misc/kore-build/build-kodev.sh
 share/kore/misc/kore-build/build-kore.sh
@@ -57,9 +64,10 @@
 share/kore/src/http.c
 share/kore/src/json.c
 share/kore/src/jsonrpc.c
-share/kore/src/keymgr.c
+share/kore/src/keymgr_openssl.c
 share/kore/src/kore.c
 share/kore/src/linux.c
+share/kore/src/log.c
 share/kore/src/mem.c
 share/kore/src/module.c
 share/kore/src/msg.c
@@ -67,10 +75,15 @@
 share/kore/src/pgsql.c
 share/kore/src/pool.c
 share/kore/src/python.c
+share/kore/src/route.c
 share/kore/src/runtime.c
 share/kore/src/seccomp.c
+share/kore/src/sha1.c
+share/kore/src/sha2.c
 share/kore/src/tasks.c
 share/kore/src/timer.c
+share/kore/src/tls_none.c
+share/kore/src/tls_openssl.c
 share/kore/src/utils.c
 share/kore/src/validator.c
 share/kore/src/websocket.c
diff -r d2b9c3546255 -r 03f52e707a7a www/kore/distinfo
--- a/www/kore/distinfo Sat Mar 19 08:47:35 2022 +0000
+++ b/www/kore/distinfo Sat Mar 19 08:51:46 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2022/02/21 10:27:46 fcambus Exp $
+$NetBSD: distinfo,v 1.9 2022/03/19 08:51:46 fcambus Exp $
 
-BLAKE2s (kore-4.1.0.tar.gz) = 1e3aa4a67499cc1379b433edc0de2fa59ff2e8369f54362e300de240620fe2a9
-SHA512 (kore-4.1.0.tar.gz) = 1d63339d31997afc0be7e13a52414da6ad2603d94cfe8473d08bcaa1541a358af8ee3f6dffe24e892616c1a57f04227c45743eec3c1ecb55f2dbef17bf18a004
-Size (kore-4.1.0.tar.gz) = 1068382 bytes
-SHA1 (patch-Makefile) = 83da2bb0dde7f33c53ad16710abcc7c906709e7a
-SHA1 (patch-kodev_Makefile) = 0c326f98852777489d639f080915c5f1ab100d4f
+BLAKE2s (kore-4.2.0.tar.gz) = d5b52bbf36694d9d08203feab0f8bcd55557929e5a0e1ac0c54d4a1474f952bb
+SHA512 (kore-4.2.0.tar.gz) = d15dbfa31c57387221473b9d388b7d624f6bc7e68e0ac5ab5050a9d124985fe7d8a4089d716f2605bb71f1fc879d651f6acf2e0af23e05317611a904842106ef
+Size (kore-4.2.0.tar.gz) = 1085206 bytes
+SHA1 (patch-Makefile) = 15bd43f4460e6db0b34f9a16f2a262c94c002278
+SHA1 (patch-kodev_Makefile) = b47802614534567a1cfe3eba37bdcb620f24abd1
diff -r d2b9c3546255 -r 03f52e707a7a www/kore/patches/patch-Makefile
--- a/www/kore/patches/patch-Makefile   Sat Mar 19 08:47:35 2022 +0000
+++ b/www/kore/patches/patch-Makefile   Sat Mar 19 08:51:46 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile,v 1.3 2020/09/09 09:19:35 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.4 2022/03/19 08:51:46 fcambus Exp $
 
 Remove hardcoded optimizations.
 
---- Makefile.orig      2020-08-26 07:20:35.000000000 +0000
+--- Makefile.orig      2022-03-18 20:06:33.000000000 +0000
 +++ Makefile
-@@ -48,8 +49,6 @@ endif
+@@ -67,8 +67,6 @@ endif
  
  ifneq ("$(NOOPT)", "")
        CFLAGS+=-O0
diff -r d2b9c3546255 -r 03f52e707a7a www/kore/patches/patch-kodev_Makefile
--- a/www/kore/patches/patch-kodev_Makefile     Sat Mar 19 08:47:35 2022 +0000
+++ b/www/kore/patches/patch-kodev_Makefile     Sat Mar 19 08:51:46 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-kodev_Makefile,v 1.4 2022/02/21 10:27:46 fcambus Exp $
+$NetBSD: patch-kodev_Makefile,v 1.5 2022/03/19 08:51:46 fcambus Exp $
 
 Remove hardcoded optimizations.
 
---- kodev/Makefile.orig        2020-08-26 07:20:35.000000000 +0000
+--- kodev/Makefile.orig        2022-03-18 20:06:33.000000000 +0000
 +++ kodev/Makefile
-@@ -16,8 +17,6 @@ LDFLAGS=-lcrypto
+@@ -17,8 +17,6 @@ LDFLAGS=-lcrypto
  
  ifneq ("$(NOOPT)", "")
        CFLAGS+=-O0



Home | Main Index | Thread Index | Old Index