From 35abafc55134ce78ba865c75eac1bd93a090a3785910aedb4bd2aa3af43aa763 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 29 Dec 2014 09:06:48 +0000 Subject: [PATCH] Accepting request 261873 from home:Ledest:bashisms fix shebang in scripts that contains bash-specific options of 'read' command OBS-URL: https://build.opensuse.org/request/show/261873 OBS-URL: https://build.opensuse.org/package/show/security/audit-visualize?expand=0&rev=7 --- audit-visualize-fix-bashisms.patch | 18 ++++++++++++++++++ audit-visualize.changes | 8 ++++++++ audit-visualize.spec | 11 ++++++----- 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 audit-visualize-fix-bashisms.patch diff --git a/audit-visualize-fix-bashisms.patch b/audit-visualize-fix-bashisms.patch new file mode 100644 index 0000000..1991782 --- /dev/null +++ b/audit-visualize-fix-bashisms.patch @@ -0,0 +1,18 @@ +diff -Ndur audit-visualize/mkbar audit-visualize-fix-bashisms/mkbar +--- audit-visualize/mkbar 2005-11-20 22:23:04.000000000 +0200 ++++ audit-visualize-fix-bashisms/mkbar 2014-11-16 03:21:16.593781158 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # Copyright 2005 Red Hat Inc., Durham, North Carolina. + # All Rights Reserved. + # This software may be freely redistributed and/or modified under the +diff -Ndur audit-visualize/mkgraph audit-visualize-fix-bashisms/mkgraph +--- audit-visualize/mkgraph 2005-11-18 00:17:59.000000000 +0200 ++++ audit-visualize-fix-bashisms/mkgraph 2014-11-16 03:21:21.775780807 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # + # Copyright 2005 Red Hat Inc., Durham, North Carolina. + # All Rights Reserved. diff --git a/audit-visualize.changes b/audit-visualize.changes index 0d2104d..a89bed8 100644 --- a/audit-visualize.changes +++ b/audit-visualize.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Nov 16 01:23:00 UTC 2014 - Led + +- fix shebang in scripts that contains bash-specific options of + 'read' command +- add patches: + * audit-visualize-fix-bashisms.patch + ------------------------------------------------------------------- Thu Oct 24 16:10:54 UTC 2013 - p.drouand@gmail.com diff --git a/audit-visualize.spec b/audit-visualize.spec index 8830fa3..e5c7f50 100644 --- a/audit-visualize.spec +++ b/audit-visualize.spec @@ -1,7 +1,7 @@ # # spec file for package audit-visualize # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,20 @@ # - Name: audit-visualize %define _name audit Summary: Visualization tools for the audit subsystem -Version: 1.5.2 -Release: 0 License: GPL-2.0+ Group: System/Monitoring +Version: 1.5.2 +Release: 0 Url: http://people.redhat.com/sgrubb/audit/visualize/index.html Source0: audit-visualize.tar.gz +Patch0: audit-visualize-fix-bashisms.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: audit -Requires: graphviz Requires: gnuplot +Requires: graphviz BuildArch: noarch %description @@ -38,6 +38,7 @@ bar charts from audit data. %prep %setup -q -n audit-visualize +%patch0 -p1 %build