aboutsummaryrefslogtreecommitdiff
path: root/system/opendoas
diff options
context:
space:
mode:
authorK. Eugene Carlson <kvngncrlsn@gmail.com>2022-01-30 10:35:57 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-02 11:23:16 +0700
commite565555ea8ef93f28175415bd15af62dd05d2071 (patch)
tree2f1adc2e041f37cd3c746dbb9b46234823cda180 /system/opendoas
parenta364400cb821127389fcb3a63c97ed187c439590 (diff)
system/opendoas: Updated for version 6.8.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/opendoas')
-rw-r--r--system/opendoas/README11
-rw-r--r--system/opendoas/opendoas.SlackBuild19
-rw-r--r--system/opendoas/opendoas.info6
-rw-r--r--system/opendoas/slack-desc4
4 files changed, 21 insertions, 19 deletions
diff --git a/system/opendoas/README b/system/opendoas/README
index 2e57141ec121..bdee92b29c6c 100644
--- a/system/opendoas/README
+++ b/system/opendoas/README
@@ -28,7 +28,7 @@ starting the X session. As with su, KDE 4 graphical applications may
fail to open with doas.
Running this SlackBuild without parameters will provide a build of
-OpenDoas with shadow support if PAM is not installed, and with PAM
+OpenDoas with shadow support if PAM is not installed, and with PAM
support if PAM is installed. Password persistence is disabled by
default.
@@ -60,8 +60,9 @@ the SlackBuild with PAM_FILE=yes:
PAM_FILE=yes ./opendoas.SlackBuild
-Upstream will not include PAM configuration files in releases of
-OpenDoas beyond 6.8.1.
+Upstream is unlikely to include PAM configuration files in releases of
+OpenDoas beyond 6.8.2.
-opendoas has no outside dependencies on Slackware 14.2 and adds no
-users or groups. opendoas conflicts with all other ports of doas.
+opendoas has no outside dependencies on Slackware 14.2 or 15.0 and
+adds no users or groups. opendoas conflicts with all other ports of
+doas.
diff --git a/system/opendoas/opendoas.SlackBuild b/system/opendoas/opendoas.SlackBuild
index 6606982e3b45..fbe7c85302d0 100644
--- a/system/opendoas/opendoas.SlackBuild
+++ b/system/opendoas/opendoas.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for opendoas
-# Copyright 2021 K. Eugene Carlson Tsukuba, Japan
+# Copyright 2021-2022 K. Eugene Carlson Tsukuba, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=opendoas
-VERSION=${VERSION:-6.8.1}
+SRCNAM=OpenDoas
+VERSION=${VERSION:-6.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,7 +41,7 @@ unset SHADOW
# Use PAM=no to enable shadow authentication even on systems with PAM
# installed. If shadow is not set, then doas will compile with PAM support
# automatically if PAM is installed.
-[ ${PAM:-yes} = no ] && SHADOW="--with-shadow"
+[ ${PAM:-yes} = no ] && SHADOW="--without-pam"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -81,9 +82,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,7 +95,7 @@ find -L . \
# Pass in shadow support if PAM is not installed. OpenDoas defaults to PAM
# authentication otherwise.
if [ ! -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
- SHADOW="--with-shadow"
+ SHADOW="--without-pam"
fi
# Passing BUILD from the command line otherwise causes the build to fail (the
@@ -138,9 +139,9 @@ if [ -f "$PKG/etc/pam.d/doas" ]; then
fi
# Delete the new configuration file and its directory if PAM_FILE=yes was not
-# used. For Slackware -current users, doas can use PAM authentication provided
-# that /etc/pam.d/other and /etc/pam.d/system-auth have not been altered from
-# the state in which they are shipped. Writing new PAM configuration files was
+# used. For Slackware 15.0 users, doas can use PAM authentication provided that
+# /etc/pam.d/other and /etc/pam.d/system-auth have not been altered from the
+# state in which they are shipped. Writing new PAM configuration files was
# deprecated after the current release of OpenDoas. To allow OpenDoas to write
# a configuration file anyway, use PAM_FILE=yes.
[ ${PAM_FILE:-no} != yes ] && rm -rf $PKG/etc
diff --git a/system/opendoas/opendoas.info b/system/opendoas/opendoas.info
index 19ab89a1822d..a8d1f27a76ac 100644
--- a/system/opendoas/opendoas.info
+++ b/system/opendoas/opendoas.info
@@ -1,8 +1,8 @@
PRGNAM="opendoas"
-VERSION="6.8.1"
+VERSION="6.8.2"
HOMEPAGE="https://github.com/Duncaen/opendoas"
-DOWNLOAD="https://github.com/Duncaen/OpenDoas/releases/download/v6.8.1/opendoas-6.8.1.tar.gz"
-MD5SUM="c174a9e39ce6d526a1db16f214d0e127"
+DOWNLOAD="https://github.com/Duncaen/OpenDoas/archive/v6.8.2/opendoas-6.8.2.tar.gz"
+MD5SUM="f31c3ae51307f28df45d4e3445842560"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
diff --git a/system/opendoas/slack-desc b/system/opendoas/slack-desc
index 272e764f6a1a..46fac914eff8 100644
--- a/system/opendoas/slack-desc
+++ b/system/opendoas/slack-desc
@@ -12,8 +12,8 @@ opendoas: doas is a sudo alternative originally written for OpenBSD. It allows
opendoas: a user to run a command as a different user, most often root. doas
opendoas: offers simple configuration syntax; create a config file at
opendoas: /etc/doas.conf to get started. See doas.conf(5).
-opendoas: The opendoas package conflicts with all other ports of doas.
-opendoas: The opendoas package does not conflict with sudo.
+opendoas:
+opendoas:
opendoas: Author: Ted Unangst
opendoas: Port author: Duncan Overbruck
opendoas: https://github.com/Duncaen/OpenDoas