Received: by mail.netbsd.org (Postfix, from userid 605) id 2FA6584F46; Mon, 15 Aug 2022 14:48:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 68D6684F1C for ; Mon, 15 Aug 2022 14:48:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id AlgDHsNOKJTa for ; Mon, 15 Aug 2022 14:48:24 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D7E3784EFA for ; Mon, 15 Aug 2022 14:48:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D1960FB1A; Mon, 15 Aug 2022 14:48:24 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1660574904177710" MIME-Version: 1.0 Date: Mon, 15 Aug 2022 14:48:24 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/pkgtools/pkg_p5up2date To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20220815144824.D1960FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1660574904177710 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon Aug 15 14:48:24 UTC 2022 Modified Files: pkgsrc/pkgtools/pkg_p5up2date: Makefile pkgsrc/pkgtools/pkg_p5up2date/files: pkg_p5up2date.pl Log Message: pkg_p5up2date: update to 0.08. Use glob() instead of find() from p5-File-Find-Rule. Less dependencies, and avoids false positives in lower subdirectories (e.g. in .hg/store/...). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/pkgtools/pkg_p5up2date/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1660574904177710 Content-Disposition: inline Content-Length: 1793 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/pkg_p5up2date/Makefile diff -u pkgsrc/pkgtools/pkg_p5up2date/Makefile:1.23 pkgsrc/pkgtools/pkg_p5up2date/Makefile:1.24 --- pkgsrc/pkgtools/pkg_p5up2date/Makefile:1.23 Tue Jun 28 11:35:25 2022 +++ pkgsrc/pkgtools/pkg_p5up2date/Makefile Mon Aug 15 14:48:24 2022 @@ -1,19 +1,17 @@ -# $NetBSD: Makefile,v 1.23 2022/06/28 11:35:25 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/08/15 14:48:24 wiz Exp $ -PKGNAME= pkg_p5up2date-0.07 -PKGREVISION= 1 +PKGNAME= pkg_p5up2date-0.08 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Check p5-* pkgsrc packages requiring updates -USE_TOOLS+= perl:run +USE_TOOLS+= perl:run pod2man WRKSRC= ${WRKDIR} NO_BUILD= yes USE_LANGUAGES= # none -DEPENDS+= p5-File-Find-Rule>=0.30:../../devel/p5-File-Find-Rule DEPENDS+= p5-CPAN-DistnameInfo>=0.02:../../devel/p5-CPAN-DistnameInfo INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 Index: pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl diff -u pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl:1.6 pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl:1.7 --- pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl:1.6 Sun Mar 20 08:09:56 2022 +++ pkgsrc/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl Mon Aug 15 14:48:24 2022 @@ -9,7 +9,6 @@ use Cwd qw(abs_path); use File::Basename; use File::Spec; use version; -use File::Find::Rule; use Getopt::Long; use Pod::Usage qw(pod2usage); @@ -296,7 +295,7 @@ my %distmods = get_modules_by_distributi my ( $pkg2update, $pkgok, $pkgcrank ) = ( 0, 0, 0 ); my $pkgsrc_base = find_pkgsrc_dir(); -my @p5_pkg_dirs = find( directory => name => "p5-*", in => $pkgsrc_base ); +my @p5_pkg_dirs = glob($pkgsrc_base . "/*/p5-*" ); @p5_pkg_dirs = sort @p5_pkg_dirs; foreach my $dn (@p5_pkg_dirs) --_----------=_1660574904177710--