commit:     45e5275c2de38f27454c5e43e13bc6802b75d81a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  9 11:09:11 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Nov  9 11:09:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e5275c

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(+)

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 00000000000..8874cc48904
--- /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 1e45c36ba08..e4aaf2332fd 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

Reply via email to