Ticket #32474: sshguard-ipfw.diff

File sshguard-ipfw.diff, 471 bytes (added by nonstop.server@…, 13 years ago)

proposed patch

  • Portfile

    old new  
    3737startupitem.create  yes
    3838startupitem.start "tail -n0 -F /var/log/secure.log | ${prefix}/sbin/sshguard 2>&1 > /dev/null &"
    3939startupitem.stop "ps wuax | grep '\[s\]shguard$' | kill `awk '{ print \$2}'`"
     40
     41livecheck.regex    sshguard-(\[0-9.\]*)${extract.suffix}
     42livecheck.type     regex
     43livecheck.url      http://sourceforge.net/projects/sshguard/