Skip to content

Commit

Permalink
Merge pull request #379 from RotherOSS/issue-238-modules
Browse files Browse the repository at this point in the history
Issue #238: sync the required modules between 10_1 and 10_0
  • Loading branch information
bschmalhofer committed Aug 19, 2020
2 parents bbeb504 + 14a19f8 commit d1e3546
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
24 changes: 12 additions & 12 deletions bin/otobo.CheckModules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -307,18 +307,6 @@
ports => 'security/p5-Digest-SHA'
},
},
{
Module => 'List::Util::XS',
Required => 1,
Comment =>
"Do a 'force install Scalar::Util' via cpan shell to fix this problem. Please make sure to have an c compiler and make installed before.",
InstTypes => {
aptget => 'libscalar-list-utils-perl',
emerge => 'perl-core/Scalar-List-Utils',
zypper => 'perl-Scalar-List-Utils',
ports => 'lang/p5-Scalar-List-Utils',
},
},
{
Module => 'LWP::UserAgent',
Required => 1,
Expand Down Expand Up @@ -905,6 +893,18 @@
ports => 'textproc/p5-XML-Parser',
},
},
{
Module => 'Const::Fast',
Required => 0,
Features => ['div:readonly'],
Comment => 'Support for readonly Perl variables',
InstTypes => {
aptget => undef,
emerge => undef,
zypper => undef,
ports => undef,
},
},

# Feature devel
{
Expand Down
12 changes: 9 additions & 3 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ requires 'DBI';

requires 'Digest::SHA';

# Do a 'force install Scalar::Util' via cpan shell to fix this problem. Please make sure to have an c compiler and make installed before.
requires 'List::Util::XS';

requires 'LWP::UserAgent';

# Required for random number generator.
Expand Down Expand Up @@ -136,6 +133,12 @@ feature 'div:ldap', 'Suppport for div:ldap' => sub {

};

feature 'div:readonly', 'Suppport for div:readonly' => sub {
# Support for readonly Perl variables
requires 'Const::Fast';

};

feature 'div:ssl', 'Suppport for div:ssl' => sub {
# Required for SSL connections to web and mail servers.
# Please consider updating to version 2.066 or higher: This version fixes email sending (bug#14357).
Expand Down Expand Up @@ -299,6 +302,9 @@ feature 'optional', 'Suppport for optional' => sub {
# Recommended for XML processing.
requires 'XML::Parser';

# Support for readonly Perl variables
requires 'Const::Fast';

# a prerequisite of Kernel/cpan-lib/Selenium/Remote/Driver.pm
requires 'Clone';

Expand Down

0 comments on commit d1e3546

Please sign in to comment.