Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7f3166e9998f7d222acf8b9a16b6a53452a34976)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7f3166e9998f7d222acf8b9a16b6a53452a34976)
  • Date: Sat, 30 Jan 2021 03:05:42 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
security/opendoas/BUILD | 3 +++
security/opendoas/CONFIGURE | 3 +++
security/opendoas/DEPENDS | 6 ++++++
security/opendoas/DETAILS | 17 +++++++++++++++++
security/opendoas/HISTORY | 3 +++
security/opendoas/INSTALL | 4 ++++
security/opendoas/PRE_BUILD | 6 ++++++
security/opendoas/configs | 1 +
security/opendoas/doas.example.conf | 5 +++++
security/opendoas/opendoas.gpg |binary
11 files changed, 51 insertions(+)

New commits:
commit 7f3166e9998f7d222acf8b9a16b6a53452a34976
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

opendoas: new spell, portable fork of the OpenBSD doas command

diff --git a/ChangeLog b/ChangeLog
index 24a2324..e179cba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2021-01-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * security/opendoas: new spell, portable fork of the OpenBSD doas
command
+
2021-01-29 Ismael Luceno <ismael AT sourcemage.org>
* chat-irc/ngircd: new spell, lightweight Internet Relay Chat server

diff --git a/security/opendoas/BUILD b/security/opendoas/BUILD
new file mode 100755
index 0000000..a37a9e9
--- /dev/null
+++ b/security/opendoas/BUILD
@@ -0,0 +1,3 @@
+OPTS="${OPENDOAS_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/security/opendoas/CONFIGURE b/security/opendoas/CONFIGURE
new file mode 100755
index 0000000..bd13cb2
--- /dev/null
+++ b/security/opendoas/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option OPENDOAS_OPTS "Enable timestamp (persist feature)
support?" n \
+ "--with-timestamp" \
+ "--without-timestamp"
diff --git a/security/opendoas/DEPENDS b/security/opendoas/DEPENDS
new file mode 100755
index 0000000..e4893bd
--- /dev/null
+++ b/security/opendoas/DEPENDS
@@ -0,0 +1,6 @@
+depends shadow &&
+
+optional_depends linux-pam \
+ "--with-pam" \
+ "--without-pam" \
+ "for PAM support"
diff --git a/security/opendoas/DETAILS b/security/opendoas/DETAILS
new file mode 100755
index 0000000..1bbced2
--- /dev/null
+++ b/security/opendoas/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=opendoas
+ VERSION=6.8.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.sig
+
SOURCE_URL[0]=https://github.com/Duncaen/OpenDoas/releases/download/v${VERSION}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL}.sig
+ SOURCE_GPG=opendoas.gpg:${SOURCE2}:UPSTREAM_KEY
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/Duncaen/OpenDoas
+ LICENSE[0]=ISC
+ ENTERED=20210129
+ SHORT="portable fork of the OpenBSD doas command"
+cat << EOF
+doas is a minimal replacement for the venerable sudo. It was initially
written
+by Ted Unangst of the OpenBSD project to provide 95% of the features of sudo
+with a fraction of the codebase.
+EOF
diff --git a/security/opendoas/HISTORY b/security/opendoas/HISTORY
new file mode 100644
index 0000000..f0c327d
--- /dev/null
+++ b/security/opendoas/HISTORY
@@ -0,0 +1,3 @@
+2021-01-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, {PRE_,}BUILD, CONFIGURE, INSTALL, configs,
+ opendoas.gpg, doas.example.conf: created spell, version 6.8.1
diff --git a/security/opendoas/INSTALL b/security/opendoas/INSTALL
new file mode 100755
index 0000000..4d3f2f3
--- /dev/null
+++ b/security/opendoas/INSTALL
@@ -0,0 +1,4 @@
+default_install &&
+
+install -vm 0440 -g wheel "${SPELL_DIRECTORY}/doas.example.conf" \
+ "${INSTALL_ROOT}/etc/doas.example.conf"
diff --git a/security/opendoas/PRE_BUILD b/security/opendoas/PRE_BUILD
new file mode 100755
index 0000000..31895cb
--- /dev/null
+++ b/security/opendoas/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+sedit "/--help|/ a\ --infodir) : ;;" configure &&
+sedit "/--help|/ a\ --localstatedir) : ;;" configure &&
+sedit "s:/etc/examples/doas.conf:/etc/doas.example.conf:" doas.conf.5
diff --git a/security/opendoas/configs b/security/opendoas/configs
new file mode 100644
index 0000000..f30dc95
--- /dev/null
+++ b/security/opendoas/configs
@@ -0,0 +1 @@
+^/etc/doas.example.conf$
diff --git a/security/opendoas/doas.example.conf
b/security/opendoas/doas.example.conf
new file mode 100644
index 0000000..dc8fa2e
--- /dev/null
+++ b/security/opendoas/doas.example.conf
@@ -0,0 +1,5 @@
+# Configuration sample file for doas(1).
+# See doas.conf(5) for syntax and examples.
+
+# Allow wheel by default
+permit keepenv :wheel
diff --git a/security/opendoas/opendoas.gpg b/security/opendoas/opendoas.gpg
new file mode 100644
index 0000000..3c19927
Binary files /dev/null and b/security/opendoas/opendoas.gpg differ



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7f3166e9998f7d222acf8b9a16b6a53452a34976), Vlad Glagolev, 01/29/2021

Archive powered by MHonArc 2.6.24.

Top of Page