Comment by csdvrx
3 years ago
FYI, building on windows make it detect Trojan:Win32/Wacatac.H!ml
I used your perl.com as an input. Fake positive? Or have you been infected?
Also, even if I cpan install the modules and have:
"perl_repo_files" : {"cpan" : [
"HTML-Template",
"URI",
"Class-Inspector",
"HTTP-Daemon",
"HTTP-Status",
"IPC-Open2"
}
I get:
C:\test> .\test.com Can't locate HTTP/Daemon.pm in @INC (you may need to install the HTTP::Daemon module) (@INC contains: . /zip/lib/perl5/site_perl/5.36.0/x86_64-cosmo /zip/lib/perl5/site_perl/5.36.0 /zip/lib/perl5/5.36.0/x86_64-cosmo /zip/lib/perl5/5.36.0) at /zip/bin/test line 9. BEGIN failed--compilation aborted at /zip/bin/test line 9.
Do I need to use https://github.com/G4Vi/MHFS/blob/master/apperl/download_pac... or something else to put the dependencies pm files in the zip?
It's mostly likely a false positive, but you're welcome to build from source with apperlm. The polygot binary format including the compressed ZIP archive probably sets off the scanners. The official APPerl binaries are compiled and uploaded by Github Actions: https://github.com/G4Vi/Perl-Dist-APPerl/blob/master/.github...
apperlm does not download perl module dependencies right now, but download_package.pl can be used to download dependencies. apperlm mostly just acts as a glorified front-end to Info-ZIP when doing a build of a "nobuild" config (building off of existing apperl)
download_package.pl example https://github.com/G4Vi/MHFS/blob/6db6ad24886ca0ea335a050228...
Edit: You can see what files were packed into it by renaming with .zip extension and opening with Windows Explorer.
Edit 2: "perl_repo_files" just specifies where to copy files to inside of the perl source tree. It is only used if you are building APPerl from source (it is unused if you are building a "nobuild" config). IPC-Open2 should already be bundled in the full perl.com as it's included in the perl5 repo: https://github.com/G4Vi/perl5/tree/cosmo-apperl/ext/IPC-Open...
Thank you! I've started actually playing with it besides the first tests, and it's great!
I'll see if I can have something akin to redbean ready this weekend.