% sudo ls Password: /usr/local/libexec/sudo/sudoers.so: Undefined symbol "_" % sudo -V Sudo version 1.8.7 Sudoers policy plugin version 1.8.7 Sudoers file grammar version 43 Sudoers I/O plugin version 1.8.7 Did not happen with the previous version 1.8.6p8. How-To-Repeat: Issue sudo, don't type any password, try to cancel (ctrl+c)
Responsible Changed From-To: freebsd-ports-bugs->wxs Over to maintainer (via the GNATS Auto Assign Tool)
The problem seems to be a missing #include "gettext.h" in audit.c line 39 when using BSM audit. Please find a patch in attachment ready to be placed in ports/security/sudo/files.
State Changed From-To: open->closed Committed. Thanks!
Author: wxs Date: Fri Jul 5 18:46:33 2013 New Revision: 322347 URL: http://svnweb.freebsd.org/changeset/ports/322347 Log: Fix missing include. This was causing the "Undefined symbol '_'" message when hitting ^C or entering an incorect command. PR: ports/180262 Submitted by: Christophe Juniet <c.juniet@gmail.com> Added: head/security/sudo/files/patch-plugins__sudoers__audit.c (contents, props changed) Modified: head/security/sudo/Makefile Modified: head/security/sudo/Makefile ============================================================================== --- head/security/sudo/Makefile Fri Jul 5 18:44:06 2013 (r322346) +++ head/security/sudo/Makefile Fri Jul 5 18:46:33 2013 (r322347) @@ -3,6 +3,7 @@ PORTNAME= sudo DISTVERSION= 1.8.7 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SUDO} Added: head/security/sudo/files/patch-plugins__sudoers__audit.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/sudo/files/patch-plugins__sudoers__audit.c Fri Jul 5 18:46:33 2013 (r322347) @@ -0,0 +1,10 @@ +--- ./plugins/sudoers/audit.c.orig 2013-06-04 11:48:28.000000000 +0200 ++++ ./plugins/sudoers/audit.c 2013-07-05 13:10:01.000000000 +0200 +@@ -39,6 +39,7 @@ + + #ifdef HAVE_BSM_AUDIT + # include "bsm_audit.h" ++# include "gettext.h" + #endif + #ifdef HAVE_LINUX_AUDIT + # include "linux_audit.h" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"