[Bug 191150] New: gnupg standard socket option and configure argument
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 18 10:06:48 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191150
Bug ID: 191150
Summary: gnupg standard socket option and configure argument
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mazhe at alkumuna.eu
security/gnupg have an option to use standard sockets (which is disabled by
default). The problem is this option do add enable/disable the right configure
arguments, it will pass --disable-socket|--enable-socket when it should add
--disable-standard-socket|--enable-standard-socket.
The manual do not describe this option, but ./configure --help does and here is
the reference in the configure.ac sources :
602 # Allows enabling the use of a standard socket by default This is
603 # gpg-agent's option --[no-]use-standard-socket. For Windows we force
604 # the use of this.
605 #
606 AC_MSG_CHECKING([whether to use a standard socket by default])
607 AC_ARG_ENABLE(standard-socket,
608 AC_HELP_STRING([--enable-standard-socket],
609 [use a standard socket for the agent by
defaul t]),
610 use_standard_socket=$enableval)
Therefore, the default option set is not respected. The following simple patch
fixes the issue :
Index: Makefile
===================================================================
--- Makefile (revision 357858)
+++ Makefile (working copy)
@@ -46,7 +46,7 @@
GPGSM_CONFIGURE_ENABLE= gpgsm
KDNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
KDNS_CONFIGURE_ON= --with-adns=${LOCALBASE}
-STD_SOCKET_CONFIGURE_ENABLE= socket
+STD_SOCKET_CONFIGURE_ENABLE= standard-socket
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
SCDAEMON_CONFIGURE_ENABLE= scdaemon
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list