Re: fail2ban update to v0.8.10 - commit needed
On Aug 15, 2013, at 5:48 PM, Francois Claire fcla...@free.fr wrote: Can someone please check ticket #40121 and commit the files ? Thanks. https://trac.macports.org/changeset/109462 vq ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: fail2ban update to v0.8.8 - commit needed
On May 14, 2013, at 05:06, Francois Claire wrote: Can someone please check ticket #38961 and commit the files ? Done. ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: fail2ban
On Jun 6, 2009, at 15:28, Jeremy Lavergne wrote: On Jun 6, 2009, at 1:09 PM, Bradley Giesbrecht wrote: What is the macports way to get python26 into my paths? python2.6 installed by MacPorts is already in your path. To get a symlink called python pointing to it, use python_select as Jeremy said: You need python_select -- it allows you to change which python you use. But note that while python_select can be convenient if you want to use python on the command line, IMHO no port should require that the user use python_select. Any port that requires Python should never attempt to use a binary called python; it should always use the versioned binary installed by the corresponding port, for example the binary python2.6 installed by the python26 port. You may need to add some patches and/or reinplaces to your port to get the software you're porting to do this. ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
Re: fail2ban
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 ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
Re: fail2ban
On Jun 6, 2009, at 9:35 AM, Rainer Müller wrote: 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 Thanks. I have added fail2ban to PortGroup python26 1.0. This doesn't seem to create a dependency on python, at least I don't see python in port installed. I'm guessing since I didn't add a dependency on python26 ports used Apples python to build and that might be the cause of filesystem violations. Looks like fail2ban needs nothing other then python. Do I need to a depends_lib port:python26? Looks like PortGroup is taking care of the build commands for me so I like that but I didn't see where I can use just PortGroup python 1.0 rather then PortGroup python26 1.0. I would rather use whatever python the user already has installed. Is there an EASY way to do that with python? //Brad ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
Re: fail2ban
On 2009-06-06 18:53, Bradley Giesbrecht wrote: This doesn't seem to create a dependency on python, at least I don't see python in port installed. You should have python26. I'm guessing since I didn't add a dependency on python26 ports used Apples python to build and that might be the cause of filesystem violations. No, the PortGroup uses absolute paths for invoking setup.py. Looks like fail2ban needs nothing other then python. Do I need to a depends_lib port:python26? No, the PortGroup does that. Looks like PortGroup is taking care of the build commands for me so I like that but I didn't see where I can use just PortGroup python 1.0 rather then PortGroup python26 1.0. I would rather use whatever python the user already has installed. Is there an EASY way to do that with python? No, currently you really have to tie your port to one specific pythonXY port. Rainer ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
Re: fail2ban
On Jun 6, 2009, at 10:01 AM, Rainer Müller wrote: On 2009-06-06 18:53, Bradley Giesbrecht wrote: This doesn't seem to create a dependency on python, at least I don't see python in port installed. You should have python26. I'm guessing since I didn't add a dependency on python26 ports used Apples python to build and that might be the cause of filesystem violations. No, the PortGroup uses absolute paths for invoking setup.py. Looks like fail2ban needs nothing other then python. Do I need to a depends_lib port:python26? No, the PortGroup does that. Looks like PortGroup is taking care of the build commands for me so I like that but I didn't see where I can use just PortGroup python 1.0 rather then PortGroup python26 1.0. I would rather use whatever python the user already has installed. Is there an EASY way to do that with python? No, currently you really have to tie your port to one specific pythonXY port. Thank you. which python /usr/bin/python port contents python26 ... /opt/local/bin/idle2.6 /opt/local/bin/pydoc2.6 /opt/local/bin/python2.6 /opt/local/bin/python2.6-config /opt/local/bin/pythonw2.6 /opt/local/bin/smtpd2.6.py /opt/local/etc/select/python/python26 /opt/local/lib/libpython2.6.dylib ... What is the macports way to get python26 into my paths? Does PortGroup take care us using the correct python and setting common vars for building python apps like the prefix dir? //Brad ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
Re: fail2ban
You need python_select -- it allows you to change which python you use. On Jun 6, 2009, at 1:09 PM, Bradley Giesbrecht wrote: What is the macports way to get python26 into my paths? smime.p7s Description: S/MIME cryptographic signature ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev