Bug 266233 - [NEW PORT] sysutils/catsit: Process supervisor
Summary: [NEW PORT] sysutils/catsit: Process supervisor
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://git.causal.agency/catsit
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-05 13:43 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-04-28 16:23 UTC (History)
1 user (show)

See Also:


Attachments
sysutils-catsit.1.4.patch (2.92 KB, patch)
2022-09-05 13:43 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
poudriere-testport.catsit-1.4.log (16.15 KB, text/plain)
2022-09-05 13:49 UTC, Jesús Daniel Colmenares Oviedo
no flags Details
portlint.catsit-1.4.log (12 bytes, text/plain)
2022-09-05 13:50 UTC, Jesús Daniel Colmenares Oviedo
no flags Details
catsit-1.4.patch (3.01 KB, patch)
2023-02-26 01:12 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
catsit-1.4.patch (3.01 KB, patch)
2023-04-27 21:49 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-09-05 13:43:34 UTC
Created attachment 236371 [details]
sysutils-catsit.1.4.patch

The catsitd daemon is a process supervisor for FreeBSD and OpenBSD.
It is designed to supervise processes with the following behavior:

* The process runs in the foreground, not as a daemon.
* The process logs to standard output or standard error.
* The process handles errors by exiting and expects to be
  restarted.
* The process indicates its reason for exiting with sysexits(3).

WWW: https://git.causal.agency/catsit
Comment 1 Jesús Daniel Colmenares Oviedo 2022-09-05 13:49:39 UTC
Created attachment 236372 [details]
poudriere-testport.catsit-1.4.log
Comment 2 Jesús Daniel Colmenares Oviedo 2022-09-05 13:50:53 UTC
Created attachment 236373 [details]
portlint.catsit-1.4.log
Comment 3 Jesús Daniel Colmenares Oviedo 2023-02-26 01:12:45 UTC
Created attachment 240411 [details]
catsit-1.4.patch

Description:

* Change WWW from pkg-descr to Makefile
* Create an empty file configuration (etc/catsit.conf) in post-install

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1-RELEASE, amd64)
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-04-27 21:27:10 UTC
Thank you for your submission.  Please set "maintainer-approval" on your patch files to ensure that they are looked at.  As for your port:

 - please prefer DISTVERSION over PORTVERSION if possible

As for the rest, the port looks good and can likely be committed as is once you set maintainer-approval.
Comment 5 Jesús Daniel Colmenares Oviedo 2023-04-27 21:49:25 UTC
Created attachment 241798 [details]
catsit-1.4.patch

Description:

* Change PORTVERSION to DISTVERSION

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1-RELEASE, amd64)
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-04-27 22:01:11 UTC
Will commit with my next batch.  Please also check your other open PRs if your patches have "maintainer-approval" set.  You can click "My Bugs" in the bottom left corner to find a list of your open PRs.
Comment 7 Jesús Daniel Colmenares Oviedo 2023-04-27 22:12:49 UTC
(In reply to Robert Clausecker from comment #6)

Thank you very much Robert, I thought that was necessary only with the ports I maintain, but I will apply it for uncommitted ports and my future ports.
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2023-04-28 08:55:26 UTC
The reason it's important to do so is that there's a list of bug reports with maintainer-approved patches ports committers look at when searching for patches to commit.  If you set the flag, your patch is much more likely to get looked at.
Comment 9 commit-hook freebsd_committer freebsd_triage 2023-04-28 16:18:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4b07a2d01bc0a1a022b752296ffa7e90dc7b5f4

commit e4b07a2d01bc0a1a022b752296ffa7e90dc7b5f4
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-04-27 21:44:52 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-28 16:17:28 +0000

    sysutils/catsit: New port: Process supervisor

    The catsitd daemon is a process supervisor for FreeBSD and OpenBSD.
    It is designed to supervise processes with the following behavior:

    * The process runs in the foreground, not as a daemon.
    * The process logs to standard output or standard error.
    * The process handles errors by exiting and expects to be
      restarted.
    * The process indicates its reason for exiting with sysexits(3).

    WWW: https://git.causal.agency/catsit/

    PR:             266233

 sysutils/Makefile               |  1 +
 sysutils/catsit/Makefile (new)  | 19 +++++++++++++++++++
 sysutils/catsit/distinfo (new)  |  3 +++
 sysutils/catsit/pkg-descr (new) |  8 ++++++++
 sysutils/catsit/pkg-plist (new) | 11 +++++++++++
 5 files changed, 42 insertions(+)
Comment 10 Robert Clausecker freebsd_committer freebsd_triage 2023-04-28 16:23:02 UTC
Thank you for your contribution.