Projeto-Pindorama / heirloom-ng

A collection of standard Unix utilities that is intended to provide maximum compatibility with traditional Unix while incorporating additional features necessary today.
http://heirloom-ng.pindorama.dob.jp
Other
24 stars 7 forks source link

Include some extra/boilerplate BSD functions at /usr/ucb/lib? #26

Closed takusuman closed 12 months ago

takusuman commented 1 year ago

I was thinking with myself: when building BSD programs on SVR4 UNIX --- such as Linux ---, we usually tend to miss some BSD-specific functions and/or libraries that are usually available at its standard library. What about creating an optional library with BSD functions that could be installed into /usr/ucb/lib --- with its headers at /usr/ucb/include? Like a simpler alternative to libbsd.

arthurbacci commented 1 year ago

How is it being compiled right now, w/o the BSD functions?

takusuman commented 1 year ago

How is it being compiled right now, w/o the BSD functions?

Because the programs itself aren't using directly the BSD functions and/or are using the implementations at libcommon.
My idea is more related to providing an open, system-wide BSD compatibility library at /usr/ucb/lib for building other programs unrelated to Heirloom NG.
Maybe it could be just a separate package that installs to /usr/ucb/lib and /usr/ucb/include, not Heirloom NG itself.

takusuman commented 1 year ago

Maybe it could be just a separate package that installs to /usr/ucb/lib and /usr/ucb/include, not Heirloom NG itself.

That would do it.

arthurbacci commented 1 year ago

Why was it closed?

takusuman commented 1 year ago

Why was it closed?

I thought it was "off-topic" if we're going to make a separate package from Heirloom NG. 🤷🏽‍♂️

arthurbacci commented 1 year ago

Shouldn't it be kept open till the package is done?

takusuman commented 1 year ago

Shouldn't it be kept open till the package is done?

Maybe.

takusuman commented 1 year ago

I will be creating a separate repository for this later. Also, an own implementation of ndbm to replace GNU dbm on Copacabana Linux still on the plans.

arthurbacci commented 1 year ago

Sure, but I think it's better to close this only when the integration between these repositories is done (i.e., after using the separate package instead of libcommon)

takusuman commented 1 year ago

Sure, but I think it's better to close this only when the integration between these repositories is done (i.e., after using the separate package instead of libcommon)

I don't think an integration will be possible, since it's not the intention to replace libcommon, but to have an alternative to libbsd that is simpler to build and use.

takusuman commented 12 months ago

I'll be archiving this for now, we'll be right back.