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: cleanup: rename ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/54dc755395dc
branches: trunk
changeset: 383268:54dc755395dc
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Aug 16 19:20:06 2022 +0000
description:
lintpkgsrc: cleanup: rename subroutine
Scanning the distfiles is not the main action.
diffstat:
pkgtools/lintpkgsrc/files/lintpkgsrc.pl | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r db4c1c32e525 -r 54dc755395dc pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Tue Aug 16 19:15:43 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Tue Aug 16 19:20:06 2022 +0000
@@ -1,5 +1,5 @@
#!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.101 2022/08/16 19:15:43 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.102 2022/08/16 19:20:06 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -1143,10 +1143,10 @@
}
}
-# Extract all distinfo entries, then verify contents of distfiles
-#
-sub scan_pkgsrc_distfiles_vs_distinfo($pkgsrcdir, $pkgdistdir, $check_unref,
- $check_distinfo) {
+# Verify that the contents of the distfiles directory matches the distinfo
+# files in the packages.
+sub check_pkgsrc_distfiles_vs_distinfo($pkgsrcdir, $pkgdistdir, $check_unref,
+ $check_distinfo) {
my (@categories);
my (%distfiles, %sumfiles, @distwarn, $numpkg);
my (%unref_distfiles);
@@ -1376,7 +1376,7 @@
}
sub check_distfiles($pkgsrcdir, $pkgdistdir) {
- my @unref_distfiles = scan_pkgsrc_distfiles_vs_distinfo(
+ my @unref_distfiles = check_pkgsrc_distfiles_vs_distinfo(
$pkgsrcdir, $pkgdistdir, $opt{o}, $opt{m});
return unless $opt{r};
Home |
Main Index |
Thread Index |
Old Index