From 5d154adcdd7f13e62530bd453241d994e0be0772 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 4 Feb 2020 09:55:46 +0300 Subject: opendoas: add new package at 6.6.1 to extra --- extra/opendoas/build | 13 +++++++++++++ extra/opendoas/checksums | 2 ++ extra/opendoas/depends | 1 + extra/opendoas/files/doas.conf | 12 ++++++++++++ extra/opendoas/sources | 2 ++ extra/opendoas/version | 1 + 6 files changed, 31 insertions(+) create mode 100755 extra/opendoas/build create mode 100644 extra/opendoas/checksums create mode 100644 extra/opendoas/depends create mode 100644 extra/opendoas/files/doas.conf create mode 100644 extra/opendoas/sources create mode 100644 extra/opendoas/version (limited to 'extra/opendoas') diff --git a/extra/opendoas/build b/extra/opendoas/build new file mode 100755 index 00000000..d660c7e3 --- /dev/null +++ b/extra/opendoas/build @@ -0,0 +1,13 @@ +#!/bin/sh -e + +# shellcheck disable=SC2016 +sed -i '/chown ${BINOWN}:${BINGRP}/d' bsd.prog.mk + +./configure \ + --enable-static \ + --without-pam + +make +make DESTDIR="$1" install + +install -D doas.conf "$1/etc/doas.conf" diff --git a/extra/opendoas/checksums b/extra/opendoas/checksums new file mode 100644 index 00000000..faf20cde --- /dev/null +++ b/extra/opendoas/checksums @@ -0,0 +1,2 @@ +baf5a2c73116781519cf03b5b9147eee8db69e8b052eaa81caf093107226b4fe v6.6.1.tar.gz +7ebf857644207debd1a626dcdbf5cd057e0121bca649dac07b4ff86c4790fdf0 doas.conf diff --git a/extra/opendoas/depends b/extra/opendoas/depends new file mode 100644 index 00000000..bccf6175 --- /dev/null +++ b/extra/opendoas/depends @@ -0,0 +1 @@ +bison make diff --git a/extra/opendoas/files/doas.conf b/extra/opendoas/files/doas.conf new file mode 100644 index 00000000..674ed193 --- /dev/null +++ b/extra/opendoas/files/doas.conf @@ -0,0 +1,12 @@ +# Set rules here. +# Priority increases with linenumber. +# See doas.conf(5) for details. + + + +# KEEP THIS AT THE BOTTOM + +# Select one of the following. `keepenv` does not preserve HOME, which is +# necessary for kiss to find packages built by non-root +permit keepenv setenv { HOME } :wheel cmd kiss +#permit nopass keepenv setenv { HOME } :wheel cmd kiss diff --git a/extra/opendoas/sources b/extra/opendoas/sources new file mode 100644 index 00000000..05f1a65a --- /dev/null +++ b/extra/opendoas/sources @@ -0,0 +1,2 @@ +https://github.com/Duncaen/OpenDoas/archive/v6.6.1.tar.gz +files/doas.conf diff --git a/extra/opendoas/version b/extra/opendoas/version new file mode 100644 index 00000000..a367d970 --- /dev/null +++ b/extra/opendoas/version @@ -0,0 +1 @@ +6.6 1 -- cgit v1.2.3