Sorry, Gmail stripped the leading tabs from the Makefile rules. Now sending this as an attachment instead.
duras is a command-line tool for daily notes as plain text files. One file per day, stored in a YYYY/MM/YYYY-MM-DD.dn layout. No database, no daemon, no background services. Optional GPG encryption per note. Tested on OpenBSD 7.8/amd64. Build depends on lang/ocaml and devel/dune, both available in the ports tree. Homepage: https://codeberg.org/duras/duras
diff -rNup -x CVS /tmp/empty2/Makefile devel/duras/Makefile --- /tmp/empty2/Makefile Thu Jan 1 03:00:00 1970 +++ devel/duras/Makefile Fri Jun 5 08:07:26 2026 @@ -0,0 +1,29 @@ +COMMENT = daily notes as plain text files + +GH_ACCOUNT = sduras +GH_PROJECT = duras +GH_TAGNAME = v2.0.0 + +CATEGORIES = devel + +HOMEPAGE = https://codeberg.org/duras/duras + +MAINTAINER = Sergiy Duras <[email protected]> + +LICENSE = ISC +PERMIT_PACKAGE = Yes + +MODULES = lang/ocaml + +BUILD_DEPENDS = devel/dune + +do-build: + cd ${WRKSRC} && dune build + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/_build/default/bin/duras.exe \ + ${PREFIX}/bin/duras + ${INSTALL_MAN} ${WRKSRC}/man/duras.1 \ + ${PREFIX}/man/man1/duras.1 + +.include <bsd.port.mk> diff -rNup -x CVS /tmp/empty2/distinfo devel/duras/distinfo --- /tmp/empty2/distinfo Thu Jan 1 03:00:00 1970 +++ devel/duras/distinfo Fri Jun 5 08:07:57 2026 @@ -0,0 +1,2 @@ +SHA256 (duras-2.0.0.tar.gz) = kgfIczdVXXTJVFggqgHeG0FhgHtrVfV/rnavRP461o0= +SIZE (duras-2.0.0.tar.gz) = 51131 diff -rNup -x CVS /tmp/empty2/pkg/DESCR devel/duras/pkg/DESCR --- /tmp/empty2/pkg/DESCR Thu Jan 1 03:00:00 1970 +++ devel/duras/pkg/DESCR Fri Jun 5 05:34:54 2026 @@ -0,0 +1,7 @@ +duras stores daily notes as plain text files, one file per day. + +Each note is a plain UTF-8 file in YYYY/MM/YYYY-MM-DD.dn format. +No database, no daemon, no background services. Writes are atomic. +Optional GPG encryption per note. + +Features: append, search, tags, stats, export, audit, encryption. diff -rNup -x CVS /tmp/empty2/pkg/PLIST devel/duras/pkg/PLIST --- /tmp/empty2/pkg/PLIST Thu Jan 1 03:00:00 1970 +++ devel/duras/pkg/PLIST Fri Jun 5 05:35:07 2026 @@ -0,0 +1,2 @@ +bin/duras +man/man1/duras.1
