diff --git a/IMPORT b/IMPORT new file mode 100644 index 0000000..8fa57d8 --- /dev/null +++ b/IMPORT @@ -0,0 +1,10 @@ +# IMPORT -- where memoryd comes from (root AGENTS.md, "What belongs where": ext/) + +upstream memoryd, the project's own repository + https://git.kropa.tech/hiddenbox/memoryd +version 0.1 (no release tag yet) +archive git archive of the submodule's commit (tools/ext-dist.sh), no tarball upstream +licence CNCL 1.0 (what Makronix wrote itself, root AGENTS.md "Licence") + -- the recipe's LICENSE= names it; SKIP_LICENSE_CHECK is set in + tools/pkgsrc-cross.mk.conf +pkgsrc recipe in pkgsrc/ of this tree; it becomes misc/memoryd (tools/ext-sync.sh) diff --git a/pkgsrc/DESCR b/pkgsrc/DESCR new file mode 100644 index 0000000..912879e --- /dev/null +++ b/pkgsrc/DESCR @@ -0,0 +1,2 @@ +memoryd keeps what an agent remembered, searchable by meaning. It is an MCP +server in C99/POSIX (memoryd) with a CGI front end (lib/cgi-bin/memoryd-http). diff --git a/pkgsrc/Makefile b/pkgsrc/Makefile new file mode 100644 index 0000000..27c28bf --- /dev/null +++ b/pkgsrc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD$ +# +# Makronix: memoryd is one of the project's own programs (ext/src/memoryd, a git +# submodule; IMPORT). It is built from the archive tools/ext-dist.sh makes of +# the submodule's commit, so there is no MASTER_SITES. + +DISTNAME= memoryd-0.1 +CATEGORIES= misc +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= lotherk@lother.io +COMMENT= Searchable memory for agents, an MCP server +LICENSE= cncl-1.0 + +NO_CONFIGURE= yes +NO_BUILDLINK= yes +BUILD_TARGET= all +INSTALL_TARGET= install + +MAKE_FLAGS+= PREFIX=${PREFIX} +MAKE_FLAGS+= DESTDIR=${DESTDIR} + +# The Makefile's CFLAGS default (-std=c99 ... -Werror) is replaced by the +# package's flags when pkgsrc puts CFLAGS in the environment: say the dialect +# again, and no -Werror -- a warning is not a reason to stop the build. +MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}\ -std=c99 + +.include "../../mk/bsd.pkg.mk" diff --git a/pkgsrc/PLIST b/pkgsrc/PLIST new file mode 100644 index 0000000..9185eec --- /dev/null +++ b/pkgsrc/PLIST @@ -0,0 +1,2 @@ +bin/memoryd +lib/cgi-bin/memoryd-http