[arch-commits] Commit in opendoas/repos (3 files)
Ivy Foster
escondida at archlinux.org
Sun Nov 24 01:03:15 UTC 2019
Date: Sunday, November 24, 2019 @ 01:03:15
Author: escondida
Revision: 532417
archrelease: copy trunk to community-x86_64
Added:
opendoas/repos/community-x86_64/
opendoas/repos/community-x86_64/PKGBUILD
(from rev 532416, opendoas/trunk/PKGBUILD)
opendoas/repos/community-x86_64/opendoas.install
(from rev 532416, opendoas/trunk/opendoas.install)
------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
opendoas.install | 21 +++++++++++++++++++++
2 files changed, 55 insertions(+)
Copied: opendoas/repos/community-x86_64/PKGBUILD (from rev 532416, opendoas/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-11-24 01:03:15 UTC (rev 532417)
@@ -0,0 +1,34 @@
+# Maintainer: Ivy Foster <iff at archlinux.org>
+# Contributor: alive4ever <alive4ever at live.com>
+# Contributor: Earnest
+pkgname=opendoas
+pkgver=6.6
+pkgrel=1
+pkgdesc='Run commands as super user or another user'
+arch=(x86_64)
+url='https://github.com/Duncaen/OpenDoas'
+license=(custom:ISC)
+depends=(pam)
+install=opendoas.install
+source=(
+ "https://github.com/Duncaen/OpenDoas/releases/download/v$pkgver/opendoas-$pkgver.tar.gz"
+ "https://github.com/Duncaen/OpenDoas/releases/download/v$pkgver/opendoas-$pkgver.tar.gz.sig"
+)
+# checksums provided by packager. Take with a grain of salt!
+sha256sums=(
+ 71cdac90c5d4b4ac0679ea51b91edba38cccbce952877533cb5a392749d5f422
+ SKIP
+)
+validpgpkeys=(C4B6FBA98211F7EFF35DEB73335C1D17EC3D6E35)
+
+build() {
+ cd "opendoas-$pkgver"
+ ./configure --prefix=/usr --with-timestamp
+ make
+}
+
+package() {
+ cd "opendoas-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/opendoas/LICENSE"
+}
Copied: opendoas/repos/community-x86_64/opendoas.install (from rev 532416, opendoas/trunk/opendoas.install)
===================================================================
--- community-x86_64/opendoas.install (rev 0)
+++ community-x86_64/opendoas.install 2019-11-24 01:03:15 UTC (rev 532417)
@@ -0,0 +1,21 @@
+post_install() {
+ cat <<EOF
+To allow members of the wheel group to run commands as other users,
+create the file /etc/doas.conf with the following content:
+
+ permit :wheel
+
+Refer to doas(1) and doas.conf(5) for more information.
+
+An important notice from README.md:
+
+ The persist feature is disabled by default [....] This feature
+ is new and potentially dangerous, in the original doas, a
+ kernel API is used to set and clear timeouts. This API is
+ openbsd specific and no similar API is available on other
+ operating systems.
+
+ As a workaround, the persist feature is implemented using
+ timestamp files similar to sudo.
+EOF
+}
More information about the arch-commits
mailing list