1 |
commit: c4fb474cb6658ab67ccceee9998db60cdea1fa93 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 19:57:03 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 19:57:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4fb474c |
7 |
|
8 |
sys-apps/utempter: drop 0.5.5.6 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781584 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
sys-apps/utempter/utempter-0.5.5.6.ebuild | 58 ------------------------------- |
14 |
1 file changed, 58 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/utempter/utempter-0.5.5.6.ebuild b/sys-apps/utempter/utempter-0.5.5.6.ebuild |
17 |
deleted file mode 100644 |
18 |
index 6d31a543cdcb..000000000000 |
19 |
--- a/sys-apps/utempter/utempter-0.5.5.6.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,58 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit flag-o-matic rpm toolchain-funcs user |
28 |
- |
29 |
-MY_P=${P%.*}-${PV##*.} |
30 |
- |
31 |
-DESCRIPTION="App that allows non-privileged apps to write utmp (login) info" |
32 |
-HOMEPAGE="https://www.redhat.com/" |
33 |
-SRC_URI="mirror://gentoo/${MY_P}.src.rpm" |
34 |
- |
35 |
-LICENSE="|| ( MIT LGPL-2 )" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" |
38 |
-IUSE="" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- !sys-libs/libutempter |
42 |
- !dev-python/utmp" |
43 |
- |
44 |
-S=${WORKDIR}/${P%.*} |
45 |
-PATCHES=( |
46 |
- "${FILESDIR}"/${P}-no_utmpx.patch |
47 |
- "${FILESDIR}"/${P}-fix-build-system.patch |
48 |
-) |
49 |
- |
50 |
-pkg_setup() { |
51 |
- enewgroup utmp 406 |
52 |
-} |
53 |
- |
54 |
-src_configure() { |
55 |
- tc-export CC |
56 |
- append-cflags -Wall |
57 |
-} |
58 |
- |
59 |
-src_install() { |
60 |
- emake \ |
61 |
- RPM_BUILD_ROOT="${ED}" \ |
62 |
- LIBDIR=/usr/$(get_libdir) \ |
63 |
- install |
64 |
- dobin utmp |
65 |
- |
66 |
- fowners root:utmp /usr/sbin/utempter |
67 |
- fperms 2755 /usr/sbin/utempter |
68 |
-} |
69 |
- |
70 |
-pkg_postinst() { |
71 |
- if [[ -f "${EROOT%/}"/var/log/wtmp ]] ; then |
72 |
- chown root:utmp "${EROOT%/}"/var/log/wtmp |
73 |
- chmod 664 "${EROOT%/}"/var/log/wtmp |
74 |
- fi |
75 |
- if [[ -f "${EROOT%/}"/var/run/utmp ]] ; then |
76 |
- chown root:utmp "${EROOT%/}"/var/run/utmp |
77 |
- chmod 664 "${EROOT%/}"/var/run/utmp |
78 |
- fi |
79 |
-} |