ports/contrib (refs/remotes/origin/3.6): [notify] doas: deleted for security reasons, see https://Ï€.duncano.de/slicer69-doas.html and https://github.com/slicer69/doas/pull/46 for example; use opendoas

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:57 UTC 2021


commit de517451d0301177a92406e2031a6ac36d1fdc26
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jan 31 19:17:55 2021 +0000

    [notify] doas: deleted for security reasons, see https://Ï€.duncano.de/slicer69-doas.html and https://github.com/slicer69/doas/pull/46 for example; use opendoas

diff --git a/doas/.footprint b/doas/.footprint
deleted file mode 100644
index ffe617d06..000000000
--- a/doas/.footprint
+++ /dev/null
@@ -1,15 +0,0 @@
-drwxr-xr-x	root/root	etc/
--rw-r--r--	root/root	etc/doas.conf
-drwxr-xr-x	root/root	etc/pam.d/
--rw-r--r--	root/root	etc/pam.d/doas
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/bin/
--rwsr-xr-x	root/root	usr/bin/doas
--rwxr-xr-x	root/root	usr/bin/vidoas
-drwxr-xr-x	root/root	usr/man/
-drwxr-xr-x	root/root	usr/man/man1/
--rw-r--r--	root/root	usr/man/man1/doas.1.gz
-drwxr-xr-x	root/root	usr/man/man5/
--rw-r--r--	root/root	usr/man/man5/doas.conf.5.gz
-drwxr-xr-x	root/root	usr/man/man8/
--rw-r--r--	root/root	usr/man/man8/vidoas.8.gz
diff --git a/doas/.signature b/doas/.signature
deleted file mode 100644
index 06ae115f3..000000000
--- a/doas/.signature
+++ /dev/null
@@ -1,7 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37A9XKFY4VfqzW4O+5aEQjHJ4Mn1zK9qtFW6iIx6C/LqMe+HjlVeZzqcsQC2gD5NhdBVm7hvk1uT5XROw6l7+A4=
-SHA256 (Pkgfile) = 3775e1eacf97669de2bdc70352fe482e74752f35f12e0ffaadcd09f71cbd241e
-SHA256 (.footprint) = 2e5f69e214da00311dacf013cf86e9b8ae6f8b2eeea56cb1c0eb4da674808829
-SHA256 (doas-6.3p4.tar.gz) = e6dff62c7e38f8002ac0936f636432c52cf767f01ba703bf8723456b3c43e6de
-SHA256 (doas-pam) = 8cec7d05c6c04c293ed6639de88abf5bcc99ccf261aab19212d197c53ca62c92
-SHA256 (doas.conf) = 1f28802fad6ae0eaa5b94bb8d945ada923631ddfb7ae63e934962dbe41774976
diff --git a/doas/Pkgfile b/doas/Pkgfile
deleted file mode 100644
index 328c001ba..000000000
--- a/doas/Pkgfile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Description: A port of OpenBSD's doas
-# URL: https://github.com/slicer69/doas
-# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: linux-pam
-
-name=doas
-version=6.3p4
-release=2
-source=(https://github.com/slicer69/doas/archive/$version/$name-$version.tar.gz
-  #shamelessly grabbed from archs aur
-  doas-pam doas.conf)
-
-build() {
-  cd $name-$version
-  make PREFIX=/usr \
-    SYSCONFDIR=/etc
-  make PREFIX=/usr \
-    SYSCONFDIR=/etc \
-    DESTDIR=$PKG \
-    install
-  install -Dm644 $SRC/doas.conf $PKG/etc/doas.conf
-  install -Dm644 $SRC/doas-pam $PKG/etc/pam.d/doas
-}
diff --git a/doas/doas-pam b/doas/doas-pam
deleted file mode 100644
index 31e986c83..000000000
--- a/doas/doas-pam
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# /etc/pam.d/doas - doas pam configuration
-#
-
-auth       include    common-auth
-account    include    common-account
-session    include    common-session
diff --git a/doas/doas.conf b/doas/doas.conf
deleted file mode 100644
index 818e1040a..000000000
--- a/doas/doas.conf
+++ /dev/null
@@ -1,43 +0,0 @@
-## Sample configuration file for doas
-## Please see doas.conf manual page for information on setting
-## up a doas.conf file.
-##
-## This file should be edited using `vidoas` to prevent syntax errors
-##
-## doas.conf is read from top to bottom, and the last matching rule
-## will be used
-
-## This file defines which users should (not) be allowed to use doas
-
-## Allow root user to use doas:
-permit root
-## alternatively: permit 0
-
-## Allow members of the wheel group to use doas (note the colon):
-# permit :wheel
-
-## Deny user malloy to use doas:
-# deny malloy
-
-## Allow alice to 'doas' bob:
-# permit alice as bob
-
-## Deny Bob to run pacman:
-# deny bob cmd pacman
-
-# Allow Bob to update packages using pacman
-# allow bob cmd /usr/bin/pacman -Syu
-
-## If a command without path is specified,
-## the command will be searched in
-## usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-## (not PATH).
-
-## Allow Bob to update packages without entering his pasword:
-# allow nopass bob cmd /usr/bin/pacman -Syu
-
-## Maintain the user's environment:
-# allow keepenv alice
-## Variables may also be set using setenv { \
-##     PKG_CACHE RELEASE_DIR=/var/local/ \
-## }


More information about the crux-commits mailing list