From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: GnuTLS for W32 Date: Wed, 04 Jan 2012 13:26:50 +0100 Message-ID: References: <83ehvjs8t5.fsf@gnu.org> <87pqf3bcom.fsf@lifelogs.com> <83boqns68o.fsf@gnu.org> <87liprazr1.fsf@lifelogs.com> <83wr9bqez3.fsf@gnu.org> <87y5tr9dwv.fsf_-_@lifelogs.com> <87k45alwgb.fsf@wanadoo.es> <87fwfyltm1.fsf@wanadoo.es> <87boqmlrma.fsf@wanadoo.es> <87ty4e9j19.fsf@lifelogs.com> <83obumqa0v.fsf@gnu.org> <87ipktag2e.fsf@lifelogs.com> <8762gt9blm.fsf@lifelogs.com> <83fwfwra0t.fsf@gnu.org> <8739bv91dl.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325680057 4807 80.91.229.12 (4 Jan 2012 12:27:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2012 12:27:37 +0000 (UTC) Cc: tzz@lifelogs.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 04 13:27:33 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiPwK-0001QV-9a for ged-emacs-devel@m.gmane.org; Wed, 04 Jan 2012 13:27:32 +0100 Original-Received: from localhost ([::1]:46658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiPwJ-0000cy-IX for ged-emacs-devel@m.gmane.org; Wed, 04 Jan 2012 07:27:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiPwE-0000ch-Mw for emacs-devel@gnu.org; Wed, 04 Jan 2012 07:27:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiPw9-0001aF-SQ for emacs-devel@gnu.org; Wed, 04 Jan 2012 07:27:26 -0500 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:49679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiPw9-0001ZF-Ex for emacs-devel@gnu.org; Wed, 04 Jan 2012 07:27:21 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 04E23295636; Wed, 4 Jan 2012 13:27:18 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF1) Original-Received: from mf1.bahnhof.se ([127.0.0.1]) by localhost (mf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tiqMPSktjjL; Wed, 4 Jan 2012 13:27:09 +0100 (CET) Original-Received: from exodia.localdomain (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf1.bahnhof.se (Postfix) with ESMTP id E4758AEA879; Wed, 4 Jan 2012 13:27:08 +0100 (CET) Original-Received: from chopper.vpn.verona.se (unknown [192.168.201.14]) by exodia.localdomain (Postfix) with ESMTP id BEF7F4E00E7; Wed, 4 Jan 2012 13:26:53 +0100 (CET) In-Reply-To: <8739bv91dl.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 04 Jan 2012 06:02:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 213.80.101.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147266 Archived-At: Ted Zlatanov writes: > On Tue, 03 Jan 2012 19:21:14 +0200 Eli Zaretskii wrote:=20 > > EZ> No, it is _not_ hard for the user to put the DLL in the correct > EZ> directory. It is hard for _us_, the programmers of package.el, to > EZ> select a fixed directory that would work for all users, so that we > EZ> could hardcode its absolute file name in the Emacs sources. An > EZ> entirely different issue. > > The addendum is "...and so GnuTLS is available to non-Emacs processes > too" which is something I did not consider carefully but your mention of > wget brought up. We don't want multiple versions of the GnuTLS DLL all > over the place, that could be worse for security than a single outdated > version. So the package.el install is not a good W32 solution to > deliver GnuTLS, after all. > > On Tue, 03 Jan 2012 20:51:28 +0100 Lars Magne Ingebrigtsen wrote:=20 > > LMI> And since the (major) binary GNU/Linux distributions will be providi= ng > LMI> the gnutls libraries with Emacs, then we should, too? :-) > > We should find a way, yes. But we should be smart about it, and a > GnuTLS installer, separate from Emacs, would benefit far more users and > projects, and it would use the right APIs to deploy the DLL. > > On Tue, 03 Jan 2012 19:10:14 +0100 =D3scar Fuentes wrote= :=20 > > =D3F> The standard MS installers have a mechanism for detecting when a dl= l is > =D3F> in use and, if the result is positive, arrange things for updating = it on > =D3F> the next restart or login. A poor's man method for detecting when a= dll > =D3F> is in use is just trying to overwrite it (after you know that you h= ave > =D3F> write access to the file). > > Because of this, I think we (emacs-devel and gnutls-devel) should just > put together a W32 installer for GnuTLS. Obviously this would be > connected to the GnuTLS project but I think Nikos (whose name I've > misspelled as Nicos a few times) could use some help with such an > installer. Is there another GNU project that provides a W32 DLL > *self-updating* installer, so I can get them started with that project? > > I may end up owning that installer, we'll see what the GnuTLS developers > want. But it would let GnuTLS issue updates, remove a release > dependency between their project and Emacs, and remove the tedious > requirement of downloading a zip file and installing it manually. > > On the Emacs side on W32, if GnuTLS is not installed, we should tell the > user how to install it by pointing to the W32 installer (running it > automatically is probably too aggressive). The more I think about it, > the more appropriate this solution seems for everyone concerned. I haven't followed this thread too closely but I can offer advice on how to use the NSIS installer (http://nsis.sourceforge.net/Main_Page) if that is at all relevant (NSIS is free software and stuff) > > Ted > --=20 Joakim Verona