From 45e5275c2de38f27454c5e43e13bc6802b75d81a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 9 Nov 2017 12:09:11 +0100 Subject: [PATCH] app-admin/sshguard: Set proper libexec directory in configuration file. Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- app-admin/sshguard/files/sshguard-2.1.0-conf.patch | 11 +++++++++++ ...sshguard-2.1.0.ebuild => sshguard-2.1.0-r1.ebuild} | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 app-admin/sshguard/files/sshguard-2.1.0-conf.patch rename app-admin/sshguard/{sshguard-2.1.0.ebuild => sshguard-2.1.0-r1.ebuild} (93%) diff --git a/app-admin/sshguard/files/sshguard-2.1.0-conf.patch b/app-admin/sshguard/files/sshguard-2.1.0-conf.patch new file mode 100644 index 000000000000..8874cc48904d --- /dev/null +++ b/app-admin/sshguard/files/sshguard-2.1.0-conf.patch @@ -0,0 +1,11 @@ +--- a/examples/sshguard.conf.sample ++++ b/examples/sshguard.conf.sample +@@ -6,7 +6,7 @@ + + #### REQUIRED CONFIGURATION #### + # Full path to backend executable (required, no default) +-#BACKEND="/usr/local/libexec/sshg-fw-iptables" ++#BACKEND="/usr/libexec/sshg-fw-iptables" + + # Space-separated list of log files to monitor. (optional, no default) + #FILES="/var/log/auth.log /var/log/authlog /var/log/maillog" diff --git a/app-admin/sshguard/sshguard-2.1.0.ebuild b/app-admin/sshguard/sshguard-2.1.0-r1.ebuild similarity index 93% rename from app-admin/sshguard/sshguard-2.1.0.ebuild rename to app-admin/sshguard/sshguard-2.1.0-r1.ebuild index 1e45c36ba086..e4aaf2332fd2 100644 --- a/app-admin/sshguard/sshguard-2.1.0.ebuild +++ b/app-admin/sshguard/sshguard-2.1.0-r1.ebuild @@ -25,6 +25,9 @@ DOCS=( examples/sshguard.service examples/whitelistfile.example ) +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-conf.patch +) src_install() { default -- 2.26.2