pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/lintpkgsrc/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu Aug 18 18:13:23 UTC 2022

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc/files: lintpkgsrc.pl

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
diff -u pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.120 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.121
--- pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.120        Thu Aug 18 17:51:13 2022
+++ pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl      Thu Aug 18 18:13:23 2022
@@ -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 @@ sub parse_makefile_pkgsrc($file) {
                                $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