Ticket #38961: Portfile-fail2ban.diff

File Portfile-fail2ban.diff, 2.7 KB (added by fclaire@…, 12 years ago)
  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 98997 2012-10-23 12:50:35Z jmr@macports.org $
     2# $Id$
    33
    44PortSystem              1.0
    55PortGroup               github 1.0
    66PortGroup               python27 1.0
    77
    8 github.setup            fail2ban fail2ban 0.8.7.1
    9 revision                1
     8github.setup            fail2ban fail2ban 0.8.8
    109categories              security python
    1110license                 GPL-2+
    1211maintainers             free.fr:fclaire openmaintainer
     
    2423                        or ejecting CD-ROM tray) could also be configured. Out of the box \
    2524                        Fail2Ban comes with filters for various services (apache, curier, ssh, etc).
    2625
    27 checksums               rmd160  fe995a047e373e24474b11b842332b0cfe96f6b1 \
    28                         sha256  2804a789347b1274e343a33fcca659b37d40bb5f99e77546997c96a425f6fc9b
     26checksums               rmd160  9f50cc84d77e47e378da71860e738528f39f7c42 \
     27                        sha256  5b020aaa2316dc4348a1489187db2cb124c4cf2a13f84aed7064fc5bc948a8ab
    2928
    3029set f2bconfdir          ${prefix}/etc/${name}
    3130set f2bbindir           ${prefix}/bin
    32 set f2brundir           ${prefix}/var/run/fail2ban
    33 set f2bsock             ${f2brundir}/fail2ban.sock
    34 set f2bpid              ${f2brundir}/fail2ban.pid
     31set f2brundir           ${prefix}/var/run/${name}
     32set f2bsock             ${f2brundir}/${name}.sock
     33set f2bpid              ${f2brundir}/${name}.pid
    3534
    3635python.link_binaries_suffix
    3736
     
    4140                        patch-fail2ban-regex.diff \
    4241                        patch-fail2ban-server.diff \
    4342                        patch-config-fail2ban.conf.diff \
     43                        patch-config-jail.conf.diff \
    4444                        patch-client-csocket.py.diff \
    4545                        patch-server-server.py.diff
    4646
     
    6262destroot.keepdirs       ${destroot}${f2brundir}
    6363
    6464post-destroot {
     65    # Adding dedicated OSX pf-icefloor action file
     66    xinstall -m 644 ${filespath}/pf-icefloor.conf ${destroot}${f2bconfdir}/action.d/
    6567    # Adding a suffix to config files
    6668    set cfgfiles [concat [glob ${destroot}${f2bconfdir}/*.conf] [glob ${destroot}${f2bconfdir}/action.d/*.conf] [glob ${destroot}${f2bconfdir}/filter.d/*.conf]]
    6769    foreach cfgfile ${cfgfiles} {
     
    7981        }
    8082    }
    8183}
     84
     85livecheck.url           ${github.raw}/master/ChangeLog
     86livecheck.regex         "ver\. *(\[0-9\.\]+).*stable"