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>
This commit is contained in:
K. Eugene Carlson 2022-01-30 10:35:57 +01:00 committed by Willy Sudiarto Raharjo
parent a364400cb8
commit e565555ea8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 21 additions and 19 deletions

View file

@ -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.

View file

@ -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

View file

@ -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%"

View file

@ -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