git: de523e27a06b - main - devel/kore: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 20:42:52 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de523e27a06b24d43cacc2635e3207a6c0620e9b

commit de523e27a06b24d43cacc2635e3207a6c0620e9b
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-02-04 20:42:46 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-02-04 20:42:46 +0000

    devel/kore: Remove expired port
    
    2025-01-31 devel/kore: Unmaintained in tree for years and broken for months
---
 MOVED                                              |  1 +
 devel/Makefile                                     |  1 -
 devel/kore/Makefile                                | 66 ----------------
 devel/kore/distinfo                                |  3 -
 devel/kore/files/patch-Makefile                    | 49 ------------
 devel/kore/files/patch-kodev_Makefile              | 24 ------
 devel/kore/files/patch-src_cli.c                   | 11 ---
 devel/kore/files/patch-src_python.c                | 11 ---
 .../files/patch-tools_kore-serve_conf_build.conf   | 10 ---
 devel/kore/pkg-descr                               |  6 --
 devel/kore/pkg-plist                               | 88 ----------------------
 11 files changed, 1 insertion(+), 269 deletions(-)

diff --git a/MOVED b/MOVED
index 6578142a9853..f074cdba29f7 100644
--- a/MOVED
+++ b/MOVED
@@ -4124,3 +4124,4 @@ x11-toolkits/qml-box2d@qt6|x11-toolkits/qml-box2d|2025-02-03|Unflavorize port, a
 databases/mysql90-client|databases/mysql91-client|2025-02-04|Has expired: MySQL 9.0 is no longer supported by the vendor
 databases/mysql90-server|databases/mysql91-server|2025-02-04|Has expired: MySQL 9.0 is no longer supported by the vendor
 textproc/docproj-legacy|textproc/docproj|2025-02-04|Has expired: Old version of documentation set
+devel/kore||2025-02-04|Has expired: Unmaintained in tree for years and broken for months
diff --git a/devel/Makefile b/devel/Makefile
index 5797edbf042d..13054ac93412 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1172,7 +1172,6 @@
     SUBDIR += kokkos
     SUBDIR += kommit
     SUBDIR += kopeninghours
-    SUBDIR += kore
     SUBDIR += kpublictransport
     SUBDIR += kronosnet
     SUBDIR += ksql
diff --git a/devel/kore/Makefile b/devel/kore/Makefile
deleted file mode 100644
index 3207950b0122..000000000000
--- a/devel/kore/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-PORTNAME=	kore
-DISTVERSION=	4.2.3
-PORTREVISION=	1
-CATEGORIES=	devel www
-MASTER_SITES=	https://kore.io/releases/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Web application framework for writing web APIs in C
-WWW=		http://www.kore.io/
-
-LICENSE=	ISCL
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BROKEN=		Fails to build, error: no member named 'gi_frame' in 'PyGenObject'
-DEPRECATED=	Unmaintained in tree for years and broken for months
-EXPIRATION_DATE=2025-01-31
-
-USES=		compiler:c11 gmake ssl
-
-MAKE_ARGS=	OPENSSL_PATH=${OPENSSLBASE}
-CFLAGS+=	-std=c11
-
-PORTEXAMPLES=	*
-
-OPTIONS_DEFINE=		ACME CURL DEBUG EXAMPLES HTTP JSONRPC PGSQL PYTHON \
-			TASKS TLS
-OPTIONS_DEFAULT=	ACME CURL HTTP JSONRPC PGSQL PYTHON TASKS TLS
-OPTIONS_SUB=		yes
-
-ACME_DESC=	Build with ACME support
-HTTP_DESC=	Build with HTTP support
-JSONRPC_DESC=	Build with JSON-RPC support
-TASKS_DESC=	Build with tasks support
-
-ACME_MAKE_ARGS=		ACME=1
-CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
-CURL_MAKE_ARGS=		CURL=1
-DEBUG_MAKE_ARGS=	DEBUG=1
-HTTP_MAKE_ARGS_OFF=	NOHTTP=1
-JSONRPC_IMPLIES=	HTTP
-JSONRPC_LIB_DEPENDS=	libyajl.so:devel/yajl
-JSONRPC_MAKE_ARGS=	JSONRPC=1
-PGSQL_IMPLIES=		HTTP
-PGSQL_USES=		pgsql
-PGSQL_MAKE_ARGS=	PGSQL=1
-PYTHON_USES=		gettext-runtime python
-PYTHON_MAKE_ARGS=	PYTHON=1
-PYTHON_BINARY_ALIAS=	python3-config=${PYTHON_CMD}-config
-TASKS_MAKE_ARGS=	TASKS=1
-TLS_MAKE_ARGS_OFF=	NOTLS=1
-
-pre-configure:
-	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}/|g' \
-		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} 's|%%OPENSSLINC%%|${OPENSSLINC}|g' \
-		${WRKSRC}/src/cli.c
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kodev \
-		${STAGEDIR}${PREFIX}/bin/kore
-
-post-install-EXAMPLES-on:
-	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-	@cd ${WRKSRC}/conf && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/devel/kore/distinfo b/devel/kore/distinfo
deleted file mode 100644
index 81ab785522ef..000000000000
--- a/devel/kore/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1693422665
-SHA256 (kore-4.2.3.tar.gz) = f9a9727af97441ae87ff9250e374b9fe3a32a3348b25cb50bd2b7de5ec7f5d82
-SIZE (kore-4.2.3.tar.gz) = 1085717
diff --git a/devel/kore/files/patch-Makefile b/devel/kore/files/patch-Makefile
deleted file mode 100644
index 6ff3989fb674..000000000000
--- a/devel/kore/files/patch-Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
---- Makefile.orig	2022-08-22 11:18:44 UTC
-+++ Makefile
-@@ -31,9 +31,9 @@ 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+=-Wsign-compare -Iinclude/kore -I$(OBJDIR) -pedantic
- CFLAGS+=-Wtype-limits -fno-common
- CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all
- 
-@@ -66,12 +66,6 @@ ifneq ("$(DEBUG)", "")
- 	FEATURES+=-DKORE_DEBUG
- endif
- 
--ifneq ("$(NOOPT)", "")
--	CFLAGS+=-O0
--else
--	CFLAGS+=-O2
--endif
--
- ifneq ("$(NOSENDFILE)", "")
- 	CFLAGS+=-DKORE_NO_SENDFILE
- endif
-@@ -120,8 +114,8 @@ endif
- 
- OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
- ifeq ("$(OSNAME)", "freebsd")
--	KORE_CURL_LIB=-L/usr/local/lib -lcurl
--	KORE_CURL_INC=-I/usr/local/include
-+	KORE_CURL_LIB=-L%%LOCALBASE%%/lib -lcurl
-+	KORE_CURL_INC=-I%%LOCALBASE%%/include
- endif
- 
- ifneq ("$(ACME)", "")
-@@ -161,8 +155,8 @@ else ifeq ("$(OSNAME)", "linux")
- else
- 	S_SRC+=src/bsd.c
- 	ifneq ("$(JSONRPC)", "")
--		CFLAGS+=-I/usr/local/include
--		LDFLAGS+=-L/usr/local/lib
-+		CFLAGS+=-I%%LOCALBASE%%/include
-+		LDFLAGS+=-L%%LOCALBASE%%/lib
- 	endif
- endif
- 
diff --git a/devel/kore/files/patch-kodev_Makefile b/devel/kore/files/patch-kodev_Makefile
deleted file mode 100644
index baa8e5315099..000000000000
--- a/devel/kore/files/patch-kodev_Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
---- kodev/Makefile.orig	2022-08-22 11:18:44 UTC
-+++ kodev/Makefile
-@@ -9,17 +9,11 @@ INSTALL_DIR=$(PREFIX)/bin
- 
- S_SRC=	../src/cli.c
- 
--CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
-+CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes
- CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
--CFLAGS+=-Wsign-compare -Iincludes -std=c99 -pedantic
--CFLAGS+=-DPREFIX='"$(PREFIX)"'
--LDFLAGS=-lcrypto
--
--ifneq ("$(NOOPT)", "")
--	CFLAGS+=-O0
--else
--	CFLAGS+=-O2
--endif
-+CFLAGS+=-Wsign-compare -Iincludes -pedantic
-+CFLAGS+=-DPREFIX='"$(PREFIX)"' -I$(OPENSSL_PATH)/include
-+LDFLAGS+=-L$(OPENSSL_PATH)/lib -lcrypto
- 
- ifneq ("$(MINIMAL)", "")
- 	CFLAGS+=-DKODEV_MINIMAL
diff --git a/devel/kore/files/patch-src_cli.c b/devel/kore/files/patch-src_cli.c
deleted file mode 100644
index fb0ba4393640..000000000000
--- a/devel/kore/files/patch-src_cli.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/cli.c.orig	2022-08-22 11:18:44 UTC
-+++ src/cli.c
-@@ -867,6 +867,8 @@ cli_ldflags(int argc, char **argv)
- 	cli_kore_load_file("linker", NULL, &p, &len);
- 	printf("%.*s ", (int)len, p);
- 
-+	printf("-I%%OPENSSLINC%% ");
-+
- #if defined(__MACH__)
- 	printf("-dynamiclib -undefined suppress -flat_namespace ");
- #else
diff --git a/devel/kore/files/patch-src_python.c b/devel/kore/files/patch-src_python.c
deleted file mode 100644
index 1df8f209a100..000000000000
--- a/devel/kore/files/patch-src_python.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/python.c.orig	2023-11-17 22:08:08 UTC
-+++ src/python.c
-@@ -4828,7 +4828,7 @@ pyhttp_iterobj_next(struct pyhttp_iterobj *iterobj)
- 	}
- 
- 	kore_buf_reset(&iterobj->buf);
--	kore_buf_appendf(&iterobj->buf, "%lx\r\n", length);
-+	kore_buf_appendf(&iterobj->buf, "%zx\r\n", length);
- 	kore_buf_append(&iterobj->buf, ptr, length);
- 	kore_buf_appendf(&iterobj->buf, "\r\n");
- 
diff --git a/devel/kore/files/patch-tools_kore-serve_conf_build.conf b/devel/kore/files/patch-tools_kore-serve_conf_build.conf
deleted file mode 100644
index be1d1dc8c9a0..000000000000
--- a/devel/kore/files/patch-tools_kore-serve_conf_build.conf
+++ /dev/null
@@ -1,10 +0,0 @@
---- tools/kore-serve/conf/build.conf.orig	2022-08-22 11:18:44 UTC
-+++ tools/kore-serve/conf/build.conf
-@@ -2,7 +2,6 @@ single_binary=yes
- kore_source=../../
- kore_flavor=NOTLS=1
- 
--cflags=-std=c99 -Werror
- cflags=-Wall -Wmissing-declarations -Wshadow
- cflags=-Wstrict-prototypes -Wmissing-prototypes
- cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
diff --git a/devel/kore/pkg-descr b/devel/kore/pkg-descr
deleted file mode 100644
index c9e7cc4a8e24..000000000000
--- a/devel/kore/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-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.
diff --git a/devel/kore/pkg-plist b/devel/kore/pkg-plist
deleted file mode 100644
index d71588b75216..000000000000
--- a/devel/kore/pkg-plist
+++ /dev/null
@@ -1,88 +0,0 @@
-bin/kodev
-bin/kore
-include/kore/acme.h
-include/kore/curl.h
-include/kore/hooks.h
-include/kore/http.h
-include/kore/jsonrpc.h
-include/kore/kore.h
-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
-share/man/man1/kodev.1.gz
-%%DATADIR%%/features
-%%DATADIR%%/ffdhe4096.pem
-%%DATADIR%%/include/kore/acme.h
-%%DATADIR%%/include/kore/curl.h
-%%DATADIR%%/include/kore/hooks.h
-%%DATADIR%%/include/kore/http.h
-%%DATADIR%%/include/kore/jsonrpc.h
-%%DATADIR%%/include/kore/kore.h
-%%DATADIR%%/include/kore/pgsql.h
-%%DATADIR%%/include/kore/python_api.h
-%%DATADIR%%/include/kore/python_methods.h
-%%DATADIR%%/include/kore/seccomp.h
-%%DATADIR%%/include/kore/sha1.h
-%%DATADIR%%/include/kore/sha2.h
-%%DATADIR%%/include/kore/tasks.h
-%%DATADIR%%/linker
-%%DATADIR%%/Makefile
-%%DATADIR%%/misc/curl-extract-opt.sh
-%%DATADIR%%/misc/curl/python_curlopt.h
-%%DATADIR%%/misc/ffdhe4096.pem
-%%DATADIR%%/misc/kore-build/build-curl.sh
-%%DATADIR%%/misc/kore-build/build-kodev.sh
-%%DATADIR%%/misc/kore-build/build-kore.sh
-%%DATADIR%%/misc/kore-build/build-nghttp2.sh
-%%DATADIR%%/misc/kore-build/build-openssl.sh
-%%DATADIR%%/misc/kore-build/build-python.sh
-%%DATADIR%%/misc/kore-build/helpers.sh
-%%DATADIR%%/misc/linux-platform.sh
-%%DATADIR%%/misc/linux/aarch64_syscall.h.in
-%%DATADIR%%/misc/linux/arm_syscall.h.in
-%%DATADIR%%/misc/linux/x86_64_syscall.h.in
-%%DATADIR%%/misc/python3-config.sh
-%%DATADIR%%/RELEASE
-%%DATADIR%%/src/accesslog.c
-%%DATADIR%%/src/acme.c
-%%DATADIR%%/src/auth.c
-%%DATADIR%%/src/bsd.c
-%%DATADIR%%/src/buf.c
-%%DATADIR%%/src/cli.c
-%%DATADIR%%/src/config.c
-%%DATADIR%%/src/connection.c
-%%DATADIR%%/src/curl.c
-%%DATADIR%%/src/domain.c
-%%DATADIR%%/src/filemap.c
-%%DATADIR%%/src/fileref.c
-%%DATADIR%%/src/http.c
-%%DATADIR%%/src/json.c
-%%DATADIR%%/src/jsonrpc.c
-%%DATADIR%%/src/keymgr_openssl.c
-%%DATADIR%%/src/kore.c
-%%DATADIR%%/src/linux.c
-%%DATADIR%%/src/log.c
-%%DATADIR%%/src/mem.c
-%%DATADIR%%/src/module.c
-%%DATADIR%%/src/msg.c
-%%DATADIR%%/src/net.c
-%%DATADIR%%/src/pgsql.c
-%%DATADIR%%/src/pool.c
-%%DATADIR%%/src/python.c
-%%DATADIR%%/src/route.c
-%%DATADIR%%/src/runtime.c
-%%DATADIR%%/src/seccomp.c
-%%DATADIR%%/src/sha1.c
-%%DATADIR%%/src/sha2.c
-%%DATADIR%%/src/tasks.c
-%%DATADIR%%/src/timer.c
-%%DATADIR%%/src/tls_none.c
-%%DATADIR%%/src/tls_openssl.c
-%%DATADIR%%/src/utils.c
-%%DATADIR%%/src/validator.c
-%%DATADIR%%/src/websocket.c
-%%DATADIR%%/src/worker.c