Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2008 09:48:23 GMT
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/129783: [new port] www/p5-RT-Authen-ExternalAuth
Message-ID:  <200812200948.mBK9mNZZ030260@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <200812200950.mBK9o0Ev052052@freefall.freebsd.org>

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

>Number:         129783
>Category:       ports
>Synopsis:       [new port] www/p5-RT-Authen-ExternalAuth
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 20 09:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #50: Sat Dec 13 03:04:01 GMT 2008 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

RT::Authen::ExternalAuth is now the recommended way to hook up RT to
an external authentication database -- either LDAP (including AD) or
one of the several RDBMS systems available.  I've ported version 0.0.5
as that's recommended for the version of RT (3.6.7) currently in the
ports tree.  Once RT 3.8.x hits the tree I'll update to 0.0.7_01.

Note: this is a superset of the function of p5-RT-Extension-LDAPImport
That port won't be updated to be compatible with RT-3.8.x

Note 2: Port has an explicit BUILD_DEPENDS on p5-perl-ldap, but it's
assumed to inherit whatever DBD/DBI dependencies needed from RT.


>How-To-Repeat:
	
>Fix:

	

--- p5-RT-Authen-ExternalAuth.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:
#
#	p5-RT-Authen-ExternalAuth
#	p5-RT-Authen-ExternalAuth/Makefile
#	p5-RT-Authen-ExternalAuth/distinfo
#	p5-RT-Authen-ExternalAuth/pkg-descr
#	p5-RT-Authen-ExternalAuth/pkg-plist
#
echo c - p5-RT-Authen-ExternalAuth
mkdir -p p5-RT-Authen-ExternalAuth > /dev/null 2>&1
echo x - p5-RT-Authen-ExternalAuth/Makefile
sed 's/^X//' >p5-RT-Authen-ExternalAuth/Makefile << 'dc00cee2fa5ea1c33ff63a04e757ad0a'
X# New ports collection Makefile for: RT-Authen-ExternalAuth
X# Date created:	        19 December 2008
X# Whom:                 Matthew Seaman <m.seaman@infracaninophile.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	RT-Authen-ExternalAuth
XPORTVERSION=	0.05
XCATEGORIES=	www net perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	m.seaman@infracaninophile.co.uk
XCOMMENT=	RT extension to authenticate users against an external source
X
XBUILD_DEPENDS=	${LOCALBASE}/${RTHOME}/bin/rt:${PORTSDIR}/www/rt36 \
X		${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
X
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XRTHOME?=	rt3
XPLIST_SUB+=	RTHOME=${RTHOME}
X
XPERL_CONFIGURE=	yes
XCONFIGURE_ENV+=	RTHOME=${PREFIX}/${RTHOME}
X
XMAN3PREFIX=	${PREFIX}/${RTHOME}/local
XMAN3=		RT::Authen::ExternalAuth.3
X
X# Don't use normal CONFIGURE_ARGS.  Disable doc_?????_indstall targets to
X# suppress installing perllocal.pod.  This duplicates code from bsd.perl.mk
X# rather undesirably.
Xdo-configure:
X	@cd ${CONFIGURE_WRKSRC} && \
X	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
X	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
X
X.include <bsd.port.mk>
dc00cee2fa5ea1c33ff63a04e757ad0a
echo x - p5-RT-Authen-ExternalAuth/distinfo
sed 's/^X//' >p5-RT-Authen-ExternalAuth/distinfo << '8b11d0853a15645609c1e61d38a21709'
XMD5 (RT-Authen-ExternalAuth-0.05.tar.gz) = 87049f6adb6ff4c8f6cac9a266ae2cb8
XSHA256 (RT-Authen-ExternalAuth-0.05.tar.gz) = e4ef01558d874b438c4818c5de1a373b93b8c2d4abffe9b87f0b88807a93c47e
XSIZE (RT-Authen-ExternalAuth-0.05.tar.gz) = 34653
8b11d0853a15645609c1e61d38a21709
echo x - p5-RT-Authen-ExternalAuth/pkg-descr
sed 's/^X//' >p5-RT-Authen-ExternalAuth/pkg-descr << 'b6bc68b4c350b0656e7e7ab1230cbd36'
XRT::Authen::ExternalAuth  RT Authentication using External Sources
X
XA complete package for adding external authentication mechanisms to
XRT. It currently supports LDAP via Net::LDAP and External Database
Xauthentication for any database with an installed DBI driver.
X
XIt also allows for authenticating cookie information against an
Xexternal database through the use of the RT-Authen-CookieAuth
Xextension.
X
XWWW: http://search.cpan.org/perldoc?RT::Authen::ExternalAuth
b6bc68b4c350b0656e7e7ab1230cbd36
echo x - p5-RT-Authen-ExternalAuth/pkg-plist
sed 's/^X//' >p5-RT-Authen-ExternalAuth/pkg-plist << '0db9df5e080b02faa1806ec910307b0b'
X%%RTHOME%%/local/lib/RT/Authen/ExternalAuth.pm
X%%RTHOME%%/local/lib/RT/User_Vendor.pm
X%%RTHOME%%/local/man/auto/RT/Authen/ExternalAuth/.packlist
X@dirrmtry %%RTHOME%%/local/lib/RT/Authen
X@dirrmtry %%RTHOME%%/local/lib/RT
X@dirrmtry %%RTHOME%%/local/lib
X@dirrmtry %%RTHOME%%/local
X
0db9df5e080b02faa1806ec910307b0b
exit
--- p5-RT-Authen-ExternalAuth.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?200812200948.mBK9mNZZ030260>