Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 09:48:55 -0300 (BRST)
From:      Renato Botelho <renato@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        marcus@FreeBSD.org
Subject:   ports/78947: [PATCH] devel/portlint: Support @owner, @group and @mode on pkg-plist
Message-ID:  <200503171248.j2HCmtag013369@data.galle.com.br>
Resent-Message-ID: <200503171250.j2HCo3ph044135@freefall.freebsd.org>

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

>Number:         78947
>Category:       ports
>Synopsis:       [PATCH] devel/portlint: Support @owner, @group and @mode on pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 17 12:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #7: Thu Mar  3 09:03:28 BRST
>Description:
@owner, @group and @mode are valid parameters to use in pkg-plist, it's described on pkg_create(1). So, remove WARN messages to @owner and @group and add support to @mode.

Port maintainer (marcus@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- portlint-2.6.11.patch begins here ---
Index: src/portlint.pl
===================================================================
RCS file: /home/ncvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.69
diff -u -r1.69 portlint.pl
--- src/portlint.pl	14 Feb 2005 08:20:48 -0000	1.69
+++ src/portlint.pl	17 Mar 2005 12:46:30 -0000
@@ -635,9 +635,7 @@
 				}
 			} elsif ($_ =~ /^\@(comment)/) {
 				$rcsidseen++ if (/\$$rcsidstr[:\$]/);
-			} elsif ($_ =~ /^\@(owner|group)\s/) {
-				&perror("WARN: $file [$.]: \@$1 should not be needed");
-			} elsif ($_ =~ /^\@(dirrm|option)/) {
+			} elsif ($_ =~ /^\@(dirrm|option|owner|group|mode)/) {
 				; # no check made
 			} else {
 				&perror("WARN: $file [$.]: ".
--- portlint-2.6.11.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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