diff --git a/IMPORT b/IMPORT new file mode 100644 index 0000000..e80f007 --- /dev/null +++ b/IMPORT @@ -0,0 +1,10 @@ +# IMPORT -- where wikid comes from (root AGENTS.md, "What belongs where": ext/) + +upstream wikid, the project's own repository + https://git.kropa.tech/hiddenbox/wikid +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/wikid (tools/ext-sync.sh) diff --git a/pkgsrc/DESCR b/pkgsrc/DESCR new file mode 100644 index 0000000..f11c214 --- /dev/null +++ b/pkgsrc/DESCR @@ -0,0 +1,3 @@ +wikid keeps named knowledge bases of pages: what an agent notes in passing is +kept where the next one finds it. It is an MCP server in C99/POSIX (wikid) with +a CGI front end (lib/cgi-bin/wikid-http). diff --git a/pkgsrc/Makefile b/pkgsrc/Makefile new file mode 100644 index 0000000..d3e58bb --- /dev/null +++ b/pkgsrc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD$ +# +# Makronix: wikid is one of the project's own programs (ext/src/wikid, 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= wikid-0.1 +CATEGORIES= misc +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= lotherk@lother.io +COMMENT= Wiki for the agent fleet, 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..02e5e33 --- /dev/null +++ b/pkgsrc/PLIST @@ -0,0 +1,2 @@ +bin/wikid +lib/cgi-bin/wikid-http