Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/vlock/
Date: Sun, 18 Apr 2021 12:18:40
Message-Id: 1618748302.ef57ed159c91361b80836342a9f983cbe862d3e0.conikost@gentoo
1 commit: ef57ed159c91361b80836342a9f983cbe862d3e0
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 12:17:42 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 12:18:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef57ed15
7
8 app-misc/vlock: drop old version
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 app-misc/vlock/vlock-2.2.3-r1.ebuild | 62 ------------------------------------
14 1 file changed, 62 deletions(-)
15
16 diff --git a/app-misc/vlock/vlock-2.2.3-r1.ebuild b/app-misc/vlock/vlock-2.2.3-r1.ebuild
17 deleted file mode 100644
18 index f183632cfac..00000000000
19 --- a/app-misc/vlock/vlock-2.2.3-r1.ebuild
20 +++ /dev/null
21 @@ -1,62 +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 epatch pam toolchain-funcs user
28 -
29 -COMMIT="f2afd55704bfe0a2d66e6b270d247e9b8a7b1664"
30 -
31 -DESCRIPTION="A console screen locker"
32 -HOMEPAGE="https://github.com/WorMzy/vlock"
33 -SRC_URI="https://github.com/WorMzy/vlock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
38 -IUSE="pam test"
39 -RESTRICT="!test? ( test )"
40 -
41 -RDEPEND="
42 - !>=sys-apps/kbd-2.0.4-r1[pam]
43 - pam? ( sys-libs/pam )"
44 -
45 -DEPEND="
46 - ${RDEPEND}
47 - test? ( dev-util/cunit )"
48 -
49 -DOCS=( ChangeLog PLUGINS README README.X11 SECURITY STYLE TODO )
50 -
51 -PATCHES=(
52 - "${FILESDIR}/${PN}-2.2.2-asneeded.patch"
53 - "${FILESDIR}/${PN}-2.2.2-test_process.patch"
54 -)
55 -
56 -pkg_setup() {
57 - enewgroup "${PN}"
58 -}
59 -
60 -src_configure() {
61 - local myconf="--enable-shadow"
62 - use pam && myconf="--enable-pam"
63 -
64 - # this package has handmade configure system which fails with econf...
65 - ./configure \
66 - --prefix=/usr \
67 - --mandir=/usr/share/man \
68 - --libdir=/usr/$(get_libdir) \
69 - ${myconf} \
70 - CC="$(tc-getCC)" \
71 - LD="$(tc-getLD)" \
72 - CFLAGS="${CFLAGS} -pedantic -std=gnu99" \
73 - LDFLAGS="${LDFLAGS}" || die "configure failed"
74 -}
75 -
76 -src_install() {
77 - default
78 -
79 - # See bug #637598.
80 - epatch "${FILESDIR}/${P}-echo-printf.patch"
81 -
82 - use pam && pamd_mimic_system vlock auth
83 -}