Bug 215739

Summary: net-im/openfire 4.1.1,1 Fails to Install
Product: Ports & Packages Reporter: Ryan Frederick <ryanrfrederick>
Component: Individual Port(s)Assignee: Pietro Cerutti <gahr>
Status: Closed FIXED    
Severity: Affects Many People CC: dbaio, ryanrfrederick
Priority: --- Flags: bugzilla: maintainer-feedback? (gahr)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
openfire-4.1.1-1.patch none

Description Ryan Frederick 2017-01-03 16:33:26 UTC
net-im/openfire 4.1.1,1 fails to install with the following error:

===>  Installing for openfire-4.1.1,1
===>  Checking if openfire already installed
===>   Registering installation for openfire-4.1.1,1
pkg-static: Unable to access file /usr/ports/net-im/openfire/work/stage/usr/local/share/java/openfire/plugins/avatarResizer.jar: No such file or directory
pkg-static: Unable to access file /usr/ports/net-im/openfire/work/stage/usr/local/share/java/openfire/plugins/bookmarks.jar: No such file or directory
pkg-static: Unable to access file /usr/ports/net-im/openfire/work/stage/usr/local/share/java/openfire/plugins/nonSaslAuthentication.jar: No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/net-im/openfire
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/openfire
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2017-01-03 18:46:53 UTC
Created attachment 178486 [details]
openfire-4.1.1-1.patch

Patch attached to fix pkg-plist... my mistake.
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2017-01-03 20:39:49 UTC
For the record, this problem occurs when PLUGINS option is disabled.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-01-05 09:53:36 UTC
A commit references this bug:

Author: gahr
Date: Thu Jan  5 09:53:03 UTC 2017
New revision: 430624
URL: https://svnweb.freebsd.org/changeset/ports/430624

Log:
  net-im/openfire: fix install with non-default options

  PR:		215739
  Submitted by:	Danilo G. Baio <dbaio@bsd.com.br>
  Reported by:	Ryan Frederick <ryanrfrederick@gmail.com>

Changes:
  head/net-im/openfire/Makefile
  head/net-im/openfire/pkg-plist