[Bug 222376] security/kc: Update to 2.4.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 1 19:37:20 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222376
--- Comment #8 from Vidar Karlsen <vidar at karlsen.tech> ---
(In reply to leva from comment #7)
That is the idea. It keeps LIBEDIT as a default enabled option:
OPTIONS_DEFAULT=PCRE SCRYPT LIBEDIT
and gives the user radio buttons to choose between LIBEDIT and READLINE:
OPTIONS_RADIO_CLI=LIBEDIT READLINE
When compiled with READLINE, it gets linked to libreadline.so:
root at fbsd11-1-portswrk:~ # ldd /usr/local/bin/kc
/usr/local/bin/kc:
libcrypto.so.8 => /lib/libcrypto.so.8 (0x800a00000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x800e69000)
libreadline.so.7 => /usr/local/lib/libreadline.so.7 (0x8011fe000) <---
libncurses.so.8 => /lib/libncurses.so.8 (0x80144f000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x8016a4000)
libscrypt.so.0 => /usr/local/lib/libscrypt.so.0 (0x80191f000)
libc.so.7 => /lib/libc.so.7 (0x801b26000)
libz.so.6 => /lib/libz.so.6 (0x801ede000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x8020f7000)
libm.so.5 => /lib/libm.so.5 (0x802320000)
libncursesw.so.8 => /lib/libncursesw.so.8 (0x80254b000)
libthr.so.3 => /lib/libthr.so.3 (0x8027a9000)
When compiled with LIBEDIT, it gets linked to libedit.so:
root at fbsd11-1-portswrk:~ # ldd /usr/local/bin/kc
/usr/local/bin/kc:
libcrypto.so.8 => /lib/libcrypto.so.8 (0x800a00000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x800e69000)
libedit.so.0 => /usr/local/lib/libedit.so.0 (0x8011fe000) <---
libncursesw.so.8 => /lib/libncursesw.so.8 (0x801432000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x801690000)
libscrypt.so.0 => /usr/local/lib/libscrypt.so.0 (0x80190b000)
libc.so.7 => /lib/libc.so.7 (0x801b12000)
libz.so.6 => /lib/libz.so.6 (0x801eca000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x8020e3000)
libm.so.5 => /lib/libm.so.5 (0x80230c000)
libncurses.so.8 => /lib/libncurses.so.8 (0x802537000)
libthr.so.3 => /lib/libthr.so.3 (0x80278c000)
While most will probably prefer the default, I figured it would be nice to
provide a means to use readline in case anyone wants that, since it already
supports it.
Please let me know if I'm misunderstanding something.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list