pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: remove special r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/06b9517d3c84
branches: trunk
changeset: 383385:06b9517d3c84
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Aug 18 18:13:23 2022 +0000
description:
lintpkgsrc: remove special rule for RESTRICTED
There's no point in saving the fixed value 'NO_BIN_ON_FTP' in the
variable 'RESTRICTED'. The purpose of that code was unclear, as all
packages that define NO_BIN_ON_FTP also define RESTRICTED.
diffstat:
pkgtools/lintpkgsrc/files/lintpkgsrc.pl | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (21 lines):
diff -r 738ca2718f90 -r 06b9517d3c84 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Thu Aug 18 18:12:01 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Thu Aug 18 18:13:23 2022 +0000
@@ -1,5 +1,5 @@
#!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.120 2022/08/18 17:51:13 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.121 2022/08/18 18:13:23 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -1023,10 +1023,6 @@
$pkgver->var($var, $vars->{$var});
}
- if (defined $vars->{NO_BIN_ON_FTP}) {
- $pkgver->var('RESTRICTED', 'NO_BIN_ON_FTP');
- }
-
if ($file =~ m:([^/]+/[^/]+)/Makefile$:) {
$pkgver->var('dir', $1);
} else {
Home |
Main Index |
Thread Index |
Old Index