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 90D73138DB0 for ; Sat, 15 Oct 2016 15:14:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47923E0BE1; Sat, 15 Oct 2016 15:14:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B435E0BE1 for ; Sat, 15 Oct 2016 15:14:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 199383412B7 for ; Sat, 15 Oct 2016 15:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E58292F3 for ; Sat, 15 Oct 2016 15:14:00 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1476544281.40ac03c6a01b8cfac6c5a5335fcc6786dfd22a3a.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/doas/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/doas/Manifest app-admin/doas/doas-6.0.ebuild app-admin/doas/metadata.xml X-VCS-Directories: app-admin/doas/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 40ac03c6a01b8cfac6c5a5335fcc6786dfd22a3a X-VCS-Branch: master Date: Sat, 15 Oct 2016 15:14:00 +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: 650971d7-1f85-4e95-8d51-020df42e93b1 X-Archives-Hash: ecde5965633d989d2e0ea1063ad9c7ae commit: 40ac03c6a01b8cfac6c5a5335fcc6786dfd22a3a Author: Felix Janda posteo de> AuthorDate: Fri Oct 14 23:18:23 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sat Oct 15 15:11:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ac03c6 app-admin/doas: new package. doas allows to run programs as another user, and is a lightweight alternative to sys-apps/sudo. Gentoo-Bug: https://bugs.gentoo.org/597010 Closes: https://github.com/gentoo/gentoo/pull/2560 Signed-off-by: Patrice Clement gentoo.org> app-admin/doas/Manifest | 1 + app-admin/doas/doas-6.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ app-admin/doas/metadata.xml | 15 +++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/app-admin/doas/Manifest b/app-admin/doas/Manifest new file mode 100644 index 00000000..2c56823 --- /dev/null +++ b/app-admin/doas/Manifest @@ -0,0 +1 @@ +DIST OpenDoas-6.0.tar.gz 28482 SHA256 59b5ce734591e0e5142f9cb27aaa56a4d5ce470d1f7ad85e9679cd91d2dd2058 SHA512 2bf5e00895a45d87785e7a494a1506844afd843ef5375e0b0e3795ebc24712bb941c6feeb87e426e41a240d40aca9b4c099f77220745bb7142a7a4b303441f60 WHIRLPOOL 037154c8aa81dd33a253a7d8837183d9cd4652ad1a333c1a8771a31cb31fc4721fdcdfc29c786c4bb9f011a61ef978b8e04e75336ea4628673405a68b3a2b839 diff --git a/app-admin/doas/doas-6.0.ebuild b/app-admin/doas/doas-6.0.ebuild new file mode 100644 index 00000000..5469c66 --- /dev/null +++ b/app-admin/doas/doas-6.0.ebuild @@ -0,0 +1,40 @@ +# 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" + +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_with pam) \ + || die +} diff --git a/app-admin/doas/metadata.xml b/app-admin/doas/metadata.xml new file mode 100644 index 00000000..90a63f8 --- /dev/null +++ b/app-admin/doas/metadata.xml @@ -0,0 +1,15 @@ + + + + + felix.janda@posteo.de + Felix Janda + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Duncaen/OpenDoas + +