Re: ssh and libsqlite.so

2023-10-30 Thread Vitaly Shevtsov
I found a way to achieve what I wanted :) There is an option MKMAKEMANDB in mk.conf that does exactly what I want: $ ldd `which apropos whatis` /usr/bin/apropos: -lc.12 => /usr/lib/libc.so.12 /usr/bin/whatis: -lc.12 => /usr/lib/libc.so.12 $ file /usr/share/man/whatis.db /usr/share/m

Re: ssh and libsqlite.so

2023-10-25 Thread Vitaly Shevtsov
Makes sense, Abhinav. Thanks for the clarification. On Wed, Oct 25, 2023 at 6:13 PM Abhinav Upadhyay wrote: > > On Wed, Oct 25, 2023 at 6:25 PM Vitaly Shevtsov wrote: > > > > Hello! > > > > No, I'm not saying to remove sqlite from the base image completely. Of > > course not, since some binaris

Re: ssh and libsqlite.so

2023-10-25 Thread Abhinav Upadhyay
On Wed, Oct 25, 2023 at 6:25 PM Vitaly Shevtsov wrote: > > Hello! > > No, I'm not saying to remove sqlite from the base image completely. Of > course not, since some binaris depend on it. > My point is that Full Text Search for apropos and whatis was > implemented for NetBSD by using sqlite in 201

Re: ssh and libsqlite.so

2023-10-25 Thread Vitaly Shevtsov
Hello! No, I'm not saying to remove sqlite from the base image completely. Of course not, since some binaris depend on it. My point is that Full Text Search for apropos and whatis was implemented for NetBSD by using sqlite in 2012 as GSOC. So I think now it's no longer needed for apropos/whatis si

Re: ssh and libsqlite.so

2023-10-25 Thread Martin Neitzel
> I found that apropos and whatis from the modern mandoc no longer > depend on libsqlite.so. > Maybe it's time to switch to it and make the base image less dependent > on third-party libraries? Personally, since sqlite *did* incorporated into base, I started to rely a bit on it. So does our (base

Re: ssh and libsqlite.so

2023-10-24 Thread Vitaly Shevtsov
Hello! I found that apropos and whatis from the modern mandoc no longer depend on libsqlite.so. Maybe it's time to switch to it and make the base image less dependent on third-party libraries? --- MAJOR NEW FEATURES --- * apropos(1): Reimplement complete semantic search functionality without

ssh and libsqlite.so

2023-10-06 Thread Vitaly Shevtsov
Hello! Why is ssh linked with libsqlite.so? I'm trying to create my own fork of apropos and whatis utils (I don't like classic UNIX utilities to depend on 3rd party libraries) and found that there are a lot of utilities that link to libsqlite.so. ssh and dig are few of them. Is this how it should