Nmap Development mailing list archives

[PATCH] remove strip command from ncat install


From: Nuno Gonçalves <nunojpg () gmail com>
Date: Fri, 6 Aug 2010 22:24:22 +0100

/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: