cvs commit: ports/security Makefile ports/security/py-htpasswd Makefile distinfo pkg-descr

Alexey Dokuchaev danfe at FreeBSD.org
Thu Oct 20 16:42:08 UTC 2011


On Thu, Oct 20, 2011 at 12:27:13PM -0400, Eitan Adler wrote:
> 2011/10/20 Alexey Dokuchaev <danfe at freebsd.org>:
> > On Thu, Oct 20, 2011 at 12:22:03PM +0000, Eitan Adler wrote:
> >> eadler      2011-10-20 12:22:03 UTC
> >>
> >>   Modified files:
> >>     security             Makefile
> >>   Added files:
> >>     security/py-htpasswd Makefile distinfo pkg-descr
> >>   Log:
> >>   Replacement for htpasswd.
> >>
> >>   This port will install htpasswd.py that can be found in trac contrib
> >>   directory.
> >
> > Yet again, :-) I have to reiterate that for *utilities* (contrary to
> > modules, extensions, and plugins) language prefix is redundant and should
> > not be part of the port directory and package name, especially since there
> > is no `security/htpasswd' port to conflict with.
> 
> This is a replacement for the "real" htpasswd and specifically did not
> want to use htpasswd as a port name.  Furthermore this script is installed
> as htpasswd.py and not htpasswd. If you have a better suggestion I'll
> take it.

I did not say anything about the script name; I understand perfectly that
.py suffix here allows it to coexist peacefully with whatever htpasswd might
be installed by users' favorite web server.

Moreover, this little utility might be a bit special since its pythonic
nature probably should be reitereated for good reasons.  However, given
that many ports that do not warrant this naming are being committed in a
similar fashion, my primary concern was to raise the point that such
decisions should be carefully thought out and backed up by sufficient
reasoning.

./danfe


More information about the cvs-ports mailing list