summaryrefslogtreecommitdiff
path: root/app-misc/physlock
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/physlock
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/physlock')
-rw-r--r--app-misc/physlock/Manifest7
-rw-r--r--app-misc/physlock/metadata.xml18
-rw-r--r--app-misc/physlock/physlock-0.5.ebuild22
-rw-r--r--app-misc/physlock/physlock-11-r1.ebuild27
4 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/physlock/Manifest b/app-misc/physlock/Manifest
new file mode 100644
index 000000000000..d955f581246e
--- /dev/null
+++ b/app-misc/physlock/Manifest
@@ -0,0 +1,7 @@
+DIST physlock-0.5.tar.gz 13547 SHA256 395873abe9bfb3879df796bd9d857be024c4ca01c5b6e83cfd3253647b558782 SHA512 0e22d2c1093556e2ca52da4ee36e53a7eebf9c2cf8e10592c95971aa3479c3ee1a31b9d71e52fca715a483f22740f6cf9a3c167fb61e4c6034a2ecf900fd5f9d WHIRLPOOL 4dbfea803043a691e16a515fede273a27360923808aa2d1c6bd281282bc24b24113cc39915ba2f90723dd15322ac930297605f7cc2c6b1fc51cb7794ee46796a
+DIST physlock-11.tar.gz 13791 SHA256 f03031a6f4c6a08d62098457834d04b8835082a76609059451397356a83d4442 SHA512 d3badf5c99e4e3e16f4e7ec5c59ee8320c845f1b180463900d816206362ce1aa8652f2489453ad5e190cceee2ed61a90acc52e25bb6b4c4a9dc8c4ebd3054938 WHIRLPOOL e74513bf5c60db1669dfa11496f98cd4100753ce1a9aa93c603235680adb3ff4b7f2bffff134e8f2f27534e1a5fffff15a4cd17627dd2761f6b67d3903a166f4
+EBUILD physlock-0.5.ebuild 471 SHA256 91feab43fc4fc14092d8e9c6aa9097365ac346441de4ab379f5aa0de0aa6c48e SHA512 743491ca82a6f0495b22c2356f8f27846cd27689f4b2e67473de54aa7551a46c7c1865d7a6b2a0c59bbf329f9323700973089403aabdf049aa3d0f1242c07f54 WHIRLPOOL fe7f300e5c32a7313653bd1a8118f54f240c360f40f8e614dd8bc075dec47de642cf38ced9aeaf547076357fafa2c4f6cb8bcfb9bd313b5c8addb353557c6ea4
+EBUILD physlock-11-r1.ebuild 553 SHA256 4a3b2994eb0abc8b6352ce957c46e7cb641d8b2c78a016fc70e46e1e094e0c02 SHA512 64d965a8fa93986b39ad74e313c4963bcaa342b7ac758532760db10de1375d2886b5f98dd43d19e7912fa6d93b5de8dacfe93e49de913ddcb0fe9e8757b68215 WHIRLPOOL 0fe5accb9652d8e367713e507a4985ccfad7fc989f846b524dec5766a4af321941401477ed85750f3b36935e9ba6f787de92bba70eeb41a9e5601103d7bb7a73
+MISC ChangeLog 3003 SHA256 884b796c6597cab7c563bbadf3f5a9e5c19a5fc4461351a620adf79b05275861 SHA512 d6ff1325f245859348f22ea07a60220d928e3dd23275216f7e7b244942179aa8d8e3cd438c475766cc7f53181485a7094f5f5eddb229fd0755e041c66ae7a071 WHIRLPOOL 93e984218b8215f03c6034a20e6597f24fb37227b3302b8dfb716b761d7967fb901147567e4ea689f29c31787245f4381efed7091be867816b3a39aa1b45e4ba
+MISC ChangeLog-2015 863 SHA256 64107fb881cab2b517c1376767e28a6d915d1b016bdb7fecbfe6d52d4648a5fc SHA512 438f410ee8cae55183287245a9724c0fe1d7e5004c3103894bc5804ee244551453ccf0bf7c7024cb4032d29faf9c037f0a6ece71705db2fccedc38ce6067be5a WHIRLPOOL cb4a0948ada4363ee1bff9febb15cc39350fdc620a213575b6aac9fafc1f7f7e5bdc3c3ff70a1357da90bab9ea998537f806c69d92ff973aaa9d9ff29d330ba5
+MISC metadata.xml 757 SHA256 b7602043c7acf204376271583fdc45d920f55823a16c7689836ac65e3e4da01d SHA512 34f57b70b867095ad5ddffad1a5a943488699e98495e98631dde72a96fca5260947bcece476e4411d146d6a1f72ed602401455d49343a4fa79faae77b5483625 WHIRLPOOL 34404fccbced6e1a6a0720a951d79f748338b0917d486e430d0d90daa3e33b53bb0354e6cd2a79140302364ac3f4e615b3dd7317dd71f6f76063a6d3fcf405ca
diff --git a/app-misc/physlock/metadata.xml b/app-misc/physlock/metadata.xml
new file mode 100644
index 000000000000..3a7f9b503b95
--- /dev/null
+++ b/app-misc/physlock/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ Control physical access to a linux computer by locking all of its virtual
+ terminals / consoles.
+
+ physlock is an alternative to vlock, it is equivalent to `vlock -an'. It is
+ written because vlock blocks some linux kernel mechanisms like hibernate and
+ suspend and can therefore only be used with some limitations. physlock is
+ designed to be more lightweight, it does not have a plugin interface and it is
+ not started using a shell script wrapper.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">muennich/physlock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/physlock/physlock-0.5.ebuild b/app-misc/physlock/physlock-0.5.ebuild
new file mode 100644
index 000000000000..f306ba46c194
--- /dev/null
+++ b/app-misc/physlock/physlock-0.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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"
+
+src_prepare() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/app-misc/physlock/physlock-11-r1.ebuild b/app-misc/physlock/physlock-11-r1.ebuild
new file mode 100644
index 000000000000..761fce5332c0
--- /dev/null
+++ b/app-misc/physlock/physlock-11-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+RDEPEND="virtual/pam"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dosym login /etc/pam.d/${PN}
+}