Bug 126901 - [patch] mail/squirrelmail: plugins isn't activated
Summary: [patch] mail/squirrelmail: plugins isn't activated
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: Thomas Abthorpe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 03:00 UTC by Petr Rehor
Modified: 2008-09-02 19:30 UTC (History)
1 user (show)

See Also:


Attachments
bsd.squirrelmail.mk.diff (409 bytes, patch)
2008-08-28 03:00 UTC, Petr Rehor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Rehor 2008-08-28 03:00:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-08-28 03:00:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tabthorpe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Thomas Abthorpe freebsd_committer freebsd_triage 2008-09-02 13:44:37 UTC
-----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-----
Comment 3 Petr Rehor 2008-09-02 16:01:47 UTC
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
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-09-02 19:22:21 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"
Comment 5 Thomas Abthorpe freebsd_committer freebsd_triage 2008-09-02 19:22:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!