summaryrefslogtreecommitdiff
path: root/app-misc/away
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/away')
-rw-r--r--app-misc/away/Manifest6
-rw-r--r--app-misc/away/away-0.9.5-r1.ebuild38
-rw-r--r--app-misc/away/away-0.9.5-r2.ebuild41
-rw-r--r--app-misc/away/metadata.xml5
4 files changed, 90 insertions, 0 deletions
diff --git a/app-misc/away/Manifest b/app-misc/away/Manifest
new file mode 100644
index 000000000000..c4c9fa048d09
--- /dev/null
+++ b/app-misc/away/Manifest
@@ -0,0 +1,6 @@
+DIST away-0.9.5.tar.bz2 16909 SHA256 d8ca7d4f63634b8093e90f99b4cdf99920a13ae905c61c21095c07edd9d0ec7a SHA512 9cb0ab5caf80e337ce524ec88ee0ffc5305080be807494ababd122d7c5a00b7e79711537d74d930eb3768a71a31156e9abe5e0d9d424a201a9af31aa1bbc1c2a WHIRLPOOL 436f12d6e44263c999398e58188711af4ef91162e9105e18f9262e581d7d70228fea36cd722b7db63dab519310a80534ce921c306584144bf47b9d1ff47d7491
+EBUILD away-0.9.5-r1.ebuild 846 SHA256 52ad38fbc4dcdb44f4844be3cc3af7bbf98e7a7faab4b5ecf0f6a06c85e7554b SHA512 1ed2bf3c0a588bd5400c17f71859049b2c24dccaf3f00ac4c8374cf07838542a4e8069d1874b16143ce70daf0857d63adb3677c87d4cdbeb0b4c057ce50714e4 WHIRLPOOL 1d188bafb3db6e319ed6a0fde26198a61c47253f39b3e0f04ffa63f4edf0810f6cb3fe8f18bb9071a69f4b06a357bb7e95a759f9ffb9a59000249440904a099f
+EBUILD away-0.9.5-r2.ebuild 811 SHA256 e25992a81b5303c2e31319274fbe2f22668b11daf1a2dfc36e5963c69e6ff70b SHA512 937f62d6dda240ca6e0e14264da32a19f3dd0e209f54e7ae5da85fa47ede297fa57763938d286a255c3628ec8a30ca2f8236a1ee7771ab4d2651e1b57793a67d WHIRLPOOL cb6cac27700b7a7029e857b283c50c42c438d7b691c5def925d05720488013a20a83d699b516540336574b5b0489aacdb4e3bf2d9844979247b2a8f608bbfd94
+MISC ChangeLog 2519 SHA256 1357a6c5ec0a9cafac8c304c2604be279b36290c60cf3f13c6248ca4d57cf4b9 SHA512 a4c499639d80f4c0e3b830c23b512ddb956308238856ada75714783d019cc69b89e0653d29a94ad804668ac1eb47abbe49d97ba31ffc032ba5b16757e95c4b00 WHIRLPOOL cf689fa59efa88c46d3915bf4d680dac4d8bf73e7498aceecd0f858ac356b45f11c7bed003584b950ae8c946cd4a353d5e087078b79287241e027ca7c6cdc23b
+MISC ChangeLog-2015 2278 SHA256 adc5136d1c5eb329b151c84190210ec0c77faa001bf4a15284473ade732bc10e SHA512 8f87b12ace9cec3bf5b310859f121991bcae323b806270bc77c4822854101491e9444db8024a54334cd6838ecd86a18ee2dd95c32f3dbf9a1be92121202fda8d WHIRLPOOL d17bd81dcbd21b2bea4dbd2b306a7c331a35cf513a567e7310dd35fa7b91e9be86649f6ac4b61aa67fcb80eb050f77759c291a6da78517b3d68e4a5bc3af34b1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/away/away-0.9.5-r1.ebuild b/app-misc/away/away-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..1b481dedd1b0
--- /dev/null
+++ b/app-misc/away/away-0.9.5-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit pam toolchain-funcs flag-o-matic
+
+DESCRIPTION="Terminal locking program with few additional features"
+HOMEPAGE="http://unbeatenpath.net/software/away/"
+SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/pam-0.75"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e '/-o \$(BINARY)/d' \
+ -e 's:LIBS:LDLIBS:' \
+ "${S}"/Makefile || die "Makefile fix failed"
+}
+src_compile() {
+ append-flags -pthread
+
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin away || die "dobin failed"
+
+ pamd_mimic_system away auth
+
+ doman doc/*
+ dodoc BUGS AUTHORS NEWS README TODO data/awayrc || die "dodoc failed"
+}
diff --git a/app-misc/away/away-0.9.5-r2.ebuild b/app-misc/away/away-0.9.5-r2.ebuild
new file mode 100644
index 000000000000..ed55ee02ecef
--- /dev/null
+++ b/app-misc/away/away-0.9.5-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pam toolchain-funcs flag-o-matic
+
+DESCRIPTION="Terminal locking program with few additional features"
+HOMEPAGE="http://unbeatenpath.net/software/away/"
+SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/pam-0.75"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e '/-o \$(BINARY)/d' \
+ -e 's:LIBS:LDLIBS:' \
+ "${S}"/Makefile || die "Makefile fix failed"
+
+}
+
+src_compile() {
+ append-flags -pthread
+
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin away
+
+ pamd_mimic_system away auth
+
+ doman doc/*
+ dodoc BUGS AUTHORS NEWS README TODO data/awayrc
+}
diff --git a/app-misc/away/metadata.xml b/app-misc/away/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/away/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>