From nobody@FreeBSD.org  Fri Aug 26 13:06:51 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 624171065677
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Aug 2011 13:06:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 38E638FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Aug 2011 13:06:51 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7QD6phM097111
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Aug 2011 13:06:51 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p7QD6pFd097110;
	Fri, 26 Aug 2011 13:06:51 GMT
	(envelope-from nobody)
Message-Id: <201108261306.p7QD6pFd097110@red.freebsd.org>
Date: Fri, 26 Aug 2011 13:06:51 GMT
From: Aldis Berjoza <aldis@bsdroot.lv>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] security/py-htpasswd - htpasswd replacement
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160213
>Category:       ports
>Synopsis:       [NEW PORT] security/py-htpasswd - htpasswd replacement
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 13:10:07 UTC 2011
>Closed-Date:    Thu Oct 20 15:19:13 UTC 2011
>Last-Modified:  Thu Oct 20 15:19:13 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Tue Oct 18 21:57:48 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160213 
State-Changed-From-To: open->analyzed 
State-Changed-By: eadler 
State-Changed-When: Thu Oct 20 02:18:56 UTC 2011 
State-Changed-Why:  
awaiting review 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160213 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160213: commit references a PR
Date: Thu, 20 Oct 2011 12:22:12 +0000 (UTC)

 eadler      2011-10-20 12:22:03 UTC
 
   FreeBSD ports repository
 
   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 trac contrib
   directory.
   
   WWW: http://trac.edgewall.org/browser/trunk/contrib/htpasswd.py
   
   PR:             ports/160213
   Submitted by:   Aldis Berjoza <aldis@bsdroot.lv>
   Approved by:    bapt (mentor)
   
   Revision  Changes    Path
   1.1218    +1 -0      ports/security/Makefile
   1.1       +28 -0     ports/security/py-htpasswd/Makefile (new)
   1.1       +2 -0      ports/security/py-htpasswd/distinfo (new)
   1.1       +6 -0      ports/security/py-htpasswd/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: eadler 
State-Changed-When: Thu Oct 20 15:19:11 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160213 
>Unformatted:
