tapp-admin/doas: Add 6.0 - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 2c65674433e4a96f19e085dacc4c3b98dca1c0ee DIR parent 2cdff3e666340f0c94600249e89b5de4d3b95a7d HTML Author: parazyd <parazyd@dyne.org> Date: Sat, 29 Oct 2016 00:48:40 +0200 app-admin/doas: Add 6.0 Diffstat: A app-admin/doas/Manifest | 1 + A app-admin/doas/doas-6.0.ebuild | 41 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 0 deletions(-) --- DIR diff --git a/app-admin/doas/Manifest b/app-admin/doas/Manifest t@@ -0,0 +1 @@ +DIST OpenDoas-6.0.tar.gz 28482 SHA256 59b5ce734591e0e5142f9cb27aaa56a4d5ce470d1f7ad85e9679cd91d2dd2058 SHA512 2bf5e00895a45d87785e7a494a1506844afd843ef5375e0b0e3795ebc24712bb941c6feeb87e426e41a240d40aca9b4c099f77220745bb7142a7a4b303441f60 WHIRLPOOL 037154c8aa81dd33a253a7d8837183d9cd4652ad1a333c1a8771a31cb31fc4721fdcdfc29c786c4bb9f011a61ef978b8e04e75336ea4628673405a68b3a2b839 DIR diff --git a/app-admin/doas/doas-6.0.ebuild b/app-admin/doas/doas-6.0.ebuild t@@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Run commands as super user or another user, alternative to sudo from OpenBSD" + +MY_PN=OpenDoas +MY_P=${MY_PN}-${PV} +HOMEPAGE="https://github.com/Duncaen/OpenDoas" +SRC_URI="https://github.com/Duncaen/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="pam static" + +RDEPEND="pam? ( virtual/pam )" +DEPEND="${RDEPEND} + virtual/yacc" + +src_prepare() +{ + default + sed -i 's/-Werror //' Makefile || die +} + +src_configure() +{ + tc-export CC AR + ./configure \ + --prefix="${EPREFIX}"/usr \ + --sysconfdir="${EPREFIX}"/etc \ + $(use_enable static) \ + $(use_with pam) \ + || die +}