# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../argus-clients/check-for-argusbug.patch # Copyright (C) 2006 - 2008 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- Author: Christian Wiese Upstream Status: Problem was reported long time ago, but for the author it doesn't seem to be a problem that has to be addressed. Description: Both, argus and argus-clients do install the 'argusbug' script supposed to be used for bug reporting. Because installing the same file by 2 different packages is against OpenSDE policy we do check for its existence before we are going to install it or not. --- argus-clients-3.0.0/Makefile.in.orig 2008-03-11 00:41:33.000000000 +0100 +++ argus-clients-3.0.0/Makefile.in 2008-05-03 18:09:15.000000000 +0200 @@ -94,7 +94,8 @@ done $(INSTALL) -m 0644 $(srcdir)/support/Config/rarc $(DESTDIR)$(prefix)/argus $(INSTALL) -m 0644 $(srcdir)/support/Config/delegated-ipv4-latest $(DESTDIR)$(prefix)/argus - $(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(DESTDIR)@bindir@/argusbug + [ -f $(DESTDIR)@bindir@/argusbug ] || \ + $(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(DESTDIR)@bindir@/argusbug [ -d $(DESTDIR)@mandir@ ] || \ (mkdir -p $(DESTDIR)@mandir@; chmod 755 $(DESTDIR)@mandir@) [ -d $(DESTDIR)@mandir@/man1 ] || \