From nobody@FreeBSD.org  Sun May  4 18:44:43 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 05BC28E1
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 May 2014 18:44:43 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id E63E313D6
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 May 2014 18:44:42 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s44Iig6I073247
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 May 2014 18:44:42 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s44IigQM073241;
	Sun, 4 May 2014 18:44:42 GMT
	(envelope-from nobody)
Message-Id: <201405041844.s44IigQM073241@cgiserv.freebsd.org>
Date: Sun, 4 May 2014 18:44:42 GMT
From: Matthieu Volat <mazhe@alkumuna.eu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] net/freeradius3: some files not associated with perl option in pkg-plist
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         189361
>Category:       ports
>Synopsis:       [patch] net/freeradius3: some files not associated with perl option in pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    zi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 18:50:00 UTC 2014
>Closed-Date:    Sun May 11 18:40:50 UTC 2014
>Last-Modified:  Sun May 11 18:40:50 UTC 2014
>Originator:     Matthieu Volat
>Release:        10.0-RELEASE-p2
>Organization:
-
>Environment:
FreeBSD yggdrasil.alkumuna.eu 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #3: Wed Apr 30 07:19:09 CEST 2014     root@yggdrasil.alkumuna.eu:/usr/obj/usr/src/sys/YGGDRASIL  amd64
>Description:
This concerns only net/freeradius3.

A directory and its single file inside were not marked with the PERL conditional flag in pkg-plist, making the package generation phase failing when the PERL option is disabled.

The concerned entries are:
%%EXAMPLESDIR%%/raddb/mods-config/perl
%%EXAMPLESDIR%%/raddb/mods-config/perl/example.pl
>How-To-Repeat:
1. disable the perl option before making build/stage.
2. try make install or make package

>Fix:
Here the fix:
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 352967)
+++ pkg-plist	(working copy)
@@ -526,7 +526,7 @@
 %%EXAMPLESDIR%%/raddb/mods-config/files/accounting
 %%EXAMPLESDIR%%/raddb/mods-config/files/authorize
 %%EXAMPLESDIR%%/raddb/mods-config/files/pre-proxy
-%%EXAMPLESDIR%%/raddb/mods-config/perl/example.pl
+%%RLMPERL%%%%EXAMPLESDIR%%/raddb/mods-config/perl/example.pl
 %%EXAMPLESDIR%%/raddb/mods-config/preprocess/hints
 %%EXAMPLESDIR%%/raddb/mods-config/preprocess/huntgroups
 %%RLMPYTHON%%%%EXAMPLESDIR%%/raddb/mods-config/python/example.py
@@ -868,7 +868,7 @@
 @dirrm %%EXAMPLESDIR%%/raddb/mods-config/sql
 %%RLMPYTHON%%@dirrm %%EXAMPLESDIR%%/raddb/mods-config/python
 @dirrm %%EXAMPLESDIR%%/raddb/mods-config/preprocess
-@dirrm %%EXAMPLESDIR%%/raddb/mods-config/perl
+%%RLMPERL%%@dirrm %%EXAMPLESDIR%%/raddb/mods-config/perl
 @dirrm %%EXAMPLESDIR%%/raddb/mods-config/files
 @dirrm %%EXAMPLESDIR%%/raddb/mods-config/attr_filter
 @dirrm %%EXAMPLESDIR%%/raddb/mods-config

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->zi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun May 4 18:50:04 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189361 
State-Changed-From-To: open->closed 
State-Changed-By: zi 
State-Changed-When: Sun May 11 18:40:50 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189361 
>Unformatted:
