mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: sshguard: Fix sshguard.
Patch sshguard to accept configuration file from an environment variable. * gnu/packages/admin.scm (sshguard)[arguments]: Add phases. Change-Id: Ifd1cee18787b2623e5c32801e20e5837ce94c88c Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
5cc8b384e6
commit
a4c8353663
@@ -6743,6 +6743,16 @@ backup directories or just finding duplicate files.")
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
(list autoconf automake bison flex python-docutils))
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; patch sshguard to find configuration through
|
||||
;; environment variable
|
||||
(add-after 'unpack 'patch-sshguard
|
||||
(lambda _
|
||||
(substitute* "src/sshguard.in"
|
||||
(("^config=.*$")
|
||||
"config=${SSHGUARD_CONFIG_FILE:-@sysconfdir@/sshguard.conf}\n")))))))
|
||||
(home-page "https://sshguard.net/")
|
||||
(synopsis "Daemon to blocks SSH brute-force attacks")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user