fix segfault with -p (boo#1221403) OBS-URL: https://build.opensuse.org/request/show/1158072 OBS-URL: https://build.opensuse.org/package/show/network:utilities/nmap?expand=0&rev=134
15 lines
682 B
Diff
15 lines
682 B
Diff
Index: nmap-7.94/Makefile.in
|
|
===================================================================
|
|
--- nmap-7.94.orig/Makefile.in
|
|
+++ nmap-7.94/Makefile.in
|
|
@@ -316,9 +316,6 @@ distclean-%: clean-%
|
|
install-nmap: $(TARGET)
|
|
$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir)
|
|
$(INSTALL) -c -m 755 nmap $(DESTDIR)$(bindir)/nmap
|
|
-# Use strip -x to avoid stripping dynamically loaded NSE functions. See
|
|
-# http://seclists.org/nmap-dev/2007/q4/0272.html.
|
|
- $(STRIP) -x $(DESTDIR)$(bindir)/nmap
|
|
$(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/
|
|
if [ "$(USE_NLS)" = "yes" ]; then \
|
|
for ll in $(filter $(ALL_LINGUAS),$(LINGUAS)); do \
|