Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2007 03:14:53 +0900 (JST)
From:      KAMIYA Satosi <kamiya.satosi@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110451: [NEW PORT] www/mod_spnego: Allows users to use RFC 2478 SPNEGO GSS-API for user authentication
Message-ID:  <20070317181453.B08CA2EA69@usen.mimori.org>
Resent-Message-ID: <200703171850.l2HIo4lo096584@freefall.freebsd.org>

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

>Number:         110451
>Category:       ports
>Synopsis:       [NEW PORT] www/mod_spnego: Allows users to use RFC 2478 SPNEGO GSS-API for user authentication
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 17 18:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KAMIYA Satosi
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD usen.mimori.org 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #24: Mon Mar  5 05:46:56 JST
>Description:
mod_spnego is a reference implementation Apache module that supports
authentication via the RFC 2478 SPNEGO GSS-API mechanism.

WWW: http://sourceforge.net/projects/modgssapache/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mod_spnego-0.0.7.shar begins here ---
# 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:
#
#	mod_spnego
#	mod_spnego/pkg-plist
#	mod_spnego/pkg-descr
#	mod_spnego/distinfo
#	mod_spnego/Makefile
#	mod_spnego/files
#	mod_spnego/files/Makefile
#
echo c - mod_spnego
mkdir -p mod_spnego > /dev/null 2>&1
echo x - mod_spnego/pkg-plist
sed 's/^X//' >mod_spnego/pkg-plist << 'END-of-mod_spnego/pkg-plist'
X@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mod_spnego/pkg-plist
echo x - mod_spnego/pkg-descr
sed 's/^X//' >mod_spnego/pkg-descr << 'END-of-mod_spnego/pkg-descr'
Xmod_spnego is a reference implementation Apache module that supports
Xauthentication via the RFC 2478 SPNEGO GSS-API mechanism.
X
XWWW: http://sourceforge.net/projects/modgssapache/
END-of-mod_spnego/pkg-descr
echo x - mod_spnego/distinfo
sed 's/^X//' >mod_spnego/distinfo << 'END-of-mod_spnego/distinfo'
XMD5 (mod_spnego-0.0.7.tar.gz) = 4297adc9a710db5daf6dac610fad352a
XSHA256 (mod_spnego-0.0.7.tar.gz) = 7152739789477640e5bd2934fa3cde26d44cdb54e1b9963e393b7f05542cb52b
XSIZE (mod_spnego-0.0.7.tar.gz) = 16552
END-of-mod_spnego/distinfo
echo x - mod_spnego/Makefile
sed 's/^X//' >mod_spnego/Makefile << 'END-of-mod_spnego/Makefile'
X# New ports collection makefile for:	mod_spnego
X# Date created:        17 March 2007
X# Whom:                KAMIYA Satosi
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_spnego
XPORTVERSION=	0.0.7
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=modgssapache
X
XMAINTAINER=	kamiya.satosi@gmail.com
XCOMMENT=	Allows users to use RFC 2478 SPNEGO GSS-API for user authentication
X
XLIB_DEPENDS=	fbopenssl.0:${PORTSDIR}/security/fbopenssl
X
XUSE_APACHE=	22+
XAP_FAST_BUILD=	yes
XAP_GENPLIST=	yes
X# AP_INC=		${PREFIX}/include/fbopenssl
XAP_LIB=		${PREFIX}/lib -lfbopenssl -lgssapi -lcrypto -lkrb5 -lasn1 -lroken -lcom_err -lcrypt
XAP_EXTRAS=	-DHEIMDAL
X
X# fbopenssl/gssapi.h conflicts with /usr/include/gssapi.h(HEIMDAL),
X# krb5help.h is referred by #include "krb5help.h" in mod_spnego.c
X# not #include <krb5help.h>.
X# spnegohelp.h is also referred by #include "spnegohelp.h".
X# So these files copy to $WRKSRC for safety and AP_INC is commented.
Xpost-extract:
X	${CP} ${PREFIX}/include/fbopenssl/krb5help.h ${WRKSRC}/
X	${CP} ${PREFIX}/include/fbopenssl/spnegohelp.h ${WRKSRC}/
X
X.include <bsd.port.pre.mk>
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-mod_spnego/Makefile
echo c - mod_spnego/files
mkdir -p mod_spnego/files > /dev/null 2>&1
echo x - mod_spnego/files/Makefile
sed 's/^X//' >mod_spnego/files/Makefile << 'END-of-mod_spnego/files/Makefile'
XMYCFLAGS="-I/usr/local/include"
XMYLDFLAGS="-lgssapi -L/usr/local/lib -lfbopenssl -lcrypto -lkrb5 -lasn1 -lroken -lcom_err -lcrypt"
X
Xall::
X	/usr/local/sbin/apxs -c -i -DHEIMDAL $(MYCFLAGS) $(MYLDFLAGS) mod_spnego.c
END-of-mod_spnego/files/Makefile
exit
--- mod_spnego-0.0.7.shar ends here ---

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



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