Sisyphus repository
Last update: 1 december 2022 | SRPMs: 17944 | Visits: 25433966
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: libbsd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libbsd
Version: 0.11.3
Release: alt1.1

Summary: Library providing BSD-compatible functions for portability

License: BSD and ISC and Copyright only and Public Domain
Group: System/Libraries

Packager: Vitaly Lipatov <lav at>

Patch: libbsd-0.9.1-alt-e2k.patch
# patches from Fedora
Patch3: %name-symver.patch

BuildRequires: libmd-devel

libbsd provides useful functions commonly found on BSD systems, and
lacking on others like GNU systems, thus making it easier to port
projects with strong BSD origins, without needing to embed the same
code over and over again on each project.

%package devel
Summary: Development files for libbsd
Group: Development/Other
Requires: %name = %EVR
Requires: pkg-config

%description devel
Development files for the libbsd library.

%ifarch %e2k
%patch -p1
# this patch breaks Elbrus build
%patch3 -p1

%configure --disable-static


# don't want static library

rm %buildroot%_libdir/%name-ctor.a

rm %buildroot%_man3dir/strlcpy*
rm %buildroot%_man3dir/strlcat*
# conflicts with setproctitle-devel
rm %buildroot/%_man3dir/setproctitle*


%files devel


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin