ports/contrib (3.6): opendoas: initial commit, version 6.8.1
commit 1af9b3b52d0f59417ab23efc1c989cc115bd0ca8 Author: Tim Biermann <tbier@posteo.de> Date: Sun Jan 31 19:34:48 2021 +0000 opendoas: initial commit, version 6.8.1 diff --git a/opendoas/.footprint b/opendoas/.footprint new file mode 100644 index 000000000..6f49a8856 --- /dev/null +++ b/opendoas/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root etc/ +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 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/doas.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/doas.conf.5.gz diff --git a/opendoas/.signature b/opendoas/.signature new file mode 100644 index 000000000..4725341a0 --- /dev/null +++ b/opendoas/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF39mxfk01tFOJZJhC+3Tf8uIVFPNecuY6H3BSaodn5lyqE5MjSFIJqZyL9t+n9JhneCSXDAP5cAWGhYUe+kfGsAo= +SHA256 (Pkgfile) = 5ded75135cb0ff03448d9fba3028db0b0b541f75b1a8e1b31bb0a71cdd61c8cb +SHA256 (.footprint) = 3dbf2964462ed959de999a87267c0423bf3a30a7c37fa3d1cda0d4e074dca557 +SHA256 (opendoas-6.8.1.tar.xz) = 874fcb38ec51cadf9aa34e40dd469657af301588225d979813ad635e7eb40d46 +SHA256 (doas.pam) = 7ba3c0ddd65859b711c87f536d7c465339162caee62ff241bebadb15a85a20dd diff --git a/opendoas/Pkgfile b/opendoas/Pkgfile new file mode 100644 index 000000000..e19d8ceb7 --- /dev/null +++ b/opendoas/Pkgfile @@ -0,0 +1,20 @@ +# Description: A portable fork of the OpenBSD `doas` command +# URL: https://github.com/Duncaen/OpenDoas +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: linux-pam + +name=opendoas +version=6.8.1 +release=1 +source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/$name-$versi... + doas.pam) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --with-timestamp + make + make DESTDIR=$PKG install + install -Dm644 $SRC/doas.pam \ + $PKG/etc/pam.d/doas +} diff --git a/opendoas/doas.pam b/opendoas/doas.pam new file mode 100644 index 000000000..4723ad26c --- /dev/null +++ b/opendoas/doas.pam @@ -0,0 +1,7 @@ +# +# /etc/pam.d/doas - doas service module configuration +# + +auth include common-auth +account include common-account +session include common-session
participants (1)
-
crux@crux.nu