commit:     b603358fc92132c77530c1a9f3b0191fc71c0124
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 12:37:12 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 12:43:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b603358f

sys-auth/elogind: version bump 233.7 and 234.4

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-auth/elogind/Manifest             |   2 +
 sys-auth/elogind/elogind-233.7.ebuild | 105 ++++++++++++++++++++++++++++++++++
 sys-auth/elogind/elogind-234.4.ebuild | 105 ++++++++++++++++++++++++++++++++++
 3 files changed, 212 insertions(+)

diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
index 3d9a5d94367..773cbad5699 100644
--- a/sys-auth/elogind/Manifest
+++ b/sys-auth/elogind/Manifest
@@ -5,4 +5,6 @@ DIST elogind-231.6.tar.gz 813666 SHA256 
d57ab2f488284e5bc01c6b8d60bf3037e9b43abf
 DIST elogind-232.3.tar.gz 834210 SHA256 
6e1064fdc648e7ebe0aadbcc3c2b4e41f85fec08713dbca3faa5c156f8c76bbc SHA512 
359949408549e102923954447c213ed060842846edd126ff233118405521ee553909efaa6ab8ed20c96786534e11b1f3b700e6db18232b7e69691d4712cf014d
 WHIRLPOOL 
36eba13ce1891b40fc85f244b0cb2ca5ba1efbd1bd23fbc07220682706d4071ec15fcaa75ffce2241fd1da040dd207ef9655550cc5ade2962638223a9d126e29
 DIST elogind-232.5.tar.gz 835373 SHA256 
b8707534873c1a6198f865ef5d9450627c31f70685c97ffbb18c248ef96c9200 SHA512 
40a717dd4ce581e08ce501384c7fbfb1a4830504931f0380fec048594fb6308bf3453806713c137f809538c506a9965ea8f35a2a858f27121b8342bb37745b2a
 WHIRLPOOL 
d94d0fdf1db70e72a13a710a7b4d5dce24df9ab2c40cbc1a90756cb4ca59bbec2329b3a92678bf6cabbb1b47ffaeda03110bf2ceeac459e8b851475d4ed3890a
 DIST elogind-233.6.tar.gz 902277 SHA256 
0efa2c6eb685000c9e0f29a8d7ee7b269c756f013ae83522568a25f6b249822d SHA512 
390950893c37d90ee59438822261383a5d0913f5e4cfc82286c505f6db89b06b3d161c209c6ac5bb95e084402352299b7bdbd9c0faa573bb6f8a45309fc872f4
 WHIRLPOOL 
0b0534f061e319050fafd6450cf3a4a9ab5119069dff52e91c0f8b555bf630701c014d3990235a2cf1b4d224fa70bf934fab6525add63e13c9732f28fed31dfe
+DIST elogind-233.7.tar.gz 957308 SHA256 
8854f29a53d1305dc1c264635b1e970cfcbcc32507af8ef35de4a9b447f79e0b SHA512 
c4ca84d45c289131f2b9d698d0e010fb368da39e80a9a972822148509644727a5e420ec2c68dc896bd250e81bdb125b4d760b0a65a4444365c81af2da9555a78
 WHIRLPOOL 
597f43c47ff630ec408f99c3d7e88622fc179f542772d800af09691734882bede81ab2d54ea51de21de08be568500477e2688579f9d244ddc11bd282a6678fce
 DIST elogind-234.3.tar.gz 970679 SHA256 
d3a3f272256da3946b0ab2508b6d5a95ad71f0b9b57e509a2264551bb1a4484d SHA512 
3aeb33a2c7ba8c75af29cc7844ad7a6fe51edb96a09e364798de62332b04bcb94cb36cd55986cbf517bcf61660b3265b18d5819102f8ab5ecea26738154e21cb
 WHIRLPOOL 
758650da0ba3c6800cf8a81426e2c8f8148cff9d185e0bb7d61e04a227b9eca05a2c32538c1ec7573c0f4ba28fe85a32a374b958ecf547a78667c97c25bbc6df
+DIST elogind-234.4.tar.gz 973370 SHA256 
ffb465a62c4281c19b07eb7fbb9ad0987f3b726ae1a868a92a3144d7714542f3 SHA512 
2df4fa318074d4f5e5dbba353cf817068a2703ffed40cdeae4cba2dea4ee143d1c5fc076b19419f1c4299392088c2c14b430d8aa1ded03b62117311802305d5e
 WHIRLPOOL 
1b735338cb02ef8cffb5837a0702110117ae1d677a4cbf106180c549485f7fb0604f3134e6ff5e14b23485ddfe4d4415a41e69d93b8f099cee41a220d0ea4a69

diff --git a/sys-auth/elogind/elogind-233.7.ebuild 
b/sys-auth/elogind/elogind-233.7.ebuild
new file mode 100644
index 00000000000..9f4a48ace40
--- /dev/null
+++ b/sys-auth/elogind/elogind-233.7.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info pam udev
+
+DESCRIPTION="The systemd project's logind, extracted to a standalone package"
+HOMEPAGE="https://github.com/elogind/elogind";
+SRC_URI="https://github.com/${PN}/${PN}/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 debug pam policykit selinux"
+
+RDEPEND="
+       sys-apps/util-linux
+       sys-libs/libcap
+       virtual/libudev:=
+       acl? ( sys-apps/acl )
+       pam? ( virtual/pam )
+       selinux? ( sys-libs/libselinux )
+       !sys-apps/systemd
+"
+DEPEND="${RDEPEND}
+       app-text/docbook-xml-dtd:4.2
+       app-text/docbook-xml-dtd:4.5
+       app-text/docbook-xsl-stylesheets
+       dev-util/gperf
+       dev-util/intltool
+       sys-devel/libtool
+       virtual/pkgconfig
+"
+PDEPEND="
+       sys-apps/dbus
+       policykit? ( sys-auth/polkit )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
+
+pkg_setup() {
+       local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
+               ~SIGNALFD ~TIMERFD"
+
+       if use kernel_linux; then
+               linux-info_pkg_setup
+       fi
+}
+
+src_prepare() {
+       default
+       eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
+}
+
+src_configure() {
+       econf \
+               --with-pamlibdir=$(getpam_mod_dir) \
+               --with-udevrulesdir="$(get_udevdir)"/rules.d \
+               --libdir="${EPREFIX}"/usr/$(get_libdir) \
+               --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
+               --with-rootprefix="${EPREFIX}/" \
+               --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
+               --enable-smack \
+               --with-cgroup-controller=openrc \
+               --disable-lto \
+               $(use_enable debug debug elogind) \
+               $(use_enable acl) \
+               $(use_enable pam) \
+               $(use_enable selinux)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+
+       newinitd "${FILESDIR}"/${PN}.init ${PN}
+
+       sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > 
${PN}.conf || die
+       newconfd ${PN}.conf ${PN}
+}
+
+pkg_postinst() {
+       if [ "$(rc-config list boot | grep elogind)" != "" ]; then
+               ewarn "elogind is currently started from boot runlevel."
+       elif [ "$(rc-config list default | grep elogind)" != "" ]; then
+               ewarn "elogind is currently started from default runlevel."
+               ewarn "Please remove elogind from the default runlevel and"
+               ewarn "add it to the boot runlevel by:"
+               ewarn "# rc-update del elogind default"
+               ewarn "# rc-update add elogind boot"
+       else
+               ewarn "elogind is currently not started from any runlevel."
+               ewarn "You may add it to the boot runlevel by:"
+               ewarn "# rc-update add elogind boot"
+       fi
+       ewarn "Alternatively you can leave elogind out of any"
+       ewarn "runlevel. It will then be started automatically"
+       if use pam; then
+               ewarn "when the first service calls it via dbus, or the"
+               ewarn "first user logs into the system."
+       else
+               ewarn "when the first service calls it via dbus."
+       fi
+}

diff --git a/sys-auth/elogind/elogind-234.4.ebuild 
b/sys-auth/elogind/elogind-234.4.ebuild
new file mode 100644
index 00000000000..9f4a48ace40
--- /dev/null
+++ b/sys-auth/elogind/elogind-234.4.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info pam udev
+
+DESCRIPTION="The systemd project's logind, extracted to a standalone package"
+HOMEPAGE="https://github.com/elogind/elogind";
+SRC_URI="https://github.com/${PN}/${PN}/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 debug pam policykit selinux"
+
+RDEPEND="
+       sys-apps/util-linux
+       sys-libs/libcap
+       virtual/libudev:=
+       acl? ( sys-apps/acl )
+       pam? ( virtual/pam )
+       selinux? ( sys-libs/libselinux )
+       !sys-apps/systemd
+"
+DEPEND="${RDEPEND}
+       app-text/docbook-xml-dtd:4.2
+       app-text/docbook-xml-dtd:4.5
+       app-text/docbook-xsl-stylesheets
+       dev-util/gperf
+       dev-util/intltool
+       sys-devel/libtool
+       virtual/pkgconfig
+"
+PDEPEND="
+       sys-apps/dbus
+       policykit? ( sys-auth/polkit )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" )
+
+pkg_setup() {
+       local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK
+               ~SIGNALFD ~TIMERFD"
+
+       if use kernel_linux; then
+               linux-info_pkg_setup
+       fi
+}
+
+src_prepare() {
+       default
+       eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch"
+}
+
+src_configure() {
+       econf \
+               --with-pamlibdir=$(getpam_mod_dir) \
+               --with-udevrulesdir="$(get_udevdir)"/rules.d \
+               --libdir="${EPREFIX}"/usr/$(get_libdir) \
+               --with-rootlibdir="${EPREFIX}"/$(get_libdir) \
+               --with-rootprefix="${EPREFIX}/" \
+               --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind \
+               --enable-smack \
+               --with-cgroup-controller=openrc \
+               --disable-lto \
+               $(use_enable debug debug elogind) \
+               $(use_enable acl) \
+               $(use_enable pam) \
+               $(use_enable selinux)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+
+       newinitd "${FILESDIR}"/${PN}.init ${PN}
+
+       sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > 
${PN}.conf || die
+       newconfd ${PN}.conf ${PN}
+}
+
+pkg_postinst() {
+       if [ "$(rc-config list boot | grep elogind)" != "" ]; then
+               ewarn "elogind is currently started from boot runlevel."
+       elif [ "$(rc-config list default | grep elogind)" != "" ]; then
+               ewarn "elogind is currently started from default runlevel."
+               ewarn "Please remove elogind from the default runlevel and"
+               ewarn "add it to the boot runlevel by:"
+               ewarn "# rc-update del elogind default"
+               ewarn "# rc-update add elogind boot"
+       else
+               ewarn "elogind is currently not started from any runlevel."
+               ewarn "You may add it to the boot runlevel by:"
+               ewarn "# rc-update add elogind boot"
+       fi
+       ewarn "Alternatively you can leave elogind out of any"
+       ewarn "runlevel. It will then be started automatically"
+       if use pam; then
+               ewarn "when the first service calls it via dbus, or the"
+               ewarn "first user logs into the system."
+       else
+               ewarn "when the first service calls it via dbus."
+       fi
+}

Reply via email to