Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2018 19:51:14 -0700
From:      "Janky Jay, III" <jankyj@unfs.us>
To:        freebsd-ports@freebsd.org
Subject:   Re: Maia Mailgaurd / PHP 7 support
Message-ID:  <3df9d578-0794-5b74-ae3e-09b76f6e69f6@unfs.us>
In-Reply-To: <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz>
References:  <3695c8be-c969-1715-a902-72752faf7d5e@hayers.org> <f8c68abc-049c-3ded-5739-f658cfb8dfec@unfs.us> <B99FC248102343D980E03E07F63E4F13@RIVENDELL> <c204d13e-69ef-fdfe-4619-b27500126608@unfs.us> <9BE00ADB383D4AC1A8E546A8B4F0DD89@RIVENDELL> <c3a0c93d0d2bcbbefedff7c5f89cf3c0@unfs.us> <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fKjqcN0vIavskpmbpcvqSqqC7tzZq3KSS
Content-Type: multipart/mixed; boundary="Hbpe0a7uhFOgmSxLqWwm7uEu1VNZedydp";
 protected-headers="v1"
From: "Janky Jay, III" <jankyj@unfs.us>
To: freebsd-ports@freebsd.org
Message-ID: <3df9d578-0794-5b74-ae3e-09b76f6e69f6@unfs.us>
Subject: Re: Maia Mailgaurd / PHP 7 support
References: <3695c8be-c969-1715-a902-72752faf7d5e@hayers.org>
 <f8c68abc-049c-3ded-5739-f658cfb8dfec@unfs.us>
 <B99FC248102343D980E03E07F63E4F13@RIVENDELL>
 <c204d13e-69ef-fdfe-4619-b27500126608@unfs.us>
 <9BE00ADB383D4AC1A8E546A8B4F0DD89@RIVENDELL>
 <c3a0c93d0d2bcbbefedff7c5f89cf3c0@unfs.us>
 <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz>
In-Reply-To: <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz>

--Hbpe0a7uhFOgmSxLqWwm7uEu1VNZedydp
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hello Miroslav,

On 12/29/18 6:16 PM, Miroslav Lachman wrote:
> Janketh Jay wrote on 2018/12/30 01:03:
>> Hi All,
>>
>> On 03/12/2018 2:17 pm, Reko Turja via freebsd-ports wrote:
>>> Hello Janky Jay!
>>>
>>> -----Original Message----- Sent: Monday, December 3, 2018 4:17 PM
>>> Subject: Re: Maia Mailgaurd
>>>
>>>> Okay. No sweat. I'll work on getting a port patch going as that seem=
s
>>>> it would be the easiest way to push this out. I'll provide a
>>>> download as
>>>> soon as I have something available for testing.
>>>
>>> Sounds good, thank you for your work on ports!
>>>
>>> -Reko
>>>
>>
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 So, after a bit of testing (and n=
ot being able to update the
>> port for PHP7 due to Smarty issues), below is a simple patch that
>> will keep the current port version of Maia (1.0.4_3) working with
>> PHP7 (testing with PHP 7.2). Please let me know if this does not work
>> or if there is anything else that needs to be added or changed.
>> Hopefully, I'll get the Smarty issue(s) sorted out soon and have a
>> new port submitted.
>
> [...]
>
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Also, if you're interested in see=
ing/testing the new port
>> (from the latest Github commit for technion's maia_mailguard), you
>> can download the patch from the link below [1] and let me know if
>> it's successful for you. Everything seems to work except for the
>> WebUI due to a fatal call to Smarty which I cannot figure out (I'm
>> not a PHP developer). However, once that is sorted, I should be ready
>> to submit the new port so Maia can be updated to the latest version.
>
> I forgot about this in my previous message - I guess there is an old
> version of Smarty not supporting PHP 7. It would be probably better to
> replace it with newer version of Smarty with PHP 7 support but there
> can be some syntax changes in Smarty config / initialisation. I
> remember something about it about a year ago when I was upgrading one
> of our own (very old) project to newer Smarty templates. There are
> some differences between Smarty 2 and Smarty 3. But as I read now on
> their website, the latest Smarty 2 version 2.6.31 supports PHP 7.2 so
> it should be painless to replace old noncompatible version with this on=
e.

=C2=A0=C2=A0=C2=A0 Again, thank you for the information. I remember quite=
 a while back
I tried using Smarty3 as opposed to Smarty2 but it caused nothing but
issues so I rolled back. I can go ahead and give this another shot now
(especially as Smarty2 and Smarty3 can be installed in parallel) and see
what I get. Another thanks!

Regards,
Janky Jay, III



--Hbpe0a7uhFOgmSxLqWwm7uEu1VNZedydp--

--fKjqcN0vIavskpmbpcvqSqqC7tzZq3KSS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQT3labtx1DPvRcqv5cYrcyxRslmfgUCXCgyogAKCRAYrcyxRslm
fik6AJ9ig1Ov6EEocFDqK9Yp1N8jlzWWPgCfevwQeQmZhEy3S3G02VfAU/lebog=
=4o4P
-----END PGP SIGNATURE-----

--fKjqcN0vIavskpmbpcvqSqqC7tzZq3KSS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3df9d578-0794-5b74-ae3e-09b76f6e69f6>