[arch-commits] Commit in opendoas/repos (3 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Wed Jan 26 19:46:37 UTC 2022
Date: Wednesday, January 26, 2022 @ 19:46:37
Author: alerque
Revision: 1116186
archrelease: copy trunk to community-testing-x86_64
Added:
opendoas/repos/community-testing-x86_64/
opendoas/repos/community-testing-x86_64/PKGBUILD
(from rev 1116185, opendoas/trunk/PKGBUILD)
opendoas/repos/community-testing-x86_64/opendoas.install
(from rev 1116185, opendoas/trunk/opendoas.install)
------------------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
opendoas.install | 21 +++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: opendoas/repos/community-testing-x86_64/PKGBUILD (from rev 1116185, opendoas/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-01-26 19:46:37 UTC (rev 1116186)
@@ -0,0 +1,39 @@
+# Maintainer: Ivy Foster <iff at archlinux.org>
+# Contributor: alive4ever <alive4ever at live.com>
+# Contributor: Earnest
+pkgname=opendoas
+pkgver=6.8.2
+pkgrel=1
+pkgdesc='Run commands as super user or another user'
+url='https://github.com/Duncaen/OpenDoas'
+license=(custom:ISC)
+arch=(x86_64)
+
+depends=(pam)
+provides=(doas)
+replaces=(doas)
+
+source=(
+ "https://github.com/Duncaen/OpenDoas/releases/download/v$pkgver/opendoas-$pkgver.tar.xz"
+ "https://github.com/Duncaen/OpenDoas/releases/download/v$pkgver/opendoas-$pkgver.tar.xz.sig"
+)
+install=opendoas.install
+
+backup=(etc/pam.d/doas)
+
+# checksums provided by packager. Take with a grain of salt!
+sha256sums=('4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0'
+ '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-testing-x86_64/opendoas.install (from rev 1116185, opendoas/trunk/opendoas.install)
===================================================================
--- community-testing-x86_64/opendoas.install (rev 0)
+++ community-testing-x86_64/opendoas.install 2022-01-26 19:46:37 UTC (rev 1116186)
@@ -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