projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb50b62
)
Handle perl-LDAP package
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 15 Dec 2007 01:09:04 +0000
(
01:09
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 15 Dec 2007 01:09:04 +0000
(
01:09
+0000)
cpan/cpan-lib.pl
patch
|
blob
|
history
diff --git
a/cpan/cpan-lib.pl
b/cpan/cpan-lib.pl
index
a200e69
..
9bb4ee5
100644
(file)
--- a/
cpan/cpan-lib.pl
+++ b/
cpan/cpan-lib.pl
@@
-339,6
+339,10
@@
foreach my $a (@avail) {
$a->{'name'} =~ /^perl-(\S+)$/) { # Redhat
local $mod = $1;
$mod =~ s/-/::/g;
+ if ($mod eq "LDAP") {
+ # Special case for redhat-ish systems
+ $mod = "Net::LDAP";
+ }
push(@rv, { 'mod' => $mod,
'package' => $a->{'name'},
'version' => $a->{'version'}, });