On 11/13 12:49, Mark Patruck wrote:
> As discussed, databases/postgresql-pllua is not maintained upstream,
> so delete it
>
> ok?
OK jeremy@
>
>
> Index: Makefile
> ===================================================================
> RCS file: Makefile
> diff -N Makefile
> --- Makefile 25 Nov 2025 12:54:44 -0000 1.27
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,43 +0,0 @@
> -COMMENT = Lua procedural language support for PostgreSQL
> -
> -VERSION = 2.0.12
> -GH_ACCOUNT = pllua
> -GH_PROJECT = pllua
> -GH_TAGNAME = REL_${VERSION:S/./_/g}
> -PKGNAME = postgresql-pllua-${VERSION}
> -REVISION = 1
> -
> -SITES.p = https://github.com/pllua/pllua/commit/
> -PATCHFILES.p =
> pllua-pg18-fix{bb2f44b542e650ddd250e4e27c73e86aadb09dde}.patch
> -PATCH_DIST_STRIP = -p1
> -
> -CATEGORIES = databases
> -
> -HOMEPAGE = https://github.com/pllua/pllua
> -
> -MAINTAINER = Jeremy Evans <[email protected]>
> -
> -# MIT
> -PERMIT_PACKAGE = Yes
> -
> -WANTLIB = c ${MODLUA_WANTLIB}
> -
> -# -Wvla and other unrecognized command line options
> -COMPILER = base-clang ports-gcc
> -COMPILER_LANGS = c
> -
> -MODULES = lang/lua
> -MODLUA_VERSION = 5.3
> -
> -BUILD_DEPENDS = ${RUN_DEPENDS} \
> - postgresql-client->=18,<19:databases/postgresql,-main
> -RUN_DEPENDS =
> postgresql-server->=18,<19:databases/postgresql,-server
> -
> -USE_GMAKE = Yes
> -
> -SUBST_VARS = MODLUA_INCL_DIR MODLUA_WANTLIB MODLUA_BIN LLD_EMUL
> -
> -pre-configure:
> - ${SUBST_CMD} ${WRKSRC}/Makefile
> -
> -.include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: distinfo
> diff -N distinfo
> --- distinfo 23 Nov 2025 03:07:39 -0000 1.11
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,4 +0,0 @@
> -SHA256 (pllua-REL_2_0_12.tar.gz) =
> eztLXXSaLR4EBznA6q1LWze2d4ZurX9qbjSfhAxetMM=
> -SHA256 (pllua-pg18-fix.patch) = MAeJdYPQ1hqqAiKQCoR0jl9xBM8ktbE3i5fXXGsjSO0=
> -SIZE (pllua-REL_2_0_12.tar.gz) = 222446
> -SIZE (pllua-pg18-fix.patch) = 3950
> Index: patches/patch-Makefile
> ===================================================================
> RCS file: patches/patch-Makefile
> diff -N patches/patch-Makefile
> --- patches/patch-Makefile 11 Mar 2022 18:31:38 -0000 1.5
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,23 +0,0 @@
> -Index: Makefile
> ---- Makefile.orig
> -+++ Makefile
> -@@ -13,8 +13,8 @@ PG_CONFIG ?= pg_config
> - PLLUA_CONFIG_OPTS ?=
> - - # General
> --LUA_INCDIR ?= /usr/local/include/lua53
> --LUALIB ?= -L/usr/local/lib -llua-5.3
> -+LUA_INCDIR ?= ${MODLUA_INCL_DIR}
> -+LUALIB ?= -L${LOCALBASE}/lib -l${MODLUA_WANTLIB}
> - LUAC ?= luac53
> - LUA ?= lua53
> - -@@ -42,7 +42,7 @@ OBJCOPY ?= objcopy
> - # GNU LD and compatible linkers (including recent clang lld) should be
> - # fine with -r -b binary, but this does break on some ports.
> - --BIN_LD ?= $(LD) -r -b binary
> -+BIN_LD ?= $(LD) ${LLD_EMUL} -r -b binary
> - - # If BIN_ARCH and BIN_FMT are defined, we assume LD_BINARY is broken
> - # and do this instead. This is apparently needed for linux-mips64el,
> Index: pkg/DESCR
> ===================================================================
> RCS file: pkg/DESCR
> diff -N pkg/DESCR
> --- pkg/DESCR 10 Oct 2012 10:41:36 -0000 1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,7 +0,0 @@
> -PL/Lua is an implementation of Lua as a loadable procedural language for
> -PostgreSQL: with PL/Lua you can use PostgreSQL functions and triggers
> -written in the Lua programming language.
> -
> -PL/Lua brings the power and simplicity of Lua to PostgreSQL, including:
> -small memory footprint, simple syntax, lexical scoping, functions as
> -first-class values, and coroutines for non-preemptive threading.
> Index: pkg/PLIST
> ===================================================================
> RCS file: pkg/PLIST
> diff -N pkg/PLIST
> --- pkg/PLIST 11 Mar 2022 18:31:38 -0000 1.6
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,13 +0,0 @@
> -include/postgresql/server/extension/pllua/
> -include/postgresql/server/extension/pllua/pllua.h
> -include/postgresql/server/extension/pllua/pllua_luajit.h
> -include/postgresql/server/extension/pllua/pllua_luaver.h
> -include/postgresql/server/extension/pllua/pllua_pgver.h
> -@so lib/postgresql/pllua.so
> -share/doc/pkg-readmes/${PKGSTEM}
> -share/postgresql/extension/pllua--1.0--2.0.sql
> -share/postgresql/extension/pllua--2.0.sql
> -share/postgresql/extension/pllua.control
> -share/postgresql/extension/plluau--1.0--2.0.sql
> -share/postgresql/extension/plluau--2.0.sql
> -share/postgresql/extension/plluau.control
> Index: pkg/README
> ===================================================================
> RCS file: pkg/README
> diff -N pkg/README
> --- pkg/README 11 Mar 2022 18:31:38 -0000 1.3
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,14 +0,0 @@
> -+-----------------------------------------------------------------------
> -| Running ${PKGSTEM} on OpenBSD
> -+-----------------------------------------------------------------------
> -
> -Installing PL/Lua Into A PostgreSQL Database
> -============================================
> -
> -To install the PL/Lua language in a PostgreSQL database, run
> -the following code:
> -
> - psql -f ${TRUEPREFIX}/share/postgresql/contrib/pllua.sql $database
> -
> -This loads both the pllua (trusted) and plluau (untrusted)
> -procedural languages into the database.
>
>
> --
> Mark Patruck ( mark at wrapped.cx )
> GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74 F644 0D3C F66F F286 5E51
> https://www.wrapped.cx