From owner-freebsd-mono@freebsd.org Mon Nov 13 21:11:09 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9053BDD70D0 for ; Mon, 13 Nov 2017 21:11:09 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D7A87E89A for ; Mon, 13 Nov 2017 21:11:09 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id 9so12459949wme.4 for ; Mon, 13 Nov 2017 13:11:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=s/eE4gMDXZUMxpTuCroNsUtPkzkUVeiXT0YWqsDnZjE=; b=mdreCH85Qi5DZYnQDehsRy9bPouAnvnXWjJkoChLoZKaMLHjP53h75EDCrtG+W3LN0 Sv/kG5kaLgwVjkN7IPesQ3FqaAySI+8cS/MJTbt+NKeoA04ImxqMCmpiMws0KzNXRqHU ON9lY5C/U/AH+nDMbEhlQ4EoQmylkvV3afv3WssmfkDdv8KBAKqy+XJuQFE6QYcReFDN JIia8HPjszot0m1CQDAQ0asaAz2XkS2okGCeeafwNVd1jkGv2u+Qo+ti0DVbYSZB7QX0 2icsuU2Ly+ZXF4jrb5NFG0LaWi2TRjqL10t2FewO5qagE42hiokFgTAL+exKxnGopYC4 hIvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=s/eE4gMDXZUMxpTuCroNsUtPkzkUVeiXT0YWqsDnZjE=; b=fxNr3374K9T/SFQYgR6L0DoT0/RYha2vyKAROVlMDgcLkUV/GmgSMg1es+EbZwymwM AlkQJ6xtByWt0TTna3MbLuaqVxQu+2SX+bCrm+VeymRtYy6otCs/ETWkU36xKwOTTB3w nR2pdW8ufN8nswzUL0E2XezTnTfjRWhzyorcRQelJHJMhKMkMu0epediNbRTOEHeIM3S blZTdwUce+jXgVFcyWFHqNxaB2IUHjanhzzqebE7fXQHIjYmCjFufuLC0x6YBp42u/Kq xuP35+Y5TKBBAmzixxLrUL6/6FSJTQ/boSA0juZZclWE7CrTOgfBLT4eg/nr4GWO2u0m smgw== X-Gm-Message-State: AJaThX4WkHwssZjrTMPmel6e0JIJ9NodSEWcMsZkvzAv4l8wnrBOcQ/z zLhzAZ1KaBq2XSB9v42+3pJn7Idx X-Google-Smtp-Source: AGs4zMYvEWCKe385PMTjn6k90/f/mAKSqLjbC2loE9XZBwVFpK7EQRx3uHGQPQR6fQN9P1dcuCxclg== X-Received: by 10.80.240.138 with SMTP id v10mr10969852edl.52.1510607466907; Mon, 13 Nov 2017 13:11:06 -0800 (PST) Received: from dragon.local ([41.247.219.7]) by smtp.googlemail.com with ESMTPSA id m8sm14450802edl.74.2017.11.13.13.11.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 13:11:06 -0800 (PST) From: David Naylor To: Freebsd-mono Subject: Re: Update on porting mono 5 Date: Mon, 13 Nov 2017 23:11:03 +0200 Message-ID: <1723656.WBGSMfOCjc@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: References: <17078253.u2dgjZK1Z6@dragon.local> <3186981.TyGdqNibkJ@dragon.local> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1522441.eQh28l4OM0"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 21:11:09 -0000 --nextPart1522441.eQh28l4OM0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Thursday, 21 September 2017 22:20:54 David Naylor wrote: > Hi > > A quick update on the update to mono5. In theory everything should be > working (i.e. mono, monodevelop, etc). > > A review has also been created (so you can access the patch). Please test > it. > > https://reviews.freebsd.org/D12440 Another update, the review has been updated: - summary of work done (thanks Russel) - commit message and an exp-run has been requested. Github has also been updated. In the interim, I tried my hand at my own exp-run [1][2][3]. And things didn't go well (well the exp-run was a success, but the results...). It appears that somehow the assemblies are being delay signed during build, instead of signed. It appears csc(1) [the replacement for mcs(1)] does not support signing on non-Windows machines [4]. Mono recommends sn(1) should be used to sign the dll after build. I suggest we patch Microsoft.Common.CurrentVersion.target to restore signing functionality. Any help with the above or the following will be most appreciated: - Bumping the PORTREVISION of all ports that depend on mono - Patching security/ca_root_nss to update/sync/clear the mono certificate (see cet-sync(1)) - (Optional) Patch mono to store the certificates in $PREFIX, instead of /usr/local/ Regards [1] http://dbn.westeurope.cloudapp.azure.com/10_3-i386-default/latest [2] http://dbn.westeurope.cloudapp.azure.com/11_0-i386-default/latest [3] http://dbn.westeurope.cloudapp.azure.com/12-i386-default/latest [4] https://github.com/dotnet/roslyn/issues/8210 --nextPart1522441.eQh28l4OM0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAloKCmdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lWPNw//UT1uYAZJ/2TyQ8OyYwrSJ7ZJWf4t0TpUmk9+nzD9N81FINewXa6y2eRz fYMjA6wZ9aMYAg+9OPSHWp+vd+lvCmNgFa4mFidQMbl/rfM/v6GzKVGmlK6hCrFq PCbXSMaX/gOJ2QfXHLZS4WThMr7af6VuKFKAjInuUIwBNDLuswv2zz7eT7IwHGv6 ee9xbs7l3NanTLvyHwadjxA+tlgkuQ0EEqNxLnpSyrmulWx+bljyfWSYDUjj7fpz s/IpKeke2R72cOkQPXP+hoWaMRo5iLvnAFPH61K0g9BY926yhoqT7Nb8H/4a9jsL gl+USePLSd/+dPJVftkr6W/oFiJFDYRPfcZ054GcYVIjQa/98TZ3PxpTPt7uATYX 2jmbDkfW3tpF8OC1CqDrHtKyIUKKQYeZDAI7gqLiBgAMKvTsu74qd2ppZYsD9qNO q3Lf0J24TmSSVNf2wbwsEwgDYj55tC3CU46BbDgEhHhjjOGlzgzJYgTMfj7xXrbw /P/my/6q9dr1VZAl4cJO7+R0LaySXkxF7dfvkQCyssNlO5T8xnCNvWFKc/5fnL4W iGveeEM5k5CSmehnw57Y0oBK0lTknAhPSxxbnyyWq9NhgC6MarDLPltGxivW6EYh MtpdQphP7NBZ3Am4le7GPJHieHudwKprNFK+3plHLaSUyhIKJEM= =CKP7 -----END PGP SIGNATURE----- --nextPart1522441.eQh28l4OM0--