aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-04-17 03:01:15 +0800
committermarcus <marcus@FreeBSD.org>2005-04-17 03:01:15 +0800
commitd4dd6c9b24102b6af1ab0c5f033d630b1890e74b (patch)
tree66d9aa91029f8dd3741de11b4fea6206dbaa4f36 /ports-mgmt/portlint
parent73581f63db24d246145cf5fafadcc316797a7478 (diff)
downloadfreebsd-ports-gnome-d4dd6c9b24102b6af1ab0c5f033d630b1890e74b.tar.gz
freebsd-ports-gnome-d4dd6c9b24102b6af1ab0c5f033d630b1890e74b.tar.zst
freebsd-ports-gnome-d4dd6c9b24102b6af1ab0c5f033d630b1890e74b.zip
Add '+' to the list of recommended file name characters.
Reported by: many
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile1
-rw-r--r--ports-mgmt/portlint/src/portlint.pl4
2 files changed, 3 insertions, 2 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index 6757d65d1b20..973e2827f9f0 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index e6d6c7d4b5e5..99b2779d840d 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -17,7 +17,7 @@
# OpenBSD and NetBSD will be accepted.
#
# $FreeBSD$
-# $Id: portlint.pl,v 1.75 2005/04/13 03:18:22 marcus Exp $
+# $Id: portlint.pl,v 1.76 2005/04/15 04:53:34 marcus Exp $
#
use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /;
@@ -329,7 +329,7 @@ if ($committer) {
&perror("Warning: $fullname: dotfiles are not preferred. ".
"If this file is a dotfile to be installed as an example, ".
"consider importing it as \"dot$_\".");
- } elsif (/[^-.a-zA-Z0-9_]/) {
+ } elsif (/[^-.a-zA-Z0-9_\+]/) {
&perror("Warning: $fullname: only use characters ".
"[-_.a-zA-Z0-9] for patch or script names.");
} elsif (/\.(orig|rej|bak)$/ || /~$/ || /^\#/) {