Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Jan 2004 02:01:27 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60947: update port: devel/portlint
Message-ID:  <20040105180127.B2F173EA667@utopia.leeym.com>
Resent-Message-ID: <200401051810.i05IAJL7012953@freefall.freebsd.org>

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

>Number:         60947
>Category:       ports
>Synopsis:       update port: devel/portlint
>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:   Mon Jan 05 10:10:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2-RC FreeBSD 5.2-RC #7: Thu Dec 18 09:21:26 CST 2003 root@utopia.leeym.com:/mnt3/obj/usr/src/sys/UTOPIA i386


	
>Description:

RCS tags should be initial capital words.

>How-To-Repeat:

# cd _CVSROOT_/ports/databases/mysql40-client && portlint -C
WARN: _CVSROOT_/ports/databases/mysql40-client/../mysql40-server/files/patch-configure [19]: includes possible RCS tag "$LINENO$". use binary mode (-ko) on commit/import.
0 fatal errors and 1 warnings found.


>Fix:

	

--- portlint.diff begins here ---
Index: src/portlint.pl
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.51
diff -u -r1.51 portlint.pl
--- src/portlint.pl	2 Jan 2004 02:20:41 -0000	1.51
+++ src/portlint.pl	5 Jan 2004 17:56:34 -0000
@@ -894,7 +894,7 @@
 	while (<IN>) {
 		$whole .= $_;
 	}
-	if ($committer && $whole =~ /\$([A-Za-z0-9]+)[:\$]/) {
+	if ($committer && $whole =~ /\$([A-Z][A-Za-z0-9]+)(:[^\n]+)?\$/) {
 		my $lineno = &linenumber($`);
 		&perror("WARN: $file [$lineno]: includes possible RCS tag \"\$$1\$\". ".
 			"use binary mode (-ko) on commit/import.") unless
--- portlint.diff ends here ---


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



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