Nmap Development mailing list archives

Re: [BUG] source tarball is huge


From: John Spencer <maillist-nmap () barfooze de>
Date: Sun, 09 Sep 2012 21:08:44 +0200

On 09/08/2012 08:54 PM, John Spencer wrote:
nmap-6.01.tar.bz2: 22MB

that's about 30 times bigger than the PCC C compiler

20 MB of the unpacked data are apparently "os x and win build envs"

the tarball has copies of libpcre, libpcap and dozens of other packages
in it, which is usually considered "A Bad Idea (TM)"

https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies

please provide a tarball that does not contain "os x and win build
envs", and no embedded libraries.
if libpcre is needed, check for it in configure and throw an error if
not found.
same for libpcap et al.

maybe you can make a "everything included" source tarball and a "sources
only" one ?

Regards, J.S.


thinking about it again, it seems to be the best option to provide a tarball for broken platforms like crap os x and winblows which include the kitchen sink including a compiler [emphasis added], and one for linux which only contains the nmap and related things like ncat and libraries from insecure.org.

there really is no point in including things like lua, prce or pcap which almost any linux system has already installed. and the mac/windows workaround crap is definitely not desired.

while we're at it i would welcome a tar.xz for even smaller filesize.
i'm pretty sure that nmap plus its own core libs fit into a 1MB xz tarball, once the trash has been removed.


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: