diff --git a/IMPORT b/IMPORT new file mode 100644 index 0000000..a8629d1 --- /dev/null +++ b/IMPORT @@ -0,0 +1,10 @@ +# IMPORT -- where tasksd comes from (root AGENTS.md, "What belongs where": ext/) + +upstream tasksd, the project's own repository + https://git.kropa.tech/hiddenbox/tasksd +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/tasksd (tools/ext-sync.sh) diff --git a/pkgsrc/DESCR b/pkgsrc/DESCR new file mode 100644 index 0000000..4f406e6 --- /dev/null +++ b/pkgsrc/DESCR @@ -0,0 +1,2 @@ +tasksd is the central task store of the agent fleet: C99/POSIX, an MCP server +(tasksd) with a CGI front end (lib/cgi-bin/tasksd-http). diff --git a/pkgsrc/Makefile b/pkgsrc/Makefile new file mode 100644 index 0000000..38a5b5d --- /dev/null +++ b/pkgsrc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD$ +# +# Makronix: tasksd is one of the project's own programs (ext/src/tasksd, 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= tasksd-0.1 +CATEGORIES= misc +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= lotherk@lother.io +COMMENT= Central task store 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..2ef64a5 --- /dev/null +++ b/pkgsrc/PLIST @@ -0,0 +1,2 @@ +bin/tasksd +lib/cgi-bin/tasksd-http