Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907976 - sys-auth/elogind-252.9: version bump
Summary: sys-auth/elogind-252.9: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 08:06 UTC by Sam James
Modified: 2023-06-10 14:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-07 08:06:39 UTC
Thanks.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2023-06-07 09:57:28 UTC
I can look into doing it and testing tomorrow since 8th of June it a public holiday here, though if any other maintainer wants feel free to jump in and do it yourself.
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2023-06-09 17:49:33 UTC
The bumped version works with glibc, seems like only nodocs patch is needed, however it does not build on musl, async.c errors solved by including signal.h there, but then

    ../elogind-252.9/src/basic/mountpoint-util.c:218:13: error: implicit declaration of function 'statx'; did you mean 'stat'? [-Werror=implicit-function-declaration]
      218 |         if (statx(fd, filename, (FLAGS_SET(flags, AT_SYMLINK_FOLLOW) ? 0 : AT_SYMLINK_NOFOLLOW) |
          |             ^~~~~

And I am not sure how to deal with it, would appreciate a help.
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2023-06-09 17:51:10 UTC
Disregard, I see Alpine has patches for it, I will resume work on it this weekend.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-10 14:54:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25dd2a6dc1f1df46bcc98ee7bf80648f1850651

commit b25dd2a6dc1f1df46bcc98ee7bf80648f1850651
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2023-06-10 14:50:36 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2023-06-10 14:54:55 +0000

    sys-auth/elogind: 252.9 version bump.
    
    - Tested build with musl on hardened profile (+selinux).
    - Tested build, tests and runtime with glibc.
    - The musl patches sourced out of Alpine Linux.
    
    Closes: https://bugs.gentoo.org/907976
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 sys-auth/elogind/Manifest                          |   1 +
 sys-auth/elogind/elogind-252.9.ebuild              | 167 +++++++++++++++++++++
 .../files/elogind-252.9-musl-getdents.patch        |  35 +++++
 .../elogind/files/elogind-252.9-musl-gshadow.patch |  14 ++
 .../files/elogind-252.9-musl-more-strerror_r.patch |  44 ++++++
 .../files/elogind-252.9-musl-rlim-max.patch        |  13 ++
 .../files/elogind-252.9-musl-sigfillset.patch      |  12 ++
 .../elogind/files/elogind-252.9-musl-statx.patch   |  26 ++++
 .../files/elogind-252.9-musl-strerror_r.patch      |  89 +++++++++++
 sys-auth/elogind/files/elogind-252.9-nodocs.patch  |  28 ++++
 10 files changed, 429 insertions(+)