pause icon indicating copy to clipboard operation
pause copied to clipboard

AuthenIMAP.pm.gz is an invalid package in 02packages.details.txt

Open toddr opened this issue 8 years ago • 3 comments
trafficstars

I would like to suggest removal of this line from 02packages.details.txt

Apache::AuthenIMAP                  0.1  M/MI/MICB/AuthenIMAP.pm.gz

The module does not exist on metacpan https://metacpan.org/search?size=20&q=Apache%3A%3AAuthenIMAP

The module also doesn't exist on search.cpan. This entry is an unathorized release. http://search.cpan.org/~jrlittell/Apache-AuthenIMAP-0.03/

If I try to install Apache::AuthenIMAP, it installs to site_lib/AuthenIMAP.pm instead of site_lib/Apache/AuthenIMAP.pm

While (IMO) it's technically a bug that CPAN is even trying to install this, I would argue that it should just be removed from the index.

$>cpan Apache::AuthenIMAP
CPAN: Storable loaded ok (v2.56_01)
Reading '/root/.cpan/Metadata'
  Database was generated on Thu, 11 May 2017 08:17:02 GMT
Running install for module 'Apache::AuthenIMAP'
CPAN: LWP::UserAgent loaded ok (v6.24)
Fetching with LWP:
http://www.cpan.org/authors/id/M/MI/MICB/AuthenIMAP.pm.gz
CPAN: YAML loaded ok (v1.23)
CPAN: Digest::SHA loaded ok (v5.95_01)
Fetching with LWP:
http://www.cpan.org/authors/id/M/MI/MICB/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.069001)
Checksum for /root/.cpan/sources/authors/id/M/MI/MICB/AuthenIMAP.pm.gz ok
CPAN: File::Temp loaded ok (v0.2304)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: CPAN::Meta loaded ok (v2.150005)
Package seems to come without Makefile.PL.
  (The test -f "/root/.cpan/build/MICB-aghgVW/Makefile.PL" returned false.)
  Writing one on our own (setting NAME to ApacheAuthenIMAP)
Configuring M/MI/MICB/AuthenIMAP.pm.gz with Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for ApacheAuthenIMAP
Writing MYMETA.yml and MYMETA.json
  MICB/AuthenIMAP.pm.gz
  /usr/local/cpanel/3rdparty/perl/524/bin/perl Makefile.PL -- OK
Running make for M/MI/MICB/AuthenIMAP.pm.gz
CPAN: Module::CoreList loaded ok (v5.20160819_24)
cp AuthenIMAP.pm blib/lib/AuthenIMAP.pm
  MICB/AuthenIMAP.pm.gz
  /usr/bin/make -- OK
Running make test
No tests defined for ApacheAuthenIMAP extension.
  MICB/AuthenIMAP.pm.gz
  /usr/bin/make test -- OK
Running make install
Installing /opt/cpanel/perl5/524/site_lib/AuthenIMAP.pm
Appending installation info to /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int/perllocal.pod
  MICB/AuthenIMAP.pm.gz
  /usr/bin/make install  -- OK

toddr avatar May 11 '17 15:05 toddr

I concur.

karenetheridge avatar May 11 '17 15:05 karenetheridge

Also reported to CPAN RT queue https://rt.cpan.org/Ticket/Display.html?id=121616 though it's not much of an issue if the module doesn't exist in the index.

toddr avatar May 11 '17 15:05 toddr

Actually more generically, I'd like to see all of these go?

$>grep "pm.gz$" 02packages.details.txt
Apache::AuthenIMAP                  0.1  M/MI/MICB/AuthenIMAP.pm.gz
BinTree                           undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/BinTree.pm.gz
CLR::Tree::Binary                 undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/CLR/Tree/Binary.pm.gz
Counter                           undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Counter.pm.gz
HTML::Simple                      undef  T/TO/TOMC/Simple.pm.gz
LastLog::Entry                    undef  T/TO/TOMC/scripts/whenon.dir/LastLog/Entry.pm.gz
LastLog::File                     undef  T/TO/TOMC/scripts/whenon.dir/LastLog/File.pm.gz
List::Combination                  1.00  C/CO/COOPERCL/List-Combination-1.00.pm.gz
Nice                              undef  T/TO/TOMC/scripts/ADVLABS/nice/Nice.pm.gz
NTree                             undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/NTree.pm.gz
pref                              undef  T/TO/TOMC/scripts/ADVLABS/rprint/pref.pm.gz
PriQueue                          undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/queues/strpris/PriQueue.pm.gz
Proxy::HTML                       undef  T/TO/TOMC/scripts/CS-Talk/source/web/Proxy/HTML.pm.gz
PwdOb                             undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/PwdOb.pm.gz
PwTree                            undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/PwTree.pm.gz
Queue                             undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/queues/strpris/Queue.pm.gz
Ref                               undef  M/MU/MUIR/modules/Ref.pm.gz
String::Edit                      undef  T/TO/TOMC/modules/String/Edit.pm.gz
StrNum                            undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/StrNum.pm.gz
StrTree                           undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/StrTree.pm.gz
StupidTree                        undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/StupidTree.pm.gz
SYS::lastlog                      undef  T/TO/TOMC/scripts/ADVLABS/binstuff/SYS/lastlog.pm.gz
TCP::Client                       undef  T/TO/TOMC/scripts/ADVLABS/net/TCP/Client.pm.gz
ThreadTree                        undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ThreadTree.pm.gz
Tie::AppendHash                   undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Tie/AppendHash.pm.gz
Tie::ClockTimer                   undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Tie/ClockTimer.pm.gz
Tie::Folded                       undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Tie/Folded.pm.gz
Tie::RevHash                      undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Tie/RevHash.pm.gz
Tie::RevRefHash                   undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/Tie/RevRefHash.pm.gz
TimeOut                           undef  T/TO/TOMC/scripts/ADVLABS/timeouts/TimeOut.pm.gz
TreeHash                          undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/TreeHash.pm.gz
UnderScore                        undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/ties/UnderScore.pm.gz
ValueTree                         undef  T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ValueTree.pm.gz

toddr avatar May 11 '17 15:05 toddr

Why?

Uploading a .pm.gz file worked for years. cpan Apache::AuthenIMAP works. A bunch of the stuff in TOMC's directory is maybe better removed from the index, but unindexing things that work and were expressly permitted by the indexer seems arbitrary.

I would like us to have some sort of documented list of "what is permitted to be indexed" and work from that, if anything.

rjbs avatar Apr 28 '23 11:04 rjbs

If we are OK with .pm.gz then that is fine with me. I would like to fix the index problem with that module.

toddr avatar Apr 28 '23 14:04 toddr

From PTS 2023, we will not index these going forward. That already-indexed package will be left in place. I'll contact the author to ask them to remove it, though.

rjbs avatar Apr 29 '23 07:04 rjbs

Code to reject X.pm.gz has been in place for a while, actually, these are just legacy. I've contacted the authors.

rjbs avatar Apr 30 '23 08:04 rjbs