pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_p5up2date
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.
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@localhost
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)
Home |
Main Index |
Thread Index |
Old Index