Bug 266239 - www/darkhttpd: add rc script
Summary: www/darkhttpd: add rc script
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-05 18:53 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2022-11-01 19:51 UTC (History)
3 users (show)

See Also:
fernape: maintainer-feedback?


Attachments
add rc script (3.26 KB, patch)
2022-09-05 18:53 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
Add PORTREVISION (3.41 KB, patch)
2022-09-06 19:35 UTC, Jesús Daniel Colmenares Oviedo
no flags 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 18:53:56 UTC
Created attachment 236381 [details]
add rc script

Description:

An rc script is required to facilitate the maintenance of darkhttpd and run it
at startup. In addition, the darkhttpd user and the darkhttpd group are added
to lower privileges and improve security.

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.1, amd64)
Comment 1 Jesús Daniel Colmenares Oviedo 2022-09-06 19:35:47 UTC
Created attachment 236402 [details]
Add PORTREVISION

Add PORTREVISION to update this port for people who already have it and could benefit from using the rc script.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-06 16:09:56 UTC
A commit in branch main references this bug:

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

commit 9884951c508e52eefb91fac9ea35375a267dcf3e
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-10-06 06:07:08 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-10-06 16:05:41 +0000

    www/darkhttpd: add rc script

    PR:             266239
    Reported by:    DtxdF@disroot.org
    Approved by:    henrichartzer@tuta.io (maintainer, timeout > 1 month)

 GIDs                                   |  2 +-
 UIDs                                   |  2 +-
 www/darkhttpd/Makefile                 | 15 ++++++++++++++-
 www/darkhttpd/files/darkhttpd.in (new) | 31 +++++++++++++++++++++++++++++++
 www/darkhttpd/pkg-plist (new)          |  3 +++
 5 files changed, 50 insertions(+), 3 deletions(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-06 16:11:21 UTC
Committed,

Thanks!
Comment 4 Henrich Hartzer 2022-11-01 19:51:32 UTC
So sorry I missed this. Looks good! Thank you!