Bug 199652 - [patch] security/strongswan: fix PLIST with EAPAKA3GPP2 is unset and EAPDYNAMIC is set
Summary: [patch] security/strongswan: fix PLIST with EAPAKA3GPP2 is unset and EAPDYNAM...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Renato Botelho
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-04-23 20:20 UTC by Renato Botelho
Modified: 2015-04-24 10:59 UTC (History)
1 user (show)

See Also:
strongswan: maintainer-feedback+


Attachments
patch (1.22 KB, patch)
2015-04-23 20:20 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer 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 strongswan 2015-04-24 07:05:19 UTC
Comment on attachment 155926 [details]
patch

Happy with the fix.
Comment 2 commit-hook freebsd_committer 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