Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459802 Details for
Bug 599474
sys-auth/elogind: Kernel check, more permissions and an init script are needed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
elogind-219.12-r11.ebuild
elogind-219.12-r11.ebuild (text/plain), 2.24 KB, created by
Sven Eden
on 2017-01-12 17:30:19 UTC
(
hide
)
Description:
elogind-219.12-r11.ebuild
Filename:
MIME Type:
Creator:
Sven Eden
Created:
2017-01-12 17:30:19 UTC
Size:
2.24 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=6 > >inherit autotools linux-info pam udev > >DESCRIPTION="The systemd project's logind, extracted to a standalone package" >HOMEPAGE="https://github.com/wingo/elogind" >SRC_URI="https://github.com/wingo/elogind/archive/v${PV}.tar.gz -> ${P}.tar.gz" > >LICENSE="CC0-1.0 LGPL-2.1+ public-domain" >SLOT="0" >KEYWORDS="~amd64 ~arm ~x86" >IUSE="acl apparmor pam policykit selinux +seccomp" > >COMMON_DEPEND=" > sys-libs/libcap > sys-apps/util-linux > virtual/libudev:= > acl? ( sys-apps/acl ) > apparmor? ( sys-libs/libapparmor ) > pam? ( virtual/pam ) > seccomp? ( sys-libs/libseccomp ) > selinux? ( sys-libs/libselinux ) >" >RDEPEND="${COMMON_DEPEND} > sys-apps/dbus > policykit? ( sys-auth/polkit ) > !sys-auth/systemd >" >DEPEND="${COMMON_DEPEND} > =dev-util/gperf-3.0* > dev-util/intltool > sys-devel/libtool > virtual/pkgconfig >" > >PATCHES=( > "${FILESDIR}/${PN}-docs.patch" > "${FILESDIR}/${PN}-lrt.patch" > "${FILESDIR}/${P}-session.patch" > "${FILESDIR}/${P}-login1-perms.patch" >) > >pkg_setup() { > local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK > ~SIGNALFD ~TIMERFD" > > use seccomp && CONFIG_CHECK+=" ~SECCOMP" > > if use kernel_linux; then > linux-info_pkg_setup > fi >} > >src_prepare() { > default > eautoreconf # Makefile.am patched by "${FILESDIR}/${PN}-{docs,lrt}.patch" >} > >src_configure() { > econf \ > --with-pamlibdir=$(getpam_mod_dir) \ > --with-udevrulesdir="$(get_udevdir)"/rules.d \ > --libdir="${EPREFIX}"/$(get_libdir) \ > --enable-smack \ > $(use_enable acl) \ > $(use_enable apparmor) \ > $(use_enable pam) \ > $(use_enable seccomp) \ > $(use_enable selinux) >} > >src_install() { > default > find "${D}" -name '*.la' -delete || die > > # Unfortunately the build system puts the pkgconfig file(s) > # into $(libdir)/pkgconfig - Move it to /usr/$(libdir)/pkgconfig > mkdir -p "${ED%/}"/usr/$(get_libdir) || die > mv "${ED%/}"/$(get_libdir)/pkgconfig "${ED%/}"/usr/$(get_libdir)/ || die > > newinitd "${FILESDIR}"/${PN}.init ${PN} > newconfd "${FILESDIR}"/${PN}.conf ${PN} >} > >pkg_postinst() { > if [ "$(rc-config list default | grep elogind)" = "" ]; then > ewarn "To enable the elogind daemon, elogind must be" > ewarn "added to the default runlevel:" > ewarn "# rc-update add elogind default" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 599474
:
452984
|
452986
|
452988
|
452990
|
453370
|
454324
|
454904
|
454906
| 459802 |
460732