summaryrefslogtreecommitdiff
path: root/sys-libs/libutempter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sys-libs/libutempter
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sys-libs/libutempter')
-rw-r--r--sys-libs/libutempter/Manifest2
-rw-r--r--sys-libs/libutempter/libutempter-1.1.6-r3.ebuild (renamed from sys-libs/libutempter/libutempter-1.1.6-r2.ebuild)21
2 files changed, 12 insertions, 11 deletions
diff --git a/sys-libs/libutempter/Manifest b/sys-libs/libutempter/Manifest
index c5a4a55ce441..d107d1d1e64f 100644
--- a/sys-libs/libutempter/Manifest
+++ b/sys-libs/libutempter/Manifest
@@ -1,3 +1,3 @@
DIST libutempter-1.1.6.tar.bz2 15705 BLAKE2B 147bf96990913019c35565507eb635ba60ff5ed67134805e9f146f8f70882615ff96d7b2e52b40fb73110905afb87893a72bdec4327d879e5bdc2ec1d39ff9f0 SHA512 6ada410b981d157ae20b578de8ce20997ec0446ec6de6859549b080aa65976fc9900d211600dab09dc3d0d109daabad0994a648b093b8781b442ff26ca17fede
-EBUILD libutempter-1.1.6-r2.ebuild 1707 BLAKE2B f82173d87ccd21d8eeb80de2820967f890cce7e3420a55905c7102e4c193337552036fc89c487535400cbc291bc678bdc0f882dc2e098f99574185c7bedb24de SHA512 0797850d78d55ce16f379cadbea5667a72e9bbcc4056a4cc8d35f5f57e53dcc8223d2af502e28955bcb696f88ee0ca47818aa7e006e57e9746a7dcbf73acb7dc
+EBUILD libutempter-1.1.6-r3.ebuild 1694 BLAKE2B 2190ccd25ddbe4c74f8ff67892c83654e7e37a89ce2b86a855bdd59fa96efd4d76edf9aa7d28bc562469b9ef0b1136263ee848717f75090635a8aceb7ad522c9 SHA512 a251f3a15cbec7df5f07c84337ec9d9dfbcbbc0908dceff6e722aff2e7689c306f4806c4b3ca3559d121b54d7b09e722b432a826513d96dff5d18bce215ebade
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-libs/libutempter/libutempter-1.1.6-r2.ebuild b/sys-libs/libutempter/libutempter-1.1.6-r3.ebuild
index 4b54fc4cef3e..c47cc5ffb8d8 100644
--- a/sys-libs/libutempter/libutempter-1.1.6-r2.ebuild
+++ b/sys-libs/libutempter/libutempter-1.1.6-r3.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
-inherit user multilib flag-o-matic toolchain-funcs
+inherit multilib flag-o-matic toolchain-funcs
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info"
HOMEPAGE="https://altlinux.org/index.php?module=sisyphus&package=libutempter"
@@ -11,16 +11,17 @@ SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs elibc_FreeBSD"
-RDEPEND="!sys-apps/utempter"
-
-pkg_setup() {
- enewgroup utmp 406
-}
+RDEPEND="
+ !sys-apps/utempter
+ acct-group/utmp
+"
src_prepare() {
+ default
+
local args=(
-e "/^libdir /s:/usr/lib:${EPREFIX}/usr/$(get_libdir):"
-e '/^libexecdir /s:=.*:= $(libdir)/misc:'
@@ -57,12 +58,12 @@ src_install() {
}
pkg_postinst() {
- if [ -f "${EROOT}/var/log/wtmp" ] ; then
+ if [[ -f "${EROOT}/var/log/wtmp" ]] ; then
chown root:utmp "${EROOT}/var/log/wtmp"
chmod 664 "${EROOT}/var/log/wtmp"
fi
- if [ -f "${EROOT}/var/run/utmp" ] ; then
+ if [[ -f "${EROOT}/var/run/utmp" ]] ; then
chown root:utmp "${EROOT}/var/run/utmp"
chmod 664 "${EROOT}/var/run/utmp"
fi