From owner-freebsd-mono@freebsd.org Thu Sep 7 18:09:13 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 E1E61E05FFF for ; Thu, 7 Sep 2017 18:09:13 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::234]) (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 301FF6AC9D; Thu, 7 Sep 2017 18:09:13 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wr0-x234.google.com with SMTP id k20so833738wre.4; Thu, 07 Sep 2017 11:09:13 -0700 (PDT) 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=/+3alZrOelVll3kwyBN9X0R700b3ButttqnTJA4561M=; b=XsXNjKJFKuPz5AtrRZGaLJrtm/SFoPQcPPv58h3lYALMwAuoj9x4EjmYsVFFpKj29U FSWsRmAvAnC97Kfue6/HNBopUZsTYiypsfiQ0cMPL+THc844j6+kDnVMpPa4uPHxs9vL N8bMYRZaDWyt4epZXuxJjO7J9BKPyr9USpWy+D4QLsGhB9AzJqKXvaB+dxXZcHKylU4A Kmn51mYk3ddFYBmTx4utwc6v7NAjTzI1rn0H/ogM7H+U5ehSo+e9uI3Jd7FVnLegV0T4 EiE4/jVJ+Gag0/lrhyaJCj3K6rTP589zNt54DXNATyQWhNDsklP68MSoYuhphFAIJAF4 jEBQ== 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=/+3alZrOelVll3kwyBN9X0R700b3ButttqnTJA4561M=; b=WakWCtxZhcf9QV33ByS6daDfPBCBC+7uLLwoo6ccMRUHUXfSGICreWagX+bF5han82 5KMKlEDGp91319fJnWVgYMDdoQ0oRoqxwJ8AK89YTaiTObmcfRQMP2Jkjm/ATOTApqhX BpETRBybdB1bkwPNZjGzG7XK9YplzT8BL3rbGo/Xw2wyt90h19aK/OexzzcnWULG4DWK X9VxG8Z+mChGQr6MYwCX7mlZNT5I9plBIzwyZMSWwNmO9am79kps8ygMFv3g2rd9sleS 1RgyMrgUxivwwogT9wmWgU6Pn6w82ve2FLAhEs/1dhuToswmbBL2d6MP7eiZwpL+k8xd ZvxA== X-Gm-Message-State: AHPjjUiTqoWp3UJFiMGhdInIpfnNWGR9LGjOkQRsVTbah49kULAVtHdy pyfLBTofPs93rA== X-Google-Smtp-Source: ADKCNb7ml/jiUFB84IO+22l117JUZK6kfS+NjnUAcyNsJEt7c52Hgio/FwtPIcd3JMYlwmnjbOiHGg== X-Received: by 10.223.160.46 with SMTP id k43mr146843wrk.113.1504807750962; Thu, 07 Sep 2017 11:09:10 -0700 (PDT) Received: from dragon.local ([41.144.114.114]) by smtp.googlemail.com with ESMTPSA id r3sm79556wmf.0.2017.09.07.11.09.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Sep 2017 11:09:08 -0700 (PDT) From: David Naylor To: Russell Haley Cc: Freebsd-mono , Robert Alegrid , Romain =?ISO-8859-1?Q?Tarti=E8re?= Subject: Re: Update on porting mono 5 Date: Thu, 07 Sep 2017 20:09:05 +0200 Message-ID: <2223962.JDsoWRiPl4@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> <1557586.GGzvBQ0jK6@dragon.local> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1626266.8Q2CAVUMu1"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 18:09:14 -0000 --nextPart1626266.8Q2CAVUMu1 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, 5 September 2017 13:09:14 Russell Haley wrote: > On Tue, Sep 5, 2017 at 12:25 PM, David Naylor wrote: > > On Saturday, 2 September 2017 07:40:28 Russell Haley wrote: > >> On Sat, Sep 2, 2017 at 4:55 AM, Robert Alegrid > >> Worrying about per-port repositories for Nuget is not a thing because > >> the manifest within DotNet applications decides what runtime version > >> of the assembly to use at build time so it is necessarily per-port. > >> Also, DotNet can have hard or soft links (I forget the terminology) to > >> required assemblies in the sense they can specify to use any version > >> or a specific version, and can specify if the assemblies require to be > >> signed (i.e. verified by the authors credentials against a trusted > >> list). The GAC handles versioning for system level assemblies and if > >> you overwrite a required version in your local repository it's a > >> development error that you need to sort yourself. > > > > Unfortunately, we do need to worry about per ports dependencies. In the > > practical case it is around the need to download the nuget packages within > > the Ports Collections framework (so we get security protection, etc), > > before the build phase. Ports are not allowed interest access during > > build. > > In my mind, all the build tools/build dependencies should be handled > differently from the runtime dependencies. These binaries we are > discussing are only used for bootstrapping if I understand correctly. > Build items specified within the port that are only available as > binaries from nuget should be downloaded into the "work" directory and > discarded after the build is complete (via make clean). I would think > this is true unless said binaries are also runtime requirements, but > in that case I would think the runtime required copies should be built > from source where possible. I agree with the above - except how do we define a runtime dependency: a) If the dependency needs to be installed (i.e. `pkg add`) for the program to run; or b) The program needs the dependency's dll (even if it is bundled) to run I think the policy should be for (b) [but (a) for now due to practical issues]. Regards --nextPart1626266.8Q2CAVUMu1 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/AwLnmbU6rWP6jday2lUFAlmxi0FfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lWJQw//V4QUurGNgEC/TPNtwuJ2FEqzIbdR2+PiD95s+DScOYga2OcA2HPzwwd7 3VLkCPNfqkHxfJMvwiqIFgOLWw9LmUj04DG9X8vrRDN/65ODjDPoRvHPvkYoQGzQ J8bndJXZryrzOVQNMQK45Y6bDcVjs4TqgJYR/gAHO/ORnxX7+M/yOLrf5k0LRoEa Zr0epuH186/69JxyNz3L1921+jw0It46OkKJFKd1RpFpQuWzGGVMe9sSIZjiPDGO a+UN1zB73FOTd0DGJnF3RQZp4qOUh/KARNzB28atNuf+80AF1+vW705Pbc4rkDTa IpCbuOKFlu27tHpwL8dyDAbWqrong6zWy0VJ9glFpz6zFoF0hyH6fbmyyvIP5euv eO80ItBurf7ZOZuQ62ajsBWe9kJLToIvmNrftVapwtbzccNMJYsYdVI/Ovvl6m11 1OgsCw8LCsSshtOId2Rp350dyc4VzwYXm9InBrVx5NwVpizzsTh2FuVxDDCB6YJx KDd4jxKBmUq3t6Drzg9mSZZiVRjnzjfEsXqRc9Zcp0Ply9oP7gd5LU3p97i8VnQ2 Qbxj31J7A4KWyP+CH//zCRKi95xbSjrrWSUHhPeP1o8kvsUeKcOqxdZLPM3xDKON wQpI0WRJo6SkJE+kfhcgnvU5FjiqaADvm+XKCFtZjxD6PZZSdW8= =m3Pq -----END PGP SIGNATURE----- --nextPart1626266.8Q2CAVUMu1--