From abb2feafe7e186833221e27fe2ddeb87d7080ef0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 10 May 2017 23:27:49 -0400 Subject: [PATCH] added patch to fix rel symlink for tests to be ran out of source --- debian/patches/deb_path_to_common | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/deb_path_to_common diff --git a/debian/patches/deb_path_to_common b/debian/patches/deb_path_to_common new file mode 100644 index 00000000..46a4d04c --- /dev/null +++ b/debian/patches/deb_path_to_common @@ -0,0 +1,11 @@ +--- a/fail2ban/tests/config/filter.d/zzz-generic-example.conf ++++ b/fail2ban/tests/config/filter.d/zzz-generic-example.conf +@@ -8,7 +8,7 @@ + # Read common prefixes. If any customizations available -- read them from + # common.local. common.conf is a symlink to the original common.conf and + # should be copied (dereferenced) during installation +-before = ../../../../config/filter.d/common.conf ++before = ../../../../../../../config/filter.d/common.conf + + [Definition] + diff --git a/debian/patches/series b/debian/patches/series index 7438f9f3..72c26109 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ +deb_path_to_common deb_init_paths deb_manpages_reportbug