pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_p5up2date pkg_p5up2date: update to 0.08.
details: https://anonhg.NetBSD.org/pkgsrc/rev/14307952d429
branches: trunk
changeset: 383223:14307952d429
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Aug 15 14:48:24 2022 +0000
description:
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/...).
diffstat:
pkgtools/pkg_p5up2date/Makefile | 8 +++-----
pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl | 3 +--
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r dde14559ce2e -r 14307952d429 pkgtools/pkg_p5up2date/Makefile
--- a/pkgtools/pkg_p5up2date/Makefile Mon Aug 15 14:45:07 2022 +0000
+++ b/pkgtools/pkg_p5up2date/Makefile Mon Aug 15 14:48:24 2022 +0000
@@ -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
diff -r dde14559ce2e -r 14307952d429 pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl
--- a/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl Mon Aug 15 14:45:07 2022 +0000
+++ b/pkgtools/pkg_p5up2date/files/pkg_p5up2date.pl Mon Aug 15 14:48:24 2022 +0000
@@ -9,7 +9,6 @@
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 ( $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