From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/physlock/
Date: Sat, 11 Jul 2020 08:18:50 +0000 (UTC) [thread overview]
Message-ID: <1594455517.6d4cf4dbe1e99ecf5cc13e65d41cf7445455a8b3.juippis@gentoo> (raw)
commit: 6d4cf4dbe1e99ecf5cc13e65d41cf7445455a8b3
Author: toshokan <toshokan <AT> shojigate <DOT> net>
AuthorDate: Thu Jul 9 15:43:30 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 08:18:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4cf4db
app-misc/physlock: Use upstream PAM config
Following the recommendation at
https://github.com/muennich/physlock/commit/66957ee48384dd2e0fa6477b8276e9f6b3842bc5
Also more closely follow the configuration format the build system
expects.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/731824
Signed-off-by: Jason Pizzuco <toshokan <AT> shojigate.net>
Closes: https://github.com/gentoo/gentoo/pull/16649
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-misc/physlock/physlock-13-r1.ebuild | 41 +++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/app-misc/physlock/physlock-13-r1.ebuild b/app-misc/physlock/physlock-13-r1.ebuild
new file mode 100644
index 00000000000..b817bc5f566
--- /dev/null
+++ b/app-misc/physlock/physlock-13-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs pam
+
+DESCRIPTION="Lightweight Linux console locking tool"
+HOMEPAGE="https://github.com/muennich/physlock"
+SRC_URI="https://github.com/muennich/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND="sys-libs/pam"
+DEPEND="${RDEPEND}
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd )
+"
+
+pkg_setup() {
+ export MY_CONF="HAVE_SYSTEMD=$(usex systemd 1 0) HAVE_ELOGIND=$(usex elogind 1 0)"
+}
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_compile() {
+ emake ${MY_CONF}
+}
+
+src_install() {
+ emake ${MY_CONF} DESTDIR="${D}" PREFIX=/usr install
+ newpamd physlock.pam ${PN}
+}
next reply other threads:[~2020-07-11 8:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-11 8:18 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-12 4:25 [gentoo-commits] repo/gentoo:master commit in: app-misc/physlock/ Sam James
2020-07-09 7:54 Joonas Niilola
2020-07-09 7:54 Joonas Niilola
2019-10-12 18:43 Mikle Kolyada
2019-01-27 10:15 Pacho Ramos
2017-08-22 3:42 Tim Harder
2017-08-17 20:17 Tim Harder
2017-08-17 20:17 Tim Harder
2016-01-11 4:39 Tim Harder
2016-01-11 4:39 Tim Harder
2015-09-15 0:41 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1594455517.6d4cf4dbe1e99ecf5cc13e65d41cf7445455a8b3.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox