nmap-5.21-python.patch 1.2 KB

12345678910111213141516171819202122
  1. diff -Naurp nmap-5.21-orig/Makefile.in nmap-5.21/Makefile.in
  2. --- nmap-5.21-orig/Makefile.in 2010-01-31 09:53:53.000000000 +0100
  3. +++ nmap-5.21/Makefile.in 2010-01-31 09:54:48.000000000 +0100
  4. @@ -253,7 +253,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZE
  5. install-zenmap: $(ZENMAPDIR)/setup.py
  6. $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
  7. - cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
  8. + cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)") --no-compile
  9. $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
  10. # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
  11. # already a link.
  12. @@ -267,7 +267,7 @@ build-ndiff:
  13. cd $(NDIFFDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
  14. install-ndiff:
  15. - cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
  16. + cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") --no-compile
  17. NSE_FILES = scripts/script.db scripts/*.nse
  18. NSE_LIB_LUA_FILES = nselib/*.lua