pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/kore



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Sat Mar 19 08:51:46 UTC 2022

Modified Files:
        pkgsrc/www/kore: Makefile PLIST distinfo
        pkgsrc/www/kore/patches: patch-Makefile patch-kodev_Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/kore/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/kore/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/kore/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/kore/patches/patch-Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/kore/patches/patch-kodev_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/kore/Makefile
diff -u pkgsrc/www/kore/Makefile:1.16 pkgsrc/www/kore/Makefile:1.17
--- pkgsrc/www/kore/Makefile:1.16       Wed Mar  2 14:06:00 2022
+++ pkgsrc/www/kore/Makefile    Sat Mar 19 08:51:46 2022
@@ -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/
 

Index: pkgsrc/www/kore/PLIST
diff -u pkgsrc/www/kore/PLIST:1.4 pkgsrc/www/kore/PLIST:1.5
--- pkgsrc/www/kore/PLIST:1.4   Wed Apr  7 09:17:09 2021
+++ pkgsrc/www/kore/PLIST       Sat Mar 19 08:51:46 2022
@@ -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/pgsql.h
 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/pgsql.h
 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/fileref.c
 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/net.c
 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

Index: pkgsrc/www/kore/distinfo
diff -u pkgsrc/www/kore/distinfo:1.8 pkgsrc/www/kore/distinfo:1.9
--- pkgsrc/www/kore/distinfo:1.8        Mon Feb 21 10:27:46 2022
+++ pkgsrc/www/kore/distinfo    Sat Mar 19 08:51:46 2022
@@ -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

Index: pkgsrc/www/kore/patches/patch-Makefile
diff -u pkgsrc/www/kore/patches/patch-Makefile:1.3 pkgsrc/www/kore/patches/patch-Makefile:1.4
--- pkgsrc/www/kore/patches/patch-Makefile:1.3  Wed Sep  9 09:19:35 2020
+++ pkgsrc/www/kore/patches/patch-Makefile      Sat Mar 19 08:51:46 2022
@@ -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

Index: pkgsrc/www/kore/patches/patch-kodev_Makefile
diff -u pkgsrc/www/kore/patches/patch-kodev_Makefile:1.4 pkgsrc/www/kore/patches/patch-kodev_Makefile:1.5
--- pkgsrc/www/kore/patches/patch-kodev_Makefile:1.4    Mon Feb 21 10:27:46 2022
+++ pkgsrc/www/kore/patches/patch-kodev_Makefile        Sat Mar 19 08:51:46 2022
@@ -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