Page MenuHomeFreeBSD

sysutils/dkron: new port
AbandonedPublic

Authored by dch on Jan 6 2021, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 12:10 AM
Unknown Object (File)
Nov 14 2023, 2:01 PM
Unknown Object (File)
Oct 13 2023, 1:05 PM
Unknown Object (File)
Sep 1 2023, 10:32 PM
Unknown Object (File)
May 27 2023, 3:04 PM
Unknown Object (File)
Apr 14 2023, 6:57 PM
Unknown Object (File)
Apr 10 2023, 3:04 AM
Unknown Object (File)
Mar 10 2023, 7:50 PM
Subscribers

Details

Reviewers
skozlov
Summary

distributed cron-like scheduling with no single point of failure

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 35976
Build 32865: arc lint + arc unit

Event Timeline

dch requested review of this revision.Jan 6 2021, 7:11 PM
skozlov requested changes to this revision.Jun 6 2021, 9:26 PM
skozlov added a subscriber: skozlov.

Please check using:

  • portlint -AC
  • rclint
  • poudriere testport
  • make test (if available) - may uncover hidden errors, not required to pass 100%, but good to take a look at.

Also - if you tested the resulting application - please not that too.

sysutils/dkron/Makefile
1

Please remove. No longer needed after migration to git

19

Please group USES= and USE_*= together

24

Do I understand correctly that you can't use GO_MODULE= here because the software is v3 and it doesn't respect go's version subdirectory convention?

181

You don't install anything into ${STAGEDIR}${ETCDIR} here. I assume it's a bug?

sysutils/dkron/files/dkron.in
3

This is not required anymore, please remove.

54

If the user explicitly asks for syslog logging, but the daemon doesn't support it - the error will just be silenced. IMO it's not good, could you add an error message here?

82

You don't really need to check for this. install -d is idempotent

sysutils/dkron/pkg-plist
1

Do you need %%ETCDIR%% to be writable by dkron, or just readable? If the latter - than it's more secure to let root own %%ETCDIR%%

2

Consider dynamically creating /var/* directories in precmd in the RC script, an not including it in the pkg-plist. This will allow the service to work fine if the /var is backed by memdisk, and populated at boot.

4
  • If this is the only config file - you don't really need a %%ETCDIR%% for it, you may just install it into %%PREFIX%%/etc/dkron.yml.sample
  • You have the line @comment-ed out, is it a typo?
This revision now requires changes to proceed.Jun 6 2021, 9:26 PM

Also, please change the title to [NEW] sysutils/dkron: short description