summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/physlock
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/physlock')
-rw-r--r--app-misc/physlock/Manifest3
-rw-r--r--app-misc/physlock/files/physlock-0.4.4-makefile.patch16
-rw-r--r--app-misc/physlock/metadata.xml21
-rw-r--r--app-misc/physlock/physlock-0.4.3.ebuild24
-rw-r--r--app-misc/physlock/physlock-0.4.4.ebuild24
-rw-r--r--app-misc/physlock/physlock-0.4.5.ebuild24
6 files changed, 112 insertions, 0 deletions
diff --git a/app-misc/physlock/Manifest b/app-misc/physlock/Manifest
new file mode 100644
index 000000000000..8cf53ecab6c7
--- /dev/null
+++ b/app-misc/physlock/Manifest
@@ -0,0 +1,3 @@
+DIST physlock-0.4.3.tar.gz 12834 SHA256 16c0cff09c06a0c701e6ff6f074690280ff3d14cc02980a007eb66bd93fff1f2 SHA512 bdaa335b9fbc15cc5206f195075c2d2425933012d0fe1a52244bf1137e2af11faa9d0194b3ea46158230991a56c398a9d5dc8f56eee9716306c88adbd28ddd47 WHIRLPOOL 418be6340b98630e5d0d2dd22f2972b7ca3edd241b0fd025349adb5d6af01abffae1e628556bc88793174c25769ed2ecf4a77032928a6afed860e58663444e3a
+DIST physlock-0.4.4.tar.gz 12711 SHA256 792b9167cbda178a04f8cdc490c49529405356d26bb87e5367ef2a964a17b476 SHA512 ed24132c7f41a6dc26c3182dcd1f19155b4e36dcc5f3030a7f9fed61ccf83b764ceb18ed48ff46c6c8972f3fc514c7e6031cf7ae8057602a24dc737950e72c13 WHIRLPOOL e96491208cfc37d3415c540d7257d757556ededdf3b5c5d1caca368b8fc3d457d7bc3bec6bea7c517943b51adf1c260a187533d86ed9abcee4cd866072a3d9ca
+DIST physlock-0.4.5.tar.gz 12804 SHA256 5ddb42553142c5e2b8744d086bb8f5bf131a29fc58b8886e825b80e6a456961c SHA512 ab2e71bdc0004d97e3742cf8155602c036dafa22156147cc3cd4050c1665e54d4ca04ee8dc1f763e6369a5d6592524cbc8e10c56870905a1b13385640f4ec476 WHIRLPOOL e770cc9e4448c3407c12d51e1bb2d1fec5f74cdc5be4d6503fa89a297b3a40b7f5bb67466fbb641e2af249339aacdf2abb5de9ac145482c1b283604abbb51533
diff --git a/app-misc/physlock/files/physlock-0.4.4-makefile.patch b/app-misc/physlock/files/physlock-0.4.4-makefile.patch
new file mode 100644
index 000000000000..4491e0596670
--- /dev/null
+++ b/app-misc/physlock/files/physlock-0.4.4-makefile.patch
@@ -0,0 +1,16 @@
+--- physlock-0.4.4/Makefile
++++ physlock-0.4.4/Makefile
+@@ -2,10 +2,10 @@
+
+ VERSION = 0.4.4
+
+-CC = gcc
++CC ?= gcc
+ PREFIX = /usr/local
+-CFLAGS = -Wall -pedantic -DVERSION=\"$(VERSION)\"
+-LDFLAGS =
++CFLAGS += -Wall -pedantic -DVERSION=\"$(VERSION)\"
++LDFLAGS +=
+ LIBS = -lcrypt
+
+ SRC = auth.c main.c options.c util.c vt.c
diff --git a/app-misc/physlock/metadata.xml b/app-misc/physlock/metadata.xml
new file mode 100644
index 000000000000..edab7aa4c610
--- /dev/null
+++ b/app-misc/physlock/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <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.4.3.ebuild b/app-misc/physlock/physlock-0.4.3.ebuild
new file mode 100644
index 000000000000..4eba3b67a255
--- /dev/null
+++ b/app-misc/physlock/physlock-0.4.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="lightweight Linux console locking tool"
+HOMEPAGE="https://github.com/muennich/physlock"
+SRC_URI="mirror://github/muennich/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+src_prepare() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/app-misc/physlock/physlock-0.4.4.ebuild b/app-misc/physlock/physlock-0.4.4.ebuild
new file mode 100644
index 000000000000..750977a1c0e5
--- /dev/null
+++ b/app-misc/physlock/physlock-0.4.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs eutils
+
+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() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/app-misc/physlock/physlock-0.4.5.ebuild b/app-misc/physlock/physlock-0.4.5.ebuild
new file mode 100644
index 000000000000..a4f7d832671f
--- /dev/null
+++ b/app-misc/physlock/physlock-0.4.5.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs eutils
+
+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() {
+ epatch "${FILESDIR}"/${PN}-0.4.4-makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}