Bug 220625 - net-im/mastodon: Fix packaging with Ruby 2.4
Summary: net-im/mastodon: Fix packaging with Ruby 2.4
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: Joseph Mingrone
URL:
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2017-07-11 12:38 UTC by Piotr Kubaj
Modified: 2017-07-12 01:13 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (jrm)
koobs: merge-quarterly?


Attachments
patch (754 bytes, patch)
2017-07-11 12:38 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2017-07-11 12:38:37 UTC
Created attachment 184256 [details]
patch

Currently 'make package' fails with:
pkg-static: Unable to access file /var/ports/net-im/mastodon/work/stage/usr/local/www/mastodon/db/migrate/20170624152212_create_session_activations.rb:No such file or directory

The patch is attached. No PORTREVISION bump since this is a packaging fix and Ruby 2.4 isn't default yet.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-11 12:55:23 UTC
Assign to maintainer
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2017-07-11 12:58:04 UTC
(In reply to Kubilay Kocak from comment #1)
The bug has appeared in 1.4.7, which was committed after 2017q3 had been branched, so MFH is not necessary.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-07-12 01:11:54 UTC
A commit references this bug:

Author: jrm
Date: Wed Jul 12 01:10:50 UTC 2017
New revision: 445557
URL: https://svnweb.freebsd.org/changeset/ports/445557

Log:
  net-im/mastodon: Fix plist and patch issues; bump PORTREVISION

  - Remove another incorrectly generated %%RUBY_SUFFIX%% from pkg-plist [1]
  - Fix a patch that was no longer applying properly after an upstream change

  PR:		220625 [1]
  Submitted by:	pkubaj@anongoth.pl [1]

Changes:
  head/net-im/mastodon/Makefile
  head/net-im/mastodon/files/patch-config_environments_production.rb
  head/net-im/mastodon/pkg-plist
Comment 4 Joseph Mingrone freebsd_committer freebsd_triage 2017-07-12 01:13:27 UTC
Thanks. Committed in r445557.