Bug 238288 - sysutils/burp: Use rc script from distfile, improve pkg-plist
Summary: sysutils/burp: Use rc script from distfile, improve pkg-plist
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks: 238289
  Show dependency treegraph
 
Reported: 2019-06-02 10:20 UTC by Lorenzo Salvadore
Modified: 2019-06-08 00:59 UTC (History)
0 users

See Also:


Attachments
burp - use rc script from distfile, improve pkg-plist (3.18 KB, patch)
2019-06-02 10:20 UTC, Lorenzo Salvadore
phascolarctos: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore 2019-06-02 10:20:53 UTC
Created attachment 204778 [details]
burp - use rc script from distfile, improve pkg-plist

Up to now, the port included an rc script in the files directory: the script is almost identical to the rc script coming with distfile, thus I remove the port's script in favor of the distfile's one, where I fix the only difference (it uses /usr/local instead of LOCALBASE).
As the said rc script is public domain, I add PD to LICENSE variable.

Moreover, I add PLIST_SUB= PORTVERSION=${PORTVERSION} to allow using the same pkg-plist file both for sysutils/burp (master port) and for sysutils/burp-devel (slave port).
Comment 1 Lorenzo Salvadore 2019-06-02 10:27:50 UTC
Tested successfully on {11.2,12.0}-RELEASE {i386,amd64}.
Comment 2 commit-hook freebsd_committer 2019-06-08 00:58:40 UTC
A commit references this bug:

Author: swills
Date: Sat Jun  8 00:58:18 UTC 2019
New revision: 503689
URL: https://svnweb.freebsd.org/changeset/ports/503689

Log:
  sysutils/burp: Use rc script from distfile, improve pkg-plist

  PR:		238288
  Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch> (maintainer)

Changes:
  head/sysutils/burp/Makefile
  head/sysutils/burp/files/
  head/sysutils/burp/pkg-plist
Comment 3 Steve Wills freebsd_committer 2019-06-08 00:59:24 UTC
Committed, thanks!