- Remove dependency on libbsd:
On Tumbleweed we have glibc 2.38 already thus string functions like strlcpy will be present and won't be needed from libbsd. `readpassphrase()` is then the only function from libbsd not present. Upstream shadow has an in tree copy of it, that is used when the `--without-libbsd` flag is passed along. By relying on glibc 2.38 we don't need to add libbsd and libmd to our ring0 but can't easily upgrade on SLE. OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=153
This commit is contained in:
parent
1108d9a8b3
commit
2745f98eaf
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 10:14:14 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Remove dependency on libbsd:
|
||||
On Tumbleweed we have glibc 2.38 already thus string functions
|
||||
like strlcpy will be present and won't be needed from libbsd.
|
||||
`readpassphrase()` is then the only function from libbsd not present.
|
||||
Upstream shadow has an in tree copy of it, that is used when the
|
||||
`--without-libbsd` flag is passed along.
|
||||
By relying on glibc 2.38 we don't need to add libbsd and libmd
|
||||
to our ring0 but can't easily upgrade on SLE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 06:43:38 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@ -53,8 +53,6 @@ BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libattr-devel
|
||||
# we need libbsd or glibc >= 2.38
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsemanage-devel
|
||||
BuildRequires: libtool
|
||||
@ -136,6 +134,7 @@ autoreconf -fvi
|
||||
--with-nscd \
|
||||
--with-selinux \
|
||||
--without-libcrack \
|
||||
--without-libbsd \
|
||||
--with-group-name-max-length=32 \
|
||||
--enable-vendordir=%{_distconfdir}
|
||||
%make_build
|
||||
|
Loading…
Reference in New Issue
Block a user