Proposal with patch: Make socket directory host dependent

Werner Koch wk at gnupg.org
Tue Dec 12 09:45:14 CET 2017


Hi,

I took your suggestion and gnupg 2.2.4 (o be released next week) will
support a new build option:

commit 17efcd2a2acdc3b7f00711272aa51e5be2476921
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Dec 12 09:42:43 2017 +0100

    build: New configure option --enable-run-gnupg-user-socket.
    
    * configure.ac: (USE_RUN_GNUPG_USER_SOCKET): New ac_define.
    * common/homedir.c (_gnupg_socketdir_internal): Add extra directories.
    --
    
    This allows to build GnuPG with an extra socketdir below /run.  See
    https://lists.gnupg.org/pipermail/gnupg-devel/2017-November/033250.html
    for a longer explanation why this is sometimes useful.
    
    Suggested-by: Rainer Perske
    Signed-off-by: Werner Koch <wk at gnupg.org>

You may use

  gpgconf -v --dry-run --create-socketdir 

to check permissions etc.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20171212/4369205f/attachment.sig>


More information about the Gnupg-devel mailing list