multiple distfiles from multiple sources and with multiple compression types

Ryan Schmidt ryandesign at macports.org
Thu Mar 31 17:43:39 PDT 2016


On Mar 31, 2016, at 11:35 AM, Rainer Müller wrote:

> Using magic bytes would even result in wrong results in some cases. For
> example for scapy, the distfile is intentionally a polyglot. It is both
> a valid shell script and a zip file:
> 
> $ file -b /opt/local/var/macports/distfiles/scapy/scapy-2.3.1.zip
> POSIX shell script executable (binary data)

Interesting, I did not know that kind of thing existed / was possible.



More information about the macports-dev mailing list