diff options
author | toshokan <toshokan@shojigate.net> | 2020-06-30 14:34:00 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-07-09 10:54:26 +0300 |
commit | a719a8df1f170fbf234ae2157cc210ccebced451 (patch) | |
tree | 50dbdaca0ababa3004142c775b04a5962e687c04 /app-misc | |
parent | media-sound/pulsemixer: Drop 1.5.0 (diff) | |
download | gentoo-a719a8df1f170fbf234ae2157cc210ccebced451.tar.gz gentoo-a719a8df1f170fbf234ae2157cc210ccebced451.tar.bz2 gentoo-a719a8df1f170fbf234ae2157cc210ccebced451.zip |
app-misc/physlock: Version bump and new maintainer
Signed-off-by: Jason Pizzuco <toshokan@shojigate.net>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://github.com/gentoo/gentoo/pull/16515
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/physlock/Manifest | 1 | ||||
-rw-r--r-- | app-misc/physlock/metadata.xml | 9 | ||||
-rw-r--r-- | app-misc/physlock/physlock-13.ebuild | 41 |
3 files changed, 50 insertions, 1 deletions
diff --git a/app-misc/physlock/Manifest b/app-misc/physlock/Manifest index 7378edd59b5b..116cff7e83b3 100644 --- a/app-misc/physlock/Manifest +++ b/app-misc/physlock/Manifest @@ -1 +1,2 @@ DIST physlock-11.tar.gz 13791 BLAKE2B 73ba9ad238a4566156144a7107018689996691d1a24bab44e9575067efe072cfb6181b409a81ebcad03d42a48ea94fe32fc738f2d730cb1fd0137b2455a5a74b SHA512 d3badf5c99e4e3e16f4e7ec5c59ee8320c845f1b180463900d816206362ce1aa8652f2489453ad5e190cceee2ed61a90acc52e25bb6b4c4a9dc8c4ebd3054938 +DIST physlock-13.tar.gz 14123 BLAKE2B a43f151c1660c38bd028f80742637a51d5108e6769161c88fb269ac03c827e49bd20e521b8face6aa6a71a8ab65ddf8662e81e8251b74c13388070ed04d4e13b SHA512 85c291fb7b146fbd81aacbf94d8af07e727dd9b37b458988eaee5f7a51f9923871f9b19fd9438428635963864de67d3f2a72f938d99ffe6dc3015c3a1b99ea1c diff --git a/app-misc/physlock/metadata.xml b/app-misc/physlock/metadata.xml index 3a7f9b503b95..f37bd00b3eed 100644 --- a/app-misc/physlock/metadata.xml +++ b/app-misc/physlock/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>toshokan@shojigate.net</email> + <name>J. Pz</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <longdescription lang="en"> Control physical access to a linux computer by locking all of its virtual terminals / consoles. diff --git a/app-misc/physlock/physlock-13.ebuild b/app-misc/physlock/physlock-13.ebuild new file mode 100644 index 000000000000..531e419c056b --- /dev/null +++ b/app-misc/physlock/physlock-13.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 + +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=$(usev systemd) HAVE_ELOGIND=$(usev elogind)" +} + +src_prepare() { + default + tc-export CC +} + +src_compile() { + emake ${MY_CONF} +} + +src_install() { + emake ${MY_CONF} DESTDIR="${D}" PREFIX=/usr install + dosym login /etc/pam.d/${PN} +} |