From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: How to ship native modules? Date: Tue, 21 Feb 2017 12:13:44 +0800 Message-ID: References: <83a89gq3us.fsf@gnu.org> <8360k4q0yx.fsf@gnu.org> <83tw7onrc5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1b10e4207bc60549029b8e X-Trace: blaine.gmane.org 1487650465 25396 195.159.176.226 (21 Feb 2017 04:14:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 04:14:25 +0000 (UTC) Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 21 05:14:21 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg1qF-0005kj-KJ for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2017 05:14:19 +0100 Original-Received: from localhost ([::1]:42206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg1qJ-0002TT-LQ for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2017 23:14:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg1pl-0002TM-4g for emacs-devel@gnu.org; Mon, 20 Feb 2017 23:13:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg1pj-0004jw-VW for emacs-devel@gnu.org; Mon, 20 Feb 2017 23:13:49 -0500 Original-Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]:32895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cg1ph-0004jU-N5; Mon, 20 Feb 2017 23:13:45 -0500 Original-Received: by mail-ua0-x234.google.com with SMTP id k1so18131939uab.0; Mon, 20 Feb 2017 20:13:45 -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=V6PZuDhbCFLurudrRnvY2fnrFgbURmFB/Z4x3RpAoNg=; b=M/Syb0VRfGS2sKZDh3kTImkbMkivo6+qD1Q6TAsQ2KyU5QOQipolXYlKxm45B/7yI8 g+PU4M9el51Be6SUGCABE9VqlgZ16xpBYxvGcQ/HsRu2vE91FkyCeBS19gu/5LXMFX5i Gyzi5ECasBr+sfWRAHr0UbTcOFdPFIE2tMYiLQ+HX7uRSCPhqohGLKdLB3N9tbvoDzZw ztM5FGb/GqFND6aUgGpTdn489dkcPsdcvtSIHdOvf6LhTragn+zsQsuUe7/xw9+XrgXw YDJ46pE6geky2VhK8tCO+u278/btQ9Od4zdjOBf5aN92/8J2a+x6fTfl5z2hzQd7PsAi niMA== 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=V6PZuDhbCFLurudrRnvY2fnrFgbURmFB/Z4x3RpAoNg=; b=dH7okitZW8S8873KsJNAROW08zqm9k2+Hiru+EL6P5hm0O3JNgy4zqNoBTyN6GNMmK +pY8w6TJTY82sVfhi92ck8WRTOwdlsBBdxK+CLxteJ+02WKtQZlwvW1w2zNlmS0N/4+N kWkoMeZV2fHDjhMgxMv6T6FnRu4P3L8+qD5E/lScBuEAp/wUh3kilBbSbQbExjFhPUBp FRbcWmLsX1cWNANVRa1blyqf7UxYC4l+MEtjCZRZNnNvQaD4lDr1dEiW6mfCIv8uOD7z +9UMLSFxgYo+vkbqJoV8QD0h86PHSekMovJHM08ClTuGL1t2IzXnjc9T7Qb2C80boosC vFiQ== X-Gm-Message-State: AMke39km7z1Z7q3+IFz8+mCbYvWRz7t9nO21HfZokSxXaZr1U+nRFcvcksjrx522F8rcRFvqpKWSyUys0gLE+A== X-Received: by 10.176.84.211 with SMTP id q19mr12406092uaa.136.1487650424904; Mon, 20 Feb 2017 20:13:44 -0800 (PST) Original-Received: by 10.103.119.5 with HTTP; Mon, 20 Feb 2017 20:13:44 -0800 (PST) In-Reply-To: <83tw7onrc5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c08::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212514 Archived-At: --94eb2c1b10e4207bc60549029b8e Content-Type: text/plain; charset=UTF-8 On 21 February 2017 at 11:41, Eli Zaretskii wrote: > > However, there is an upside. Most people who need this feature are in > corporate environments, usually on > > Windows (Kerberos is the standard authentication mechanism in Active > Directory) and the runtime libraries > > are a standard part of Windows, so at on that platform there is no issue. > > Really? I was under the impression that one would need to install the > Kerberos libraries from http://web.mit.edu/kerberos/dist/, and then > have the GSSAPI library built for Windows. These all don't seem to be > available out of the box on MS-Windows. Am I missing something? > Yes, I was a bit hasty. If you want to use the standard C API, then you need those libraries. However, you could use the Windows API, SSPI instead. It implements the same functionality using a different API (because of course they do). Note that I don't have any intention of implementing SSPI support myself, but implementing an SSPI backend would not be terribly difficult. > I think that making package.el be able to compile programs in > languages like C is an ambitious goal that is best left to end users > at this stage. For simple enough modules, the Makefile can be made > small and portable, so IMO it isn't worth the complexity to do more > than that, at least not yet. > Fair enough. That leave me with only one question: With the main user of this functionality being Gnus, should GSS support be implemented as part of Emacs proper, or shipped using ELPA? The pros and cons of each approach should be well understood now, and I'm willing to implement it either way. So we're up to a policy decision on the part of the Emacs maintainers now. Regards, Elias --94eb2c1b10e4207bc60549029b8e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 2= 1 February 2017 at 11:41, Eli Zaretskii <eliz@gnu.org> wrote:
=
=C2=A0
> Howev= er, there is an upside. Most people who need this feature are in corporate = environments, usually on
> Windows (Kerberos is the standard authentication mechanism in Active D= irectory) and the runtime libraries
> are a standard part of Windows, so at on that platform there is no iss= ue.

Really?=C2=A0 I was under the impression that one would need to inst= all the
Kerberos libraries from http://web.mit.edu/kerberos/dist/, and then
have the GSSAPI library built for Windows.=C2=A0 These all don't seem t= o be
available out of the box on MS-Windows.=C2=A0 Am I missing something?

Yes, I was a bit hasty. If you want to use t= he standard C API, then you need those libraries. However, you could use th= e Windows API, SSPI instead. It implements the same functionality using a d= ifferent API (because of course they do).

Note tha= t I don't have any intention of implementing SSPI support myself, but i= mplementing an SSPI backend would not be terribly difficult.
=C2= =A0
I think that making package.el be a= ble to compile programs in
languages like C is an ambitious goal that is best left to end users
at this stage.=C2=A0 For simple enough modules, the Makefile can be made small and portable, so IMO it isn't worth the complexity to do more
than that, at least not yet.

Fair enoug= h.

That leave me with only one question: With the = main user of this functionality being Gnus, should GSS support be implement= ed as part of Emacs proper, or shipped using ELPA?

The pros and cons of each approach should be well understood now, and I= 9;m willing to implement it either way. So we're up to a policy decisio= n on the part of the Emacs maintainers now.

--94eb2c1b10e4207bc60549029b8e--