From thierry@pompo.net  Sat Mar 15 13:48:57 2003
Return-Path: <thierry@pompo.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AAEF037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Mar 2003 13:48:57 -0800 (PST)
Received: from graf.pompo.net (lns-th2-6f-81-57-186-139.adsl.proxad.net [81.57.186.139])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E15EA43FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Mar 2003 13:48:56 -0800 (PST)
	(envelope-from thierry@pompo.net)
Received: by graf.pompo.net (Postfix, from userid 1001)
	id 097987521; Sat, 15 Mar 2003 22:47:11 +0100 (CET)
Message-Id: <20030315214711.097987521@graf.pompo.net>
Date: Sat, 15 Mar 2003 22:47:11 +0100 (CET)
From: Thierry Thomas <thierry@pompo.net>
Reply-To: Thierry Thomas <thierry@pompo.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: security/pear-Auth_SASL
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50036
>Category:       ports
>Synopsis:       security/pear-Auth_SASL
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 13:50:13 PST 2003
>Closed-Date:    Sat Mar 29 18:15:39 PST 2003
>Last-Modified:  Sat Mar 29 18:15:39 PST 2003
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #0: Fri Feb 28 22:45:45 CET 2003 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	I have made an error with this port: it is not installed in the
	standard directory. It works alone, but it cannot be used by
	other PEAR packages.

>How-To-Repeat:
	See baseinstalldir="Auth" in package.xml.

>Fix:
	Pre-requisite: PR ports/48800 must have been committed.

	Then, please install the following patch:


diff -urN security/pear-Auth_SASL.orig/Makefile security/pear-Auth_SASL/Makefile
--- security/pear-Auth_SASL.orig/Makefile	Thu Feb 27 21:26:36 2003
+++ security/pear-Auth_SASL/Makefile	Sat Mar 15 21:47:56 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	Auth_SASL
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	security www
 MASTER_SITES=	http://pear.php.net/get/
 PKGNAMEPREFIX=	pear-
@@ -16,7 +17,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	PEAR abstraction of various SASL mechanism responses
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS=	${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 NO_BUILD=	yes
@@ -37,11 +38,11 @@
 
 do-install:
 .for FILE in ${MANIFEST}
-	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
+	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}/Auth
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Auth/${FILE}
 .endfor
-	@${CHMOD} a-x ${PEARDIR}/SASL/*
-	@${CHMOD} a-x ${PEARDIR}/SASL.php
+	@${CHMOD} a-x ${PEARDIR}/Auth/SASL/*
+	@${CHMOD} a-x ${PEARDIR}/Auth/SASL.php
 
 post-install:
 # Register a new package
diff -urN security/pear-Auth_SASL.orig/pkg-plist security/pear-Auth_SASL/pkg-plist
--- security/pear-Auth_SASL.orig/pkg-plist	Mon Feb  3 00:07:41 2003
+++ security/pear-Auth_SASL/pkg-plist	Sat Mar 15 21:49:04 2003
@@ -1,8 +1,8 @@
-%%PEARDIR%%/SASL.php
-%%PEARDIR%%/SASL/Anonymous.php
-%%PEARDIR%%/SASL/Common.php
-%%PEARDIR%%/SASL/CramMD5.php
-%%PEARDIR%%/SASL/DigestMD5.php
-%%PEARDIR%%/SASL/Login.php
-%%PEARDIR%%/SASL/Plain.php
-@dirrm %%PEARDIR%%/SASL
+%%PEARDIR%%/Auth/SASL.php
+%%PEARDIR%%/Auth/SASL/Anonymous.php
+%%PEARDIR%%/Auth/SASL/Common.php
+%%PEARDIR%%/Auth/SASL/CramMD5.php
+%%PEARDIR%%/Auth/SASL/DigestMD5.php
+%%PEARDIR%%/Auth/SASL/Login.php
+%%PEARDIR%%/Auth/SASL/Plain.php
+@dirrm %%PEARDIR%%/Auth/SASL
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Mar 29 18:15:33 PST 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50036 
>Unformatted:
