Bug 199652

Summary: [patch] security/strongswan: fix PLIST with EAPAKA3GPP2 is unset and EAPDYNAMIC is set
Product: Ports & Packages Reporter: Renato Botelho <garga>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Some People CC: strongswan
Priority: --- Keywords: patch
Version: LatestFlags: strongswan: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Renato Botelho freebsd_committer freebsd_triage 2015-04-23 20:20:44 UTC
Created attachment 155926 [details]
patch

The bug is easy to reproduce, just run:

# make WITH=EAPDYNAMIC WITHOUT=EAPAKA3GPP2

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%ETCDIR%%.d/charon/gmp.conf.sample
Error: Missing: %%DATADIR%%/templates/config/plugins/gmp.conf
===> Error: Plist issues found.
*** Error code 1

Attached patch fix it. No PORTREVISION bump since default options work as expected

Sponsored by: Netgate
Comment 1 Francois ten Krooden 2015-04-24 07:05:19 UTC
Comment on attachment 155926 [details]
patch

Happy with the fix.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-04-24 10:58:01 UTC
A commit references this bug:

Author: garga
Date: Fri Apr 24 10:57:02 UTC 2015
New revision: 384631
URL: https://svnweb.freebsd.org/changeset/ports/384631

Log:
  Fix PLIST when EAPAKA3GPP2 is unset and EAPDYNAMIC is set

  PR:		199652
  Approved by:	stronswan@Nanoteq.com (maintainer)
  Sponsored by:	Netgate

Changes:
  head/security/strongswan/Makefile
  head/security/strongswan/pkg-plist