Ticket #28523: patch-sshguard-ipfw-1.5.diff
File patch-sshguard-ipfw-1.5.diff, 1.5 KB (added by pixilla (Bradley Giesbrecht), 13 years ago) |
---|
-
net/sshguard-ipfw/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 2 3 name sshguard-ipfw 3 version 1. 44 version 1.5 4 5 categories net security … … 27 28 resources to the system. 28 29 29 30 distname sshguard-${version} 30 homepage http:// sshguard.sourceforge.net31 homepage http://www.sshguard.net/ 31 32 master_sites sourceforge:sshguard 32 checksums md5 76ec42919089c51a64df1cd5caa27e08 \ 33 sha1 afd1134199ba41721b3d4032239529040e5dd367 \ 34 rmd160 1a34d29d8849ea279049a8eb24ddef839dafdbf7 33 checksums sha1 f8f713bfb3f5c9877b34f6821426a22a7eec8df3 \ 34 rmd160 7b4625b3b2e0cf974bc935d868b89bd0d8c189e8 35 35 use_bzip2 yes 36 36 configure.args --with-ipfw=/sbin/ipfw --with-firewall=ipfw 37 37 startupitem.create yes 38 38 startupitem.start "tail -n0 -F /var/log/secure.log | ${prefix}/sbin/sshguard 2>&1 > /dev/null &" 39 39 startupitem.stop "ps wuax | grep '\[s\]shguard$' | kill `awk '{ print \$2}'`" 40 41 livecheck.type regex 42 livecheck.url http://sourceforge.net/projects/sshguard/files/sshguard/ 43 livecheck.regex "/sshguard-(\\d+(?:\\.\\d+)*)/"