Bug 249276

Summary: net-im/prosody: do not use prosodyctl in init script
Product: Ports & Packages Reporter: Thomas Morper <thomas>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Some People CC: lwhsu
Priority: --- Keywords: buildisok
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
do not use prosodyctl in init script thomas: maintainer-approval+

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 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