X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by lists.alpinelinux.org (Postfix) with ESMTP id 7AF995C4D60 for ; Sun, 10 Dec 2017 00:37:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1512866321; bh=FLMA6+a6cdUmhiT6kqoIlPfdYsBp5Q80V762qrf3cPc=; h=From:To:Cc:Subject:Date; b=DeLrAOBZoZ+n0ZpLQA0anMuPIE06hFQWEgVsigiRzP4DlgnbhoHH4Y7MEZm/Xuiem Uq3vZt034ZwoH3iFARU5pcNT8scoIZlD1p1ApmE98TvrvfxsFf4fGzBWSQL1uxLebq XZDz7E8gHmlG+FGbCVCnxjqMw6Q8n0ovslFcjsRs= From: Drew DeVault To: alpine-aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [alpine-aports] [PATCH] testing/doas: new aport Date: Sat, 9 Dec 2017 19:37:36 -0500 Message-Id: <20171210003736.13182-1-sir@cmpwn.com> X-Mailer: git-send-email 2.15.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/Duncaen/OpenDoas OpenBSD's temporary privledge escalation tool --- testing/doas/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ testing/doas/doas.conf | 4 ++++ 2 files changed, 38 insertions(+) create mode 100644 testing/doas/APKBUILD create mode 100644 testing/doas/doas.conf diff --git a/testing/doas/APKBUILD b/testing/doas/APKBUILD new file mode 100644 index 0000000000..844afc568e --- /dev/null +++ b/testing/doas/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Drew DeVault +pkgname=doas +pkgver=6.0 +pkgrel=0 +pkgdesc="OpenBSD's temporary privledge escalation tool" +url="https://github.com/Duncaen/OpenDoas" +arch="all" +license="BSD" +makedepends="bison" +subpackages="$pkgname-doc" +source=" + $pkgname-$pkgver.tar.gz::https://github.com/Duncaen/OpenDoas/archive/v6.0.tar.gz + doas.conf +" +builddir="$srcdir/OpenDoas-$pkgver" +options="$options !check suid" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --enable-static \ + --without-pam || return 1 + make +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" + install -Dm440 "$srcdir"/doas.conf "$pkgdir"/etc/doas.conf +} + +sha512sums="2bf5e00895a45d87785e7a494a1506844afd843ef5375e0b0e3795ebc24712bb941c6feeb87e426e41a240d40aca9b4c099f77220745bb7142a7a4b303441f60 doas-6.0.tar.gz +5035ae91293953b292c430334e949e11e5b482c5c91c7f018ac8286a791568a3006499649f487547a262291c0968618522fbc14acb5e2faa2af52accf15bbc49 doas.conf" diff --git a/testing/doas/doas.conf b/testing/doas/doas.conf new file mode 100644 index 0000000000..57907748ab --- /dev/null +++ b/testing/doas/doas.conf @@ -0,0 +1,4 @@ +# see doas.conf(5) for configuration details + +# Uncomment to allow group "admin" to become root +# permit :admin -- 2.15.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---