Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626416 - sys-auth/elogind : All stable branches bumped with important fixes!
Summary: sys-auth/elogind : All stable branches bumped with important fixes!
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Sturmlechner
URL: https://github.com/elogind/elogind/re...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 07:50 UTC by Sven Eden
Modified: 2017-09-18 13:39 UTC (History)
2 users (show)

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


Attachments
Update files/elogind.conf to files/elogind.conf.in (update-elogind-conf.patch,415 bytes, patch)
2017-07-28 08:00 UTC, Sven Eden
Details | Diff
Update elogind-229.6.ebuild to elogind-229.7.ebuild (update-elogind-229.6-ebuild.patch,1.02 KB, patch)
2017-07-28 08:05 UTC, Sven Eden
Details | Diff
Update ebuilds for 231, 232 and 233 (update-elogind-231.4-ebuild.patch,707 bytes, patch)
2017-07-28 08:12 UTC, Sven Eden
Details | Diff
Add new option to elogind-234.2.ebuild (update-234.2-ebuild.patch,404 bytes, patch)
2017-07-28 08:19 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2017-07-28 07:50:39 UTC
Hi all,

I have just unleashed a series of new releases of elogind.

namely:
- 229.7
- 231.5
- 232.4
- 233.5
And brand new:
- 234.2

The new version is in sync with systemd-stable branch v234-stable, commit 782c925. All newer commits do not touch elogind

All five stable branches got some similar updates I back- and forth-ported:

- Added -fuse-linker-plugin to CFLAGS to work around odd compiler and
  binutils installs. This should fix most "plugin needed to handle lto
  object" issues.

- Fixed a bug that caused stopped sessions to never being finalized.

- Fixed a bug that caused pam_elogind to log, that pam_systemd was
  initialized.

- Fix Makefile.am to install elogind and elogind-cgroups-agent in
  rootlibexecdir, like upstream does with systemd-login.

- Add --with-rootlibexecdir to configure.ac and make it default to
  $libdir/libexec.

- Fix a bug in cgroup handling that caused elogind to create its
  group in the wrong folder.

The change in where stuff is installed causes a few ebuild and elogind.conf changes. I will add attachments for them in a few minutes.
Comment 1 Sven Eden 2017-07-28 08:00:10 UTC
Created attachment 487042 [details, diff]
Update files/elogind.conf to files/elogind.conf.in

This changes the location where the elogind executable is installed.

@libdir@ will be replaced with $(get_libdir) during install phase
Comment 2 Sven Eden 2017-07-28 08:05:05 UTC
Created attachment 487044 [details, diff]
Update elogind-229.6.ebuild to elogind-229.7.ebuild

In this version the configure options differed from the later versions, thus an individual patch is needed.
Comment 3 Sven Eden 2017-07-28 08:12:20 UTC
Created attachment 487046 [details, diff]
Update ebuilds for 231, 232 and 233

The resulting ebuild from this patch can be used for 
- 231.5
- 232.4 and
- 233.5

Just copy the ebuild to its new name.
Comment 4 Sven Eden 2017-07-28 08:19:38 UTC
Created attachment 487048 [details, diff]
Add new option to elogind-234.2.ebuild

From here on the --with-rootprefix option seems to be needed. Without it, my tests lead to stuff being installed into /usr/bin and /usr/lib again.

Weirdly, I can not fathom why, because the rootprefix handling doesn't seem to have changed since ... around version 221 or so.

However, just copy elogind-233.5.ebuild to elogind-234.2.ebuild, apply this patch and it should be good and working.
Comment 5 Sven Eden 2017-09-18 13:39:09 UTC
This bug has been superseded by bug #631322