summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-11-09 12:09:11 +0100
committerJeroen Roovers <jer@gentoo.org>2017-11-09 12:09:40 +0100
commit45e5275c2de38f27454c5e43e13bc6802b75d81a (patch)
tree83a3ddc3b052bf45d3751aa931767362fb36ab18 /app-admin/sshguard
parentsys-kernel/vanilla-sources: Automated version bump to 4.1.46 - remove old. (diff)
downloadgentoo-45e5275c2de38f27454c5e43e13bc6802b75d81a.tar.gz
gentoo-45e5275c2de38f27454c5e43e13bc6802b75d81a.tar.bz2
gentoo-45e5275c2de38f27454c5e43e13bc6802b75d81a.zip
app-admin/sshguard: Set proper libexec directory in configuration file.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'app-admin/sshguard')
-rw-r--r--app-admin/sshguard/files/sshguard-2.1.0-conf.patch11
-rw-r--r--app-admin/sshguard/sshguard-2.1.0-r1.ebuild (renamed from app-admin/sshguard/sshguard-2.1.0.ebuild)3
2 files changed, 14 insertions, 0 deletions
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
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