Skip to Content.
Sympa Menu

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

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 (ec27673d50a6a3b1b09dd4d6b8cec369eaf6fe4e)
  • Date: Tue, 29 Mar 2022 04:38:53 +0000

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

security/opendoas/CONFIGURE | 4 +++-
security/opendoas/CONFLICTS | 3 +++
security/opendoas/HISTORY | 2 ++
security/opendoas/INSTALL | 6 +++++-
security/opendoas/PROVIDES | 1 +
utils/sudo/HISTORY | 3 +++
utils/sudo/PROVIDES | 1 +
7 files changed, 18 insertions(+), 2 deletions(-)

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

opendoas: enable sudo symlink

commit 2a7c548899c8bacf2fb70bf16eb012f9afecf490
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sudo: provides SUDO

diff --git a/security/opendoas/CONFIGURE b/security/opendoas/CONFIGURE
index bd13cb2..a20f6fd 100755
--- a/security/opendoas/CONFIGURE
+++ b/security/opendoas/CONFIGURE
@@ -1,3 +1,5 @@
config_query_option OPENDOAS_OPTS "Enable timestamp (persist feature)
support?" n \
"--with-timestamp" \
- "--without-timestamp"
+ "--without-timestamp" &&
+
+config_query SUDO_SYMLINK "Would you like to have /usr/bin/sudo as a symlink
to /usr/bin/doas?" n
diff --git a/security/opendoas/CONFLICTS b/security/opendoas/CONFLICTS
new file mode 100755
index 0000000..d3d5e81
--- /dev/null
+++ b/security/opendoas/CONFLICTS
@@ -0,0 +1,3 @@
+if [[ $SUDO_SYMLINK == y ]]; then
+ conflicts SUDO
+fi
diff --git a/security/opendoas/HISTORY b/security/opendoas/HISTORY
index b8fd3de..5076422 100644
--- a/security/opendoas/HISTORY
+++ b/security/opendoas/HISTORY
@@ -1,5 +1,7 @@
2022-03-28 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 6.8.2
+ * CONFIGURE, INSTALL: add sudo symlink option
+ * CONFLICTS, PROVIDES: SUDO

2021-01-29 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS, DETAILS, {PRE_,}BUILD, CONFIGURE, INSTALL, configs,
diff --git a/security/opendoas/INSTALL b/security/opendoas/INSTALL
index 4d3f2f3..00a7f3d 100755
--- a/security/opendoas/INSTALL
+++ b/security/opendoas/INSTALL
@@ -1,4 +1,8 @@
default_install &&

install -vm 0440 -g wheel "${SPELL_DIRECTORY}/doas.example.conf" \
- "${INSTALL_ROOT}/etc/doas.example.conf"
+ "${INSTALL_ROOT}/etc/doas.example.conf" &&
+
+if [[ $SUDO_SYMLINK == y ]]; then
+ ln -vsf "${TRACK_ROOT}/usr/bin/doas" "${INSTALL_ROOT}/usr/bin/sudo"
+fi
diff --git a/security/opendoas/PROVIDES b/security/opendoas/PROVIDES
new file mode 100755
index 0000000..f53bbc4
--- /dev/null
+++ b/security/opendoas/PROVIDES
@@ -0,0 +1 @@
+SUDO
diff --git a/utils/sudo/HISTORY b/utils/sudo/HISTORY
index c7d6571..b2f2fc0 100644
--- a/utils/sudo/HISTORY
+++ b/utils/sudo/HISTORY
@@ -1,3 +1,6 @@
+2022-03-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * PROVIDES: added
+
2021-03-20 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 1.9.6

diff --git a/utils/sudo/PROVIDES b/utils/sudo/PROVIDES
new file mode 100755
index 0000000..f53bbc4
--- /dev/null
+++ b/utils/sudo/PROVIDES
@@ -0,0 +1 @@
+SUDO



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ec27673d50a6a3b1b09dd4d6b8cec369eaf6fe4e), Vlad Glagolev, 03/29/2022

Archive powered by MHonArc 2.6.24.

Top of Page