fail2ban

Rainer Müller raimue at macports.org
Sat Jun 6 09:35:34 PDT 2009


On 2009-06-06 18:29, Bradley Giesbrecht wrote:
> I'm building a fail2ban Portfile.
> 
> fail2ban is python application.
> 
> It resides as security/py-fail2ban.
> 
> I originally had my Portfile at security/fail2ban.
> 
> I haven't created any python ports. Is there a preference in macports  
> for the naming of a python application?

py-*, py25-* and py26-* are used for python modules. There is no need to
name a port like this just because it uses python.

> Is so, when I change the name to py-fail2ban and add "distname  
> fail2ban" my download checksum fails so I'm assuming I need to set  
> more port vars.

Usually you need distname to be set like ${name}-${version}. Also it
should print an error message which file failed the checksum test, so
you can see what has been fetched.

Rainer


More information about the macports-dev mailing list