FS#43639 - [emacs-nox] link with gnutls

Attached to Project: Community Packages
Opened by holos (holomorph) - Friday, 30 January 2015, 23:10 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Sunday, 08 March 2015, 14:21 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hi, the emacs package is linked with gnutls, it would be nice if the emacs-nox also did this. It's easy to choose to NOT use the builtin gnutls support[0], and instead use gnutls-cli/openssl s_client. Additionally, in future versions of emacs (either 24.5 or 25.1), the gnutls support becomes much better on its own and with the addition of nsm.el (Network Security Manager), a UI for accepting/denying/caching/pinning certificates.

[0]: https://blogs.fsfe.org/jens.lechtenboerger/2014/03/23/certificate-pinning-for-gnu-emacs/

Other links:
https://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01215.html
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/net/nsm.el
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Sunday, 08 March 2015, 14:21 GMT
Reason for closing:  Won't implement
Comment by Jaroslav Lichtblau (Dragonlord) - Monday, 02 February 2015, 11:45 GMT
What change in the emacs-nox PKGBUILD would be needed to have it implemented? The gnutls package is present during the build of emacs-nox in the chroot, even though it's not listed in the dependencies and I see no special treatment for this in the emacs PKGBUILD.
Comment by Jaroslav Lichtblau (Dragonlord) - Monday, 02 February 2015, 12:58 GMT
seems to have sent previous comment again ... deleting.
Comment by holos (holomorph) - Wednesday, 04 February 2015, 06:42 GMT
I would imagine just adding gnutls to dependencies, since gnutls isn't in base-devel. I haven't been building emacs in a chroot though.

Edit: I just tried adding gnutls to depends and building in a chroot--that worked for me.
Comment by Jaroslav Lichtblau (Dragonlord) - Tuesday, 10 February 2015, 18:12 GMT
There is no difference in the pulled packages without or with gnutls in the dependencies list:

depends=('dbus' 'ncurses' 'perl' 'libxml2')

==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (3) libdbus-1.8.16-1 dbus-1.8.16-1 libxml2-2.9.2-2
Total Installed Size: 10.19 MiB

//////////////////

depends=('dbus' 'ncurses' 'perl' 'libxml2' 'gnutls')

==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (3) libdbus-1.8.16-1 dbus-1.8.16-1 libxml2-2.9.2-2
Total Installed Size: 10.19 MiB

////////////
Looking into the chroot directory tree shows gnutls (files) already present.
Not sure what to change here ...
Comment by holos (holomorph) - Saturday, 14 February 2015, 17:07 GMT
I don't know how the chroot scripts work, but if I add gnutls to the depends list (only change to PKGBUILD), the resulting emacs binary is linked to libgnutls. Otherwise it isn't.


Edit: I'll paste some stuff though, as if it means anything.
   ffs.txt (9.9 KiB)

Loading...