From: Jeroen Roovers Date: Thu, 9 Nov 2017 11:09:11 +0000 (+0100) Subject: app-admin/sshguard: Set proper libexec directory in configuration file. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=45e5275c2de38f27454c5e43e13bc6802b75d81a;p=gentoo.git app-admin/sshguard: Set proper libexec directory in configuration file. Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- 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