From tabthorpe@goodking.goodking.ca  Thu Feb 22 14:54:57 2007
Return-Path: <tabthorpe@goodking.goodking.ca>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5D9ED16A407
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Feb 2007 14:54:57 +0000 (UTC)
	(envelope-from tabthorpe@goodking.goodking.ca)
Received: from tbaytel.net (front1-i.tbaytel.net [216.211.26.158])
	by mx1.freebsd.org (Postfix) with ESMTP id 09FCD13C4A7
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Feb 2007 14:54:56 +0000 (UTC)
	(envelope-from tabthorpe@goodking.goodking.ca)
Received: from goodking.goodking.ca ([216.26.202.123] verified)
  by front1.tbaytel.net (CommuniGate Pro SMTP 5.0.8)
  with ESMTPS id 69511326 for FreeBSD-gnats-submit@freebsd.org; Thu, 22 Feb 2007 09:54:54 -0500
Received: from goodking.goodking.ca (localhost [127.0.0.1])
	by goodking.goodking.ca (8.14.0/8.14.0) with ESMTP id l1MEsZEx034491
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 22 Feb 2007 09:54:35 -0500 (EST)
	(envelope-from tabthorpe@goodking.goodking.ca)
Received: (from root@localhost)
	by goodking.goodking.ca (8.14.0/8.14.0/Submit) id l1MEsZpa034487;
	Thu, 22 Feb 2007 09:54:35 -0500 (EST)
	(envelope-from tabthorpe)
Message-Id: <200702221454.l1MEsZpa034487@goodking.goodking.ca>
Date: Thu, 22 Feb 2007 09:54:35 -0500 (EST)
From: Thomas Abthorpe <thomas@goodking.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc: thomas@goodking.ca
Subject: [MAINTAINER] mail/squirrelmail-newuser_wiz-plugin: depend on compatibility-plugin1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         109435
>Category:       ports
>Synopsis:       [MAINTAINER] mail/squirrelmail-newuser_wiz-plugin: depend on compatibility-plugin1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 22 15:00:47 GMT 2007
>Closed-Date:    Mon Feb 26 22:18:24 GMT 2007
>Last-Modified:  Mon Feb 26 22:20:06 GMT 2007
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD goodking.goodking.ca 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #2: Thu Feb 15 14:49:58 EST 2007
>Description:
- depend on compatibility-plugin1, doesn't work with version 2
- rework Makefile to make more consistent with 5.2 of the Porters Handbook
- fix plugin activation, thanks to Neil Darlow <neil___darlow_co_uk> 
- bump PORTREVISION

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

--- squirrelmail-newuser_wiz-plugin-1.3.2_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	29 Jun 2006 15:34:35 -0000	1.2
+++ Makefile	22 Feb 2007 14:40:23 -0000
@@ -5,21 +5,23 @@
 # $FreeBSD: ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v 1.2 2006/06/29 15:34:35 garga Exp $
 #
 
-PORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
+PORTNAME=	newuser_wiz
 PORTVERSION=	1.3.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail www
 MASTER_SITES=	http://www.squirrelmail.org/plugins/
-DISTNAME=	${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
+PKGNAMEPREFIX=	squirrelmail-
+PKGNAMESUFFIX=	-plugin
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	squirrelmail
 
 MAINTAINER=	thomas@goodking.ca
 COMMENT=	Force user to enter Full name and Email address at initial logon
 
 RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
-		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
+		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin1
 
-SQUIRREL_PLUGIN_NAME=	newuser_wiz
+SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
 .ifdef SQUIRRELDIR
 PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
@@ -35,6 +37,7 @@
 SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
 .endif
 .endif
+PLIST_SUB+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
 
 NO_BUILD=		yes
 NO_WRKSUBDIR=		yes
@@ -42,6 +45,12 @@
 USE_PHP=		yes
 WANT_PHP_WEB=		yes
 
+.include <bsd.port.pre.mk>
+
+.if exists(${SQUIRRELDIR}/plugins/compatibility/getpot)
+IGNORE='compatibility2 plugin is incompatible with this plugin, install mail/squirrelmail-compatibility-plugin1. WARNING compatibility-plugin1 could break other squirrelmail plugins'
+.endif
+
 pre-everything::
 	@${ECHO} ""
 .ifndef WITHOUT_ACTIVATE
@@ -70,4 +79,4 @@
 	@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- squirrelmail-newuser_wiz-plugin-1.3.2_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Thu Feb 22 16:34:54 UTC 2007 
Responsible-Changed-Why:  
Eat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109435 
Responsible-Changed-From-To: rafan->miwi 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Fri Feb 23 01:11:16 UTC 2007 
Responsible-Changed-Why:  
miwi first :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109435 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Feb 26 22:18:20 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109435 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/109435: commit references a PR
Date: Mon, 26 Feb 2007 22:18:51 +0000 (UTC)

 miwi        2007-02-26 22:18:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/squirrelmail-newuser_wiz-plugin Makefile 
   Log:
   - Depend on compatibility-plugin1, doesn't work with version 2
   - Rework Makefile to make more consistent with 5.2 of the Porters Handbook
   - Fix plugin activation
   - Bump PORTREVISION
   
   PR:             109435
   Submitted by:   Thomas Abthorpe <thomas@goodking.ca> (maintainer)
   
   Revision  Changes    Path
   1.3       +15 -6     ports/mail/squirrelmail-newuser_wiz-plugin/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
