summaryrefslogtreecommitdiffstats
path: root/system/opendoas/opendoas.SlackBuild
diff options
context:
space:
mode:
author K. Eugene Carlson <kvngncrlsn@gmail.com>2022-01-30 10:35:57 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-02 11:23:16 +0700
commite565555ea8ef93f28175415bd15af62dd05d2071 (patch)
tree2f1adc2e041f37cd3c746dbb9b46234823cda180 /system/opendoas/opendoas.SlackBuild
parenta364400cb821127389fcb3a63c97ed187c439590 (diff)
downloadslackbuilds-e565555ea8ef93f28175415bd15af62dd05d2071.tar.gz
slackbuilds-e565555ea8ef93f28175415bd15af62dd05d2071.tar.xz
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/opendoas.SlackBuild')
-rw-r--r--system/opendoas/opendoas.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/system/opendoas/opendoas.SlackBuild b/system/opendoas/opendoas.SlackBuild
index 6606982e3b..fbe7c85302 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