Ticket #38961: Portfile-fail2ban.diff
File Portfile-fail2ban.diff, 2.7 KB (added by fclaire@…, 12 years ago) |
---|
-
Portfile
old new 1 1 # -*- 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$ 3 3 4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 PortGroup python27 1.0 7 7 8 github.setup fail2ban fail2ban 0.8.7.1 9 revision 1 8 github.setup fail2ban fail2ban 0.8.8 10 9 categories security python 11 10 license GPL-2+ 12 11 maintainers free.fr:fclaire openmaintainer … … 24 23 or ejecting CD-ROM tray) could also be configured. Out of the box \ 25 24 Fail2Ban comes with filters for various services (apache, curier, ssh, etc). 26 25 27 checksums rmd160 fe995a047e373e24474b11b842332b0cfe96f6b1\28 sha256 2804a789347b1274e343a33fcca659b37d40bb5f99e77546997c96a425f6fc9b26 checksums rmd160 9f50cc84d77e47e378da71860e738528f39f7c42 \ 27 sha256 5b020aaa2316dc4348a1489187db2cb124c4cf2a13f84aed7064fc5bc948a8ab 29 28 30 29 set f2bconfdir ${prefix}/etc/${name} 31 30 set f2bbindir ${prefix}/bin 32 set f2brundir ${prefix}/var/run/ fail2ban33 set f2bsock ${f2brundir}/ fail2ban.sock34 set f2bpid ${f2brundir}/ fail2ban.pid31 set f2brundir ${prefix}/var/run/${name} 32 set f2bsock ${f2brundir}/${name}.sock 33 set f2bpid ${f2brundir}/${name}.pid 35 34 36 35 python.link_binaries_suffix 37 36 … … 41 40 patch-fail2ban-regex.diff \ 42 41 patch-fail2ban-server.diff \ 43 42 patch-config-fail2ban.conf.diff \ 43 patch-config-jail.conf.diff \ 44 44 patch-client-csocket.py.diff \ 45 45 patch-server-server.py.diff 46 46 … … 62 62 destroot.keepdirs ${destroot}${f2brundir} 63 63 64 64 post-destroot { 65 # Adding dedicated OSX pf-icefloor action file 66 xinstall -m 644 ${filespath}/pf-icefloor.conf ${destroot}${f2bconfdir}/action.d/ 65 67 # Adding a suffix to config files 66 68 set cfgfiles [concat [glob ${destroot}${f2bconfdir}/*.conf] [glob ${destroot}${f2bconfdir}/action.d/*.conf] [glob ${destroot}${f2bconfdir}/filter.d/*.conf]] 67 69 foreach cfgfile ${cfgfiles} { … … 79 81 } 80 82 } 81 83 } 84 85 livecheck.url ${github.raw}/master/ChangeLog 86 livecheck.regex "ver\. *(\[0-9\.\]+).*stable"