Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2018 19:37:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222376] security/kc: Update to 2.4.1
Message-ID:  <bug-222376-13-hXrrAf2n0h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222376-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222376-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222376

--- Comment #8 from Vidar Karlsen <vidar@karlsen.tech> ---
(In reply to leva from comment #7)
That is the idea. It keeps LIBEDIT as a default enabled option:
OPTIONS_DEFAULT=3DPCRE SCRYPT LIBEDIT

and gives the user radio buttons to choose between LIBEDIT and READLINE:
OPTIONS_RADIO_CLI=3DLIBEDIT READLINE

When compiled with READLINE, it gets linked to libreadline.so:
root@fbsd11-1-portswrk:~ # ldd /usr/local/bin/kc
/usr/local/bin/kc:
        libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x800a00000)
        libxml2.so.2 =3D> /usr/local/lib/libxml2.so.2 (0x800e69000)
        libreadline.so.7 =3D> /usr/local/lib/libreadline.so.7 (0x8011fe000)=
 <---
        libncurses.so.8 =3D> /lib/libncurses.so.8 (0x80144f000)
        libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0x8016a4000)
        libscrypt.so.0 =3D> /usr/local/lib/libscrypt.so.0 (0x80191f000)
        libc.so.7 =3D> /lib/libc.so.7 (0x801b26000)
        libz.so.6 =3D> /lib/libz.so.6 (0x801ede000)
        liblzma.so.5 =3D> /usr/lib/liblzma.so.5 (0x8020f7000)
        libm.so.5 =3D> /lib/libm.so.5 (0x802320000)
        libncursesw.so.8 =3D> /lib/libncursesw.so.8 (0x80254b000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x8027a9000)

When compiled with LIBEDIT, it gets linked to libedit.so:
root@fbsd11-1-portswrk:~ # ldd /usr/local/bin/kc
/usr/local/bin/kc:
        libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x800a00000)
        libxml2.so.2 =3D> /usr/local/lib/libxml2.so.2 (0x800e69000)
        libedit.so.0 =3D> /usr/local/lib/libedit.so.0 (0x8011fe000) <---
        libncursesw.so.8 =3D> /lib/libncursesw.so.8 (0x801432000)
        libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0x801690000)
        libscrypt.so.0 =3D> /usr/local/lib/libscrypt.so.0 (0x80190b000)
        libc.so.7 =3D> /lib/libc.so.7 (0x801b12000)
        libz.so.6 =3D> /lib/libz.so.6 (0x801eca000)
        liblzma.so.5 =3D> /usr/lib/liblzma.so.5 (0x8020e3000)
        libm.so.5 =3D> /lib/libm.so.5 (0x80230c000)
        libncurses.so.8 =3D> /lib/libncurses.so.8 (0x802537000)
        libthr.so.3 =3D> /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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222376-13-hXrrAf2n0h>