From reho@achilles.fpc.cz  Thu Aug 28 01:56:22 2008
Return-Path: <reho@achilles.fpc.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BB77B106568B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Aug 2008 01:56:22 +0000 (UTC)
	(envelope-from reho@achilles.fpc.cz)
Received: from ns1.bluetone.cz (ns1.bluetone.cz [212.158.128.13])
	by mx1.freebsd.org (Postfix) with ESMTP id 75F918FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Aug 2008 01:56:22 +0000 (UTC)
	(envelope-from reho@achilles.fpc.cz)
Received: from localhost (spamhole.bluetone.cz [192.168.13.2])
	by ns1.bluetone.cz (Postfix) with ESMTP id DCEC557267;
	Thu, 28 Aug 2008 02:00:16 +0200 (CEST)
Received: from ns1.bluetone.cz ([192.168.13.1])
	by localhost (spamhole.bluetone.cz [192.168.13.2]) (amavisd-new, port 10026)
	with ESMTP id FFcQgYa43h7C; Thu, 28 Aug 2008 02:00:12 +0200 (CEST)
Received: from achilles.fpc.cz (achilles.fpc.cz [85.207.176.249])
	by ns1.bluetone.cz (Postfix) with ESMTP id EC09A5725B;
	Thu, 28 Aug 2008 02:00:11 +0200 (CEST)
Received: from achilles.fpc.cz (localhost [127.0.0.1])
	by achilles.fpc.cz (8.14.2/8.14.2) with ESMTP id m7S003a6057854;
	Thu, 28 Aug 2008 02:00:07 +0200 (CEST)
	(envelope-from reho@achilles.fpc.cz)
Received: (from root@localhost)
	by achilles.fpc.cz (8.14.2/8.14.2/Submit) id m7S003FU057853;
	Thu, 28 Aug 2008 02:00:03 +0200 (CEST)
	(envelope-from reho)
Message-Id: <200808280000.m7S003FU057853@achilles.fpc.cz>
Date: Thu, 28 Aug 2008 02:00:03 +0200 (CEST)
From: Petr Rehor <prehor@gmail.com>
Reply-To: Petr Rehor <prehor@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Petr Rehor <prehor@gmail.com>
Subject: [patch] mail/squirrelmail: plugins isn't activated
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         126901
>Category:       ports
>Synopsis:       [patch] mail/squirrelmail: plugins isn't activated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 28 02:00:01 UTC 2008
>Closed-Date:    Tue Sep 02 18:22:32 UTC 2008
>Last-Modified:  Tue Sep  2 18:30:01 UTC 2008
>Originator:     Petr Rehor
>Release:        FreeBSD 7.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD achilles.fpc.cz 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 06:48:16 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
SquirrelMail plugins use bsd.squirrelmail.mk for installation and
activation.  The activation is silently skipped due to bug.
>How-To-Repeat:
cd /usr/ports/mail/squirrelmail-compatibility-plugin
make install
>Fix:
--- bsd.squirrelmail.mk.diff begins here ---
--- bsd.squirrelmail.mk.orig	2008-08-28 01:47:30.000000000 +0200
+++ bsd.squirrelmail.mk	2008-08-28 01:33:42.000000000 +0200
@@ -62,7 +62,7 @@
 
 post-install:
 .ifndef WITHOUT_ACTIVATE
-.if exists( ${SQUIRRELDIR}/config/conf.php )
+.if exists( ${SQUIRRELDIR}/config/conf.pl )
 	@${ECHO_CMD} "Activating plug-in in SquirrelMail"
 	${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
 .endif
--- bsd.squirrelmail.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Aug 28 02:00:35 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Thomas Abthorpe <tabthorpe@freebsd.org>
To: bug-followup@freebsd.org,
 prehor@gmail.com
Cc:  
Subject: Re: ports/126901: [patch] mail/squirrelmail: plugins isn't activated
Date: Tue, 2 Sep 2008 08:44:37 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 This behaviour is by design. The logic was built in the way it is to ensure 
 extraneous files are not left behind on deinstall on the build cluster.
 
 The fact of the matter is, once you configure it once (ie the first time) the 
 auto activate will work subsequently.
 
 HTH
 
 
 Thomas
 
 - -- 
 Thomas Abthorpe		| FreeBSD Committer
 tabthorpe@FreeBSD.org	| http://people.freebsd.org/~tabthorpe
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAki9NT0ACgkQ5Gm/jNBp8qAtewCfZGyVd2cE+BVgrycALNUy7bvX
 DckAnidnbRWNX//8aSWzRjzriN69IfQe
 =K9RI
 -----END PGP SIGNATURE-----

From: "Petr Rehor" <prehor@gmail.com>
To: "Thomas Abthorpe" <tabthorpe@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/126901: [patch] mail/squirrelmail: plugins isn't activated
Date: Tue, 2 Sep 2008 17:01:47 +0200

 On Tue, Sep 2, 2008 at 2:44 PM, Thomas Abthorpe <tabthorpe@freebsd.org> wrote:
 > This behaviour is by design. The logic was built in the way it is to ensure
 > extraneous files are not left behind on deinstall on the build cluster.
 > The fact of the matter is, once you configure it once (ie the first time) the
 > auto activate will work subsequently.
 
 OK. I think that this behavior should be noted in pkg-message of squirrel
 plugins.
 
 But the bug is still here because file config/conf.php not exists, configuration
 is (on my system) stored in config/config.php. Patch is atatched.
 
 P.
 
 --- bsd.squirrelmail.mk.orig    2008-08-28 01:47:30.000000000 +0200
 +++ bsd.squirrelmail.mk 2008-09-02 16:57:36.000000000 +0200
 @@ -62,7 +62,7 @@
 
  post-install:
  .ifndef WITHOUT_ACTIVATE
 -.if exists( ${SQUIRRELDIR}/config/conf.php )
 +.if exists( ${SQUIRRELDIR}/config/config.php )
  	@${ECHO_CMD} "Activating plug-in in SquirrelMail"
  	${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
  .endif
State-Changed-From-To: open->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Tue Sep 2 18:22:31 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126901: commit references a PR
Date: Tue,  2 Sep 2008 18:22:21 +0000 (UTC)

 tabthorpe    2008-09-02 18:22:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/squirrelmail    bsd.squirrelmail.mk 
   Log:
   - Fix common include
   - This is a no-op on the build cluster, no bump required
   
   PR:             ports/126901
   Submitted by:   Petr Rehor <prehor gmail.com>
   
   Revision  Changes    Path
   1.3       +2 -2      ports/mail/squirrelmail/bsd.squirrelmail.mk
 _______________________________________________
 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:
