Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2011 13:06:51 GMT
From:      Aldis Berjoza <aldis@bsdroot.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160213: [NEW PORT] security/py-htpasswd - htpasswd replacement
Message-ID:  <201108261306.p7QD6pFd097110@red.freebsd.org>
Resent-Message-ID: <201108261310.p7QDA7nL043292@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160213
>Category:       ports
>Synopsis:       [NEW PORT] security/py-htpasswd - htpasswd replacement
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 13:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        
>Organization:
>Environment:
>Description:
Replacement for htpasswd.

This port will install htpasswd.py that can be found in trac trac contrib
directory.

WWW: http://trac.edgewall.org/browser/trunk/contrib/htpasswd.py


This port can be most useful to admins running nginx and using simple HttpAuthBasicModule module
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-htpasswd
#	py-htpasswd/Makefile
#	py-htpasswd/distinfo
#	py-htpasswd/pkg-descr
#
echo c - py-htpasswd
mkdir -p py-htpasswd > /dev/null 2>&1
echo x - py-htpasswd/Makefile
sed 's/^X//' >py-htpasswd/Makefile << 'd291c8058f6acf354cdbf664a95275e4'
X# New ports collection makefile for:	py-htpasswd
X# Date created:				2011.08.26
X# Whom:					Aldis Berjoza <aldis@bsdroot.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	htpasswd
XPORTVERSION=	2008.03.05
XCATEGORIES=	security python
XMASTER_SITES=	http://files.bsdroot.lv/my/FreeBSD/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	aldis@bsdroot.lv
XCOMMENT=	Replacement for htpasswd
X
XUSE_PYTHON=	YES
XUSE_XZ=		YES
X
XPLIST_FILES=	bin/${PORTNAME}.py
X
XNO_BUILD=	YES
XNO_WRKSUBDIR=	YES
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/
X
X.include <bsd.port.mk>
d291c8058f6acf354cdbf664a95275e4
echo x - py-htpasswd/distinfo
sed 's/^X//' >py-htpasswd/distinfo << 'ff3f329826e75a4b8c3e36dcc15290e2'
XSHA256 (htpasswd-2008.03.05.tar.xz) = 179941e30f8e2b9ff8f4e88e4300ca6e9dcaa761066c4d5444383ecfe3963a13
XSIZE (htpasswd-2008.03.05.tar.xz) = 1640
ff3f329826e75a4b8c3e36dcc15290e2
echo x - py-htpasswd/pkg-descr
sed 's/^X//' >py-htpasswd/pkg-descr << '0a080adda8cc3c7ba50e607a4f0b312c'
XReplacement for htpasswd.
X
XThis port will install htpasswd.py that can be found in trac trac contrib
Xdirectory.
X
XWWW: http://trac.edgewall.org/browser/trunk/contrib/htpasswd.py
0a080adda8cc3c7ba50e607a4f0b312c
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108261306.p7QD6pFd097110>