Setting UID_MAX 65535. Setting GID_MAX 65535. Checking for explicit_bzero ... yes. Checking for strlcat ... no. Checking for strlcpy ... no. Checking for errc ... no. Checking for verrc ... no. Checking for setprogname ... no. Checking for readpassphrase ... no. Checking for strtonum ... no. Checking for reallocarray ... yes. Checking for execvpe ... yes. Checking for setresuid ... yes. Checking for setresgid ... yes. Checking for setreuid ... yes. Checking for setregid ... yes. Checking for closefrom ... no. Checking for sysconf ... yes. Checking for dirfd ... yes. Checking for fcntl_h ... yes. Checking for F_CLOSEM ... no. Checking for dirent_h ... yes. Checking for sys_ndir_h ... no. Checking for sys_dir_h ... yes. Checking for ndir_h ... no. Checking for login_cap_h ... no. Checking for __attribute__ ... yes. Checking for pam_appl_h ... yes. Using auth method pam. Using persist method none. heel group to act as root with doas. Consult the doas.conf(5) man page for further details. The parameter "keepenv" in /etc/doas.conf allows for opening graphical applications with doas: permit keepenv gene as root "exec dbus-launch --exit-with-session" may be required for xinit in Slackware 14.2. An alternative is to run "export $(dbus-launch)" after 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 support if PAM is installed. Password persistence is disabled by default. To enable timestamp-based password persistence, call the SlackBuild with PERSIST=yes: PERSIST=yes ./opendoas.SlackBuild In addition, ensure that the appropriate user or group line in /etc/doas.conf includes the "persist" option, as in this example: permit persist jane as root Please note that upstream considers timestamp-based password persistence to be "new and potentially dangerous." For users with PAM installed, enable shadow authentication instead by calling the SlackBuild with PAM=no: PAM=no ./opendoas.SlackBuild If /etc/pam.d/other and /etc/pam.d/system-auth are unmodified from the state in which they are shipped in -current, doas will run with PAM support if so compiled. Otherwise, doas may require a dedicated file at /etc/pam.d/doas to use PAM authentication. To allow OpenDoas to write a new PAM configuration file for doas, call the SlackBuild with PAM_FILE=yes: PAM_FILE=yes ./opendoas.SlackBuild 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 or 15.0 and adds no users or groups. opendoas conflicts with all other ports of doas. OpenDoas-6.8.2/ OpenDoas-6.8.2/.git-author-conv-file OpenDoas-6.8.2/.gitignore OpenDoas-6.8.2/GNUmakefile OpenDoas-6.8.2/LICENSE OpenDoas-6.8.2/README.md OpenDoas-6.8.2/configure OpenDoas-6.8.2/doas.1 OpenDoas-6.8.2/doas.c OpenDoas-6.8.2/doas.conf.5 OpenDoas-6.8.2/doas.h OpenDoas-6.8.2/env.c OpenDoas-6.8.2/libopenbsd/ OpenDoas-6.8.2/libopenbsd/bsd-setres_id.c OpenDoas-6.8.2/libopenbsd/closefrom.c OpenDoas-6.8.2/libopenbsd/errc.c OpenDoas-6.8.2/libopenbsd/execvpe.c OpenDoas-6.8.2/libopenbsd/explicit_bzero.c OpenDoas-6.8.2/libopenbsd/openbsd.h OpenDoas-6.8.2/libopenbsd/progname.c OpenDoas-6.8.2/libopenbsd/readpassphrase.c OpenDoas-6.8.2/libopenbsd/reallocarray.c OpenDoas-6.8.2/libopenbsd/strlcat.c OpenDoas-6.8.2/libopenbsd/strlcpy.c OpenDoas-6.8.2/libopenbsd/strtonum.c OpenDoas-6.8.2/libopenbsd/sys-readpassphrase.h OpenDoas-6.8.2/libopenbsd/sys-time.h OpenDoas-6.8.2/libopenbsd/sys-tree.h OpenDoas-6.8.2/libopenbsd/verrc.c OpenDoas-6.8.2/pam.c OpenDoas-6.8.2/pam.d__doas__darwin OpenDoas-6.8.2/pam.d__doas__linux OpenDoas-6.8.2/parse.y OpenDoas-6.8.2/shadow.c OpenDoas-6.8.2/timestamp.c yacc parse.y mv -f y.tab.c parse.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o parse.o parse.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o doas.o doas.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o env.o env.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/strlcat.o libopenbsd/strlcat.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/strlcpy.o libopenbsd/strlcpy.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/errc.o libopenbsd/errc.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/verrc.o libopenbsd/verrc.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/progname.o libopenbsd/progname.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/readpassphrase.o libopenbsd/readpassphrase.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/strtonum.o libopenbsd/strtonum.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o libopenbsd/closefrom.o libopenbsd/closefrom.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o pam.o pam.c cc -I. -Ilibopenbsd -O2 -march=i586 -mtune=i686 -Wall -Wextra -D__linux__ -D_DEFAULT_SOURCE -D_GNU_SOURCE parse.o doas.o env.o libopenbsd/strlcat.o libopenbsd/strlcpy.o libopenbsd/errc.o libopenbsd/verrc.o libopenbsd/progname.o libopenbsd/readpassphrase.o libopenbsd/strtonum.o libopenbsd/closefrom.o pam.o -o doas -lpam rm parse.c mkdir -p -m 0755 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/bin [ -n "pam.d__doas__linux" ] && mkdir -p -m 0755 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/etc/pam.d || true mkdir -p -m 0755 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/man/man1 mkdir -p -m 0755 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/man/man5 cp -f doas /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/bin chown root:root /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/bin/doas chmod 4755 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/bin/doas [ -n "pam.d__doas__linux" ] && cp pam.d__doas__linux /usr/src/slapt-src-i486/system/opendoas/package-opendoas/etc/pam.d/doas || true [ -n "pam.d__doas__linux" ] && chmod 0644 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/etc/pam.d/doas || true cp -f doas.1 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/man/man1 cp -f doas.conf.5 /usr/src/slapt-src-i486/system/opendoas/package-opendoas/usr/man/man5 Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/system/opendoas/opendoas-6.8.2-i586-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/doas usr/doc/ usr/doc/opendoas-6.8.2/ usr/doc/opendoas-6.8.2/LICENSE usr/doc/opendoas-6.8.2/README.md usr/doc/opendoas-6.8.2/opendoas.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/doas.1.gz usr/man/man5/ usr/man/man5/doas.conf.5.gz Slackware package /usr/src/slapt-src-i486/system/opendoas/opendoas-6.8.2-i586-1salix15.0.txz created. Installing package opendoas-6.8.2-i586-1salix15.0... | opendoas (port of doas from OpenBSD) | | doas is a sudo alternative originally written for OpenBSD. It allows | a user to run a command as a different user, most often root. doas | offers simple configuration syntax; create a config file at | /etc/doas.conf to get started. See doas.conf(5). | | | Author: Ted Unangst | Port author: Duncan Overbruck | https://github.com/Duncaen/OpenDoas | |