Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 22:58:15 -0800
From:      Russell Haley <russ.haley@gmail.com>
To:        David Naylor <naylor.b.david@gmail.com>
Cc:        Freebsd-mono <freebsd-mono@freebsd.org>, Tomas Weinfurt <Tomas.Weinfurt@microsoft.com>
Subject:   Re: Update on porting mono 5
Message-ID:  <CABx9NuSfj5EsvS6EdoJ-DCynzsA8VfN2hJq5QsAmFDxAxQDpDg@mail.gmail.com>
In-Reply-To: <CABx9NuTi-n5OAY0ZFd7ALbU0HPyx82DWzu%2BDorVTnJviZ21NuA@mail.gmail.com>
References:  <17078253.u2dgjZK1Z6@dragon.local> <CAMQxofmmGtshS7ykYHpKwhiT-yoti6Ri2qs00nMSR5xMzZc6Jg@mail.gmail.com> <1723656.WBGSMfOCjc@dragon.local> <1794151.yOGvER6fHk@dragon.local> <CABx9NuTi-n5OAY0ZFd7ALbU0HPyx82DWzu%2BDorVTnJviZ21NuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 23, 2017 at 9:33 PM, Russell Haley <russ.haley@gmail.com> wrote:
> On Thu, Nov 23, 2017 at 1:01 PM, David Naylor <naylor.b.david@gmail.com> wrote:
>> On Monday, 13 November 2017 23:11:03 David Naylor wrote:
>>> 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.
>>
>> I've fixed signing of assemblies by using sn(1) after the compile step in the
>> CoreCompile target.  This fixed one port and pushed post packages to breaking
>> due to changes from mdb to pdb debug info.
> Wow. I haven't seen sn or SigningTool in a long time. Nice job. I
> didn't even think of it.
>
>>> 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/
>>  - fix the follow port's pkg-plist:
>>    - devel/dbus-sharp
>>    - devel/mono-addins
>>    - devel/newtonsoft-json
>>    - multimedia/emby-server
>>  - investigate why the following ports do not build:
>>    - games/openra
>>    - security/gnome-keyring-sharp
>
> I'm perusing your review right now. I haven't absorbed enough to
> comment yet. You seem to have added a new make variable for
> nuget_depends. Can you speak a little about that? I am wondering if
> leverage that in dotnet core to pull in the managed assemblies that we
> can't build on FreeBSD?
>
> Russ

I submitted some comments on the patch. You've put in quite a bit of work!

It seem that you are pulling binaries for Nuget, Rosyln and a big
chunk of the dotnet framework. I can't help but think we could
directly use this port as a framework to build the managed assemblies
for core2 if we have all that working in order to build mono.

I also see nuget3000 and paket are used. Can you describe where these
are needed and what they are used for? I could have asked this on the
review but thought this is a better for others on the list that don't
want to wade through a review. :)

Night,
Russ



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