ports/155750: www/p5-RT-Authen-ExternalAuth stopped working after upgrade of www/rt38 to rt-3.8.9

Thomas Steen Rasmussen thomas at gibfest.dk
Mon Mar 21 15:20:07 UTC 2011


>Number:         155750
>Category:       ports
>Synopsis:       www/p5-RT-Authen-ExternalAuth stopped working after upgrade of www/rt38 to rt-3.8.9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 21 15:20:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Steen Rasmussen
>Release:        FreeBSD 8.1-RELEASE i386 GENERIC
>Organization:
>Environment:
FreeBSD tickettest.hq.webpartner.dk 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
After upgrading www/rt38 from rt-3.8.8_2 to rt-3.8.9 the external authentication stopped working. 

The external (ldap) authentication is provided by www/p5-RT-Authen-ExternalAuth which has a new devel release out which solves the issue, version 0.08_01 - see the changelog http://cpansearch.perl.org/src/FALCONE/RT-Authen-ExternalAuth-0.08_01/ChangeLog which contains the following item: "Fix for 3.8.9/4.0.0 to work with new Login infrastructure"

The attached patch updates www/p5-RT-Authen-ExternalAuth to 0.08_01 which makes external LDAP auth work again in RT.

I realize this is a development version, but seeing as the old one doesn't work anymore I figured we could pull in the devel version to make things work again.

Maybe there should be an entry in /usr/ports/UPDATING regarding this problem so other RT users doesn't get surprised.
>How-To-Repeat:
Configure LDAP auth in RT and see that it doesn't work with the current port versions.
>Fix:
Apply the attached patch to update www/p5-RT-Authen-ExternalAuth to p5-RT-Authen-ExternalAuth-0.08_4

Patch attached with submission follows:

diff -ru p5-RT-Authen-ExternalAuth.orig/Makefile p5-RT-Authen-ExternalAuth/Makefile
--- p5-RT-Authen-ExternalAuth.orig/Makefile	2011-03-21 14:42:58.000000000 +0100
+++ p5-RT-Authen-ExternalAuth/Makefile	2011-03-21 15:46:21.000000000 +0100
@@ -7,16 +7,18 @@
 
 PORTNAME=	RT-Authen-ExternalAuth
 PORTVERSION=	0.08
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www net perl5
-MASTER_SITES=	CPAN
+MASTER_SITES=	http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/
 PKGNAMEPREFIX=	p5-
+DISTNAME=	RT-Authen-ExternalAuth-0.08_01
 
 MAINTAINER=	m.seaman at infracaninophile.co.uk
 COMMENT=	RT extension to authenticate users against an external source
 
 BUILD_DEPENDS=	${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
 RUN_DEPENDS=	${BUILD_DEPENDS}
+FETCH_ARGS=     -pRr
 
 PERL_CONFIGURE=	yes
 
diff -ru p5-RT-Authen-ExternalAuth.orig/distinfo p5-RT-Authen-ExternalAuth/distinfo
--- p5-RT-Authen-ExternalAuth.orig/distinfo	2011-03-21 14:42:58.000000000 +0100
+++ p5-RT-Authen-ExternalAuth/distinfo	2011-03-21 15:46:24.000000000 +0100
@@ -1,4 +1,2 @@
-SHA256 (RT-Authen-ExternalAuth-0.08.tar.gz) = 2d211e5425e6e6a63b163de3d1a510768a18dbe77f233834da6d8a6b4528b24a
-SIZE (RT-Authen-ExternalAuth-0.08.tar.gz) = 39386
-SHA256 (RT-Authen-ExternalAuth-0.05.tar.gz) = e4ef01558d874b438c4818c5de1a373b93b8c2d4abffe9b87f0b88807a93c47e
-SIZE (RT-Authen-ExternalAuth-0.05.tar.gz) = 34653
+SHA256 (RT-Authen-ExternalAuth-0.08_01.tar.gz) = d8fb0223a0a9f6b7836e658433a61c34091a2665cf987ad5a2d2433312c03efb
+SIZE (RT-Authen-ExternalAuth-0.08_01.tar.gz) = 53393


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



More information about the freebsd-ports-bugs mailing list