Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2014 18:44:42 GMT
From:      Matthieu Volat <mazhe@alkumuna.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189361: [patch] net/freeradius3: some files not associated with perl option in pkg-plist
Message-ID:  <201405041844.s44IigQM073241@cgiserv.freebsd.org>
Resent-Message-ID: <201405041850.s44Io01G003860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 18:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405041844.s44IigQM073241>