OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ntop/no_etter_passive_os_fp.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur ntop-4.0.3-orig/Makefile.am ntop-4.0.3/Makefile.am
  17. --- ntop-4.0.3-orig/Makefile.am 2010-12-19 22:09:55.360061877 +0100
  18. +++ ntop-4.0.3/Makefile.am 2010-12-19 22:11:06.984061885 +0100
  19. @@ -401,45 +401,7 @@
  20. # download the passive ethernet fingerprint database
  21. dnetter:
  22. - @echo ""
  23. - @echo ""
  24. - @echo "Preparing "
  25. - @echo ""
  26. -
  27. - @if test -f $(ETTER_PASSIVE).old; then \
  28. - echo "...Deleting prior file, $(ETTER_PASSIVE).old..."; \
  29. - rm -rf $(ETTER_PASSIVE).old; \
  30. - fi;
  31. - @if test -f $(ETTER_PASSIVE); then \
  32. - echo "...Moving current $(ETTER_PASSIVE) to $(ETTER_PASSIVE).old"; \
  33. - mv $(ETTER_PASSIVE) $(ETTER_PASSIVE).old; \
  34. - fi;
  35. - @for file in $(ETTER_PASSIVE) $(ETTER_PASSIVE).gz \
  36. - $(ETTER_PASSIVE_FILE) $(ETTER_PASSIVE_FILE).gz; do \
  37. - if test -f $$file; then \
  38. - echo "...Deleting prior file, $$file..."; \
  39. - rm -rf $$file; \
  40. - fi; \
  41. - done
  42. - @echo ""
  43. - @echo "...Downloading new file..."
  44. - @wget -O $(ETTER_PASSIVE_FILE) \
  45. - $(ETTER_PASSIVE_DOWNLOAD_FROM)/$(ETTER_PASSIVE_FILE)?$(ETTER_PASSIVE_DOWNLOAD_PARMS)
  46. - @echo ""
  47. - @echo "gziping downloaded file..."
  48. - @gzip $(ETTER_PASSIVE_FILE)
  49. - @echo ""
  50. - @echo ""
  51. - @if test -f $(ETTER_PASSIVE).old; then \
  52. - echo -n "Old file lines were: "; \
  53. - gunzip -c $(ETTER_PASSIVE).old | wc -l; \
  54. - fi;
  55. - @echo -n "New file lines are: "
  56. - @gunzip -c $(ETTER_PASSIVE) | wc -l
  57. - @echo ""
  58. - @echo ""
  59. - @echo "New file is:"
  60. - @ls -l $(ETTER_PASSIVE)
  61. + @echo "download the passive ethernet fingerprint database manually"
  62. # ntop census
  63. census-fail: