app-admin/sshguard: Set proper libexec directory in configuration file.
authorJeroen Roovers <jer@gentoo.org>
Thu, 9 Nov 2017 11:09:11 +0000 (12:09 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 9 Nov 2017 11:09:40 +0000 (12:09 +0100)
Package-Manager: Portage-2.3.13, Repoman-2.3.4

app-admin/sshguard/files/sshguard-2.1.0-conf.patch [new file with mode: 0644]
app-admin/sshguard/sshguard-2.1.0-r1.ebuild [moved from app-admin/sshguard/sshguard-2.1.0.ebuild with 93% similarity]

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 (file)
index 0000000..8874cc4
--- /dev/null
@@ -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"
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 1e45c36ba086eac3008508df8b189f7f251a3298..e4aaf2332fd291fe3ba1cb10ed7d6aae7dccde91 100644 (file)
@@ -25,6 +25,9 @@ DOCS=(
        examples/sshguard.service
        examples/whitelistfile.example
 )
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.1.0-conf.patch
+)
 
 src_install() {
        default