[Bug 559856] Review Request: libbsd - Library providing BSD-compatible functions for portability

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 29 17:14:22 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=559856

--- Comment #4 from Eric Smith <eric at brouhaha.com> 2010-01-29 12:14:21 EST ---
> Actually, I feel this package is not really close to what it intends to be.

What do you mean?  As far as I can tell, it's supposed to be a random
assortment of BSD library functions that tend not to be found on non-BSD
systems, and that certainly seems to be what it is.

The reason I'm packaging libbsd is that I want to package a program that uses
strlcpy, and when I asked on the devel list about the best practice for doing
that, Tom "spot" Callaway suggested using libbsd.  It certainly seems like a
better approach than dumping some random implementation of strlcpy into the
package, or hacking the package to not need strlcpy.  At least for this there's
a maintained upstream.

> Not really. Simply install this library's headers into a subdirectory of
> %{_includedir}

Many of them were already in %{_includedir}/bsd; I've now moved nlist.h there
as well.  Given that the purpose is to provide library functions for which we
don't have a native equivalent, I don't really see the point, as it would be
much better for ported apps to use the native version, but it was certainly
easy enough to do.

Here's the updated spec etc:

Spec URL: http://fedorapeople.org/~brouhaha/libbsd/libbsd.spec
SRPM URL: http://fedorapeople.org/~brouhaha/libbsd/libbsd-0.2.0-2.fc12.src.rpm
Koji scratch build for f12-dist:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1952087

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list