Sunday, November 29, 2026

Re: [NEW PORT] jbig2enc

On Sun, Nov 29, 2026 at 07:23:11PM +0000, Stuart Henderson wrote: > Not sure the "used by ocrmypdf" in DESCR really makes sense - might be worth > mentioning in ocrmypdf DESCR though tbh I'd probably just add as RDEP > > "base-clang ports-gcc ports-clang" is simpler written as "base-clang > ports-gcc" because there's not going to be any arch with ports-clang but > without ports-gcc Sure, go for it.

Re: NEW: sysutils/deadman

No copyright means no restriction; license only matters if there is a restriction. You don't need to have a copyright to be able to redistribute. Most likely: whatever is purely machine-generated has no copyright. Where there is human contribution, that contribution is copyrightable: code the human wrote or modified, and the human's selection and arrangement of generated material in the final product. Prompting alone doesn't count. The ISC licence then covers the human-authored parts; the rest is effectively public domain. Either way, nothing restricts redistribution. The AI labs' EULAs assign rights ("if any", as they can't create copyright) to users; for consumers they don't indemnify against infringement but for business/enterprise they typically do. And that's the real risk here: if there is something included that is itself infringing of someone else's copyrighted code. (Caveat: IANAL) On Sun, Nov 29, 2026 at 09:49:37PM +0000, Stuart Henderson wrote: > (as far as ports goes that would be PERMIT_PACKAGE/PERMIT_DISTFILES etc > couldn't be Yes) > > -- > Sent from a phone, apologies for poor formatting. > > On 29 November 2026 21:22:39 Stuart Henderson <stu@spacehopper.org> wrote: > > "I wrote deadman, and this port, using an AI assistant (Claude" - afaik > > you can not assert copyright then, so the ISC license would not be valid > > as it's a license grant under copyright law... > > > > > > > > -- > > Sent from a phone, apologies for poor formatting. > > > > > > On 16 November 2026 20:09:55 Joe Abley <jabley@strandkip.nl> wrote: > > > > > Hi, > > > > > > Attached is a new port, sysutils/deadman, a dead man's switch built > > > from the base system: jobs "ping" a URL of their own when they run, and > > > deadman sends mail when the pings stop. httpd(8) and slowcgi(8) take > > > the pings, cron(8) runs the checks and smtpd(8) sends the mail, so > > > there is no daemon and no database. I wrote it, and would maintain the > > > port. > > > > > > This is a bit like the very excellent service that healthchecks.io > > > provides (no affiliation, just a happy user). I wanted to do the same > > > thing without depending on an external service, so I wrote this. > > > > > > For full disclosure: I wrote deadman, and this port, using an AI > > > assistant (Claude), as the AUTHORS sections of its manual pages say. > > > I know that is not a universally-admirable thing to do. I am being > > > up-front about it. > > > > > > For what it's worth, one of the things I used Claude to do was to > > > attack the code with aggressive reviews modelled on as many different > > > reviews by OpenBSD contributors as I could find. This led to changes > > > that I think were positive. If you're curious, the agent's context > > > and the release history is visible at github.com/ableyjoe/deadman. > > > > > > From pkg/DESCR: > > > > > > deadman is a dead man's switch: jobs ping a URL of their own when > > > they run, and deadman sends mail when the pings stop. It does the > > > core of what healthchecks.io does, with the base system: httpd(8) > > > and slowcgi(8) take the pings, cron(8) runs the checks, and > > > smtpd(8) sends the mail. There is no daemon and no database. > > > > > > Each check has a period and a grace time, and is new, up, late or > > > down. A job can also report that it has started, so that a run > > > that hangs counts as down, or that it has failed. > > > > > > The ping recorder is static and runs in httpd's chroot. It accepts > > > only well-formed tokens, and can do nothing but set the modification > > > time of a file that deadman made for a configured check. The > > > checker needs no privileges: it runs as its own user, from that > > > user's crontab. Both use pledge(2) and unveil(2). > > > > > > Notes: > > > > > > - It needs a _deadman user. I have used 906, the next free ID in > > > infrastructure/db/user.list today: > > > > > > 906 _deadman _deadman sysutils/deadman > > > > > > - deadman.cgi goes in /var/www/cgi-bin, statically linked, since > > > slowcgi(8) runs it in httpd's chroot; the rest goes under > > > /usr/local, using @cwd in the packing list as www/cgit does. > > > > > > - The package makes /etc/deadman.conf (root:_deadman, 0640, since the > > > tokens in it are capabilities), /var/www/deadman and /var/db/deadman > > > with @sample. deadman refuses a configuration that is not root's, > > > that its group or others can write, or that others can read. > > > > > > - make test runs 94 regression tests; on OpenBSD they run under > > > pledge and unveil, so a missing promise shows up as a failure. > > > > > > - DEBUG_PACKAGES is set, and the packing list is as update-plist > > > writes it. > > > > > > Built and tested on OpenBSD 8.0/amd64 with the 8.0 ports tree: make > > > test, make package, make port-lib-depends-check and portcheck are all > > > clean, and I am running the package on my own server. > > > > > > Comments and derisive howls of laughter are all welcome. Hi to Theo > > > if he's watching. > > > > > > > > > Joe > -- Jim Lippard lippard-openbsd@discord.org https://discord.org/ GPG Key ID: 0x99FD5CD6