Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-Module-ScanDeps
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for perl5 5.44.0
*: bump for perl 5.42.0
p5-Module-ScanDeps: update to 1.37. 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
*: recursive bump for perl 5.40
(devel/p5-Module-ScanDeps)
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
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
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.
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
*: recursive bump for perl 5.38
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
*: recursive bump for perl 5.36
Update to 1.31 Upstream 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" 1.30 2021-01-13 - change bugtracker to GitHub issues - guard against trailing slashes for paths in @INC - interprete more common "use lib" idioms
*: recursive bump for perl 5.34
p5-Module-ScanDeps: update to 1.29.
1.28 2020-08-06
- placate cperl ("Attempt to change hash while iterating over it.")
- make _find_encoding() more robust
*: bump PKGREVISION for perl-5.32.
Bump PKGREVISIONs for perl 5.30.0
Update packages using a search.cpan.org HOMEPAGE to metacpan.org. The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
Update to 1.27
Upstream changes:
1.27 2019-01-15
- fixes by Shawn Laffan <shawnlaffan@gmail.com>
- Process lines like "{ package foo; use if 1, "warnings"; } (#8)
- Also handle 'do {use module; ...}'
- some clean ups
- scandeps.pl: sort output by module name
- add_deps(): use _gettype() instead of inline code
- _compile_or_execute(): require DynaLoader _before_ accessing
its variables
- t/7-check-dynaloader.t: improve diagnostics
- drop Cwd from the list of potential XS modules
- suppress warnings in some ancient Perls
1.26 2018-12-12
- Glue DLLs of XS modules should have type "shared" rather than "data"
Detection broke on Windows where nowadays $Config{dlext} = "xs.dll"
(i.e. it's not a simple suffix)
- Mention some other modules: Module::ExtractUse and Perl::PrereqScanner::* family
- Add %Preload rules for:
- JSON::MaybeXS
- HTTP::Entity::Parser
- FFI::Platypus
Recursive bump for perl5-5.28.0
p5-Module-ScanDeps: update to 1.25. 1.25 2018-08-18 - Merge pull request #2 from shawnlaffan/master, thanx Shawn! continue scanning one-liners when use if, autouse or >5.010 found - Fix how data obtained from compiling or executing a file is incorporated (_info2rv). Sanitize all pathnames to use slash (instead of backslash): - members of @INC - keys and values of %INC - members of @dl_shared_objects This should make stripping @INC prefixes finally work. - Add %Preload rule for FFI::Platypus - Add bugtracker to META.yml
p5-Module-ScanDeps: update to 1.24. 1.24 2017-06-28 - Merge pull request from Salvador FandiƱo (salva), thx! Specio::PartialDump uses unicore - Fix RT#119737: Problems with detecting DateTime::Format::Natural dependencies ... by adding a %Preload rule
Recursive revbump from lang/perl5 5.26.0
Update to 1.23 Upstream changes: 1.23 2016-11-16 - add %Preload rules for List::SomeUtils and Pod::Simple::Transcode - get rid of Module::Install, use ExtUtils::MakeMaker
Updated devel/p5-Module-ScanDeps to 1.22 ---------------------------------------- 1.22 2016-09-17 - Fix RT#117887: Not parsing new release of Net::DNS::Resolver add %Preload rule for Net/DNS/Resolver.pm
Bump PKGREVISION for perl-5.24.
Updated devel/p5-Module-ScanDeps to 1.21 ---------------------------------------- 1.21 2016-04-05 - %Preload: add rules for List::MoreUtils and Log::Dispatch - %Preload: make the following modules require the unicore stuff: charnames.pm Unicode/Normalize.pm Unicode/UCD.pm - add helper _glob_in_inc_1() - remove all references to http://par.perl.org/, doesn't exist anymore
Update p5-Module-ScanDeps to 1.20:
1.20 2015-10-04
- Fix RT #107304: Newer versions of File::Path cause warning "_Inline for _Inline: No such file or directory at Module/ScanDeps.pm line 1339."
- drop the dubious call to rmtree()
- Fix RT106142: Preload dependencies for PDL and PDL::NiceSlice
- adopted from a patch by Shawn Laffan, thanks Shawn!
- Fix RT#106144: Preload dependencies for File::BOM)
- adopted from a patch by Shawn Laffan, thanks Shawn!
- Revise our stance on utf8.pm:
- A line of "use utf8;" just means "this file is encoded in UTF-8"
and should _not_ result in scanning utf8.pm which will pull in
the whole Unicode shebang (propery tables and what not).
Yes, utf8.pm _doesn contain "require utf8_heavy.pl", but only inside
an AUTOLOAD() that is _not_ triggered by calling functions
like utf8::is_utf8().
- OTOH the innocently looking one-liner
perl -ne 'print if /\pN/'
implicitly loads utf8.pm and triggers the AUTOLAD().
- So prevent utf8.pm from being scanned and make utf8_heavy.pl
the indicator for "I need the Unicode stuff" instead.
- Cache the results of _get_preload('utf8_heavy.pl').
- Make %Preload "transitive" so that given
my %Preload = (
'Foo.pm' => [ 'Bar.pm' ],
'Bar.pm' => [ 'Quux.pm' ],
...
);
scan_deps_static() register a dependency on Bar.pm _and_
Quux.pm when it saw "use Foo;"
- Minor changes:
- drop dubious %Preload of utf8.pm for SOAP::Lite and XML::Parser::Expat
- drop code for Perl < 5.008 as we require 5.8.1 already
- rework the implementation of -x/-c
- add add_preload_rule() to dynamically add a %Preload rule
- recognize constructs like "open FH, '<:via(Foo)', ..."
- upgrade to Module::Install 1.16
(pkgsrc)
- Add following line for make test
BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
(upstream)
- Update 1.18 to 1.19
----------------------
1.19 2015-05-27
- add %Preload rule for LWP::MediaTypes: data file LWP/media.types
- add %Preload entry for MIME::Types: data file MIME/types.db
- add %Preload rule for AnyEvent
- always add Encode.pm when fix encountering constructs like
decode("klingon", ...)
open FH, "<:encoding(klingon)", ..
- add license
- update OpenFoundry repository URL
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Update to 1.18 -------------- 1.18 2015-01-19 - Fix RT #101569: Incorrect module parsing if Moose is included
Update to 1.17. From the changelog:
- scandeps.pl: die if an option is not recognized
- Reformat Changes file according to CPAN::Changes::Spec
- Modify %Preload rule: let Unicode::UCD explicitly imply utf8.pm.
This fixes PAR::Packer's self test.
Previously Unicode::UCD implied utf8.pm implicitly because
it contains calls to some utf8::foo() functions.
- Add %Preload rule: Mozilla::CA requires its cacert.pem file
- Recognize "do filename" constructs even if "do" isn't at the start
of a chunk.
- Upgrade to Module::Install 1.14
- Fix RT#98938: recognize Module::Runtime module-loading functions
- Fix a nasty typo that broke scandeps.pl option -E
$ scandeps -E "some string"
Unknown option: E
Can't open some string: No such file or directory at scandeps.pl line 49.
- also scandeps.pl: die if an option is not recognized
- Remove some overzealous heuristics from scan_chunk()
- they were looking for
Foo::Bar->something
Foo::Bar::whatever(...)
_anywhere_ in programs to infer a dependency on Foo/Bar.pm.
BEWARE: This might break some use cases, i.e. missing some dependencies.
On the other hand, this causes hard to investigate problems like the one
starting at http://www.mail-archive.com/par@perl.org/msg05531.html.
While the former can easily be worked around by the user itself (just
add a missing dependecy explicitly, e.g. using "pp -M ...") and
typically can be solved in general by adding a %Preload rule,
the latter just wastes people's times.
- Recognize Test::More require_ok() and use_ok()
- makes 3-static_oo_interface_real.t pass again (fallout from the above)
- Upgrade to Module::Install 1.12
- Add option -T to request information from CPAN
- don't access CPAN behind the user's back just because they have
CPANPLUS installed (it was in the Perl core from 5.10 to 5.18) -
it might not even have been configured (e.g. in a corporate internet)
- only do this when explicitly requested
- Fix RT #98203: Migrate from deprecated Module::Build::ModuleInfo to Module::Metadata
- thanx Petr Pisar (ppisar@redhat.com) for the hint
- add long option names to scandeps.pl
- implement option --xargs for scandeps.pl
- fix wrong version numbers in Changes
- Fix RT #92860 (t/7-check-dynaloader.t doesn't handle systems with mod2fname),
also RT #97519 (Fix for t/7-check-dynaloader.t on systems with DynaLoader::mod2fname)
- applied patch from Brian Fraser (fraserbn@gmail.com), thanks!
- lib/Module/ScanDeps/DataFeed.pm: apply here, too
- Fix recognition of (open() arguments) "<:encoding(klingon)",
implies modules PerlIO and PerlIO::encoding.
- Fix RT #90869: Use of uninitialized value $module in substitution (s///)
- Fix RT #87775: typo fixes, thanks dsteinbrunner@pobox.com
- new %Preload rule for B::Hooks::EndOfScope
- new %Preload rule for Pod::Usage
- add a fake %Preload rule that warns if use of Module::Implementation
or Module::Runtime is detected (coz' they're doing runtime loading)
- change some tests to use Test::Requires instead of homegrown stuff;
hence add it to "test_requires"
- clean up some uses of Test::More
- Fix RT #89000: test broken by indirect base.pm disuse
- delete base.pm from list of expected deps,
patch by Andrew Main (zefram@fysh.org)
- new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
- look for IO::Socket::SSL or Net::SSL
- new %Preload rule for YAML::Any
- try to figure out what YAML::Any would have used
(using YAML::Any->implementation)
- as fallback, include anything below YAML
- add %Preload rule for Params::Validate to detect
its PP and XS implementations
- Fix RT #80276 Module DateTime::Format::ISO8601 generates error
after being packaged
- caused by failing to pack DateTime::Format::Builder::Parser::XXX modules
needed by DateTime::Format::Builder::Parser
- add a corresponding %Preload rule
- update to Module::Install 1.06
Remove SVR4_PKGNAME, per discussion on tech-pkg.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Updating package for CPAN module Module::ScanDeps in devel/p5-Module-ScanDeps
from 1.08 to 1.09
upstream changes:
[Changes for 1.09 - 2012-09-09]
* teach Module::ScanDeps about "use if ..." constructs
- fixes CPAN Testers failures for PAR::Packer with perl 5.17.1 and up
(Roderich Schupp)
* RT #79003: t/7-check-dynaloader.t failing when /usr/lib != /usr/lib64
- scrap the test for "$entry{file} starts with $expected_prefix" as
its assumptions are flawed (Roderich Schupp)
* Mojo::Base is a loader (Alexandr Ciornii)
* Special case for Class::Load (Alexandr Ciornii)
Updating package for Perl 5 module Module::ScanDeps in
devel/p5-Module-ScanDeps from 1.04 to 1.08.
pkgsrc changes:
- remark using of bundled Module::Install in addition to ExtUtils::MakeMaker
Upstream changes:
[Changes for 1.08 - 2012-02-21]
* RT #73785: scandeps -c fails on modules that depend on Getopt::Euclid
- for "scandeps -c ..." switch from an INIT block to a CHECK block
and call the augmented script with "perl -c" instaed of "perl"
* RT#72954 ":encoding(UTF-8)" doesn't imply a dependency on Encode.pm
- if scan_chunk sees ":encoding(FOO)" or similar, it goes to some
length to find the "external" Encode module to handle FOO; but it
forgets that Encode.pm itself is needed at runtime (esp. if FOO
is an encoding "internally" handled by Encode.pm, e.g. "UTF-8")
* %Preload: add rules for Gtk2.pm and Pango.pm
* %Preload: fix a problem with Image::ExifTool
[Changes for 1.07 - 2011-11-29]
* RT #72796: dynaloader test fails when the .so files are in the
system lib dirs and local::lib is involved?
Relax a check in t/7-check-dynaloader.t
* Update Module::Install to 1.04
[Changes for 1.06 - 2011-11-28]
* RT #72211: pp includes way too much modules (when using 'use strict;')?
Rework regexes to detect "use MODULE ...":
the following line from unicore/mktables
my $unihan = 'Unihan properties are by default not enabled in the Perl core. Instead use CPAN: Unicode::Unihan';
would erroneously detect a dependency on CPAN.pm (which will in turn
pull in a lot of modules)
* Bump Perl version requirement to 5.8.1 (Schwern: The End Of 5.6 Is Nigh!)
* Rewrite t/7-check-dynaloader.t to look for more candidates of dynamic modules
that might be used as test cases
[Changes for 1.05 - 2011-11-02]
* RT #72082: $FindBin::Bin issue on Moudel::ScanDeps 1.04
Make FindBin work (at least with option -c or -x) by spoofing $0
in the temp script generated for M:SD::DataFeed
* RT #70134: patch suggestions for Module::ScanDeps 1.04: additional preload
rules, used_via_preload attribute
Add suggested %Preload rules from the attached patch (thanks, Markus Jansen)
* Add %Preload rules for MozRepl
* Special case for Package::Stash (Alexandr Ciornii)
* Special case for Moose (Alexandr Ciornii)
Update p5-Module-ScanDpes to 1.04.
Changes from previous:
[Changes for 1.04 - 2011-07-21]
* Brown paper bag bug: fix option -x (execute) (broken by changes for -c)
* While we're at it: honor option -I with -c
[Changes for 1.03 - 2011-07-18]
* RT #69213: ScanDeps incompatible with AnyEvent (Perl 5.14, AnyEvent 5.34, PAR 1.00.2)
For option -c (compile) M:SD used to wrap the file in one big sub and
appended an END block where it dumps %INC etc; the outer sub causes problems
with certain contructs. Instead we now use an INIT block prepended
to the file.
* RT #69471: Problem with "eval { require SomeModule }" constructions
Module::ScanDeps::DataFeed now omits %INC pairs with an undefined value
(these may be created by an unsuccessful "require" under certain conditions).
Also omit CODE refs from @INC.
* Fix for failing CPAN Testers report
http://www.cpantesters.org/cpan/report/4208fa16-a5d1-11e0-a0bc-c71a7862a918:
Perl 5.15.0 got rid of Shell.pm
* Fix for failing CPAN Testers report
http://www.cpantesters.org/cpan/report/772147dc-6c1f-1014-baf2-318eb63ba09a:
- regex meta characters in filenames break consistency check
* Simplify Module::ScanDeps::DataFeed somewhat by localizing %INC
around "require Module::ScanDeps::DataFeed" and by using Data::Dumper
for the actual dump.
* Don't create the tempfiles for DataFeed in the working directory.
* Purge all pod from Module::ScanDeps::DataFeed, advise the CPAN
indexer not to bother with it; same for Module::ScanDeps::Cache.
[Changes for 1.02 - 2011-04-03]
* %Preload: add _all_ *.pl file below .../unicore for utf8.pm
[Changes for 1.01 - 2011-03-26]
* %Preload: add "unicore/version" for Unicode/UCD.pm
(because it contains a call openunicode(..., "version"))
[Changes for 1.00 - 2011-02-19]
* RT #65855: Special handling for POSIX requested (Roderich Schupp)
* RT #65252: Temp files left when execute fails (Roderich Schupp)
* add a %Preload rule for Log::Report::Dispatcher (Roderich Schupp)
cf. http://www.nntp.perl.org/group/perl.par/2011/01/msg4871.html
* add %Preload rule for Date::Manip (Roderich Schupp)
* speed up scanning *significantly* by not re-constructing regexen
for every line of input and reducing the no. of sub calls (Steffen Mueller)
* add Eric Roode to AUTHORS (Steffen Mueller)
* RT #61027: "use lib" does not work (Roderich Schupp)
scan_line(): When handling "use lib '/some/dir'" we add "/some/dir/ARCHNAME",
"/some/dir/VER" and "/some/dir/VER/ARCHNAME", but forgot
to add "/some/dir" itself.
While we're at it, improve parsing the argument list of "use lib".
Simply eval the string, this should at least make all forms of
quoted strings work correctly.
* fix URI special case (clkao)
* fix a regression reported by CPAN Testers (Roderich Schupp)
* finally: bump version to 1.00
Revision bump after updating perl5 to 5.14.1.
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
Update from version 0.97 to version 0.98. Upstream changes: [Changes for 0.98 - 2010-07-26] * Make %Preload entry for "utf8.pm" lazy (Roderich Schupp) * Upgrade to Module::Install 1.00 (Roderich Schupp) * RT #58093: Par-Packer not including all dependencies (unicore/Heavy.pl) (Roderich Schupp) * Add %Preload rule for RPC::XML (Roderich Schupp) * RT #57494: add %Preload rule for JSON.pm (Roderich Schupp)
Update from version 0.96 to version 0.97. Upstream changes: [Changes for 0.97 - 2010-04-10] * Pack the content of module/distribution sharedirs is automatically. (kmx) * RT #56020 - add data files used by Unicode::UCD (Roderich Schupp) * RT #55746 - remove bogus "... if %Config::Config" condition (Roderich Schupp) * Add special case for CGI::Application::Plugin::AutoRunmode (Alexandr Ciornii) * Add special case for CGI::Application::Plugin::Authentication (Alexandr Ciornii) * Add special case for DBIx::Perlish (Alexandr Ciornii)
Update to 0.96: [Changes for 0.96 - 2009-11-13] * perl 5.6.1 compatibility (Alexandr Ciornii) * Test for "use module version;" (Alexandr Ciornii)
Updating devel/p5-Module-ScanDeps from 0.94 to 0.95 Upstream changes: [Changes for 0.95 - 2009-10-16] * Fix "uninitialized value" warnings (Dave Rolsky) * Add special case for Perl::Critic (Alexandr Ciornii) * Add special case for Event (Alexandr Ciornii) * Add special case for Wx.pm (Alexandr Ciornii) * Add special case for Log::Any
Updating package devel/p5-Module-ScanDeps from 0.93 to 0.94 Upstream changes: [Changes for 0.94 - 2009-08-10] * Add tests for scan_line (Alexandr Ciornii) * RT#48151 fixed, "require __PACKAGE__" should not die (Alexandr Ciornii) * OS/2 fixes (Ilya Zakharevich)
Fix dependency cycle to Module::Install
Updating package for p5 module Module::ScanDeps from 0.91 to 0.93
pkgsrc changes:
- Use Module::Install as module type
Upstream changes:
[Changes for 0.93 - 2009-07-19]
* Implement caching of dependencies (Christoph Lamprecht)
[Changes for 0.92 - 2009-07-19]
* Fix bug with {type} being set to unexpected values in some cases (Christoph Lamprecht)
* Add tests for scan_chunk (Alexandr Ciornii)
* Add special case for parent.pm (Alexandr Ciornii)
* Fix for "use parent::something" (Alexandr Ciornii)
* Add special case for Catalyst.pm (Alexandr Ciornii)
Updating package for p5 module Module::ScanDeps from 0.90 to 0.91 Setting license Upstream changes: [Changes for 0.91 - 2009-06-22] * Add special case for Tk's setPalette call (Christoph Lamprecht)
Update from version 0.89 to version 0.90. Upstream changes: [Changes for 0.90 - 2009-05-09] * Add special case for DateTime::Locale * Add special case for PAR::Repository and PAR::Repository::Client
Update from version 0.84 to version 0.89. Pkgsrc changes: * Drop dependencies on Perl 5 modules provided by the minimum required perl5 package (5.10) Upstream changes: [Changes for 0.89 - 2008-11-03] * Distribution fixes. * Do not use base Exporter. * Detection of 'asa' and 'only::matching'. [Changes for 0.88 - 2008-10-28] * Add special case for File::HomeDir. [Changes for 0.87 - 2008-10-28] * Add special case for PPI. [Changes for 0.86 - 2008-10-23] * Fix the 'use prefork "Foo"' static detection. * Fix the detection of any of the module-loader modules such as prefork, autouse, etc. if invoked as 'use prefork"Foo"' (note the lack of a space). * Slightly refactor the loader-module scanning. (see above) * Support for "use maybe 'foo';" * Use (arch|priv)libexp instead of (arch|priv)lib in scandeps.pl (Mark Stosberg) * Update to Module::Install 0.77 [Changes for 0.85 - 2008-08-01] * Add special case for Net::Server.
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
Add missing dependency: p5-version (since versin 0.82) p5-Module-Builder (since versin 0.75) Should fix PR 38842. Bump PKGREVISION.
Updated devel/p5-Module-ScanDeps to 0.84 [Changes for 0.84 - 2008-05-13] * Add special case for Class::MethodMaker. [Changes for 0.83 - 2008-03-23] * Add special case for Image::ExifTool. [Changes for 0.82 - 2008-01-08] * Add Test::More to build requirements (Alexandr Ciornii) * Add dependency on version.pm * Now correctly identifies feature.pm as a dependency if "use 5.10.0;" (and up) is found. [Changes for 0.81 - 2007-12-07] * Fix for the case-insensitive-file-system-test. [Changes for 0.80 - 2007-11-30] * Fix to avoid duplicated entries arising from used_by references with case differences. * Do not report input files themselves as dependencies. (Regression from 0.74 onwards) * Remove warning from ScanFileRE tests. [Changes for 0.78 - 2007-11-17] * Fix ScanFileRE heuristics to allow for scanning files without suffixes. [Changes for 0.77 - 2007-09-20] * Add support for prefork.pm (similar to how base.pm is detected). * Added uses field to hash descriptions returned by scan_deps + tests (Adrian Issott) * Added ScanFileRE to restrict the files scanned to .pl, .pm, .al and .t but allow the user to override + tests (Adrian Issott) [Changes for 0.76 - 2007-07-21] * Fix special case for Term::ReadLine (should not rope in Tk) * New special case for Tcl::Tk (should not rope in Tk either!) * New special case for threads::shared ==> rope in attributes.pm * Fix to avoid duplicated entries that can arise due to case differences that don't actually matter on case-tolerant systems (Adrian Issott) * M::SD warnings now go to STDERR not STDOUT (Adrian Issott) * Fixed bug #24162: scandeps.(bat|pl) doesn't correctly identify Core Modules on Windows (Adrian Issott) * Now finds shared libraries for modules specified as input files. * Tests for finding shared libraries. [Changes for 0.75 - 2007-06-24] * Fix special cases for POE. (Roderich Schupp) * Added exported path_to_inc_name subroutine (Adrian Issott) * Added Module::Build::ModuleInfo dependency (Adrian Issott) * Fixed bug where input files weren't scoped properly * Add new "check-for-dynaloader" test. (Eric Wilhelm)
Updated devel/p5-Module-ScanDeps 0.68 -> 0.74 [Changes for 0.74 - 2007-04-26] * Same as 0.73_01, but not a developer release. [Changes for 0.73_01 - 2007-03-28] * Fixed bug "scan_deps doesn't show ALL the dependencies" * Ensured all file entries are given by absolute paths * Added a number of test artificial dependency trees as test data mainly for "scan_deps doesn't show ALL the dependencies" bug * Added tests for scandeps recurse option (all pass) * Added tests for scandeps skip option (all pass) * Added tests to show a duplicated dependency is in fact only shown once (all pass) * Added Utils.pm test module containing generic_scandeps_rv_test and compare_scandeps_rvs subroutines (Adrian Issott) [Changes for 0.73 - 2007-03-25] * Now being a little cleverer for detecting globs in diamond operators. (Requiring a meta character within the <>.) [Changes for 0.72 - 2007-02-03] * Case-insensitive @INC removal for case-insensitive filesystems (Eric Wilhelm) [Changes for 0.71 - 2007-01-04] * Added special cases for Catalyst Class::MakeMethods Config::Any DBIx::Class Email::Send Log::Log4perl SQL::Translator * print() the "# Legend..." line instead of warn()ing it. [Changes for 0.70 - 2006-11-21] * Added special case for Image::Info. [Changes for 0.69 - 2006-11-07] * Additional corner cases for LWP::UserAgent and LWP::Parallel::UserAgent and friends.
Update p5-Module-ScanDeps to 0.68.
Changes:
[Changes for 0.68 - 2006-10-25]
* Added special case for PerlIO.pm. If PerlIO.pm is needed, require
PerlIO::scalar, too, because it can be used "under the hood".
(Roderich Schupp)
* Added some File::Spec'ness. (Steffen Mueller)
* Refactored the %Preload mapping code into _get_preload so that
the PAR -M %Preload fix would work. (Steffen Mueller)
[Changes for 0.67 - 2006-10-24]
* Added @IncludeLibs which is used alongside @INC for searching modules.
(David Romano)
* Won't pick up Tk as a dependency for Term::ReadLine any more.
You can stop laughing now!
[Changes for 0.66 - 2006-09-24]
* Fixed another bug in Module::ScanDeps::Datafeed which would break
run- and compile-time dependency scanners if $ENV{PERL5LIB} entries
had trailing backslashes. Thanks to Steven Mackenzie for pointing
this out.
* Added some documentation and comments to M::SD::Datafeed for the sake of
future maintainers.
[Changes for 0.65 - 2006-09-24]
* Fixed bug in Module::ScanDeps::Datafeed which would die() in 0.64.
[Changes for 0.64 - 2006-09-22]
* Upgraded to Module::Install 0.64
* Added warning of missing modules when -V is in effect (scandeps.pl).
* Added warning of missing modules if "warn_missing=>1" specified as
an option to scan_deps.
[Changes for 0.63 - 2006-08-27]
* Upgraded to Module::Install 0.63
[Changes for 0.62 - 2006-07-16]
* Better diagnostics.pm support for searching the related
.pod file.
[Changes for 0.61 - 2006-06-30]
* Now presenting more helpful (and correct) error messages when
multiple versions of a module (files) are found.
* Corrected a POD error.
* Added test for POD correctness.
[Changes for 0.60 - 2006-05-23]
* Fixed bug that prevented "use encoding 'utf-8';" from being
picked up. This was because the -8 was stripped and thus, the
encoding wasn't recognized.
[Changes for 0.59 - 2006-05-03]
* Recovering 5.005 compatibility. (Hopefully!)
* Using Module::Install 0.62
* Added a dependency on File::Temp for pre 5.6 perls.
* Fixed broken Module::Pluggable support.
[Changes for 0.58 - 2006-04-16]
* Added dependency for Test::Deep
* Added dependency for Math::Symbolic
[Changes for 0.57 - 2006-03-03]
* Applied Stephen Schulze's patch which fixes the problem that modules are
reported as depended upon only once.
[Changes for 0.56 - 2006-02-20]
* Added special dependency for Tk::Getopt. Suggested by Slaven Rezic.
[Changes for 0.55 - 2006-02-17]
* Applied Roderich Schupp's patch to fix a problem with 'autouse'.
* Now using Module::Install 0.56
[Changes for 0.54 - 2006-01-11]
* Switch to File::Temp::tempfile() for more robust temporary file creation.
Contributed by: Jesse Vincent
* Update to latest Module::Install _again_ to fix Cygwin installation.
Reported by: Matt S Trout
[Changes for 0.53 - 2006-01-10]
* Update to latest Module::Install; no functional changes.
[Changes for 0.52 - 2005-12-12]
* Support for autouse.pm.
* Support for Tk::DragDrop. Reported by: Renee Baecker.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Lower expectations, both others' and mine: relinquish stewardship
Bump the PKGREVISIONs of all (638) packages that hardcode the locations of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}. There is no change to the binary
packages.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Update to version 0.51 Changes since last packaged version (0.50): [Changes for 0.51 - 2005-01-08] * scandeps.pl is now usable without CPANPLUS.pm installed. Reported by: Rafael Garcia-Suarez
since perl is now built with threads on most platforms, the perl archlib module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
Initial addition of p5-Module-ScanDeps version 0.50 in the NetBSD Packages Collection. The Perl 5 module Module::ScanDeps allows to recursively scan Perl code for dependencies.
Initial revision