From owner-freebsd-ports@freebsd.org Sun Dec 30 04:13:38 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71E17143A6DF for ; Sun, 30 Dec 2018 04:13:38 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from stig.purplehat.org (stig.purplehat.org [50.243.134.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F6896CD8F for ; Sun, 30 Dec 2018 04:13:35 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from localhost (bill.goatse.unfs.us [50.243.134.106]) by stig.purplehat.org (Postfix) with ESMTP id B0C92681DF for ; Sat, 29 Dec 2018 21:13:33 -0700 (MST) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org B0C92681DF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1546143213; bh=NJBSWjw/H++FmwEBXVgdm6dsH6Y7unCESah0cMzV4Po=; h=Subject:To:References:From:Date:In-Reply-To:From; b=e87gJtSEeUYbVYZS9tAA2o7usCml+sl4p4jsTLwYe52qy0+R1U4pbWGOaWiIz1yMO ONWuzX5b6yWaex7wH3/inYU6N7TeLGatDM/I1TlvdemZlBeECgAjJuPkh1lSfPMf7Q He1Tevn/6MvbDRz+UbjSWMOgzeN1Ezrz4V9S3Zeo= Received: from stig.purplehat.org ([50.243.134.106]) by localhost (stig.purplehat.org [50.243.134.106]) (maiad, port 10024) with ESMTP id 86197-01 for ; Sat, 29 Dec 2018 21:13:32 -0700 (MST) Received: from tools.purplehat.org (tools.purplehat.org [172.28.35.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by stig.purplehat.org (Postfix) with ESMTPSA id 8CD90681D5 for ; Sat, 29 Dec 2018 21:13:32 -0700 (MST) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org 8CD90681D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1546143212; bh=NJBSWjw/H++FmwEBXVgdm6dsH6Y7unCESah0cMzV4Po=; h=Subject:To:References:From:Date:In-Reply-To:From; b=paVgDRvHaZYAXYJNY596ZVR7zhoQpTbJg5fsovK6mh1UF1n4kGSDFYkk86xRoCZJg wLYth/RWO2ro0R2wXUznASMmWLEK4Za25KsCZ6biW/9zZ4hwR7bNEXIQRkIE/lMGEz A3MCGA1ybXVp4SpesqAe+lftB0nnV63EReeihZ4w= Subject: Re: Maia Mailgaurd / PHP 7 support To: freebsd-ports@freebsd.org References: <3695c8be-c969-1715-a902-72752faf7d5e@hayers.org> <9BE00ADB383D4AC1A8E546A8B4F0DD89@RIVENDELL> <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz> From: "Janky Jay, III" Openpgp: preference=signencrypt Autocrypt: addr=jankyj@unfs.us; prefer-encrypt=mutual; keydata= mQGiBEcuxicRBADQumS0LVqiUzy+FSHHfzMmIVD7J9p+5DxYWOHWxDAOfIfCKxd032v/T6f6 CGt7szJ54QtZUPcXe9JLcm4wtu1bGrZ/bWRiExOKeREKREJ7Tw3CasFFSg2/QUUNpkovipP6 MA7yHzDWF1Vph0gSRxuoM3zHd8mUKyG0GL2DdWfClwCghPBFz8cO/UzNTwhQCdQ2YKbA3ssD /3HFuy9fKT9VnAgMnDW6Uc1WVq6OHN+7qZYcwyV9d4C+53f+bErBO90EIuOopnaIPd8yPNoB IIyVohVOVKkSrXvOfIH4rImbu+k4HRdPXA+X4ga2Bq/izl6d6gCt+Rgb7viQdaEJp5WIwHJU GE1/2mhsd0hKYN0t1CgxgR8lV4q8BACbOyQiQptqnXUdFwxCBAKMhJb/YJ8Zwl5uyg0KGFYX Owteg+X2p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J0d91W/ u27S8N18SA/1P944mqtbFwCcCE/3mIqNOJfsYJuUGTNfwmEb7E0= Message-ID: <5a909d65-f55a-20d3-3025-ccc582eb3127@unfs.us> Date: Sat, 29 Dec 2018 21:13:27 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3JCPzZjsblESAoSy6AI5jlMGyAxlX8Joh" X-Virus-Scanned: Maia Mailguard X-Rspamd-Queue-Id: 1F6896CD8F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unfs.us header.s=mail header.b=e87gJtSE; dkim=pass header.d=unfs.us header.s=mail header.b=paVgDRvH; dmarc=pass (policy=none) header.from=unfs.us; spf=pass (mx1.freebsd.org: domain of jankyj@unfs.us designates 50.243.134.106 as permitted sender) smtp.mailfrom=jankyj@unfs.us X-Spamd-Result: default: False [-6.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mx2.purplehat.org]; DKIM_TRACE(0.00)[unfs.us:+]; DMARC_POLICY_ALLOW(-0.50)[unfs.us,none]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; IP_SCORE(-0.83)[ipnet: 50.128.0.0/9(-3.28), asn: 7922(-0.81), country: US(-0.08)]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[unfs.us:s=mail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[106.134.243.50.list.dnswl.org : 127.0.10.0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 04:13:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3JCPzZjsblESAoSy6AI5jlMGyAxlX8Joh Content-Type: multipart/mixed; boundary="jirPCXlfKBblO7rS3mhbaIUt0AQwWT5Ri"; protected-headers="v1" From: "Janky Jay, III" To: freebsd-ports@freebsd.org Message-ID: <5a909d65-f55a-20d3-3025-ccc582eb3127@unfs.us> Subject: Re: Maia Mailgaurd / PHP 7 support References: <3695c8be-c969-1715-a902-72752faf7d5e@hayers.org> <9BE00ADB383D4AC1A8E546A8B4F0DD89@RIVENDELL> <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz> In-Reply-To: <2125255d-f85b-b24a-7ad1-c5c3e6d05b8b@quip.cz> --jirPCXlfKBblO7rS3mhbaIUt0AQwWT5Ri Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Hi 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 Thanks again for the heads up on the Smarty3 compat be= ing resolved. It seems that the latest PHP_FLAVOR'd Smarty3 does indeed fix the issue when properly linked (I hope I did it correctly). I'll be running this through Poudrier tonight to make sure everything is good and I'll submit the port update as soon as it's verified. In the meantime, if anyone wants to test the patch [1] (or at least look at it to make sure I'm doing it right regarding the PHP flavoring, linking variables, etc... to make sure it's done correctly), that would be great! Thanks again, Mirosl= av! 1. https://www.purplehat.org/downloads/maia/maia-1.0.4-g20181202.diff Regards, Janky Jay, III --jirPCXlfKBblO7rS3mhbaIUt0AQwWT5Ri-- --3JCPzZjsblESAoSy6AI5jlMGyAxlX8Joh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT3labtx1DPvRcqv5cYrcyxRslmfgUCXChF5wAKCRAYrcyxRslm ft8+AJ4otRmtCnnFPkddLtmTnCrCJyRYGwCfWCXIOrQdmiIdjJjdQJo4M0sKzn4= =JMug -----END PGP SIGNATURE----- --3JCPzZjsblESAoSy6AI5jlMGyAxlX8Joh--