summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-03-11 18:36:01 +0000
committerMichael Januszewski <spock@gentoo.org>2006-03-11 18:36:01 +0000
commit31c59b840b3dd759ebe719eb3ec70ff38061c3b4 (patch)
tree0b9f556b628cff2612c0ac05c76cf09dca7796bf /net-analyzer/nmap/files
parent2.2.6 version bump for bug 124991. It should fix glibc 2.4 support. Thanks to... (diff)
downloadgentoo-2-31c59b840b3dd759ebe719eb3ec70ff38061c3b4.tar.gz
gentoo-2-31c59b840b3dd759ebe719eb3ec70ff38061c3b4.tar.bz2
gentoo-2-31c59b840b3dd759ebe719eb3ec70ff38061c3b4.zip
Added a patch to avoid stripping during install.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'net-analyzer/nmap/files')
-rw-r--r--net-analyzer/nmap/files/nmap-4.01-nostrip.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-analyzer/nmap/files/nmap-4.01-nostrip.patch b/net-analyzer/nmap/files/nmap-4.01-nostrip.patch
new file mode 100644
index 000000000000..c8894fa881d0
--- /dev/null
+++ b/net-analyzer/nmap/files/nmap-4.01-nostrip.patch
@@ -0,0 +1,22 @@
+Index: nmap-4.01/Makefile.in
+===================================================================
+--- nmap-4.01.orig/Makefile.in
++++ nmap-4.01/Makefile.in
+@@ -144,7 +144,7 @@ depend:
+
+ install-nmap: $(TARGET)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir)
+- $(INSTALL) -c -m 755 -s nmap $(DESTDIR)$(bindir)/nmap
++ $(INSTALL) -c -m 755 nmap $(DESTDIR)$(bindir)/nmap
+ $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1
+ $(INSTALL) -c -m 644 docs/nmap.xsl $(DESTDIR)$(nmapdatadir)/
+ $(INSTALL) -c -m 644 docs/nmap.dtd $(DESTDIR)$(nmapdatadir)/
+@@ -158,7 +158,7 @@ install-nmap: $(TARGET)
+ install-nmapfe: $(TARGETNMAPFE)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir) $(DESTDIR)$(deskdir)
+ @echo "If the next command fails -- you cannot use the X front end"
+- -test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 -s nmapfe/nmapfe $(DESTDIR)$(bindir)/nmapfe && rm -f $(DESTDIR)$(bindir)/xnmap && $(SHTOOL) mkln -f -s $(DESTDIR)$(bindir)/nmapfe $(DESTDIR)$(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(DESTDIR)$(deskdir)/nmapfe.desktop && $(INSTALL) -c -m 644 docs/nmapfe.1 $(DESTDIR)$(mandir)/man1/nmapfe.1 && $(INSTALL) -c -m 644 docs/xnmap.1 $(DESTDIR)$(mandir)/man1/xnmap.1
++ -test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 nmapfe/nmapfe $(DESTDIR)$(bindir)/nmapfe && rm -f $(DESTDIR)$(bindir)/xnmap && $(SHTOOL) mkln -f -s $(DESTDIR)$(bindir)/nmapfe $(DESTDIR)$(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(DESTDIR)$(deskdir)/nmapfe.desktop && $(INSTALL) -c -m 644 docs/nmapfe.1 $(DESTDIR)$(mandir)/man1/nmapfe.1 && $(INSTALL) -c -m 644 docs/xnmap.1 $(DESTDIR)$(mandir)/man1/xnmap.1
+
+ install: install-nmap $(INSTALLNMAPFE)
+