From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E922A1396D0 for ; Fri, 11 Aug 2017 21:12:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3297C1FC052; Fri, 11 Aug 2017 21:12:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0ED9D1FC052 for ; Fri, 11 Aug 2017 21:12:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1AFB3416E4 for ; Fri, 11 Aug 2017 21:12:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BBF73E99 for ; Fri, 11 Aug 2017 21:12:35 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1502485918.99ba4dbeb1a0ad95e7c9483c4720fdc633c96d68.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/away/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/away/away-0.9.5-r2.ebuild X-VCS-Directories: app-misc/away/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 99ba4dbeb1a0ad95e7c9483c4720fdc633c96d68 X-VCS-Branch: master Date: Fri, 11 Aug 2017 21:12:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e7865dce-5533-4ba7-a543-57b9957792b1 X-Archives-Hash: c9206a33a8ee8d0f10e1235da7dca427 commit: 99ba4dbeb1a0ad95e7c9483c4720fdc633c96d68 Author: Amy Liffey gentoo org> AuthorDate: Fri Aug 11 21:11:58 2017 +0000 Commit: Amy Liffey gentoo org> CommitDate: Fri Aug 11 21:11:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ba4dbe app-misc/away: EAPI 6 bump Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-misc/away/away-0.9.5-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) 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 00000000000..ed55ee02ece --- /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 +}