Bug 249276 - net-im/prosody: do not use prosodyctl in init script
Summary: net-im/prosody: do not use prosodyctl in init script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2020-09-12 10:10 UTC by Thomas Morper
Modified: 2020-09-13 04:42 UTC (History)
1 user (show)

See Also:


Attachments
do not use prosodyctl in init script (2.78 KB, patch)
2020-09-12 10:10 UTC, Thomas Morper
thomas: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Morper 2020-09-12 10:10:46 UTC
Created attachment 217913 [details]
do not use prosodyctl in init script

net-im/prosody: do not use prosodyctl in init script

* Apply shebangfix.
* Update init script to directly control the Prosody
  daemon as using prosodyctl has been deprecated. [1]
* Add pkg-message to clearly state that setting the
  pidfile option in prosody.cfg.lua is required.
* Fix pkg-message formatting.

[1] https://blog.prosody.im/prosody-0.11.6-released/

QA:

  * portlint: OK (some warnings)
  * testport: OK (poudriere: 11.4 & 12.1, i386 & amd64)
Comment 1 Automation User 2020-09-12 11:08:44 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/189109493
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-09-13 04:42:39 UTC
A commit references this bug:

Author: lwhsu
Date: Sun Sep 13 04:42:20 UTC 2020
New revision: 548450
URL: https://svnweb.freebsd.org/changeset/ports/548450

Log:
  net-im/prosody: Do not use prosodyctl in init script

  * Apply shebangfix.
  * Update init script to directly control the Prosody
    daemon as using prosodyctl has been deprecated. [1]
  * Add pkg-message to clearly state that setting the
    pidfile option in prosody.cfg.lua is required.
  * Fix pkg-message formatting.

  [1] https://blog.prosody.im/prosody-0.11.6-released/

  PR:		249276
  Submitted by:	Thomas Morper <thomas@beingboiled.info> (maintainer)

Changes:
  head/net-im/prosody/Makefile
  head/net-im/prosody/files/prosody.in
  head/net-im/prosody/pkg-message