1 |
commit: aa1deaf84ded4886c8559dd0f54e123bd2402b4c |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 08:33:11 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 08:33:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1deaf8 |
7 |
|
8 |
sys-libs/libutempter: drop 1.1.6-r3 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-libs/libutempter/Manifest | 1 - |
13 |
sys-libs/libutempter/libutempter-1.1.6-r3.ebuild | 71 ------------------------ |
14 |
2 files changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libutempter/Manifest b/sys-libs/libutempter/Manifest |
17 |
index 051722e66bb..837a2bf977c 100644 |
18 |
--- a/sys-libs/libutempter/Manifest |
19 |
+++ b/sys-libs/libutempter/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST libutempter-1.1.6.tar.bz2 15705 BLAKE2B 147bf96990913019c35565507eb635ba60ff5ed67134805e9f146f8f70882615ff96d7b2e52b40fb73110905afb87893a72bdec4327d879e5bdc2ec1d39ff9f0 SHA512 6ada410b981d157ae20b578de8ce20997ec0446ec6de6859549b080aa65976fc9900d211600dab09dc3d0d109daabad0994a648b093b8781b442ff26ca17fede |
22 |
DIST libutempter-1.2.1.tar.gz 17429 BLAKE2B 88ae0a03a8a614b960082ce4d4006ec4e3eb8148b319ae964ac3ba3f684f08f5dd670e693f25d52d04a280f7b2aed6d2894cbbc0e2db3f71ab68e6910ffb58d1 SHA512 d3a3bab7d2c2a68534c5ad41dd02bde849eb08df5dbb895a79b50b74d269c48c4cfcd12c4654941ccb7cdd43f486cfdc19148fa470870562f5cd324ce9782429 |
23 |
|
24 |
diff --git a/sys-libs/libutempter/libutempter-1.1.6-r3.ebuild b/sys-libs/libutempter/libutempter-1.1.6-r3.ebuild |
25 |
deleted file mode 100644 |
26 |
index 326b5919055..00000000000 |
27 |
--- a/sys-libs/libutempter/libutempter-1.1.6-r3.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,71 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit flag-o-matic toolchain-funcs |
36 |
- |
37 |
-DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info" |
38 |
-HOMEPAGE="https://altlinux.org/index.php?module=sisyphus&package=libutempter" |
39 |
-SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2" |
40 |
- |
41 |
-LICENSE="LGPL-2.1" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" |
44 |
-IUSE="static-libs elibc_FreeBSD" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- !sys-apps/utempter |
48 |
- acct-group/utmp |
49 |
-" |
50 |
- |
51 |
-src_prepare() { |
52 |
- default |
53 |
- |
54 |
- local args=( |
55 |
- -e "/^libdir /s:/usr/lib:${EPREFIX}/usr/$(get_libdir):" |
56 |
- -e '/^libexecdir /s:=.*:= $(libdir)/misc:' |
57 |
- -e '/^CFLAGS = $(RPM_OPT_FLAGS)/d' |
58 |
- -e 's:,-stats::' |
59 |
- -e "/^includedir /s:/usr/include:${EPREFIX}/usr/include:" |
60 |
- -e "/^mandir /s:=.*:= ${EPREFIX}/usr/share/man:" |
61 |
- ) |
62 |
- |
63 |
- if ! use static-libs ; then |
64 |
- args+=( |
65 |
- -e '/^STATICLIB/d' |
66 |
- -e '/INSTALL.*STATICLIB/d' |
67 |
- ) |
68 |
- fi |
69 |
- |
70 |
- sed -i "${args[@]}" Makefile || die |
71 |
-} |
72 |
- |
73 |
-src_configure() { |
74 |
- use elibc_FreeBSD && append-libs -lutil |
75 |
- tc-export AR CC |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- emake LDLIBS="${LIBS}" |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- default |
84 |
- |
85 |
- if ! use prefix ; then |
86 |
- fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter |
87 |
- fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter |
88 |
- fi |
89 |
- |
90 |
- dodir /usr/sbin |
91 |
- dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter |
92 |
-} |
93 |
- |
94 |
-pkg_postinst() { |
95 |
- local path |
96 |
- for path in "${EROOT}"/var/log/{w,u}tmp; do |
97 |
- chown root:utmp "${path}" |
98 |
- chmod 664 "${path}" |
99 |
- done |
100 |
-} |