From nobody@FreeBSD.org  Sun Aug  3 16:44:03 2008
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 4E8D11065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Aug 2008 16:44:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3CD4D8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Aug 2008 16:44:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m73Gi2tl029891
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 3 Aug 2008 16:44:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m73Gi2Xv029890;
	Sun, 3 Aug 2008 16:44:02 GMT
	(envelope-from nobody)
Message-Id: <200808031644.m73Gi2Xv029890@www.freebsd.org>
Date: Sun, 3 Aug 2008 16:44:02 GMT
From: Sutra Zhou <zhoushuqun@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: www/mod_auth_openid An authentication module for the Apache 2 webserver with OpenID
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126218
>Category:       ports
>Synopsis:       New port: www/mod_auth_openid An authentication module for the Apache 2 webserver with OpenID
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 03 16:50:01 UTC 2008
>Closed-Date:    Sun Aug 17 06:27:27 UTC 2008
>Last-Modified:  Sun Aug 17 06:30:15 UTC 2008
>Originator:     Sutra Zhou
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD www.redv.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Jun 28 22:40:44 CST 2008     sutra@www.redv.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
mod_auth_openid is an authentication module for the Apache 2 webserver.
It handles the functions of an OpenID consumer as specified in the OpenID
2.0 specification.

WWW: http://trac.butterfat.net/public/mod_auth_openid
>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:
#
#	/usr/ports/www/mod_auth_openid/
#	/usr/ports/www/mod_auth_openid/Makefile
#	/usr/ports/www/mod_auth_openid/distinfo
#	/usr/ports/www/mod_auth_openid/pkg-descr
#	/usr/ports/www/mod_auth_openid/pkg-plist
#	/usr/ports/www/mod_auth_openid/pkg-deinstall
#
echo c - /usr/ports/www/mod_auth_openid/
mkdir -p /usr/ports/www/mod_auth_openid/ > /dev/null 2>&1
echo x - /usr/ports/www/mod_auth_openid/Makefile
sed 's/^X//' >/usr/ports/www/mod_auth_openid/Makefile << 'END-of-/usr/ports/www/mod_auth_openid/Makefile'
X# New ports collection makefile for:	mod_auth_openid
X# Date created:				3 August 2008
X# Whom:					Sutra Zhou <zhoushuqun@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_auth_openid
XPORTVERSION=	0.3
XCATEGORIES=	www
XMASTER_SITES=	http://butterfat.net/releases/mod_auth_openid/
X
XMAINTAINER=	zhoushuqun@gmail.com
XCOMMENT=	An authentication module for the Apache 2 webserver with OpenID
X
XLIB_DEPENDS=	opkele:${PORTSDIR}/devel/libopkele \
X		sqlite3:${PORTSDIR}/databases/sqlite34
X
XUSE_APACHE=	2.0+
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-pcre=${LOCALBASE}
X
XCFLAGS+=	-I${LOCALBASE}/include
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/mod_auth_openid/Makefile
echo x - /usr/ports/www/mod_auth_openid/distinfo
sed 's/^X//' >/usr/ports/www/mod_auth_openid/distinfo << 'END-of-/usr/ports/www/mod_auth_openid/distinfo'
XMD5 (mod_auth_openid-0.3.tar.gz) = 6467856c05662eb6f1c24cbf7057a21b
XSHA256 (mod_auth_openid-0.3.tar.gz) = 99476b7984214c0a01d124a654f9f5a2b9c77dab5d5d1f719c448a6f77038295
XSIZE (mod_auth_openid-0.3.tar.gz) = 336753
END-of-/usr/ports/www/mod_auth_openid/distinfo
echo x - /usr/ports/www/mod_auth_openid/pkg-descr
sed 's/^X//' >/usr/ports/www/mod_auth_openid/pkg-descr << 'END-of-/usr/ports/www/mod_auth_openid/pkg-descr'
Xmod_auth_openid is an authentication module for the Apache 2 webserver.
XIt handles the functions of an OpenID consumer as specified in the OpenID
X2.0 specification.
X
XWWW: http://trac.butterfat.net/public/mod_auth_openid
END-of-/usr/ports/www/mod_auth_openid/pkg-descr
echo x - /usr/ports/www/mod_auth_openid/pkg-plist
sed 's/^X//' >/usr/ports/www/mod_auth_openid/pkg-plist << 'END-of-/usr/ports/www/mod_auth_openid/pkg-plist'
Xlibexec/apache22/mod_auth_openid.so
END-of-/usr/ports/www/mod_auth_openid/pkg-plist
echo x - /usr/ports/www/mod_auth_openid/pkg-deinstall
sed 's/^X//' >/usr/ports/www/mod_auth_openid/pkg-deinstall << 'END-of-/usr/ports/www/mod_auth_openid/pkg-deinstall'
X#!/bin/sh
X#
X# Try to de-activate authopenid_module in the installed httpd.conf and warn
X# if this fails.
X#
X# $FreeBSD$
X#
X
Xif [ "$2" != "POST-DEINSTALL" ]; then
X	exit 0
Xfi
X
XTMPDIR=${TMPDIR:=/tmp}
XPKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}}
X
Xapxscmd=${PKG_PREFIX}/sbin/apxs
Xtmpdir=${PKG_TMPDIR}/deinstmod_dav_svn.$$
X
Xif [ ! -x ${apxscmd} ]; then
X	echo Can\'t find the apxs program: ${apxscmd}.
X	exit 1
Xfi
X
Xconfdir=`${apxscmd} -q SYSCONFDIR`
X
Xif [ ! -d ${confdir} ]; then
X	echo Can\'t find Apache conf dir: ${confdir}
X	exit 1
Xfi
X
Xif [ -f ${confdir}/httpd.conf ]; then
X	conffile=httpd.conf
Xfi
Xif [ -f ${confdir}/httpd.conf.default ]; then
X	conffile="${conffile} httpd.conf.default"
Xfi
Xif [ -z "${conffile}" ]; then
X	echo Can\'t find either of ${confdir}/httpd.conf or
X	echo ${confdir}/httpd.conf.default.
X	exit 1
Xfi
X
Xif ! mkdir ${tmpdir}; then
X	echo Can\'t create temporary directory: ${tmpdir}
X	exit 1
Xfi
X
Xfor i in ${conffile}; do
X	awk '{if (!/^LoadModule authopenid_module/) \
X	    print $0}' < ${confdir}/$i > ${tmpdir}/$i
X	echo Removing authopenid_module from $i in config dir: ${confdir}
X	cat ${tmpdir}/$i > ${confdir}/$i
Xdone
X
Xrm -rf ${tmpdir}
X
Xexit 0
END-of-/usr/ports/www/mod_auth_openid/pkg-deinstall
exit



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 17 06:27:26 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126218: commit references a PR
Date: Sun, 17 Aug 2008 06:28:23 +0000 (UTC)

 edwin       2008-08-17 06:27:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www                  Makefile 
   Added files:
     www/mod_auth_openid  Makefile distinfo pkg-deinstall pkg-descr 
   Log:
   New port: www/mod_auth_openid An authentication module for the
   Apache 2 webserver with OpenID
   
           mod_auth_openid is an authentication module for the Apache
           2 webserver.  It handles the functions of an OpenID consumer
           as specified in the OpenID 2.0 specification.
   
           WWW: http://trac.butterfat.net/public/mod_auth_openid
   
   PR:             ports/126218
   Submitted by:   Sutra Zhou <zhoushuqun@gmail.com>
   
   Revision  Changes    Path
   1.2125    +1 -0      ports/www/Makefile
   1.1       +29 -0     ports/www/mod_auth_openid/Makefile (new)
   1.1       +3 -0      ports/www/mod_auth_openid/distinfo (new)
   1.1       +57 -0     ports/www/mod_auth_openid/pkg-deinstall (new)
   1.1       +5 -0      ports/www/mod_auth_openid/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"
 
>Unformatted:
