head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.22 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.20 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.18 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.16 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.14 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.12 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.10 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.8 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.6 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.4 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.2 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.4.0.12 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.10 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.8 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.6 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.4 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.2 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.3.0.12 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.10 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.8 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.6 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.4 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.2 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.1.0.8 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.4 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2023.09.02.07.10.27; author nia; state Exp; branches; next 1.4; commitid qaJJTKPpOB5OiaDE; 1.4 date 2022.03.19.08.51.46; author fcambus; state Exp; branches; next 1.3; commitid WudkC2iKFsZLXNwD; 1.3 date 2020.09.09.09.19.35; author fcambus; state Exp; branches; next 1.2; commitid dvKZ5Cs5mPLkZlnC; 1.2 date 2020.09.01.19.25.00; author fcambus; state Exp; branches; next 1.1; commitid YPYXIqPWFXF0BnmC; 1.1 date 2019.08.22.13.30.31; author fcambus; state Exp; branches; next ; commitid VCqfPyeANlmMI1AB; desc @@ 1.5 log @kore: Disable -Werror to help OpenSSL 3 builds. @ text @$NetBSD: patch-Makefile,v 1.4 2022/03/19 08:51:46 fcambus Exp $ Remove hardcoded optimizations. -Werror makes it impossible to compile with OpenSSL 3. --- Makefile.orig 2022-08-22 11:18:44.000000000 +0000 +++ Makefile @@@@ -31,7 +31,7 @@@@ S_SRC+= src/tls_$(TLS_BACKEND).c FEATURES= FEATURES_INC= -CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+=-Wsign-compare -Iinclude/kore -I$(OBJDIR) -std=c99 -pedantic CFLAGS+=-Wtype-limits -fno-common @@@@ -68,8 +68,6 @@@@ endif ifneq ("$(NOOPT)", "") CFLAGS+=-O0 -else - CFLAGS+=-O2 endif ifneq ("$(NOSENDFILE)", "") @ 1.4 log @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. @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 1 --- Makefile.orig 2022-03-18 20:06:33.000000000 +0000 d9 10 a18 1 @@@@ -67,8 +67,6 @@@@ endif @ 1.3 log @kore: update to 4.0.1. ChangeLog: This patch release fixes an issue with the accept lock and pulls in a few patches from NetBSD and OpenBSD ports to make maintainer life a little bit easier. Important changes: - Pull in NetBSD and OpenBSD ports patches - Only reset accept_avail if we actually grabbed the accept lock - Fixed building with multiple make jobs if PYTHON=1 was specified Small changes: - Added BEERS file - Fixed a few typos - Removed lingering x86 seccomp code (Linux) @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2020/09/01 19:25:00 fcambus Exp $ d5 1 a5 1 --- Makefile.orig 2020-08-26 07:20:35.000000000 +0000 d7 1 a7 1 @@@@ -48,8 +49,6 @@@@ endif @ 1.2 log @kore: update to 4.0.0. ChangeLog: - Fully priviledge seperated ACME support with Let's Encrypt or any compatible ACME provider. - A better way of writing Kore Python applications. - Full seccomp sandboxing for acme, keymgr and worker processes on Linux. - Ability to mix TLS and non-TLS servers in a single configuration. - Many improvements to the Python asynchronous runtime. - Configuration based redirection. - A complete builtin and easy to use JSON parser. - Several bug fixes and speed improvements. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Adapt install target for pkgsrc. a6 8 @@@@ -1,6 +1,7 @@@@ # Kore Makefile CC?=cc +DESTDIR?= PREFIX?=/usr/local OBJDIR?=obj KORE=kore a15 23 @@@@ -184,14 +183,14 @@@@ $(OBJDIR): @@mkdir -p $(OBJDIR) install: - mkdir -p $(SHARE_DIR) - mkdir -p $(INCLUDE_DIR) - mkdir -p $(INSTALL_DIR) - mkdir -p $(MAN_DIR)/man1 - install -m 644 share/man/kodev.1 $(MAN_DIR)/man1/kodev.1 - install -m 555 $(KORE) $(INSTALL_DIR)/$(KORE) - install -m 644 kore.features $(SHARE_DIR)/features - install -m 644 include/kore/*.h $(INCLUDE_DIR) + mkdir -p $(DESTDIR)$(SHARE_DIR) + mkdir -p $(DESTDIR)$(INCLUDE_DIR) + mkdir -p $(DESTDIR)$(INSTALL_DIR) + mkdir -p $(DESTDIR)$(MAN_DIR)/man1 + install -m 644 share/man/kodev.1 $(DESTDIR)$(MAN_DIR)/man1/kodev.1 + install -m 555 $(KORE) $(DESTDIR)$(INSTALL_DIR)/$(KORE) + install -m 644 kore.features $(DESTDIR)$(SHARE_DIR)/features + install -m 644 include/kore/*.h $(DESTDIR)$(INCLUDE_DIR) $(MAKE) -C kodev install uninstall: @ 1.1 log @www/kore: import kore-3.3.1. Kore is an easy to use web application framework for writing scalable web APIs in C. Its main goals are security, scalability and allowing rapid development and deployment of such APIs. Because of this Kore is an ideal candidate for building robust, scalable and secure web things. OK kamil@@ @ text @d5 1 a5 1 --- Makefile.orig 2019-06-03 13:29:24.000000000 +0000 d15 1 a15 1 @@@@ -46,8 +47,6 @@@@ endif d24 1 a24 1 @@@@ -176,14 +175,14 @@@@ $(OBJDIR): @