From owner-freebsd-mono@freebsd.org Fri Nov 24 05:33:33 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 68E2EDBA48D for ; Fri, 24 Nov 2017 05:33:33 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 E131E669A1 for ; Fri, 24 Nov 2017 05:33:32 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id c188so16620295lfd.5 for ; Thu, 23 Nov 2017 21:33:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QOKaTJw9B5t3ojVf2lmrn9BrO1v/jijlKC4TBV8jmwk=; b=GquK3ApShyMJo0GRZ/aIAEyyNVcY0ILfw+fZf0goTtg8hC21fVnjwJA1Qeet8vEvPr xFEo62tsEc8DTtOCwmjHz77EgwtJa91OzTANQwHpBLQmT1HCuyOsxIgBXrXPIWIVrSPR K+FKNs5xPijLMb5MDqFbyjf6FlzZXHzUMagXiM0rhF2Rpo4IlSuRD/ijOdrQeIlvJixW LBpMCrW53j0TpCPNrjvBTG72iJWUR94sTmIk6zNcgH76THVIKRRNdXLdP7TGV1Q007w2 7pcese0fpxRiwifu5XgKUrV0i7G01cuH6E4q3AjSAswzK18T6ONAjhwqiNqjY7qTnmnH kYuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QOKaTJw9B5t3ojVf2lmrn9BrO1v/jijlKC4TBV8jmwk=; b=J6Stito74dFOkLlLbinxbcCYAKndrFWEEsfAn+VEdi9gyII04sXX/IJYuaMu5qtnTW R1+otrYIRkVhbrDixH+yg6F+mRoaDLFTbTojxBr4wJdV/S1g5tgvPWzEwOTnzvBx9Ty6 OqbmIaMp9DIZ1VdwMzDL2f3T3zhKucyoI+YLG+Tw0WWUQjo+fJ9OnDlcqaQLeUTZ1rYd JZ5KaJ9VrI4Sd93cgiBW7HRXV2aRuv+5lYymQK2uZ9Fo4r+q20eE5Rt7ByTox9QgiIJ5 2yNF+fug5SM1wwUJoXlCmGrvXMV6wFNQw12GIYbj7lzYY0wjZG/J2DtibLJAEnk96lSh Uc6A== X-Gm-Message-State: AJaThX4FZHaL9qyPls46u5/KRGG8Bl6fdR6kXvXYaXEemUxYPuVjc52R imEGdyNsmnJ3tj4CY9TT0e0JQZkyaEs6RQ7snxI= X-Google-Smtp-Source: AGs4zMaHK8ZpkOETtJ0E10kQaPwuybc/hbpcEaQhdxn0wo35cry7LQMKIL9ke1yBpclhIH0Kqhm3ofAZMQ1AMSEPkXs= X-Received: by 10.46.91.79 with SMTP id p76mr10635533ljb.22.1511501610686; Thu, 23 Nov 2017 21:33:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.46.14.1 with HTTP; Thu, 23 Nov 2017 21:33:29 -0800 (PST) In-Reply-To: <1794151.yOGvER6fHk@dragon.local> References: <17078253.u2dgjZK1Z6@dragon.local> <1723656.WBGSMfOCjc@dragon.local> <1794151.yOGvER6fHk@dragon.local> From: Russell Haley Date: Thu, 23 Nov 2017 21:33:29 -0800 Message-ID: Subject: Re: Update on porting mono 5 To: David Naylor Cc: Freebsd-mono , Tomas Weinfurt Content-Type: text/plain; charset="UTF-8" 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: Fri, 24 Nov 2017 05:33:33 -0000 On Thu, Nov 23, 2017 at 1:01 PM, David Naylor 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