Nmap Development mailing list archives

Re: [PATCH] remove strip command from ncat install


From: Nuno Gonçalves <nunojpg () gmail com>
Date: Mon, 16 Aug 2010 10:58:27 -0400

Hi,

This patch went unnoticed? should be patchs submitted in another way?

Regards,
Nuno

2010/8/6 Nuno Gonçalves <nunojpg () gmail com>:
/usr/bin/install -c -c -m 755 -s ncat
/home/nuno/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/nmap-19480/ipkg-install/usr/bin/ncat
strip: Unable to recognise the format of the input file
`/home/nuno/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/nmap-19480/ipkg-install/usr/bin/ncat'
/usr/bin/install: strip process terminated abnormally
make[4]: *** [install] Error 1

Is the -s necessary? I remember it also existed on nmap 4.2 install,
but it was removed since...

Index: ncat/Makefile.in
===================================================================
--- ncat/Makefile.in    (revision 19516)
+++ ncat/Makefile.in    (working copy)
@@ -136,7 +136,7 @@
 install: $(TARGET)
       @echo Installing Ncat;
       $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
$(DESTDIR)$(pkgdatadir) $(DESTDIR)$(mandir)/man1
-       $(INSTALL) -c -m 755 -s ncat $(DESTDIR)$(bindir)/ncat
+       $(INSTALL) -c -m 755 ncat $(DESTDIR)$(bindir)/ncat
       if [ -n "$(DATAFILES)" ]; then \
               $(INSTALL) -c -m 644 $(DATAFILES) $(DESTDIR)$(pkgdatadir)/; \
       fi

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

Current thread: