Bug 278713 - security/crowdsec: update to 1.6.1, improve service scripts
Summary: security/crowdsec: update to 1.6.1, improve service scripts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Philippe Audeoud
URL: https://github.com/crowdsecurity/crow...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 08:09 UTC by marco
Modified: 2024-05-03 14:50 UTC (History)
1 user (show)

See Also:


Attachments
patch for 1.6.1-1 (14.36 KB, patch)
2024-05-03 08:09 UTC, marco
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2024-05-03 08:09:08 UTC
Created attachment 250350 [details]
patch for 1.6.1-1

- update to latest stable upstream
 - restart process via daemon if it crashes for any reason
 - apply patch to detect network filesystems, that didn't make it to 1.6.1
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-05-03 14:49:18 UTC
A commit in branch main references this bug:

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

commit 0581f056998e84494c5eecbdd3336f61cfb1cd79
Author:     marco <marco@crowdsec.net>
AuthorDate: 2024-04-16 21:25:31 +0000
Commit:     Philippe Audeoud <jadawin@FreeBSD.org>
CommitDate: 2024-05-03 13:48:51 +0000

    security/crowdsec: update to v1.6.1

    -  improve rc, postinst scripts
    - update upstream to latest stable
    - restart service correctly if it crashes
    - update hub in postinst (if network available) instead of service start
    - use "one{status,stop...}" for compatibility with pfsense
    - patch: fix network fs detection

    PR:     278713

 security/crowdsec/Makefile                         |   6 +-
 security/crowdsec/distinfo                         |  10 +-
 security/crowdsec/files/crowdsec.in                | 105 +++++++++------------
 .../files/patch-pkg_csconfig_database.go (new)     |  36 +++++++
 .../files/patch-pkg_types_getfstype.go (new)       |   8 ++
 .../patch-pkg_types_getfstype__freebsd.go (new)    |  28 ++++++
 security/crowdsec/files/pkg-deinstall.in           |   6 +-
 security/crowdsec/files/pkg-install.in             |  14 ++-
 security/crowdsec/files/pkg-message.in             |   6 +-
 security/crowdsec/files/upgrade-hub.in             |  11 ++-
 10 files changed, 149 insertions(+), 81 deletions(-)
Comment 2 Philippe Audeoud freebsd_committer freebsd_triage 2024-05-03 14:50:29 UTC
Committed, thanks!