| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-Module-ScanDeps | Distribution: openSUSE Tumbleweed |
| Version: 1.370.0 | Vendor: openSUSE |
| Release: 1.5 | Build date: Thu Dec 12 17:30:51 2024 |
| Group: Unspecified | Build host: reproducible |
| Size: 133357 | Source RPM: perl-Module-ScanDeps-1.370.0-1.5.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://metacpan.org/release/Module-ScanDeps | |
| Summary: Recursively scan Perl code for dependencies | |
This module scans potential modules used by perl programs, and returns a
hash reference; its keys are the module names as appears in '%INC' (e.g.
'Test/More.pm'); the values are hash references with this structure:
{
file => '/usr/local/lib/perl5/5.8.0/Test/More.pm',
key => 'Test/More.pm',
type => 'module', # or 'autoload', 'data', 'shared'
used_by => [ 'Test/Simple.pm', ... ],
uses => [ 'Test/Other.pm', ... ],
}
One function, 'scan_deps', is exported by default. Other functions such as
('scan_line', 'scan_chunk', 'add_deps', 'path_to_inc_name') are exported
upon request.
Users of *App::Packer* may also use this module as the dependency-checking
frontend, by tweaking their _p2e.pl_ like below:
use Module::ScanDeps;
...
my $packer = App::Packer->new( frontend => 'Module::ScanDeps' );
...
Please see App::Packer::Frontend for detailed explanation on the structure
returned by 'get_files'.
Artistic-1.0 OR GPL-1.0-or-later
* Thu Dec 12 2024 Tina Müller <timueller+perl@suse.de>
- updated to 1.370.0 (1.37)
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.37 2024-11-14
- fix parsing of "use if ..."
Fixes errors in PAR::Packer test t/90-rt59710.t
- add test for _parse_libs()
1.36 2024-10-21
- Fix CVE-2024-10224: Unsanitized input leads to LPE
- use three-argument open()
- replace 'eval "..."' constructs
Note: this version was not released on CPAN because of
Coordinated Release Date for CVE
- README: add "Source Repository" and "Contact" info
switch "Please submit bug reports to ..." to GitHub issues
- add preload rule for MooX::HandlesVia
cf. https://github.com/rschupp/PAR-Packer/issues/88
* Fri Mar 08 2024 Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
* Mon Nov 06 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.35
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.35 2023-11-05
- massive speed up, esp. for scripts using stuff from
the Moose ecosystem, thanks to @shawnlaffan:
- add package level caches for INC searches (_find_in_inc, _glob_in_inc)
- faster add_deps on case insensitive systems AKA Windows
* Mon Sep 25 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.34
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.34 2023-09-24
- Fix issue #19 (AKA rschupp/PAR-Packer#78): invalid paths in zip file
- Restore behaviour from version 1.31 when using "pp --execute ..." or
"scandeps.pl --execute ...".
When using "scan_deps(execute => 1, ...)", %INC as gleaned from
running the script must be sanitized. Contrary to documentation
"The key is the filename you specified (with module names
converted to pathnames)" %INC *may* contain keys that are
* absolute pathnames* (or start with "./relativ/path" when
"relative/path" is in @PATH). Examples are autosplitted modules
(for autosplit.ix and *.al files). pp will pack these absolute
paths into the zip (Archive::Zip doesn't complain) which
results in strange error messages when the packed executable
tries to unpack them under CACHEDIR/inc on Windows.
Add t/19-autosplit.t to test for this.
Add IPC::Run3 to TEST_REQUIRES, used in t/19-autosplit.t
- Add GitHub CI
* Sat Aug 05 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.33
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.33 2023-08-04
- Recognize Moose/Moo/Mouse style inheritance ("extends")
or composition ("with") statements.
- Add %Preload entries for known dependants of XS::Parse::Keyword.
Note: XS::Parse::Keyword is loaded from XS code, grep.metacpan.org
for calls of boot_xs_parse_keyword() in *.xs files.
* Thu Jul 06 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.32
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.32 2023-07-05
- Ensure $inc gets removed from the start of $File::Find::name
On Windows, if $inc contains backslashes then it won't always get removed
from the start of $File::Find::name because the latter may be canonicalized
to only contain forward slashes.
- Provide dedicated test scripts for some tests instead of using
the test scripts themselves: Test::More draws in all kinds of stuff,
totally unpredictable
- Rewrite test helpers in t/Utils.pm to use Test::More's subtest feature
- Code cleanup; fix detection of 'do STRING' (cf PR #15)
- scandeps.pl: sort items in "used by" column
- Handle spaces after quote operator, e.g. eval qq {Some::Module}
- Fixes #12: share dir not returned when require module is in an eval
- Recognize constructs like "eval qq{require Inline::C}".
- Recognize idioms like "if (eval { require Foo }) { ..."
- Add %preload rules for some Mojo resource files
Fixes rschupp/PAR-Packer#44
- Bump perl dependency to guard against ancient perls without FindBin::again()
- Add tool to trace when (and from where) Perl searches for a module
* Thu Apr 22 2021 Tina Müller <timueller+perl@suse.de>
- updated to 1.31
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.31 2021-04-21
- Try to match more PerlIO ":layer(args)" in open() or binmode()
e.g. Spreadsheet::ParseODS uses ":gzip(none)";
Thanks, @shawnlaffan, for the suggestion (cf. PR #12)
- XML::Twig::XPath needs either XML::XPathEngine or XML::XPath
XML::Twig may use URI if present
- Moo may use Class::XSAccessor if present
- Fixes #10 "Support IUP.pm Module"
* Thu Jan 14 2021 Tina Müller <timueller+perl@suse.de>
- updated to 1.30
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.30 2021-01-13
- change bugtracker to GitHub issues
- guard against trailing slashes for paths in @INC
- interprete more common "use lib" idioms
1.29 2020-08-16
- implement interpretation of stuff like
use FindBin;
use lib "$FindBin/../lib";
* Mon Aug 17 2020 Tina Müller <timueller+perl@suse.de>
- updated to 1.29
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.29 2020-08-16
- implement interpretation of stuff like
use FindBin;
use lib "$FindBin/../lib";
* Fri Aug 07 2020 Tina Müller <timueller+perl@suse.de>
- updated to 1.28
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.28 2020-08-06
- placate cperl ("Attempt to change hash while iterating over it.")
- make _find_encoding() more robust
/usr/bin/scandeps.pl /usr/lib/perl5/vendor_perl/5.42.0/Module /usr/lib/perl5/vendor_perl/5.42.0/Module/ScanDeps /usr/lib/perl5/vendor_perl/5.42.0/Module/ScanDeps.pm /usr/lib/perl5/vendor_perl/5.42.0/Module/ScanDeps/Cache.pm /usr/lib/perl5/vendor_perl/5.42.0/armv7l-linux-thread-multi-64int/auto/Module /usr/lib/perl5/vendor_perl/5.42.0/armv7l-linux-thread-multi-64int/auto/Module/ScanDeps /usr/share/doc/packages/perl-Module-ScanDeps /usr/share/doc/packages/perl-Module-ScanDeps/AUTHORS /usr/share/doc/packages/perl-Module-ScanDeps/Changes /usr/share/doc/packages/perl-Module-ScanDeps/README /usr/share/licenses/perl-Module-ScanDeps /usr/share/licenses/perl-Module-ScanDeps/LICENSE /usr/share/man/man1/scandeps.pl.1.gz /usr/share/man/man3/Module::ScanDeps.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Oct 23 22:49:34 2025