Bug 48800 - security/pear-Auth: upgrading to 1.2.0.
Summary: security/pear-Auth: upgrading to 1.2.0.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 23:40 UTC by Thierry Thomas
Modified: 2003-03-30 03:08 UTC (History)
0 users

See Also:


Attachments
file.diff (1.88 KB, patch)
2003-02-28 23:40 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2003-02-28 23:40:12 UTC
	Upgrading security/pear-Auth to the latest release.

Fix: Please apply this patch:

How-To-Repeat: 	N/A.
Comment 1 Thierry Thomas 2003-03-15 21:47:05 UTC
Le Sam  1 mar 03 à  0:33:47 +0100, Thierry Thomas <thierry@pompo.net>
 écrivait :
> 
> >Number:         48800
> >Category:       ports
> >Synopsis:       security/pear-Auth: upgrading to 1.2.0.

>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:
     Please install the following patch:


diff -urN security/pear-Auth.orig/Makefile security/pear-Auth/Makefile
--- security/pear-Auth.orig/Makefile	Fri Feb 28 14:52:40 2003
+++ security/pear-Auth/Makefile	Sat Mar 15 21:27:41 2003
@@ -36,11 +36,12 @@
 MANIFEST=	Auth.php Container Container.php
 
 do-install:
+	@${MKDIR} ${PEARDIR}/Auth
 .for FILE in ${MANIFEST}
-	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE}
+	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}/Auth
 .endfor
-	@${CHMOD} -R a-x ${PEARDIR}/Container/*.php
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Auth
+	@${CHMOD} -R a-x ${PEARDIR}/Auth/Container/*.php
 
 post-install:
 # Register a new package
diff -urN security/pear-Auth.orig/pkg-plist security/pear-Auth/pkg-plist
--- security/pear-Auth.orig/pkg-plist	Fri Feb 28 14:51:43 2003
+++ security/pear-Auth/pkg-plist	Sat Mar 15 21:22:25 2003
@@ -1,11 +1,12 @@
-%%PEARDIR%%/Auth.php
-%%PEARDIR%%/Container.php
-%%PEARDIR%%/Container/DB.php
-%%PEARDIR%%/Container/File.php
-%%PEARDIR%%/Container/IMAP.php
-%%PEARDIR%%/Container/LDAP.php
-%%PEARDIR%%/Container/POP3.php
-%%PEARDIR%%/Container/RADIUS.php
-%%PEARDIR%%/Container/SOAP.php
-%%PEARDIR%%/Container/vpopmail.php
-@dirrm %%PEARDIR%%/Container
+%%PEARDIR%%/Auth/Auth.php
+%%PEARDIR%%/Auth/Container.php
+%%PEARDIR%%/Auth/Container/DB.php
+%%PEARDIR%%/Auth/Container/File.php
+%%PEARDIR%%/Auth/Container/IMAP.php
+%%PEARDIR%%/Auth/Container/LDAP.php
+%%PEARDIR%%/Auth/Container/POP3.php
+%%PEARDIR%%/Auth/Container/RADIUS.php
+%%PEARDIR%%/Auth/Container/SOAP.php
+%%PEARDIR%%/Auth/Container/vpopmail.php
+@dirrm %%PEARDIR%%/Auth/Container
+@dirrm %%PEARDIR%%/Auth


-- 
Th. Thomas.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-03-30 03:08:40 UTC
State Changed
From-To: open->closed

Commited, thanks!