[dev] [sbase] Defining scope of sbase and ubase

2024-03-07 Thread Roberto E. Vargas Caballero
Hi,

While reviewing several patches for sbase adding new tools
some discussion happened and I thought it was better to move the
discussion here.

The patches raised a concern about what should be the scope of
sbase. The idea of sbase was to provide a minimal portable POSIX
base, while having ubase for the POSIX commands that cannot be
implemented in a portable way.  Saying that, it is obvious that
there are programs in sbase that are not part of POSIX:

- md5sum
- sha256sum
- sha384sum
- sha512sum
- sponge
- sync
- tar
- install

and maybe some others. At this point is not clear to me what to do
with tools like tac or shuf. There was a small discussion about
this topic in the irc channel, and it was proposed to add a 3rd
repository to contain all these tools that are not part of POSIX
(a bit like the moretools package).  From my point of view, the
main drawback of it is that it requires a 3rd -box program (currently
we have sbase-box and ubase-box). The current situation it not good,
because the two -box are not sharing the library, and the disk space
is duplicated (main reason of -box is to minimize disk space for
restricted environments), and a 3rd -box would make the situation
even worse. But in the other hand, I don't want to add more non
POSIX tools in sbase (in fact, I personally would like to remove
the current non POSIX tools).

I would like to move the discussion here and see what alternatives
we have and how to proceed in this case.

Regards,



Re: [dev] [st] externalpipe on OpenBSD

2024-03-07 Thread Страхиња Радић
Hi, can anyone take a look at this and approve or comment if there is anything 
to add to or change about the patch?

https://lists.suckless.org/wiki/2402/4748.html



[dev] [sbase] tar compresses slowly

2024-03-07 Thread Andrea Calligaris
I noticed that 'tar' is very slow to compress if compared to 'GNU
tar', especially when there are multiple small files.

26 GB of OS's ISO images:
GNU tar: 195s
sbase tar: 250s
(128% more)

3.6 GB of images:
GNU tar: 3s
sbase tar: 27s
(900% more) (!)