FreeBSD Bugzilla – Attachment 89310 Details for
Bug 126218
New port: www/mod_auth_openid An authentication module for the Apache 2 webserver with OpenID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.89 KB, created by
Sutra
on 2008-08-03 17:50:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Sutra
Created:
2008-08-03 17:50:01 UTC
Size:
3.89 KB
patch
obsolete
># 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 126218
: 89310