Bug 240712 - net-mgmt/p0f: Add rc script
Summary: net-mgmt/p0f: 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 Many People
Assignee: Kurt Jaeger
URL:
Keywords: feature
Depends on:
Blocks:
 
Reported: 2019-09-20 16:37 UTC by Alexander Moisseev
Modified: 2019-09-21 02:36 UTC (History)
0 users

See Also:
pi: maintainer-feedback+


Attachments
patch (2.83 KB, patch)
2019-09-20 16:37 UTC, Alexander Moisseev
no flags Details | Diff
UIDs patch (540 bytes, patch)
2019-09-20 16:37 UTC, Alexander Moisseev
no flags Details | Diff
E:\tmp\GIDs patch (236 bytes, patch)
2019-09-20 16:38 UTC, Alexander Moisseev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Moisseev 2019-09-20 16:37:01 UTC
Created attachment 207657 [details]
patch

Added rc script to run p0f in daemon mode as as unprivileged user. That is useful to provide access to p0f API via unix socket for various clients (e.g. anti-spam filters like rspamd, haraka-plugin-p0f, etc.).

- Add rc script
- Add UID/GID
- Use USES=tar:tgz
Comment 1 Alexander Moisseev 2019-09-20 16:37:59 UTC
Created attachment 207658 [details]
UIDs patch
Comment 2 Alexander Moisseev 2019-09-20 16:38:28 UTC
Created attachment 207659 [details]
E:\tmp\GIDs patch
Comment 3 Kurt Jaeger freebsd_committer 2019-09-20 18:23:15 UTC
tests@work
Comment 4 Kurt Jaeger freebsd_committer 2019-09-20 18:44:50 UTC
Committed, thanks!
Comment 5 commit-hook freebsd_committer 2019-09-20 18:45:23 UTC
A commit references this bug:

Author: pi
Date: Fri Sep 20 18:44:39 UTC 2019
New revision: 512424
URL: https://svnweb.freebsd.org/changeset/ports/512424

Log:
  net-mgmt/p0f: add rc script

  Added rc script to run p0f in daemon mode as as unprivileged user.
  That is useful to provide access to p0f API via unix socket for
  various clients (e.g. anti-spam filters like rspamd, haraka-plugin-p0f,
  etc.).

  PR:		240712
  Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru>

Changes:
  head/GIDs
  head/UIDs
  head/net-mgmt/p0f/Makefile
  head/net-mgmt/p0f/files/p0f.in