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.

37 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../argus-clients/check-for-argusbug.patch
  5. # Copyright (C) 2006 - 2008 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. Author: Christian Wiese <morfoh@opensde.org>
  17. Upstream Status: Problem was reported long time ago, but for the author it
  18. doesn't seem to be a problem that has to be addressed.
  19. Description: Both, argus and argus-clients do install the 'argusbug' script
  20. supposed to be used for bug reporting.
  21. Because installing the same file by 2 different packages is against
  22. OpenSDE policy we do check for its existence before we are going
  23. to install it or not.
  24. --- argus-clients-3.0.0/Makefile.in.orig 2008-03-11 00:41:33.000000000 +0100
  25. +++ argus-clients-3.0.0/Makefile.in 2008-05-03 18:09:15.000000000 +0200
  26. @@ -94,7 +94,8 @@
  27. done
  28. $(INSTALL) -m 0644 $(srcdir)/support/Config/rarc $(DESTDIR)$(prefix)/argus
  29. $(INSTALL) -m 0644 $(srcdir)/support/Config/delegated-ipv4-latest $(DESTDIR)$(prefix)/argus
  30. - $(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(DESTDIR)@bindir@/argusbug
  31. + [ -f $(DESTDIR)@bindir@/argusbug ] || \
  32. + $(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(DESTDIR)@bindir@/argusbug
  33. [ -d $(DESTDIR)@mandir@ ] || \
  34. (mkdir -p $(DESTDIR)@mandir@; chmod 755 $(DESTDIR)@mandir@)
  35. [ -d $(DESTDIR)@mandir@/man1 ] || \