summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorch1zvru2019-01-08 21:35:38 +0800
committerch1zvru2019-01-08 21:35:38 +0800
commitfc9b663e395b81b70ba53b3120037e9c77885343 (patch)
treed6f45a4b7ef8b81bddc7db6233a7e8b0b9efba53
parent8c7d4167fa830c431f4a514c38d608f239d1882e (diff)
downloadaur-fc9b663e395b81b70ba53b3120037e9c77885343.tar.gz
add patch file from offical package fail2ban
-rw-r--r--.gitignore4
-rw-r--r--12df4ec92c27a25a300482f7707f27f7522f592f.patch23
2 files changed, 27 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..19d9db94e9d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.tar.xz
+fail2ban-git
diff --git a/12df4ec92c27a25a300482f7707f27f7522f592f.patch b/12df4ec92c27a25a300482f7707f27f7522f592f.patch
new file mode 100644
index 000000000000..46a394078774
--- /dev/null
+++ b/12df4ec92c27a25a300482f7707f27f7522f592f.patch
@@ -0,0 +1,23 @@
+From 12df4ec92c27a25a300482f7707f27f7522f592f Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@archlinux.org>
+Date: Fri, 6 Jul 2018 13:01:36 -0400
+Subject: [PATCH] tmpfiles.d: don't use legacy directory path
+
+systemd 239 (released June 22) introduces a new warning for tmpfiles.d
+snippets touching paths in /var/run instead of the canonical /run
+
+See https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069
+
+Update to use the preferred path.
+---
+ files/fail2ban-tmpfiles.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/files/fail2ban-tmpfiles.conf b/files/fail2ban-tmpfiles.conf
+index 3fd783f38..6e611c6a2 100644
+--- a/files/fail2ban-tmpfiles.conf
++++ b/files/fail2ban-tmpfiles.conf
+@@ -1 +1 @@
+-D /var/run/fail2ban 0755 root root -
+\ No newline at end of file
++D /run/fail2ban 0755 root root -