Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2006 11:54:27 GMT
From:      Alexander Wittig <alexander@wittig.name>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/94089: [PATCH] squirrelmail-compatibility-plugin
Message-ID:  <200603051154.k25BsRjM097365@www.freebsd.org>
Resent-Message-ID: <200603051200.k25C0J2E006416@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94089
>Category:       ports
>Synopsis:       [PATCH] squirrelmail-compatibility-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 05 12:00:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Wittig
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
The attached patch fixes a mtree build error from pointyhat for squirrelmail-compatibility-plugin.

The problem is that if you install squirrelmail without configuring it you won't have a config.php file. If you install this plugin, it will use the squirrelmail conf.pl utility to activate it. If conf.pl doesn't find a config.php it will create one based on default values. This newly created config.php file is not removed by this plugin port (for obvious reasons) and also not by the squirrelmail port.

To solve this problem the port now checks to see if config.php exists. If it doesn't no activation is done since there is no configuration file to activate it in.
>How-To-Repeat:
see pointyhat build logs
>Fix:
begin 644 patch.diff
M9&EF9B`M<G5.('-Q=6ER<F5L;6%I;"UC;VUP871I8FEL:71Y+7!L=6=I;BY/
M3$0O36%K969I;&4@<W%U:7)R96QM86EL+6-O;7!A=&EB:6QI='DM<&QU9VEN
M+TUA:V5F:6QE"BTM+2!S<75I<G)E;&UA:6PM8V]M<&%T:6)I;&ET>2UP;'5G
M:6XN3TQ$+TUA:V5F:6QE"5-U;B!*86X@,CD@,30Z-3`Z,SD@,C`P-@HK*RL@
M<W%U:7)R96QM86EL+6-O;7!A=&EB:6QI='DM<&QU9VEN+TUA:V5F:6QE"5-U
M;B!&96(@(#4@,30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RYP:'`@73L@=&AE
M;B`E1"\E)5-154E24D5,1$E2)24O8V]N9FEG+V-O;F8N<&P@+2UR96UO=F4M
M<&QU9VEN(&-O;7!A=&EB:6QI='D[(&9I"B!`=6YE>&5C(&UV("UF("5$+R4E
M4U%525)214Q$25(E)2]F=6YC=&EO;G,O<W1R:6YG<RYP:'`N;W)I9R`E1"\E
M)5-154E24D5,1$E2)24O9G5N8W1I;VYS+W-T<FEN9W,N<&AP"B!`97AE8R!M
M:V1I<B`M<"`E1"\E)5-154E24D5,1$E2)24O<&QU9VEN<R]C;VUP871I8FEL
M:71Y+VEN8VQU9&5S+S$N-2XQ"B`E)5-154E24D5,1$E2)24O<&QU9VEN<R]C
M;VUP871I8FEL:71Y+V-O;7!A=&EB:6QI='DN<&]T"D!`("TU-"PT("LU-"PU
M($!`"B!`9&ER<FT@)253455)4E)%3$1)4B4E+W!L=6=I;G,O8V]M<&%T:6)I
M;&ET>2]P871C:&5S+F]L9`H@0&1I<G)M("4E4U%525)214Q$25(E)2]P;'5G
M:6YS+V-O;7!A=&EB:6QI='D*($!E>&5C('!A=&-H("US3B`M<#`@+60@)40O
M)253455)4E)%3$1)4B4E+W!L=6=I;G,@/"`E1"\E)5-154E24D5,1$E2)24O
M<&QU9VEN<R]C;VUP871I8FEL:71Y+W!A=&-H97,O8V]M<&%T:6)I;&ET>5]P
M871C:"TQ+C0N-2YD:69F"BU`97AE8R`E1"\E)5-154E24D5,1$E2)24O8V]N
M9FEG+V-O;F8N<&P@+2UI;G-T86QL+7!L=6=I;B!C;VUP871I8FEL:71Y"BM`
M97AE8R!I9B!;("UF("5$+R4E4U%525)214Q$25(E)2]C;VYF:6<O8V]N9FEG
M+G!H<"!=.R!T:&5N("5$+R4E4U%525)214Q$25(E)2]C;VYF:6<O8V]N9BYP
G;"`M+6EN<W1A;&PM<&QU9VEN(&-O;7!A=&EB:6QI='D[(&9I"BL*
`
end

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603051154.k25BsRjM097365>