opendoas: Move to extra

This commit is contained in:
Dylan Araps 2020-01-30 15:49:33 +02:00
parent f8b28be371
commit 806c863b39
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
6 changed files with 35 additions and 0 deletions

15
extra/opendoas/build Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh -e
sed -i '/chown/d' bsd.prog.mk
sed -i 's/111/755/' Makefile
./configure \
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
make DESTDIR="$1" install
install -D doas.conf "$1/etc/doas.conf"

2
extra/opendoas/checksums Normal file
View File

@ -0,0 +1,2 @@
83ca7e6d75b834f0a03604a4e5dd3879534de5ab8e75b36bbe169b53666f8ec8 v6.6.tar.gz
282258ae49d7959002c6c8a93958b3b4bf0c5f647fdeb67d605af27af1535632 doas.conf

1
extra/opendoas/depends Normal file
View File

@ -0,0 +1 @@
bison make

View File

@ -0,0 +1,14 @@
# Set rules here.
# Priority increases with linenumber.
# See doas.conf(5) for details.
# KEEP THIS AT THE BOTTOM.
# Select one of the following. The commented lines allow kiss to run
# without requiring a password.
permit keepenv setenv { HOME KISS_PATH KISS_FORCE } :wheel cmd kiss
permit :wheel cmd git args pull
# permit nopass keepenv setenv { HOME KISS_PATH KISS_FORCE } :wheel cmd kiss
# permit nopass :wheel cmd git args pull

2
extra/opendoas/sources Normal file
View File

@ -0,0 +1,2 @@
https://github.com/Duncaen/OpenDoas/archive/v6.6.tar.gz
files/doas.conf

1
extra/opendoas/version Normal file
View File

@ -0,0 +1 @@
6.6 1