head 1.33; access; symbols pkgsrc-2018Q2:1.32.0.22 pkgsrc-2018Q2-base:1.32 pkgsrc-2018Q1:1.32.0.20 pkgsrc-2018Q1-base:1.32 pkgsrc-2017Q4:1.32.0.18 pkgsrc-2017Q4-base:1.32 pkgsrc-2017Q3:1.32.0.16 pkgsrc-2017Q3-base:1.32 pkgsrc-2017Q2:1.32.0.12 pkgsrc-2017Q2-base:1.32 pkgsrc-2017Q1:1.32.0.10 pkgsrc-2017Q1-base:1.32 pkgsrc-2016Q4:1.32.0.8 pkgsrc-2016Q4-base:1.32 pkgsrc-2016Q3:1.32.0.6 pkgsrc-2016Q3-base:1.32 pkgsrc-2016Q2:1.32.0.4 pkgsrc-2016Q2-base:1.32 pkgsrc-2016Q1:1.32.0.2 pkgsrc-2016Q1-base:1.32 pkgsrc-2015Q4:1.30.0.24 pkgsrc-2015Q4-base:1.30 pkgsrc-2015Q3:1.30.0.22 pkgsrc-2015Q3-base:1.30 pkgsrc-2015Q2:1.30.0.20 pkgsrc-2015Q2-base:1.30 pkgsrc-2015Q1:1.30.0.18 pkgsrc-2015Q1-base:1.30 pkgsrc-2014Q4:1.30.0.16 pkgsrc-2014Q4-base:1.30 pkgsrc-2014Q3:1.30.0.14 pkgsrc-2014Q3-base:1.30 pkgsrc-2014Q2:1.30.0.12 pkgsrc-2014Q2-base:1.30 pkgsrc-2014Q1:1.30.0.10 pkgsrc-2014Q1-base:1.30 pkgsrc-2013Q4:1.30.0.8 pkgsrc-2013Q4-base:1.30 pkgsrc-2013Q3:1.30.0.6 pkgsrc-2013Q3-base:1.30 pkgsrc-2013Q2:1.30.0.4 pkgsrc-2013Q2-base:1.30 pkgsrc-2013Q1:1.30.0.2 pkgsrc-2013Q1-base:1.30 pkgsrc-2012Q4:1.29.0.6 pkgsrc-2012Q4-base:1.29 pkgsrc-2012Q3:1.29.0.4 pkgsrc-2012Q3-base:1.29 pkgsrc-2012Q2:1.29.0.2 pkgsrc-2012Q2-base:1.29 pkgsrc-2012Q1:1.28.0.6 pkgsrc-2012Q1-base:1.28 pkgsrc-2011Q4:1.28.0.4 pkgsrc-2011Q4-base:1.28 pkgsrc-2011Q3:1.28.0.2 pkgsrc-2011Q3-base:1.28 pkgsrc-2011Q2:1.27.0.2 pkgsrc-2011Q2-base:1.27 pkgsrc-2011Q1:1.26.0.2 pkgsrc-2011Q1-base:1.26 pkgsrc-2010Q4:1.25.0.4 pkgsrc-2010Q4-base:1.25 pkgsrc-2010Q3:1.25.0.2 pkgsrc-2010Q3-base:1.25 pkgsrc-2010Q2:1.23.0.2 pkgsrc-2010Q2-base:1.23 pkgsrc-2010Q1:1.22.0.4 pkgsrc-2010Q1-base:1.22 pkgsrc-2009Q4:1.22.0.2 pkgsrc-2009Q4-base:1.22 pkgsrc-2009Q3:1.21.0.4 pkgsrc-2009Q3-base:1.21 pkgsrc-2009Q2:1.21.0.2 pkgsrc-2009Q2-base:1.21 pkgsrc-2009Q1:1.20.0.2 pkgsrc-2009Q1-base:1.20 pkgsrc-2008Q4:1.19.0.12 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.10 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.8 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.6 pkgsrc-2008Q2-base:1.19 cwrapper:1.19.0.4 pkgsrc-2008Q1:1.19.0.2 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.16.0.2 pkgsrc-2007Q4-base:1.16 pkgsrc-2007Q3:1.15.0.2 pkgsrc-2007Q3-base:1.15 pkgsrc-2007Q2:1.13.0.2 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.12.0.22 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.12.0.20 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.18 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.16 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.14 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.12 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.12.0.10 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.12.0.8 pkgsrc-2005Q2-base:1.12 pkgsrc-2005Q1:1.12.0.6 pkgsrc-2005Q1-base:1.12 pkgsrc-2004Q4:1.12.0.4 pkgsrc-2004Q4-base:1.12 pkgsrc-2004Q3:1.12.0.2 pkgsrc-2004Q3-base:1.12 pkgsrc-2004Q2:1.10.0.6 pkgsrc-2004Q2-base:1.10 pkgsrc-2004Q1:1.10.0.4 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-4-PATCH001:1.5 netbsd-1-4-RELEASE:1.4 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1997-11-18:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.33 date 2018.08.14.13.18.38; author adam; state dead; branches; next 1.32; commitid QfXOoS0gE3fUD5OA; 1.32 date 2016.01.09.11.22.12; author adam; state Exp; branches; next 1.31; commitid BJlnSDfFd8wntfQy; 1.31 date 2016.01.01.17.00.49; author spz; state Exp; branches; next 1.30; commitid GNUG4kFUncQWyfPy; 1.30 date 2013.03.01.14.24.58; author kim; state Exp; branches 1.30.24.1; next 1.29; 1.29 date 2012.05.16.14.49.56; author taca; state Exp; branches 1.29.6.1; next 1.28; 1.28 date 2011.09.18.14.18.25; author ryoon; state Exp; branches 1.28.6.1; next 1.27; 1.27 date 2011.06.19.15.54.55; author taca; state Exp; branches; next 1.26; 1.26 date 2011.03.22.14.52.08; author taca; state Exp; branches; next 1.25; 1.25 date 2010.09.21.03.05.27; author taca; state Exp; branches; next 1.24; 1.24 date 2010.09.10.17.11.27; author spz; state Exp; branches; next 1.23; 1.23 date 2010.04.16.15.33.52; author taca; state Exp; branches 1.23.2.1; next 1.22; 1.22 date 2009.12.20.07.46.32; author taca; state Exp; branches 1.22.4.1; next 1.21; 1.21 date 2009.05.21.03.42.49; author taca; state Exp; branches; next 1.20; 1.20 date 2009.02.05.13.48.12; author taca; state Exp; branches; next 1.19; 1.19 date 2008.03.29.14.16.58; author taca; state Exp; branches 1.19.12.1; next 1.18; 1.18 date 2008.03.11.15.52.51; author taca; state Exp; branches; next 1.17; 1.17 date 2008.01.03.23.17.48; author rillig; state Exp; branches; next 1.16; 1.16 date 2007.10.28.02.05.44; author taca; state Exp; branches; next 1.15; 1.15 date 2007.08.18.15.09.13; author taca; state Exp; branches; next 1.14; 1.14 date 2007.07.23.16.38.36; author tls; state Exp; branches; next 1.13; 1.13 date 2007.06.26.15.05.50; author jlam; state Exp; branches; next 1.12; 1.12 date 2004.08.24.17.31.48; author cube; state Exp; branches; next 1.11; 1.11 date 2004.08.23.21.15.17; author xtraeme; state Exp; branches; next 1.10; 1.10 date 2003.05.03.18.27.46; author jmmv; state Exp; branches; next 1.9; 1.9 date 2003.04.01.16.07.21; author wiz; state dead; branches; next 1.8; 1.8 date 2000.08.10.16.57.33; author thorpej; state Exp; branches; next 1.7; 1.7 date 2000.08.10.02.25.30; author thorpej; state Exp; branches; next 1.6; 1.6 date 99.08.31.19.26.41; author jlam; state dead; branches; next 1.5; 1.5 date 99.05.09.14.10.27; author frueauf; state Exp; branches; next 1.4; 1.4 date 98.12.13.11.34.32; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.09.28.13.10.07; author frueauf; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.13.51; author agc; state Exp; branches; next 1.1; 1.1 date 97.12.14.23.27.01; author hubertf; state Exp; branches 1.1.1.1; next ; 1.30.24.1 date 2016.01.26.19.52.04; author bsiegert; state Exp; branches; next 1.30.24.2; commitid 5xabgCjwAjCpKtSy; 1.30.24.2 date 2016.01.26.20.45.45; author bsiegert; state Exp; branches; next ; commitid 9DQEWu94QpBP2uSy; 1.29.6.1 date 2013.03.05.10.30.39; author tron; state Exp; branches; next ; 1.28.6.1 date 2012.05.19.10.42.03; author tron; state Exp; branches; next ; 1.23.2.1 date 2010.09.11.17.24.16; author tron; state Exp; branches; next ; 1.22.4.1 date 2010.04.17.08.34.13; author spz; state Exp; branches; next ; 1.19.12.1 date 2009.02.05.17.00.25; author tron; state Exp; branches; next ; 1.1.1.1 date 97.12.14.23.27.01; author hubertf; state Exp; branches; next ; desc @@ 1.33 log @sudo: updated to 1.8.23 Sudo 1.8.23 * PAM account management modules and BSD auto approval modules are now run even when no password is required. * For kernel-based time stamps, if no terminal is present, fall back to parent-pid style time stamps. * The new cvtsudoers utility replaces both the "sudoers2ldif" script and the "visudo -x" functionality. It can read a file in either sudoers or LDIF format and produce JSON, LDIF or sudoers output. It is also possible to filter the generated output file by user, group or host name. * The file, ldap and sss sudoers backends now share a common set of formatting functions for "sudo -l" output, which is also used by the cvtsudoers utility. * The /run directory is now used in preference to /var/run if it exists. * More accurate descriptions of the --with-rundir and --with-vardir configure options. * The setpassent() and setgroupent() functions are now used on systems that support them to keep the passwd and group database open. Sudo performs a lot of passwd and group lookups so it can be beneficial to avoid opening and closing the files each time. * The new case_insensitive_user and case_insensitive_group sudoers options can be used to control whether sudo does case-sensitive matching of users and groups in sudoers. Case insensitive matching is now the default. * Fixed a bug on some systems where sudo could hang on command exit when I/O logging was enabled. * Fixed the build-time process start time test on Linux when the test is run from within a container. * When determining which temporary directory to use, sudoedit now checks the directory for writability before using it. Previously, sudoedit only performed an existence check. * Sudo now includes an optional set of Monty Python-inspired insults. * Fixed the execution of scripts with an associated digest (checksum) in sudoers on FreeBSD systems. FreeBSD does not have a proper /dev/fd directory mounted by default and its fexecve(2) is not fully POSIX compliant when executing scripts. * Chinese (Taiwan) translation for sudo from translationproject.org. @ text @$NetBSD: patch-aa,v 1.32 2016/01/09 11:22:12 adam Exp $ * Don't setuid here. --- Makefile.in.orig 2015-10-31 23:35:07.000000000 +0000 +++ Makefile.in @@@@ -63,7 +63,8 @@@@ SHELL = @@SHELL@@ SED = @@SED@@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c -INSTALL_OWNER = -o $(install_uid) -g $(install_gid) +#INSTALL_OWNER = -o $(install_uid) -g $(install_gid) +INSTALL_OWNER = ECHO_N = @@ECHO_N@@ ECHO_C = @@ECHO_C@@ @@@@ -129,7 +130,7 @@@@ install-doc: config.status ChangeLog exit $$?; \ done -install: config.status ChangeLog pre-install install-nls +install: config.status ChangeLog install-nls for d in $(SUBDIRS); do \ (cd $$d && exec $(MAKE) "INSTALL_OWNER=$(INSTALL_OWNER)" $@@) && continue; \ exit $$?; \ @ 1.32 log @Add nls as an option, but also fix builds where system gettext gets detected and used. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.31 2016/01/01 17:00:49 spz Exp $ @ 1.31 log @Update to 1.8.15, which fixes CVE-2015-5602, a symlink vulnerability in sudoedit. Note that it's a fairly large step and the package has only been tested on NetBSD and there may be further breakage. Testing on non-NetBSD would be appreciated. Upstream changelog: Major changes between version 1.8.15 and 1.8.14p3: Fixed a bug that prevented sudo from building outside the source tree on some platforms. Bug #708. Fixed the location of the sssd library in the RHEL/Centos packages. Bug #710. Fixed a build problem on systems that don't implicitly include sys/types.h from other header files. Bug #711. Fixed a problem on Linux using containers where sudo would ignore signals sent by a process in a different container. Sudo now refuses to run a command if the PAM session module returns an error. When editing files with sudoedit, symbolic links will no longer be followed by default. The old behavior can be restored by enabling the sudoedit_follow option in sudoers or on a per-command basis with the FOLLOW and NOFOLLOW tags. Bug #707. Fixed a bug introduced in version 1.8.14 that caused the last valid editor in the sudoers "editor" list to be used by visudo and sudoedit instead of the first. Bug #714. Fixed a bug in visudo that prevented the addition of a final newline to edited files without one. Fixed a bug decoding certain base64 digests in sudoers when the intermediate format included a '=' character. Individual records are now locked in the time stamp file instead of the entire file. This allows sudo to avoid prompting for a password multiple times on the same terminal when used in a pipeline. In other words, sudo cat foo | sudo grep bar now only prompts for the password once. Previously, both sudo processes would prompt for a password, often making it impossible to enter. Bug #705. Fixed a bug where sudo would fail to run commands as a non-root user on systems that lack both setresuid() and setreuid(). Bug #713. Fixed a bug introduced in sudo 1.8.14 that prevented visudo from re-editing the correct file when a syntax error was detected. Fixed a bug where sudo would not relay a SIGHUP signal to the command when the terminal is closed and the command is not run in its own pseudo-tty. Bug #719. If some, but not all, of the LOGNAME, USER or USERNAME environment variables have been preserved from the invoking user's environment, sudo will now use the preserved value to set the remaining variables instead of using the runas user. This ensures that if, for example, only LOGNAME is present in the env_keep list, that sudo will not set USER and USERNAME to the runas user. When the command sudo is running dies due to a signal, sudo will now send itself that same signal with the default signal handler installed instead of exiting. The bash shell appears to ignore some signals, e.g. SIGINT, unless the command being run is killed by that signal. This makes the behavior of commands run under sudo the same as without sudo when bash is the shell. Bug #722. Slovak translation for sudo from translationproject.org. Hungarian and Slovak translations for sudoers from translationproject.org. Previously, when env_reset was enabled (the default) and the -s option was not used, the SHELL environment variable was set to the shell of the invoking user. Now, when env_reset is enabled and the -s option is not used, SHELL is set based on the target user. Fixed challenge/response style BSD authentication. Added the sudoedit_checkdir Defaults option to prevent sudoedit from editing files located in a directory that is writable by the invoking user. Added the always_query_group_plugin Defaults option to control whether groups not found in the system group database are passed to the group plugin. Previously, unknown system groups were always passed to the group plugin. When creating a new file, sudoedit will now check that the file's parent directory exists before running the editor. Fixed the compiler stack protector test in configure for compilers that support -fstack-protector but don't actually have the ssp library available. Major changes between version 1.8.14p3 and 1.8.14p2: Fixed a bug introduced in sudo 1.8.14p2 that prevented sudo from working when no tty was present. Bug #706. Fixed tty detection on newer AIX systems where dev_t is 64-bit. Major changes between version 1.8.14p2 and 1.8.14p1: Fixed a bug introduced in sudo 1.8.14 that prevented the lecture file from being created. Bug #704. Major changes between version 1.8.14p1 and 1.8.14: Fixed a bug introduced in sudo 1.8.14 that prevented the sssd backend from working. Bug #703. Major changes between version 1.8.14 and 1.8.13: Log messages on Mac OS X now respect sudoers_locale when sudo is build with NLS support. The sudo manual pages now pass mandoc -Tlint with no warnings. Fixed a compilation problem on systems with the sig2str() function that do not define SIG2STR_MAX in signal.h. Worked around a compiler bug that resulted in unexpected behavior when returning an int from a function declared to return bool without an explicit cast. Worked around a bug in Mac OS X 10.10 BSD auditing where the au_preselect() fails for AUE_sudo events but succeeds for AUE_DARWIN_sudo. Fixed a hang on Linux systems with glibc when sudo is linked with jemalloc. When the user runs a command as a user ID that is not present in the password database via the -u flag, the command is now run with the group ID of the invoking user instead of group ID 0. Fixed a compilation problem on systems that don't pull in definitions of uid_t and gid_t without sys/types.h or unistd.h. Fixed a compilation problem on newer AIX systems which use a struct st_timespec for time stamps in struct stat that differs from struct timespec. Bug #702. The example directory is now configurable via --with-exampledir and defaults to DATAROOTDIR/examples/sudo on BSD systems. The /usr/lib/tmpfiles.d/sudo.conf file is now installed as part of "make install" when systemd is in use. Fixed a linker problem on some systems with libintl. Bug #690. Fixed compilation with compilers that don't support __func__ or __FUNCTION__. Sudo no longer needs to uses weak symbols to support localization in the warning functions. A registration function is used instead. Fixed a setresuid() failure in sudoers on Linux kernels where uid changes take the nproc resource limit into account. Fixed LDAP netgroup queries on AIX. Sudo will now display the custom prompt on Linux systems with PAM even if the "Password: " prompt is not localized by the PAM module. Bug #701. Double-quoted values in an LDAP sudoOption are now supported for consistency with file-based sudoers. Fixed a bug that prevented the btime entry in /proc/stat from being parsed on Linux. Major changes between version 1.8.13 and 1.8.12: The examples directory is now a subdirectory of the doc dir to conform to Debian guidelines. Bug #682. Fixed a compilation error for siglist.c and signame.c on some systems. Bug #686. Weak symbols are now used for sudo_warn_gettext() and sudo_warn_strerror() in libsudo_util to avoid link errors when -Wl,--no-undefined is used in LDFLAGS. The --disable-weak-symbols configure option can be used to disable the user of weak symbols. Fixed a bug in sudo's mkstemps() replacement function that prevented the file extension from being preserved in sudoedit. A new mail_all_cmnds sudoers flag will send mail when a user runs a command (or tries to). The behavior of the mail_always flag has been restored to always send mail when sudo is run. New MAIL and NOMAIL command tags have been added to toggle mail sending behavior on a per-command (or Cmnd_Alias) basis. Fixed matching of empty passwords when sudo is configured to use passwd (or shadow) file authentication on systems where the crypt() function returns NULL for invalid salts. On AIX, sudo now uses the value of the auth_type setting in /etc/security/login.cfg to determine whether to use LAM or PAM for user authentication. The all setting for listpw and verifypw now works correctly with LDAP and sssd sudoers. The sudo timestamp directory is now created at boot time on platforms that use systemd. Sudo will now restore the value of the SIGPIPE handler before executing the command. Sudo now uses struct timespec instead of struct timeval for time keeping when possible. If supported, sudoedit and visudo now use nanosecond granularity time stamps. Fixed a symbol name collision with systems that have their own SHA2 implementation. This fixes a problem where PAM could use the wrong SHA2 implementation on Solaris 10 systems configured to use SHA512 for passwords. The editor invoked by sudoedit once again uses an unmodified copy of the user's environment as per the documentation. This was inadvertantly changed in sudo 1.8.0. Bug #688. Major changes between version 1.8.12 and 1.8.11p2: The embedded copy of zlib has been upgraded to version 1.2.8 and is now installed as a shared library where supported. Debug settings for the sudo front end and sudoers plugin are now configured separately. Multiple sudo.conf Debug entries may now be specified per program (or plugin). The plugin API has been extended such that the path to the plugin that was loaded is now included in the settings array. This path can be used to register with the debugging subsystem. The debug_flags setting is now prefixed with a file name and may be specified multiple times if there is more than one matching Debug setting in sudo.conf. The sudoers regression tests now run with the locale set to C since some of the tests compare output that includes locale-specific messages. Bug #672. Fixed a bug where sudo would not run commands on Linux when compiled with audit support if audit is disabled. Bug #671. Added __BASH_FUNC< to the environment blacklist to match Apple's syntax for newer-style bash functions. The default password prompt now includes a trailing space after "Password:" for consistency with su(1) on most systems. Bug #663. Fixed a problem on DragonFly BSD where SIGCHLD could be ignored, preventing sudo from exiting. Bug #676. Visudo will now use the optional sudoers_file, sudoers_mode, sudoers_uid and sudoers_gid arguments if specified on the sudoers.so Plugin line in the sudo.conf file. Fixed a problem introduced in sudo 1.8.8 that prevented the full host name from being used when the fqdn sudoers option is used. Bug #678. French and Russian translations for sudoers from translationproject.org. Sudo now installs a handler for SIGCHLD signal handler immediately before stating the process that will execute the command (or start the monitor). The handler used to be installed earlier but this causes problems with poorly behaved PAM modules that install their own SIGCHLD signal handler and neglect to restore sudo's original handler. Bug #657. Removed a limit on the length of command line arguments expanded by a wild card using sudo's version of the fnmatch() function. This limit was introduced when sudo's version of fnmatch() was replaced in sudo 1.8.4. LDAP-based sudoers can now query an LDAP server for a user's netgroups directly. This is often much faster than fetching every sudoRole object containing a sudoUser that begins with a `+' prefix and checking whether the user is a member of any of the returned netgroups. The mail_always sudoers option no longer sends mail for sudo -l or sudo -v unless the user is unable to authenticate themselves. Fixed a crash when sudo is run with an empty argument vector. Fixed two potential crashes when sudo is run with very low resource limits. The TZ environment variable is now checked for safety instead of simply being copied to the environment of the command. This fixes a potential security issue. Major changes between version 1.8.11p2 and 1.8.11p1: Fixed a bug where dynamic shared objects loaded from a plugin could use the hooked version of getenv() but not the hooked versions of putenv(), setenv() or unsetenv(). This can cause problems for PAM modules that use those functions. Major changes between version 1.8.11p1 and 1.8.11: Fixed a compilation problem on some systems when the --disable-shared-libutil configure option was specified. The user can no longer interrupt the sleep after an incorrect password on PAM systems using pam_unix. Bug #666. Fixed a compilation problem on Linux systems that do not use PAM. Bug #667. "make install" will now work with the stock GNU autotools install-sh script. Bug #669. Fixed a crash with "sudo -i" when the current working directory does not exist. Bug #670. Fixed a potential crash in the debug subsystem when logging a message larger that 1024 bytes. Fixed a "make check" failure for ttyname when stdin is closed and stdout and stderr are redirected to a different tty. Bug #643. Added BASH_FUNC_* to environment blacklist to match newer-style bash functions. Major changes between version 1.8.11 and 1.8.10p3: The sudoers plugin no longer uses setjmp/longjmp to recover from fatal errors. All errors are now propagated to the caller via return codes. When running a command in the background, sudo will now forward SIGINFO to the command (if supported). Sudo will now use the system versions of the sha2 functions from libc or libmd if available. Visudo now works correctly on GNU Hurd. Bug #647. Fixed suspend and resume of curses programs on some system when the command is not being run in a pseudo-terminal. Bug #649. Fixed a crash with LDAP-based sudoers on some systems when Kerberos was enabled. Sudo now includes optional Solaris audit support. Catalan translation for sudoers from translationproject.org. Norwegian Bokmaal translation for sudo from translationproject.org. Greek translation for sudoers from translationproject.org The sudo source tree has been reorganized to more closely resemble that of other gettext-enabled packages. Sudo and its associated programs now link against a shared version of libsudo_util. The --disable-shared-libutil configure option may be used to force static linking if the --enable-static-sudoers option is also specified. The passwords in ldap.conf and ldap.secret may now be encoded in base64. Audit updates. SELinux role changes are now audited. For sudoedit, we now audit the actual editor being run, instead of just the sudoedit command. Fixed bugs in the man page post-processing that could cause portions of the manuals to be removed. Fixed a crash in the system_group plugin. Bug #653. Fixed sudoedit on platforms without a native version of the getprogname() function. Bug #654. Fixed compilation problems with some pre-C99 compilers. Fixed sudo's -C option which was broken in version 1.8.9. It is now possible to match an environment variable's value as well as its name using env_keep and env_check. This can be used to preserve bash functions which would otherwise be removed from the environment. New files created via sudoedit as a non-root user now have the proper group id. Bug #656. Sudoedit now works correctly in conjunction with sudo's SELinux RBAC support. Temporary files are now created with the proper security context. The sudo I/O logging plugin API has been updated. If a logging function returns an error, the command will be terminated and all of the plugin's logging functions will be disabled. If a logging function rejects the command's output it will no longer be displayed to the user's terminal. Fixed a compilation error on systems that lack openpty(), _getpty() and grantpt(). Bug #660. Fixed a hang when a sudoers source is listed more than once in a single sudoers nsswitch.conf entry. On AIX, shell scripts without a #! magic number are now passed to /usr/bin/sh, not /usr/bin/bsh. This is consistent with what the execvp() function on AIX does and matches historic sudo behavior. Bug #661. Fixed a cross-compilation problem building mksiglist and mksigname. Bug #662. Major changes between version 1.8.10p3 and 1.8.10p2: Fixed expansion of the %p escape in the prompt for "sudo -l" when rootpw, runaspw or targetpw is set. Bug #639. Fixed matching of uids and gids which was broken in version 1.8.9. Bug #640. PAM credential initialization has been re-enabled. It was unintentionally disabled by default in version 1.8.8. The way credentials are initialized has also been fixed. Bug #642. Fixed a descriptor leak on Linux when determing boot time. Sudo normally closes extra descriptors before running a command so the impact is limited. Bug #645. Fixed flushing of the last buffer of data when I/O logging is enabled. This bug, introduced in version 1.8.9, could cause incomplete command output on some systems. Bug #646. Major changes between version 1.8.10p2 and 1.8.10p1: Fixed a hang introduced in sudo 1.8.10 when timestamp_timeout is set to zero. Bug #638. Major changes between version 1.8.10p1 and 1.8.10: Fixed a bug introduced in sudo 1.8.10 that prevented the disabling of tty-based tickets. Fixed a bug with netgated commands in "sudo -l command" that could cause the command to be listed even when it was explicitly denied. This only affected list mode when a command was specified. Bug #636. Major changes between version 1.8.10 and 1.8.9p5: It is now possible to disable network interface probing in sudo.conf by changing the value of the probe_interfaces setting. When listing a user's privileges (sudo -l), the sudoers plugin will now prompt for the user's password even if the targetpw, rootpw or runaspw options are set. The sudoers plugin uses a new format for its time stamp files. Each user now has a single file which may contain multiple records when per-tty time stamps are in use (the default). The time stamps use a monotonic timer where available and are once again located in a directory under /var/run. The lecture status is now stored separately from the time stamps in a different directory. Bug #616. sudo's -K option will now remove all of the user's time stamps, not just the time stamp for the current terminal. The -k option can be used to only disable time stamps for the current terminal. If sudo was started in the background and needed to prompt for a password, it was not possible to suspend it at the password prompt. This now works properly. LDAP-based sudoers now uses a default search filter of (objectClass=sudoRole) for more efficient queries. The netgroup query has been modified to avoid falling below the minimum length for OpenLDAP substring indices. The new use_netgroups sudoers option can be used to explicitly enable or disable netgroups support. For LDAP-based sudoers, netgroup support requires an expensive substring match on the server. If netgroups are not needed, this option can be disabled to reduce the load on the LDAP server. Sudo is once again able to open the sudoers file when the group on sudoers doesn't match the expected value, so long as the file is not group writable. Sudo now installs an init.d script to clear the time stamp directory at boot time on AIX and HP-UX systems. These systems either lack /var/run or do not clear it on boot. The JSON format used by visudo -x now properly supports the negation operator. In addition, the Options object is now the same for both Defaults and Cmnd_Specs. Czech and Serbian translations for sudoers from translationproject.org. Catalan translation for sudo from translationproject.org. Major changes between version 1.8.9p5 and 1.8.9p4: Fixed a compilation error on AIX when LDAP support is enabled. Fixed parsing of the "umask" defaults setting in sudoers. Bug #632. Fixed a failed assertion when the "closefrom_override" defaults setting is enabled in sudoers and sudo's -C flag is used. Bug #633. Major changes between version 1.8.9p4 and 1.8.9p3: Fixed a bug where sudo could consume large amounts of CPU while the command was running when I/O logging is not enabled. Bug #631. Fixed a bug where sudo would exit with an error when the debug level is set to util@@debug or all@@debug and I/O logging is not enabled. The command would continue runnning after sudo exited. Major changes between version 1.8.9p3 and 1.8.9p2: Fixed a bug introduced in sudo 1.8.9 that prevented the tty name from being resolved properly on Linux systems. Bug #630. Major changes between version 1.8.9p2 and 1.8.9p1: Updated config.guess, config.sub and libtool to support the ppc64le architecture (IBM PowerPC Little Endian). Major changes between version 1.8.9p1 and 1.8.9: Fixed a problem with gcc 4.8's handling of bit fields that could lead to the noexec flag being enabled even when it was not explicitly set. Major changes between version 1.8.9 and 1.8.8: Reworked sudo's main event loop to use a simple event subsystem using poll(2) or select(2) as the back end. It is now possible to statically compile the sudoers plugin into the sudo binary without disabling shared library support. The sudo.conf file may still be used to configure other plugins. Sudo can now be compiled again with a C preprocessor that does not support variadic macros. Visudo can now export a sudoers file in JSON format using the new -x flag. The locale is now set correctly again for visudo and sudoreplay. The plugin API has been extended to allow the plugin to exclude specific file descriptors from the closefrom range. There is now a workaround for a Solaris-specific problem where NOEXEC was overriding traditional root DAC behavior. Add user netgroup filtering for SSSD. Previously, rules for a netgroup were applied to all even when they did not belong to the specified netgroup. On systems with BSD login classes, if the user specified a group (not a user) to run the command as, it was possible to specify a different login class even when the command was not run as the super user. The closefrom() emulation on Mac OS X now uses /dev/fd if possible. Fixed a bug where sudoedit would not update the original file from the temporary when PAM or I/O logging is not enabled. When recycling I/O logs, the log files are now truncated properly. Fixes bugs #617, #621, #622, #623, #624, #625, #626 Major changes between version 1.8.8 and 1.8.7: Removed a warning on PAM systems with stacked auth modules where the first module on the stack does not succeed. Sudo, sudoreplay and visudo now support GNU-style long options. The -h (--host) option may now be used to specify a host name. This is currently only used by the sudoers plugin in conjunction with the -l (--list) option. Program usage messages and manual SYNOPSIS sections have been simplified. Sudo's LDAP SASL support now works properly with Kerberos. Previously, the SASL library was unable to locate the user's credential cache. It is now possible to set the nproc resource limit to unlimited via pam_limits on Linux (bug #565). New pam_service and pam_login_service sudoers options that can be used to specify the PAM service name to use. New pam_session and pam_setcred sudoers options that can be used to disable PAM session and credential support. The sudoers plugin now properly supports UIDs and GIDs that are larger than 0x7fffffff on 32-bit platforms. Fixed a visudo bug introduced in sudo 1.8.7 where per-group Defaults entries would cause an internal error. If the tty_tickets sudoers option is enabled (the default), but there is no tty present, sudo will now use a ticket file based on the parent process ID. This makes it possible to support the normal timeout behavior for the session. Fixed a problem running commands that change their process group and then attempt to change the terminal settings when not running the command in a pseudo-terminal. Previously, the process would receive SIGTTOU since it was effectively a background process. Sudo will now grant the child the controlling tty and continue it when this happens. The closefrom_override sudoers option may now be used in a command-specified Defaults entry (bug #610). Sudo's BSM audit support now works on Solaris 11. Brazilian Portuguese translation for sudo and sudoers from translationproject.org. Czech translation for sudo from translationproject.org. French translation for sudo from translationproject.org. Sudo's noexec support on Mac OS X 10.4 and above now uses dynamic symbol interposition instead of setting DYLD_FORCE_FLAT_NAMESPACE=1 which causes issues with some programs. Fixed visudo's -q (--quiet) flag, broken in sudo 1.8.6. Root may no longer change its SELinux role without entering a password. Fixed a bug introduced in Sudo 1.8.7 where the indexes written to the I/O log timing file are two greater than they should be. Sudoreplay now contains a work-around to parse those files. In sudoreplay's list mode, the this qualifier in fromdate or todate expressions now behaves more sensibly. Previously, it would often match a date that was "one more" than expected. For example, "this week" now matches the current week instead of the following week. Major changes between version 1.8.7 and 1.8.6p8: The non-Unix group plugin is now supported when sudoers data is stored in LDAP. Sudo now uses a workaround for a locale bug on Solaris 11.0 that prevents setuid programs like sudo from fully using locales. User messages are now always displayed in the user's locale, even when the same message is being logged or mailed in a different locale. Log files created by sudo now explicitly have the group set to group ID 0 rather than relying on BSD group semantics (which may not be the default). A new exec_background sudoers option can be used to initially run the command without read access to the terminal when running a command in a pseudo-tty. If the command tries to read from the terminal it will be stopped by the kernel (via SIGTTIN or SIGTTOU) and sudo will immediately restart it as the forground process (if possible). This allows sudo to only pass terminal input to the program if the program actually is expecting it. Unfortunately, a few poorly-behaved programs (like "su" on most Linux systems) do not handle SIGTTIN and SIGTTOU properly. Sudo now uses an efficient group query to get all the groups for a user instead of iterating over every record in the group database on HP-UX and Solaris. Sudo now produces better error messages when there is an error in the sudo.conf file. Two new settings have been added to sudo.conf to give the admin better control of how group database queries are performed. The group_source specifies how the group list for a user will be determined. Legal values are static (use the kernel groups list), dynamic (perform a group database query) and adaptive (only perform a group database query if the kernel list is full). The max_groups setting specifies the maximum number of groups a user may belong to when performing a group database query. The sudo.conf file now supports line continuation by using a backslash as the last character on the line. There is now a standalone sudo.conf manual page. Sudo now stores its libexec files in a sudo subdirectory instead of in libexec itself. For backwards compatibility, if the plugin is not found in the default plugin directory, sudo will check the parent directory if the default directory ends in /sudo. The sudoers I/O logging plugin now logs the terminal size. A new sudoers option maxseq can be used to limit the number of I/O log entries that are stored. The system_group and group_file sudoers group provider plugins are now installed by default. The list output (sudo -l) output from the sudoers plugin is now less ambiguous when an entry includes different runas users. The long list output (sudo -ll) for file-based sudoers is now more consistent with the format of LDAP-based sudoers. A uid may now be used in the sudoRunAsUser attributes for LDAP sudoers. Minor plugin API change: the close and version functions are now optional. If the policy plugin does not provide a close function and the command is not being run in a new pseudo-tty, sudo may now execute the command directly instead of in a child process. A new sudoers option pam_session can be used to disable sudo's PAM session support. On HP-UX systems, sudo will now use the pstat() function to determine the tty instead of ttyname(). Turkish translation for sudo and sudoers from translationproject.org. Dutch translation for sudo and sudoers from translationproject.org. Tivoli Directory Server client libraries may now be used with HP-UX where libibmldap has a hidden dependency on libCsup. The sudoers plugin will now ignore invalid domain names when checking netgroup membership. Most Linux systems use the string "(none)" for the NIS-style domain name instead of an empty string. New support for specifying a SHA-2 digest along with the command in sudoers. Supported hash types are sha224, sha256, sha384 and sha512. See the description of Digest_Spec in the sudoers manual or the description of sudoCommand in the sudoers.ldap manual for details. The paths to ldap.conf and ldap.secret may now be specified as arguments to the sudoers plugin in the sudo.conf file. Fixed potential false positives in visudo's alias cycle detection. Fixed a problem where the time stamp file was being treated as out of date on Linux systems where the change time on the pseudo-tty device node can change after it is allocated. Sudo now only builds Position Independent Executables (PIE) by default on Linux systems and verifies that a trivial test program builds and runs. On Solaris 11.1 and higher, sudo binaries will now have the ASLR tag enabled if supported by the linker. Major changes between version 1.8.6p8 and 1.8.6p7: Terminal detection now works properly on 64-bit AIX kernels. This was broken by the removal of the ttyname() fallback in Sudo 1.8.6p6. Sudo is now able to map an AIX 64-bit device number to the corresponding device file in /dev. Sudo now checks for crypt() returning NULL when performing passwd-based authentication. Major changes between version 1.8.6p7 and 1.8.6p6: A time stamp file with the date set to the epoch by sudo -k is now completely ignored regardless of what the local clock is set to. Previously, if the local clock was set to a value between the epoch and the time stamp timeout value, a time stamp reset by sudo -k would be considered current. This is a potential security issue. The tty-specific time stamp file now includes the session ID of the sudo process that created it. If a process with the same tty but a different session ID runs sudo, the user will now be prompted for a password (assuming authentication is required for the command). This is a potential security issue. Major changes between version 1.8.6p6 and 1.8.6p5: On systems where the controlling tty can be determined via /proc or sysctl(), sudo will no longer fall back to using ttyname() if the process has no controlling tty. This prevents sudo from using a non-controlling tty for logging and time stamp purposes. This is a potential security issue. Major changes between version 1.8.6p5 and 1.8.6p4: Fixed a potential crash in visudo's alias cycle detection. Improved performance on Solaris when retrieving the group list for the target user. On systems with a large number of groups where the group database is not local (NIS, LDAP, AD), fetching the group list could take a minute or more. Major changes between version 1.8.6p4 and 1.8.6p3: The -fstack-protector is now used when linking visudo, sudoreplay and testsudoers. Avoid building PIE binaries on FreeBSD/ia64 as they don't run properly. Fixed a crash in visudo strict mode when an unknown Defaults setting is encountered. Do not inform the user that the command was not permitted by the policy if they do not successfully authenticate. This is a regression introduced in sudo 1.8.6. Allow sudo to be build with sss support without also including ldap support. Fix running commands that need the terminal in the background when I/O logging is enabled. E.g. sudo vi &. When the command is foregrounded, it will now resume properly. Major changes between version 1.8.6p3 and 1.8.6p2: Fixed post-processing of the man pages on systems with legacy versions of sed. Fixed sudoreplay -l on Linux systems with file systems that set DT_UNKNOWN in the d_type field of struct dirent. Major changes between version 1.8.6p2 and 1.8.6p1: Fixed suspending a command after it has already been resumed once when I/O logging (or use_pty) is not enabled. This was a regression introduced in version 1.8.6. Major changes between version 1.8.6p1 and 1.8.6: Fixed the setting of LOGNAME, USER and USERNAME variables in the command's environment when env_reset is enabled (the default). This was a regression introduced in version 1.8.6. Sudo now honors SUCCESS=return in /etc/nsswitch.conf. Major changes between version 1.8.6 and 1.8.5p3: Sudo is now built with the -fstack-protector flag if the the compiler supports it. Also, the -zrelro linker flag is used if supported. The --disable-hardening configure option can be used to build sudo without stack smashing protection. Sudo is now built as a Position Independent Executable (PIE) if supported by the compiler and linker. If the user is a member of the exempt group in sudoers, they will no longer be prompted for a password even if the -k flag is specified with the command. This makes sudo -k command consistent with the behavior one would get if the user ran sudo -k immediately before running the command. The sudoers file may now be a symbolic link. Previously, sudo would refuse to read sudoers unless it was a regular file. The sudoreplay command can now properly replay sessions where no tty was present. The sudoers plugin now takes advantage of symbol visibility controls when supported by the compiler or linker. As a result, only a small number of symbols are exported which significantly reduces the chances of a conflict with other shared objects. Improved support for the Tivoli Directory Server LDAP client libraries. This includes support for using LDAP over SSL (ldaps) as well as support for the BIND_TIMELIMIT, TLS_KEY and TLS_CIPHERS ldap.conf options. A new ldap.conf option, TLS_KEYPW can be used to specify a password to decrypt the key database. When constructing a time filter for use with LDAP sudoNotBefore and sudoNotAfter attributes, the current time now includes tenths of a second. This fixes a problem with timed entries on Active Directory. If a user fails to authenticate and the command would be rejected by sudoers, it is now logged with command not allowed instead of N incorrect password attempts. Likewise, the mail_no_perms sudoers option now takes precedence over mail_badpass The sudo manuals are now formatted using the mdoc macros. Versions using the legacy man macros are provided for systems that lack mdoc. New support for Solaris privilege sets. This makes it possible to specify fine-grained privileges in the sudoers file on Solaris 10 and above. A Runas_Spec that contains no Runas_Lists can be used to give a user the ability to run a command as themselves but with an expanded privilege set. Fixed a problem with the reboot and shutdown commands on some systems (such as HP-UX and BSD). On these systems, reboot sends all processes (except itself) SIGTERM. When sudo received SIGTERM, it would relay it to the reboot process, thus killing reboot before it had a chance to actually reboot the system. Support for using the System Security Services Daemon (SSSD) as a source of sudoers data. Slovenian translation for sudo and sudoers from translationproject.org. Visudo will now warn about unknown Defaults entries that are per-host, per-user, per-runas or per-command. Fixed a race condition that could cause sudo to receive SIGTTOU (and stop) when resuming a shell that was run via sudo when I/O logging (and use_pty) is not enabled. Sending SIGTSTP directly to the sudo process will now suspend the running command when I/O logging (and use_pty) is not enabled. Major changes between version 1.8.5p3 and 1.8.5p2: Fixed the loading of I/O plugins that conform to a plugin API version older than 1.2. Major changes between version 1.8.5p2 and 1.8.5p1: Fixed use of the SUDO_ASKPASS environment variable which was broken in Sudo 1.8.5. Fixed a problem reading the sudoers file when the file mode is more restrictive than the expected mode. For example, when the expected sudoers file mode is 0440 but the actual mode is 0400. Major changes between version 1.8.5p1 and 1.8.5: Fixed a bug that prevented files in an include directory from being evaluated. Major changes between version 1.8.5 and 1.8.4p5: When "noexec" is enabled, sudo_noexec.so will now be prepended to any existing LD_PRELOAD variable instead of replacing it. The sudo_noexec.so shared library now wraps the execvpe(), exect(), posix_spawn() and posix_spawnp() functions. The user/group/mode checks on sudoers files have been relaxed. As long as the file is owned by the sudoers uid, not world-writable and not writable by a group other than the sudoers gid, the file is considered OK. Note that visudo will still set the mode to the value specified at configure time. It is now possible to specify the sudoers path, uid, gid and file mode as options to the plugin in the sudo.conf file. Croatian, Galician, German, Lithuanian, Swedish and Vietnamese translations from translationproject.org. /etc/environment is no longer read directly on Linux systems when PAM is used. Sudo now merges the PAM environment into the user's environment which is typically set by the pam_env module. The initial evironment created when env_reset is in effect now includes the contents of /etc/environment on AIX systems and the "setenv" and "path" entries from /etc/login.conf on BSD systems. The plugin API has been extended in three ways. First, options specified in sudo.conf after the plugin pathname are passed to the plugin's open function. Second, sudo has limited support for hooks that can be used by plugins. Currently, the hooks are limited to environment handling functions. Third, the init_session policy plugin function is passed a pointer to the user environment which can be updated during session setup. The plugin API version has been incremented to version 1.2. See the sudo_plugin manual for more information. The policy plugin's init_session function is now called by the parent sudo process, not the child process that executes the command. This allows the PAM session to be open and closed in the same process, which some PAM modules require. Fixed parsing of "Path askpass" and "Path noexec" in sudo.conf, which was broken in version 1.8.4. On systems with an SVR4-style /proc file system, the /proc/pid/psinfo file is now uses to determine the controlling terminal, if possible. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. The output of "sudoreplay -l" is now sorted by file name (or sequence number). Previously, entries were displayed in the order in which they were found on the file system. Sudo now behaves properly when I/O logging is enabled and the controlling terminal is revoked (e.g. the running sshd is killed). Previously, sudo may have exited without calling the I/O plugin's close function which can lead to an incomplete I/O log. Sudo can now detect when a user has logged out and back in again on Solaris 11, just like it can on Solaris 10. The built-in zlib included with Sudo has been upgraded to version 1.2.6. Setting the SSL parameter to start_tls in ldap.conf now works properly when using Mozilla-based SDKs that support the ldap_start_tls_s() function. The TLS_CHECKPEER parameter in ldap.conf now works when the Mozilla NSS crypto backend is used with OpenLDAP. A new group provider plugin, system_group, is included which performs group look ups by name using the system groups database. This can be used to restore the pre-1.7.3 sudo group lookup behavior. Major changes between version 1.8.4p5 and 1.8.4p4: Fixed a potential security issue in the matching of hosts against an IPv4 network specified in sudoers. The flaw may allow a user who is authorized to run commands on hosts belonging to one IPv4 network to run commands on a different host. Major changes between version 1.8.4p4 and 1.8.4p3: Fixed a bug introduced in Sudo 1.8.4 which prevented sudo -v from working. Major changes between version 1.8.4p3 and 1.8.4p2: Fixed a crash on FreeBSD when there is no tty present. When visudo is run with the -c (check) option, the sudoers file(s) owner and mode are now also checked unless the -f option was specified. Major changes between version 1.8.4p2 and 1.8.4p1: Fixed a bug introduced in Sudo 1.8.4 where insufficient space was allocated for group IDs in the LDAP filter. Fixed a bug introduced in Sudo 1.8.4 where the path to sudo.conf was /sudo.conf instead of etc/sudo.conf. Fixed a bug introduced in Sudo 1.8.4 which could cause a hang when I/O logging is enabled and input is from a pipe or file. Major changes between version 1.8.4p1 and 1.8.4: Fixed a bug introduced in sudo 1.8.4 that broke adding to or deleting from the env_keep, env_check and env_delete lists in sudoers on some platforms. Major changes between version 1.8.4 and 1.8.3p2: The -D flag in sudo has been replaced with a more general debugging framework that is configured in sudo.conf. Fixed a false positive in visudo strict mode when aliases are in use. Fixed a crash with sudo -i when a runas group was specified without a runas user. The line on which a syntax error is reported in the sudoers file is now more accurate. Previously it was often off by a line. Fixed a bug where stack garbage could be printed at the end of the lecture when the lecture_file option was enabled. make install now honors the LINGUAS environment variable. The #include and #includedir directives in sudoers now support relative paths. If the path is not fully qualified it is expected to be located in the same directory of the sudoers file that is including it. New Serbian and Spanish translations for sudo from translationproject.org. LDAP-based sudoers may now access by group ID in addition to group name. visudo will now fix the mode on the sudoers file even if no changes are made unless the -f option is specified. The use_loginclass sudoers option works properly again. On systems that use login.conf, sudo -i now sets environment variables based on login.conf. For LDAP-based sudoers, values in the search expression are now escaped as per RFC 4515. The plugin close function is now properly called when a login session is killed (as opposed to the actual command being killed). This can happen when an ssh session is disconnected or the terminal window is closed. The deprecated "noexec_file" sudoers option is no longer supported. Fixed a race condition when I/O logging is not enabled that could result in tty-generated signals (e.g. control-C) being received by the command twice. If none of the standard input, output or error are connected to a tty device, sudo will now check its parent's standard input, output or error for the tty name on systems with /proc and BSD systems that support the KERN_PROC_PID sysctl. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. Added the --enable-kerb5-instance configure option to allow people using Kerberos V authentication to specify a custom instance so the principal name can be, e.g. "username/sudo" similar to how ksu uses "username/root". Fixed a bug where a pattern like /usr/* included /usr/bin/ in the results, which would be incorrectly be interpreted as if the sudoers file had specified a directory. visudo -c will now list any include files that were checked in addition to the main sudoers file when everything parses OK. Users that only have read-only access to the sudoers file may now run visudo -c. Previously, write permissions were required even though no writing is down in check-only mode. It is now possible to prevent the disabling of core dumps from within sudo itself by adding a line to the sudo.conf file like Set disable_coredump false. Major changes between version 1.8.3p2 and 1.8.3p1: Fixed a format string vulnerability when the sudo binary (or a symbolic link to the sudo binary) contains printf format escapes and the -D (debugging) flag is used. Major changes between version 1.8.3p1 and 1.8.3: Fixed a crash in the monitor process on Solaris when NOPASSWD was specified or when authentication was disabled. Fixed matching of a Runas_Alias in the group section of a Runas_Spec. Major changes between version 1.8.3 and 1.8.2: Fixed expansion of strftime() escape sequences in the log_dir sudoers setting. Esperanto, Italian and Japanese translations from translationproject.org. Sudo will now use PAM by default on AIX 6 and higher. Added --enable-werror configure option for gcc's -Werror flag. Visudo no longer assumes all editors support the +linenumber command line argument. It now uses a whitelist of editors known to support the option. Fixed matching of network addresses when a netmask is specified but the address is not the first one in the CIDR block. The configure script now check whether or not errno.h declares the errno variable. Previously, sudo would always declare errno itself for older systems that don't declare it in errno.h. The NOPASSWD tag is now honored for denied commands too, which matches historic sudo behavior (prior to sudo 1.7.0). Sudo now honors the DEREF setting in ldap.conf which controls how alias dereferencing is done during an LDAP search. A symbol conflict with the pam_ssh_agent_auth PAM module that would cause a crash been resolved. The inability to load a group provider plugin is no longer a fatal error. A potential crash in the utmp handling code has been fixed. Two PAM session issues have been resolved. In previous versions of sudo, the PAM session was opened as one user and closed as another. Additionally, if no authentication was performed, the PAM session would never be closed. Sudo will now work correctly with LDAP-based sudoers using TLS or SSL on Debian systems. The LOGNAME, USER and USERNAME environment variables are preserved correctly again in sudoedit mode. Major changes between version 1.8.2 and 1.8.1p2: Sudo, visudo, sudoreplay and the sudoers plug-in now have natural language support (NLS). Sudo will use gettext(), if available, to display translated messages. This can be disabled by passing configure the --disable-nls option. All translations are coordinated via The Translation Project, translationproject.org. Sudo 1.8.2 includes translations for Basque, Chinese (simplified), Danish, Finish, Polish, Russian and Ukranian. Plug-ins are now loaded with the RTLD_GLOBAL flag instead of RTLD_LOCAL. This fixes missing symbol problems in PAM modules on certain platforms, such as FreeBSD and SuSE Linux Enterprise. I/O logging is now supported for commands run in background mode (using sudo's -b flag). Group ownership of the sudoers file is now only enforced when the file mode on sudoers allows group readability or writability. Visudo now checks the contents of an alias and warns about cycles when the alias is expanded. If the user specifes a group via sudo's -g option that matches the target user's group in the password database, it is now allowed even if no groups are present in the Runas_Spec. The sudo Makefiles now have more complete dependencies which are automatically generated instead of being maintained manually. The use_pty sudoers option is now correctly passed back to the sudo front end. This was missing in previous versions of sudo 1.8 which prevented use_pty from being honored. sudo -i command now works correctly with the bash version 2.0 and higher. Previously, the .bash_profile would not be sourced prior to running the command unless bash was built with NON_INTERACTIVE_LOGIN_SHELLS defined. When matching groups in the sudoers file, sudo will now match based on the name of the group instead of the group ID. This can substantially reduce the number of group lookups for sudoers files that contain a large number of groups. Multi-factor authentication is now supported on AIX. Added support for non-RFC 4517 compliant LDAP servers that require that seconds be present in a timestamp, such as Tivoli Directory Server. If the group vector is to be preserved, the PATH search for the command is now done with the user's original group vector. For LDAP-based sudoers, the runas_default sudoOption now works properly in a sudoRole that contains a sudoCommand. Spaces in command line arguments for sudo -s and sudo -i are now escaped with a backslash when checking the security policy. Major changes between version 1.8.1p2 and 1.8.1p1: Two-character CIDR-style IPv4 netmasks are now matched correctly in the sudoers file. A build error with MIT Kerberos V has been resolved. A crash on HP-UX in the sudoers plugin when wildcards are present in the sudoers file has been resolved. Sudo now works correctly on Tru64 Unix again. Major changes between version 1.8.1p1 and 1.8.1: Fixed a problem on AIX where sudo was unable to set the final uid if the PAM module modified the effective uid. A non-existent includedir is now treated the same as an empty directory and not reported as an error. Removed extraneous parens in LDAP filter when sudoers_search_filter is enabled that can cause an LDAP search error. Fixed a make -j problem for make install Major changes between version 1.8.1 and 1.8.0: A new LDAP setting, sudoers_search_filter, has been added to ldap.conf. This setting can be used to restrict the set of records returned by the LDAP query. Based on changes from Matthew Thomas. White space is now permitted within a User_List when used in conjunction with a per-user Defaults definition. A group ID (%#gid) may now be specified in a User_List or Runas_List. Likewise, for non-Unix groups the syntax is %:#gid. Support for double-quoted words in the sudoers file has been fixed. The change in 1.7.5 for escaping the double quote character caused the double quoting to only be available at the beginning of an entry. The fix for resuming a suspended shell in 1.7.5 caused problems with resuming non-shells on Linux. Sudo will now save the process group ID of the program it is running on suspend and restore it when resuming, which fixes both problems. A bug that could result in corrupted output in "sudo -l" has been fixed. Sudo will now create an entry in the utmp (or utmpx) file when allocating a pseudo-tty (e.g. when logging I/O). The "set_utmp" and "utmp_runas" sudoers file options can be used to control this. Other policy plugins may use the "set_utmp" and "utmp_user" entries in the command_info list. The sudoers policy now stores the TSID field in the logs even when the "iolog_file" sudoers option is defined to a value other than %{sessid}. Previously, the TSID field was only included in the log file when the "iolog_file" option was set to its default value. The sudoreplay utility now supports arbitrary session IDs. Previously, it would only work with the base-36 session IDs that the sudoers plugin uses by default. Sudo now passes "run_shell=true" to the policy plugin in the settings list when sudo's -s command line option is specified. The sudoers policy plugin uses this to implement the "set_home" sudoers option which was missing from sudo 1.8.0. The "noexec" functionality has been moved out of the sudoers policy plugin and into the sudo front-end, which matches the behavior documented in the plugin writer's guide. As a result, the path to the noexec file is now specified in the sudo.conf file instead of the sudoers file. On Solaris 10, the PRIV_PROC_EXEC privilege is now used to implement the "noexec" feature. Previously, this was implemented via the LD_PRELOAD environment variable. The exit values for "sudo -l", "sudo -v" and "sudo -l command" have been fixed in the sudoers policy plugin. The sudoers policy plugin now passes the login class, if any, back to the sudo front-end. The sudoers policy plugin was not being linked with requisite libraries in certain configurations. Sudo now parses command line arguments before loading any plugins. This allows "sudo -V" or "sudo -h" to work even if there is a problem with sudo.conf Plugins are now linked with the static version of libgcc to allow the plugin to run on a system where no shared libgcc is installed, or where it is installed in a different location. Major changes between version 1.8.0 and 1.7.5: Sudo has been refactored to use a modular framework that can support third-party policy and I/O logging plugins. The default plugin is "sudoers" which provides the traditional sudo functionality. See the sudo_plugin manual for details on the plugin API and the sample in the plugins directory for a simple example. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.30 2013/03/01 14:24:58 kim Exp $ d13 1 a13 1 +INSTALL_OWNER = "" @ 1.30 log @Upgrade to address CVE-2013-1775 What's new in Sudo 1.7.10p7? * A time stamp file with the date set to the epoch by "sudo -k" is now completely ignored regardless of what the local clock is set to. Previously, if the local clock was set to a value between the epoch and the time stamp timeout value, a time stamp reset by "sudo -k" would be considered current. What's new in Sudo 1.7.10p6? * The tty-specific time stamp file now includes the session ID of the sudo process that created it. If a process with the same tty but a different session ID runs sudo, the user will now be prompted for a password (assuming authentication is required for the command). What's new in Sudo 1.7.10p5? * On systems where the controlling tty can be determined via /proc or sysctl(), sudo will no longer fall back to using ttyname() if the process has no controlling tty. This prevents sudo from using a non-controlling tty for logging and time stamp purposes. What's new in Sudo 1.7.10? * If the user is a member of the "exempt" group in sudoers, they will no longer be prompted for a password even if the -k flag is specified with the command. This makes "sudo -k command" consistent with the behavior one would get if the user ran "sudo -k" immediately before running the command. * The sudoers file may now be a symbolic link. Previously, sudo would refuse to read sudoers unless it was a regular file. * The user/group/mode checks on sudoers files have been relaxed. As long as the file is owned by the sudoers uid, not world-writable and not writable by a group other than the sudoers gid, the file is considered OK. Note that visudo will still set the mode to the value specified at configure time. * /etc/environment is no longer read directly on Linux systems when PAM is used. Sudo now merges the PAM environment into the user's environment which is typically set by the pam_env module. * The initial evironment created when env_reset is in effect now includes the contents of /etc/environment on AIX systems and the "setenv" and "path" entries from /etc/login.conf on BSD systems. * On systems with an SVR4-style /proc file system, the /proc/pid/psinfo file is now uses to determine the controlling terminal, if possible. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. * The sudoreplay command can now properly replay sessions where no tty was present. * Fixed a race condition that could cause sudo to receive SIGTTOU (and stop) when resuming a shell that was run via sudo when I/O logging (and use_pty) is not enabled. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.29 2012/05/16 14:49:56 taca Exp $ a2 3 * Fix libtools's link option. * Prevent to install sudoers files and directory. * Use standard instal(8) option instead of shell wrapper. d5 21 a25 72 --- Makefile.in.orig 2013-01-15 19:59:25.000000000 +0000 +++ Makefile.in 2013-03-01 13:46:11.000000000 +0000 @@@@ -250,7 +250,7 @@@@ $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c libsudo_noexec.la: sudo_noexec.lo - $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@@ sudo_noexec.lo -avoid-version -rpath $(noexecdir) + $(LIBTOOL) --mode=link $(CC) -module $(LDFLAGS) -o $@@ sudo_noexec.lo -avoid-version -rpath $(noexecdir) GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate.c @@@@ -686,43 +686,43 @@@@ ./visudo -c -f $(DESTDIR)$(sudoersdir)/sudoers; \ fi -install: pre-install install-dirs install-binaries @@INSTALL_NOEXEC@@ install-sudoers install-doc +install: install-binaries @@INSTALL_NOEXEC@@ install-doc install-dirs: $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(sudodir) \ $(DESTDIR)$(visudodir) $(DESTDIR)$(noexecdir) \ - $(DESTDIR)$(sudoersdir) $(DESTDIR)$(docdir) \ + $(DESTDIR)$(sudoersdir) \ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \ `echo $(DESTDIR)$(timedir)|sed 's,/[^/]*$$,,'` - $(INSTALL) -d -O $(install_uid) -G $(install_gid) -m 0700 $(DESTDIR)$(timedir) + $(INSTALL) -d -m 0700 $(DESTDIR)$(timedir) install-binaries: install-dirs $(PROGS) if [ X"$$SUDO_PREINSTALL_CMD" != X"" ]; then exec $$SUDO_PREINSTALL_CMD sudo; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04755 sudo $(DESTDIR)$(sudodir)/sudo + $(INSTALL) sudo $(DESTDIR)$(sudodir)/sudo rm -f $(DESTDIR)$(sudodir)/sudoedit ln -s sudo $(DESTDIR)$(sudodir)/sudoedit - if [ -f sudoreplay ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 visudo $(DESTDIR)$(visudodir)/visudo - if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 sesh $(DESTDIR)$(libexecdir)/sesh; fi + if [ -f sudoreplay ]; then $(INSTALL) sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi + $(INSTALL) visudo $(DESTDIR)$(visudodir)/visudo + if [ -f sesh ]; then $(INSTALL) sesh $(DESTDIR)$(libexecdir)/sesh; fi install-noexec: install-dirs libsudo_noexec.la - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m $(shlib_mode) .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi + if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -m $(shlib_mode) .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi install-sudoers: install-dirs - $(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -m 0750 \ + $(INSTALL) -d -m 0750 \ $(DESTDIR)$(sudoersdir)/sudoers.d test -f $(DESTDIR)$(sudoersdir)/sudoers || \ - $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -m $(sudoers_mode) \ + $(INSTALL) -m $(sudoers_mode) \ sudoers $(DESTDIR)$(sudoersdir)/sudoers install-doc: install-dirs ChangeLog - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $$f $(DESTDIR)$(docdir); done) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) + (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -m 0644 $$f $(DESTDIR)$(docdir); done) + @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -m 0644 $$f $(DESTDIR)$(docdir); done) + $(INSTALL) -m 0644 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) + @@REPLAY@@$(INSTALL) -m 0644 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) + $(INSTALL) -m 0644 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) + $(INSTALL) -m 0644 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) + @@LDAP@@$(INSTALL) -m 0644 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @@if test -n "$(MANCOMPRESS)"; then \ for f in $(mandirsu)/sudo.$(mansectsu) $(mandirsu)/sudoreplay.$(mansectsu) $(mandirsu)/visudo.$(mansectsu) $(mandirform)/sudoers.$(mansectform) $(mandirform)/sudoers.ldap.$(mansectform); do \ if test -f $(DESTDIR)$$f; then \ @ 1.30.24.1 log @Pullup ticket #4904 - requested by taca security/sudo: security fix Revisions pulled up: - security/sudo/Makefile 1.147 - security/sudo/PLIST 1.8 - security/sudo/distinfo 1.84 - security/sudo/patches/patch-aa 1.31 - security/sudo/patches/patch-af 1.32 - security/sudo/patches/patch-ag 1.23 - security/sudo/patches/patch-logging.c deleted - security/sudo/patches/patch-plugins_sudoers_Makefile.in 1.1 - security/sudo/patches/patch-plugins_sudoers_logging.c 1.1 - security/sudo/patches/patch-src_Makefile.in 1.1 --- Module Name: pkgsrc Committed By: spz Date: Fri Jan 1 17:00:49 UTC 2016 Modified Files: pkgsrc/security/sudo: Makefile PLIST distinfo pkgsrc/security/sudo/patches: patch-aa patch-af patch-ag Added Files: pkgsrc/security/sudo/patches: patch-plugins_sudoers_Makefile.in patch-plugins_sudoers_logging.c patch-src_Makefile.in Removed Files: pkgsrc/security/sudo/patches: patch-logging.c Log Message: Update to 1.8.15, which fixes CVE-2015-5602, a symlink vulnerability in sudoedit. Note that it's a fairly large step and the package has only been tested on NetBSD and there may be further breakage. Testing on non-NetBSD would be appreciated. Upstream changelog: Major changes between version 1.8.15 and 1.8.14p3: Fixed a bug that prevented sudo from building outside the source tree on some platforms. Bug #708. Fixed the location of the sssd library in the RHEL/Centos packages. Bug #710. Fixed a build problem on systems that don't implicitly include sys/types.h from other header files. Bug #711. Fixed a problem on Linux using containers where sudo would ignore signals sent by a process in a different container. Sudo now refuses to run a command if the PAM session module returns an error. When editing files with sudoedit, symbolic links will no longer be followed by default. The old behavior can be restored by enabling the sudoedit_follow option in sudoers or on a per-command basis with the FOLLOW and NOFOLLOW tags. Bug #707. Fixed a bug introduced in version 1.8.14 that caused the last valid editor in the sudoers "editor" list to be used by visudo and sudoedit instead of the first. Bug #714. Fixed a bug in visudo that prevented the addition of a final newline to edited files without one. Fixed a bug decoding certain base64 digests in sudoers when the intermediate format included a '=' character. Individual records are now locked in the time stamp file instead of the entire file. This allows sudo to avoid prompting for a password multiple times on the same terminal when used in a pipeline. In other words, sudo cat foo | sudo grep bar now only prompts for the password once. Previously, both sudo processes would prompt for a password, often making it impossible to enter. Bug #705. Fixed a bug where sudo would fail to run commands as a non-root user on systems that lack both setresuid() and setreuid(). Bug #713. Fixed a bug introduced in sudo 1.8.14 that prevented visudo from re-editing the correct file when a syntax error was detected. Fixed a bug where sudo would not relay a SIGHUP signal to the command when the terminal is closed and the command is not run in its own pseudo-tty. Bug #719. If some, but not all, of the LOGNAME, USER or USERNAME environment variables have been preserved from the invoking user's environment, sudo will now use the preserved value to set the remaining variables instead of using the runas user. This ensures that if, for example, only LOGNAME is present in the env_keep list, that sudo will not set USER and USERNAME to the runas user. When the command sudo is running dies due to a signal, sudo will now send itself that same signal with the default signal handler installed instead of exiting. The bash shell appears to ignore some signals, e.g. SIGINT, unless the command being run is killed by that signal. This makes the behavior of commands run under sudo the same as without sudo when bash is the shell. Bug #722. Slovak translation for sudo from translationproject.org. Hungarian and Slovak translations for sudoers from translationproject.org. Previously, when env_reset was enabled (the default) and the -s option was not used, the SHELL environment variable was set to the shell of the invoking user. Now, when env_reset is enabled and the -s option is not used, SHELL is set based on the target user. Fixed challenge/response style BSD authentication. Added the sudoedit_checkdir Defaults option to prevent sudoedit from editing files located in a directory that is writable by the invoking user. Added the always_query_group_plugin Defaults option to control whether groups not found in the system group database are passed to the group plugin. Previously, unknown system groups were always passed to the group plugin. When creating a new file, sudoedit will now check that the file's parent directory exists before running the editor. Fixed the compiler stack protector test in configure for compilers that support -fstack-protector but don't actually have the ssp library available. Major changes between version 1.8.14p3 and 1.8.14p2: Fixed a bug introduced in sudo 1.8.14p2 that prevented sudo from working when no tty was present. Bug #706. Fixed tty detection on newer AIX systems where dev_t is 64-bit. Major changes between version 1.8.14p2 and 1.8.14p1: Fixed a bug introduced in sudo 1.8.14 that prevented the lecture file from being created. Bug #704. Major changes between version 1.8.14p1 and 1.8.14: Fixed a bug introduced in sudo 1.8.14 that prevented the sssd backend from working. Bug #703. Major changes between version 1.8.14 and 1.8.13: Log messages on Mac OS X now respect sudoers_locale when sudo is build with NLS support. The sudo manual pages now pass mandoc -Tlint with no warnings. Fixed a compilation problem on systems with the sig2str() function that do not define SIG2STR_MAX in signal.h. Worked around a compiler bug that resulted in unexpected behavior when returning an int from a function declared to return bool without an explicit cast. Worked around a bug in Mac OS X 10.10 BSD auditing where the au_preselect() fails for AUE_sudo events but succeeds for AUE_DARWIN_sudo. Fixed a hang on Linux systems with glibc when sudo is linked with jemalloc. When the user runs a command as a user ID that is not present in the password database via the -u flag, the command is now run with the group ID of the invoking user instead of group ID 0. Fixed a compilation problem on systems that don't pull in definitions of uid_t and gid_t without sys/types.h or unistd.h. Fixed a compilation problem on newer AIX systems which use a struct st_timespec for time stamps in struct stat that differs from struct timespec. Bug #702. The example directory is now configurable via --with-exampledir and defaults to DATAROOTDIR/examples/sudo on BSD systems. The /usr/lib/tmpfiles.d/sudo.conf file is now installed as part of "make install" when systemd is in use. Fixed a linker problem on some systems with libintl. Bug #690. Fixed compilation with compilers that don't support __func__ or __FUNCTION__. Sudo no longer needs to uses weak symbols to support localization in the warning functions. A registration function is used instead. Fixed a setresuid() failure in sudoers on Linux kernels where uid changes take the nproc resource limit into account. Fixed LDAP netgroup queries on AIX. Sudo will now display the custom prompt on Linux systems with PAM even if the "Password: " prompt is not localized by the PAM module. Bug #701. Double-quoted values in an LDAP sudoOption are now supported for consistency with file-based sudoers. Fixed a bug that prevented the btime entry in /proc/stat from being parsed on Linux. Major changes between version 1.8.13 and 1.8.12: The examples directory is now a subdirectory of the doc dir to conform to Debian guidelines. Bug #682. Fixed a compilation error for siglist.c and signame.c on some systems. Bug #686. Weak symbols are now used for sudo_warn_gettext() and sudo_warn_strerror() in libsudo_util to avoid link errors when -Wl,--no-undefined is used in LDFLAGS. The --disable-weak-symbols configure option can be used to disable the user of weak symbols. Fixed a bug in sudo's mkstemps() replacement function that prevented the file extension from being preserved in sudoedit. A new mail_all_cmnds sudoers flag will send mail when a user runs a command (or tries to). The behavior of the mail_always flag has been restored to always send mail when sudo is run. New MAIL and NOMAIL command tags have been added to toggle mail sending behavior on a per-command (or Cmnd_Alias) basis. Fixed matching of empty passwords when sudo is configured to use passwd (or shadow) file authentication on systems where the crypt() function returns NULL for invalid salts. On AIX, sudo now uses the value of the auth_type setting in /etc/security/login.cfg to determine whether to use LAM or PAM for user authentication. The all setting for listpw and verifypw now works correctly with LDAP and sssd sudoers. The sudo timestamp directory is now created at boot time on platforms that use systemd. Sudo will now restore the value of the SIGPIPE handler before executing the command. Sudo now uses struct timespec instead of struct timeval for time keeping when possible. If supported, sudoedit and visudo now use nanosecond granularity time stamps. Fixed a symbol name collision with systems that have their own SHA2 implementation. This fixes a problem where PAM could use the wrong SHA2 implementation on Solaris 10 systems configured to use SHA512 for passwords. The editor invoked by sudoedit once again uses an unmodified copy of the user's environment as per the documentation. This was inadvertantly changed in sudo 1.8.0. Bug #688. Major changes between version 1.8.12 and 1.8.11p2: The embedded copy of zlib has been upgraded to version 1.2.8 and is now installed as a shared library where supported. Debug settings for the sudo front end and sudoers plugin are now configured separately. Multiple sudo.conf Debug entries may now be specified per program (or plugin). The plugin API has been extended such that the path to the plugin that was loaded is now included in the settings array. This path can be used to register with the debugging subsystem. The debug_flags setting is now prefixed with a file name and may be specified multiple times if there is more than one matching Debug setting in sudo.conf. The sudoers regression tests now run with the locale set to C since some of the tests compare output that includes locale-specific messages. Bug #672. Fixed a bug where sudo would not run commands on Linux when compiled with audit support if audit is disabled. Bug #671. Added __BASH_FUNC< to the environment blacklist to match Apple's syntax for newer-style bash functions. The default password prompt now includes a trailing space after "Password:" for consistency with su(1) on most systems. Bug #663. Fixed a problem on DragonFly BSD where SIGCHLD could be ignored, preventing sudo from exiting. Bug #676. Visudo will now use the optional sudoers_file, sudoers_mode, sudoers_uid and sudoers_gid arguments if specified on the sudoers.so Plugin line in the sudo.conf file. Fixed a problem introduced in sudo 1.8.8 that prevented the full host name from being used when the fqdn sudoers option is used. Bug #678. French and Russian translations for sudoers from translationproject.org. Sudo now installs a handler for SIGCHLD signal handler immediately before stating the process that will execute the command (or start the monitor). The handler used to be installed earlier but this causes problems with poorly behaved PAM modules that install their own SIGCHLD signal handler and neglect to restore sudo's original handler. Bug #657. Removed a limit on the length of command line arguments expanded by a wild card using sudo's version of the fnmatch() function. This limit was introduced when sudo's version of fnmatch() was replaced in sudo 1.8.4. LDAP-based sudoers can now query an LDAP server for a user's netgroups directly. This is often much faster than fetching every sudoRole object containing a sudoUser that begins with a `+' prefix and checking whether the user is a member of any of the returned netgroups. The mail_always sudoers option no longer sends mail for sudo -l or sudo -v unless the user is unable to authenticate themselves. Fixed a crash when sudo is run with an empty argument vector. Fixed two potential crashes when sudo is run with very low resource limits. The TZ environment variable is now checked for safety instead of simply being copied to the environment of the command. This fixes a potential security issue. Major changes between version 1.8.11p2 and 1.8.11p1: Fixed a bug where dynamic shared objects loaded from a plugin could use the hooked version of getenv() but not the hooked versions of putenv(), setenv() or unsetenv(). This can cause problems for PAM modules that use those functions. Major changes between version 1.8.11p1 and 1.8.11: Fixed a compilation problem on some systems when the --disable-shared-libutil configure option was specified. The user can no longer interrupt the sleep after an incorrect password on PAM systems using pam_unix. Bug #666. Fixed a compilation problem on Linux systems that do not use PAM. Bug #667. "make install" will now work with the stock GNU autotools install-sh script. Bug #669. Fixed a crash with "sudo -i" when the current working directory does not exist. Bug #670. Fixed a potential crash in the debug subsystem when logging a message larger that 1024 bytes. Fixed a "make check" failure for ttyname when stdin is closed and stdout and stderr are redirected to a different tty. Bug #643. Added BASH_FUNC_* to environment blacklist to match newer-style bash functions. Major changes between version 1.8.11 and 1.8.10p3: The sudoers plugin no longer uses setjmp/longjmp to recover from fatal errors. All errors are now propagated to the caller via return codes. When running a command in the background, sudo will now forward SIGINFO to the command (if supported). Sudo will now use the system versions of the sha2 functions from libc or libmd if available. Visudo now works correctly on GNU Hurd. Bug #647. Fixed suspend and resume of curses programs on some system when the command is not being run in a pseudo-terminal. Bug #649. Fixed a crash with LDAP-based sudoers on some systems when Kerberos was enabled. Sudo now includes optional Solaris audit support. Catalan translation for sudoers from translationproject.org. Norwegian Bokmaal translation for sudo from translationproject.org. Greek translation for sudoers from translationproject.org The sudo source tree has been reorganized to more closely resemble that of other gettext-enabled packages. Sudo and its associated programs now link against a shared version of libsudo_util. The --disable-shared-libutil configure option may be used to force static linking if the --enable-static-sudoers option is also specified. The passwords in ldap.conf and ldap.secret may now be encoded in base64. Audit updates. SELinux role changes are now audited. For sudoedit, we now audit the actual editor being run, instead of just the sudoedit command. Fixed bugs in the man page post-processing that could cause portions of the manuals to be removed. Fixed a crash in the system_group plugin. Bug #653. Fixed sudoedit on platforms without a native version of the getprogname() function. Bug #654. Fixed compilation problems with some pre-C99 compilers. Fixed sudo's -C option which was broken in version 1.8.9. It is now possible to match an environment variable's value as well as its name using env_keep and env_check. This can be used to preserve bash functions which would otherwise be removed from the environment. New files created via sudoedit as a non-root user now have the proper group id. Bug #656. Sudoedit now works correctly in conjunction with sudo's SELinux RBAC support. Temporary files are now created with the proper security context. The sudo I/O logging plugin API has been updated. If a logging function returns an error, the command will be terminated and all of the plugin's logging functions will be disabled. If a logging function rejects the command's output it will no longer be displayed to the user's terminal. Fixed a compilation error on systems that lack openpty(), _getpty() and grantpt(). Bug #660. Fixed a hang when a sudoers source is listed more than once in a single sudoers nsswitch.conf entry. On AIX, shell scripts without a #! magic number are now passed to /usr/bin/sh, not /usr/bin/bsh. This is consistent with what the execvp() function on AIX does and matches historic sudo behavior. Bug #661. Fixed a cross-compilation problem building mksiglist and mksigname. Bug #662. Major changes between version 1.8.10p3 and 1.8.10p2: Fixed expansion of the %p escape in the prompt for "sudo -l" when rootpw, runaspw or targetpw is set. Bug #639. Fixed matching of uids and gids which was broken in version 1.8.9. Bug #640. PAM credential initialization has been re-enabled. It was unintentionally disabled by default in version 1.8.8. The way credentials are initialized has also been fixed. Bug #642. Fixed a descriptor leak on Linux when determing boot time. Sudo normally closes extra descriptors before running a command so the impact is limited. Bug #645. Fixed flushing of the last buffer of data when I/O logging is enabled. This bug, introduced in version 1.8.9, could cause incomplete command output on some systems. Bug #646. Major changes between version 1.8.10p2 and 1.8.10p1: Fixed a hang introduced in sudo 1.8.10 when timestamp_timeout is set to zero. Bug #638. Major changes between version 1.8.10p1 and 1.8.10: Fixed a bug introduced in sudo 1.8.10 that prevented the disabling of tty-based tickets. Fixed a bug with netgated commands in "sudo -l command" that could cause the command to be listed even when it was explicitly denied. This only affected list mode when a command was specified. Bug #636. Major changes between version 1.8.10 and 1.8.9p5: It is now possible to disable network interface probing in sudo.conf by changing the value of the probe_interfaces setting. When listing a user's privileges (sudo -l), the sudoers plugin will now prompt for the user's password even if the targetpw, rootpw or runaspw options are set. The sudoers plugin uses a new format for its time stamp files. Each user now has a single file which may contain multiple records when per-tty time stamps are in use (the default). The time stamps use a monotonic timer where available and are once again located in a directory under /var/run. The lecture status is now stored separately from the time stamps in a different directory. Bug #616. sudo's -K option will now remove all of the user's time stamps, not just the time stamp for the current terminal. The -k option can be used to only disable time stamps for the current terminal. If sudo was started in the background and needed to prompt for a password, it was not possible to suspend it at the password prompt. This now works properly. LDAP-based sudoers now uses a default search filter of (objectClass=sudoRole) for more efficient queries. The netgroup query has been modified to avoid falling below the minimum length for OpenLDAP substring indices. The new use_netgroups sudoers option can be used to explicitly enable or disable netgroups support. For LDAP-based sudoers, netgroup support requires an expensive substring match on the server. If netgroups are not needed, this option can be disabled to reduce the load on the LDAP server. Sudo is once again able to open the sudoers file when the group on sudoers doesn't match the expected value, so long as the file is not group writable. Sudo now installs an init.d script to clear the time stamp directory at boot time on AIX and HP-UX systems. These systems either lack /var/run or do not clear it on boot. The JSON format used by visudo -x now properly supports the negation operator. In addition, the Options object is now the same for both Defaults and Cmnd_Specs. Czech and Serbian translations for sudoers from translationproject.org. Catalan translation for sudo from translationproject.org. Major changes between version 1.8.9p5 and 1.8.9p4: Fixed a compilation error on AIX when LDAP support is enabled. Fixed parsing of the "umask" defaults setting in sudoers. Bug #632. Fixed a failed assertion when the "closefrom_override" defaults setting is enabled in sudoers and sudo's -C flag is used. Bug #633. Major changes between version 1.8.9p4 and 1.8.9p3: Fixed a bug where sudo could consume large amounts of CPU while the command was running when I/O logging is not enabled. Bug #631. Fixed a bug where sudo would exit with an error when the debug level is set to util@@debug or all@@debug and I/O logging is not enabled. The command would continue runnning after sudo exited. Major changes between version 1.8.9p3 and 1.8.9p2: Fixed a bug introduced in sudo 1.8.9 that prevented the tty name from being resolved properly on Linux systems. Bug #630. Major changes between version 1.8.9p2 and 1.8.9p1: Updated config.guess, config.sub and libtool to support the ppc64le architecture (IBM PowerPC Little Endian). Major changes between version 1.8.9p1 and 1.8.9: Fixed a problem with gcc 4.8's handling of bit fields that could lead to the noexec flag being enabled even when it was not explicitly set. Major changes between version 1.8.9 and 1.8.8: Reworked sudo's main event loop to use a simple event subsystem using poll(2) or select(2) as the back end. It is now possible to statically compile the sudoers plugin into the sudo binary without disabling shared library support. The sudo.conf file may still be used to configure other plugins. Sudo can now be compiled again with a C preprocessor that does not support variadic macros. Visudo can now export a sudoers file in JSON format using the new -x flag. The locale is now set correctly again for visudo and sudoreplay. The plugin API has been extended to allow the plugin to exclude specific file descriptors from the closefrom range. There is now a workaround for a Solaris-specific problem where NOEXEC was overriding traditional root DAC behavior. Add user netgroup filtering for SSSD. Previously, rules for a netgroup were applied to all even when they did not belong to the specified netgroup. On systems with BSD login classes, if the user specified a group (not a user) to run the command as, it was possible to specify a different login class even when the command was not run as the super user. The closefrom() emulation on Mac OS X now uses /dev/fd if possible. Fixed a bug where sudoedit would not update the original file from the temporary when PAM or I/O logging is not enabled. When recycling I/O logs, the log files are now truncated properly. Fixes bugs #617, #621, #622, #623, #624, #625, #626 Major changes between version 1.8.8 and 1.8.7: Removed a warning on PAM systems with stacked auth modules where the first module on the stack does not succeed. Sudo, sudoreplay and visudo now support GNU-style long options. The -h (--host) option may now be used to specify a host name. This is currently only used by the sudoers plugin in conjunction with the -l (--list) option. Program usage messages and manual SYNOPSIS sections have been simplified. Sudo's LDAP SASL support now works properly with Kerberos. Previously, the SASL library was unable to locate the user's credential cache. It is now possible to set the nproc resource limit to unlimited via pam_limits on Linux (bug #565). New pam_service and pam_login_service sudoers options that can be used to specify the PAM service name to use. New pam_session and pam_setcred sudoers options that can be used to disable PAM session and credential support. The sudoers plugin now properly supports UIDs and GIDs that are larger than 0x7fffffff on 32-bit platforms. Fixed a visudo bug introduced in sudo 1.8.7 where per-group Defaults entries would cause an internal error. If the tty_tickets sudoers option is enabled (the default), but there is no tty present, sudo will now use a ticket file based on the parent process ID. This makes it possible to support the normal timeout behavior for the session. Fixed a problem running commands that change their process group and then attempt to change the terminal settings when not running the command in a pseudo-terminal. Previously, the process would receive SIGTTOU since it was effectively a background process. Sudo will now grant the child the controlling tty and continue it when this happens. The closefrom_override sudoers option may now be used in a command-specified Defaults entry (bug #610). Sudo's BSM audit support now works on Solaris 11. Brazilian Portuguese translation for sudo and sudoers from translationproject.org. Czech translation for sudo from translationproject.org. French translation for sudo from translationproject.org. Sudo's noexec support on Mac OS X 10.4 and above now uses dynamic symbol interposition instead of setting DYLD_FORCE_FLAT_NAMESPACE=1 which causes issues with some programs. Fixed visudo's -q (--quiet) flag, broken in sudo 1.8.6. Root may no longer change its SELinux role without entering a password. Fixed a bug introduced in Sudo 1.8.7 where the indexes written to the I/O log timing file are two greater than they should be. Sudoreplay now contains a work-around to parse those files. In sudoreplay's list mode, the this qualifier in fromdate or todate expressions now behaves more sensibly. Previously, it would often match a date that was "one more" than expected. For example, "this week" now matches the current week instead of the following week. Major changes between version 1.8.7 and 1.8.6p8: The non-Unix group plugin is now supported when sudoers data is stored in LDAP. Sudo now uses a workaround for a locale bug on Solaris 11.0 that prevents setuid programs like sudo from fully using locales. User messages are now always displayed in the user's locale, even when the same message is being logged or mailed in a different locale. Log files created by sudo now explicitly have the group set to group ID 0 rather than relying on BSD group semantics (which may not be the default). A new exec_background sudoers option can be used to initially run the command without read access to the terminal when running a command in a pseudo-tty. If the command tries to read from the terminal it will be stopped by the kernel (via SIGTTIN or SIGTTOU) and sudo will immediately restart it as the forground process (if possible). This allows sudo to only pass terminal input to the program if the program actually is expecting it. Unfortunately, a few poorly-behaved programs (like "su" on most Linux systems) do not handle SIGTTIN and SIGTTOU properly. Sudo now uses an efficient group query to get all the groups for a user instead of iterating over every record in the group database on HP-UX and Solaris. Sudo now produces better error messages when there is an error in the sudo.conf file. Two new settings have been added to sudo.conf to give the admin better control of how group database queries are performed. The group_source specifies how the group list for a user will be determined. Legal values are static (use the kernel groups list), dynamic (perform a group database query) and adaptive (only perform a group database query if the kernel list is full). The max_groups setting specifies the maximum number of groups a user may belong to when performing a group database query. The sudo.conf file now supports line continuation by using a backslash as the last character on the line. There is now a standalone sudo.conf manual page. Sudo now stores its libexec files in a sudo subdirectory instead of in libexec itself. For backwards compatibility, if the plugin is not found in the default plugin directory, sudo will check the parent directory if the default directory ends in /sudo. The sudoers I/O logging plugin now logs the terminal size. A new sudoers option maxseq can be used to limit the number of I/O log entries that are stored. The system_group and group_file sudoers group provider plugins are now installed by default. The list output (sudo -l) output from the sudoers plugin is now less ambiguous when an entry includes different runas users. The long list output (sudo -ll) for file-based sudoers is now more consistent with the format of LDAP-based sudoers. A uid may now be used in the sudoRunAsUser attributes for LDAP sudoers. Minor plugin API change: the close and version functions are now optional. If the policy plugin does not provide a close function and the command is not being run in a new pseudo-tty, sudo may now execute the command directly instead of in a child process. A new sudoers option pam_session can be used to disable sudo's PAM session support. On HP-UX systems, sudo will now use the pstat() function to determine the tty instead of ttyname(). Turkish translation for sudo and sudoers from translationproject.org. Dutch translation for sudo and sudoers from translationproject.org. Tivoli Directory Server client libraries may now be used with HP-UX where libibmldap has a hidden dependency on libCsup. The sudoers plugin will now ignore invalid domain names when checking netgroup membership. Most Linux systems use the string "(none)" for the NIS-style domain name instead of an empty string. New support for specifying a SHA-2 digest along with the command in sudoers. Supported hash types are sha224, sha256, sha384 and sha512. See the description of Digest_Spec in the sudoers manual or the description of sudoCommand in the sudoers.ldap manual for details. The paths to ldap.conf and ldap.secret may now be specified as arguments to the sudoers plugin in the sudo.conf file. Fixed potential false positives in visudo's alias cycle detection. Fixed a problem where the time stamp file was being treated as out of date on Linux systems where the change time on the pseudo-tty device node can change after it is allocated. Sudo now only builds Position Independent Executables (PIE) by default on Linux systems and verifies that a trivial test program builds and runs. On Solaris 11.1 and higher, sudo binaries will now have the ASLR tag enabled if supported by the linker. Major changes between version 1.8.6p8 and 1.8.6p7: Terminal detection now works properly on 64-bit AIX kernels. This was broken by the removal of the ttyname() fallback in Sudo 1.8.6p6. Sudo is now able to map an AIX 64-bit device number to the corresponding device file in /dev. Sudo now checks for crypt() returning NULL when performing passwd-based authentication. Major changes between version 1.8.6p7 and 1.8.6p6: A time stamp file with the date set to the epoch by sudo -k is now completely ignored regardless of what the local clock is set to. Previously, if the local clock was set to a value between the epoch and the time stamp timeout value, a time stamp reset by sudo -k would be considered current. This is a potential security issue. The tty-specific time stamp file now includes the session ID of the sudo process that created it. If a process with the same tty but a different session ID runs sudo, the user will now be prompted for a password (assuming authentication is required for the command). This is a potential security issue. Major changes between version 1.8.6p6 and 1.8.6p5: On systems where the controlling tty can be determined via /proc or sysctl(), sudo will no longer fall back to using ttyname() if the process has no controlling tty. This prevents sudo from using a non-controlling tty for logging and time stamp purposes. This is a potential security issue. Major changes between version 1.8.6p5 and 1.8.6p4: Fixed a potential crash in visudo's alias cycle detection. Improved performance on Solaris when retrieving the group list for the target user. On systems with a large number of groups where the group database is not local (NIS, LDAP, AD), fetching the group list could take a minute or more. Major changes between version 1.8.6p4 and 1.8.6p3: The -fstack-protector is now used when linking visudo, sudoreplay and testsudoers. Avoid building PIE binaries on FreeBSD/ia64 as they don't run properly. Fixed a crash in visudo strict mode when an unknown Defaults setting is encountered. Do not inform the user that the command was not permitted by the policy if they do not successfully authenticate. This is a regression introduced in sudo 1.8.6. Allow sudo to be build with sss support without also including ldap support. Fix running commands that need the terminal in the background when I/O logging is enabled. E.g. sudo vi &. When the command is foregrounded, it will now resume properly. Major changes between version 1.8.6p3 and 1.8.6p2: Fixed post-processing of the man pages on systems with legacy versions of sed. Fixed sudoreplay -l on Linux systems with file systems that set DT_UNKNOWN in the d_type field of struct dirent. Major changes between version 1.8.6p2 and 1.8.6p1: Fixed suspending a command after it has already been resumed once when I/O logging (or use_pty) is not enabled. This was a regression introduced in version 1.8.6. Major changes between version 1.8.6p1 and 1.8.6: Fixed the setting of LOGNAME, USER and USERNAME variables in the command's environment when env_reset is enabled (the default). This was a regression introduced in version 1.8.6. Sudo now honors SUCCESS=return in /etc/nsswitch.conf. Major changes between version 1.8.6 and 1.8.5p3: Sudo is now built with the -fstack-protector flag if the the compiler supports it. Also, the -zrelro linker flag is used if supported. The --disable-hardening configure option can be used to build sudo without stack smashing protection. Sudo is now built as a Position Independent Executable (PIE) if supported by the compiler and linker. If the user is a member of the exempt group in sudoers, they will no longer be prompted for a password even if the -k flag is specified with the command. This makes sudo -k command consistent with the behavior one would get if the user ran sudo -k immediately before running the command. The sudoers file may now be a symbolic link. Previously, sudo would refuse to read sudoers unless it was a regular file. The sudoreplay command can now properly replay sessions where no tty was present. The sudoers plugin now takes advantage of symbol visibility controls when supported by the compiler or linker. As a result, only a small number of symbols are exported which significantly reduces the chances of a conflict with other shared objects. Improved support for the Tivoli Directory Server LDAP client libraries. This includes support for using LDAP over SSL (ldaps) as well as support for the BIND_TIMELIMIT, TLS_KEY and TLS_CIPHERS ldap.conf options. A new ldap.conf option, TLS_KEYPW can be used to specify a password to decrypt the key database. When constructing a time filter for use with LDAP sudoNotBefore and sudoNotAfter attributes, the current time now includes tenths of a second. This fixes a problem with timed entries on Active Directory. If a user fails to authenticate and the command would be rejected by sudoers, it is now logged with command not allowed instead of N incorrect password attempts. Likewise, the mail_no_perms sudoers option now takes precedence over mail_badpass The sudo manuals are now formatted using the mdoc macros. Versions using the legacy man macros are provided for systems that lack mdoc. New support for Solaris privilege sets. This makes it possible to specify fine-grained privileges in the sudoers file on Solaris 10 and above. A Runas_Spec that contains no Runas_Lists can be used to give a user the ability to run a command as themselves but with an expanded privilege set. Fixed a problem with the reboot and shutdown commands on some systems (such as HP-UX and BSD). On these systems, reboot sends all processes (except itself) SIGTERM. When sudo received SIGTERM, it would relay it to the reboot process, thus killing reboot before it had a chance to actually reboot the system. Support for using the System Security Services Daemon (SSSD) as a source of sudoers data. Slovenian translation for sudo and sudoers from translationproject.org. Visudo will now warn about unknown Defaults entries that are per-host, per-user, per-runas or per-command. Fixed a race condition that could cause sudo to receive SIGTTOU (and stop) when resuming a shell that was run via sudo when I/O logging (and use_pty) is not enabled. Sending SIGTSTP directly to the sudo process will now suspend the running command when I/O logging (and use_pty) is not enabled. Major changes between version 1.8.5p3 and 1.8.5p2: Fixed the loading of I/O plugins that conform to a plugin API version older than 1.2. Major changes between version 1.8.5p2 and 1.8.5p1: Fixed use of the SUDO_ASKPASS environment variable which was broken in Sudo 1.8.5. Fixed a problem reading the sudoers file when the file mode is more restrictive than the expected mode. For example, when the expected sudoers file mode is 0440 but the actual mode is 0400. Major changes between version 1.8.5p1 and 1.8.5: Fixed a bug that prevented files in an include directory from being evaluated. Major changes between version 1.8.5 and 1.8.4p5: When "noexec" is enabled, sudo_noexec.so will now be prepended to any existing LD_PRELOAD variable instead of replacing it. The sudo_noexec.so shared library now wraps the execvpe(), exect(), posix_spawn() and posix_spawnp() functions. The user/group/mode checks on sudoers files have been relaxed. As long as the file is owned by the sudoers uid, not world-writable and not writable by a group other than the sudoers gid, the file is considered OK. Note that visudo will still set the mode to the value specified at configure time. It is now possible to specify the sudoers path, uid, gid and file mode as options to the plugin in the sudo.conf file. Croatian, Galician, German, Lithuanian, Swedish and Vietnamese translations from translationproject.org. /etc/environment is no longer read directly on Linux systems when PAM is used. Sudo now merges the PAM environment into the user's environment which is typically set by the pam_env module. The initial evironment created when env_reset is in effect now includes the contents of /etc/environment on AIX systems and the "setenv" and "path" entries from /etc/login.conf on BSD systems. The plugin API has been extended in three ways. First, options specified in sudo.conf after the plugin pathname are passed to the plugin's open function. Second, sudo has limited support for hooks that can be used by plugins. Currently, the hooks are limited to environment handling functions. Third, the init_session policy plugin function is passed a pointer to the user environment which can be updated during session setup. The plugin API version has been incremented to version 1.2. See the sudo_plugin manual for more information. The policy plugin's init_session function is now called by the parent sudo process, not the child process that executes the command. This allows the PAM session to be open and closed in the same process, which some PAM modules require. Fixed parsing of "Path askpass" and "Path noexec" in sudo.conf, which was broken in version 1.8.4. On systems with an SVR4-style /proc file system, the /proc/pid/psinfo file is now uses to determine the controlling terminal, if possible. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. The output of "sudoreplay -l" is now sorted by file name (or sequence number). Previously, entries were displayed in the order in which they were found on the file system. Sudo now behaves properly when I/O logging is enabled and the controlling terminal is revoked (e.g. the running sshd is killed). Previously, sudo may have exited without calling the I/O plugin's close function which can lead to an incomplete I/O log. Sudo can now detect when a user has logged out and back in again on Solaris 11, just like it can on Solaris 10. The built-in zlib included with Sudo has been upgraded to version 1.2.6. Setting the SSL parameter to start_tls in ldap.conf now works properly when using Mozilla-based SDKs that support the ldap_start_tls_s() function. The TLS_CHECKPEER parameter in ldap.conf now works when the Mozilla NSS crypto backend is used with OpenLDAP. A new group provider plugin, system_group, is included which performs group look ups by name using the system groups database. This can be used to restore the pre-1.7.3 sudo group lookup behavior. Major changes between version 1.8.4p5 and 1.8.4p4: Fixed a potential security issue in the matching of hosts against an IPv4 network specified in sudoers. The flaw may allow a user who is authorized to run commands on hosts belonging to one IPv4 network to run commands on a different host. Major changes between version 1.8.4p4 and 1.8.4p3: Fixed a bug introduced in Sudo 1.8.4 which prevented sudo -v from working. Major changes between version 1.8.4p3 and 1.8.4p2: Fixed a crash on FreeBSD when there is no tty present. When visudo is run with the -c (check) option, the sudoers file(s) owner and mode are now also checked unless the -f option was specified. Major changes between version 1.8.4p2 and 1.8.4p1: Fixed a bug introduced in Sudo 1.8.4 where insufficient space was allocated for group IDs in the LDAP filter. Fixed a bug introduced in Sudo 1.8.4 where the path to sudo.conf was /sudo.conf instead of etc/sudo.conf. Fixed a bug introduced in Sudo 1.8.4 which could cause a hang when I/O logging is enabled and input is from a pipe or file. Major changes between version 1.8.4p1 and 1.8.4: Fixed a bug introduced in sudo 1.8.4 that broke adding to or deleting from the env_keep, env_check and env_delete lists in sudoers on some platforms. Major changes between version 1.8.4 and 1.8.3p2: The -D flag in sudo has been replaced with a more general debugging framework that is configured in sudo.conf. Fixed a false positive in visudo strict mode when aliases are in use. Fixed a crash with sudo -i when a runas group was specified without a runas user. The line on which a syntax error is reported in the sudoers file is now more accurate. Previously it was often off by a line. Fixed a bug where stack garbage could be printed at the end of the lecture when the lecture_file option was enabled. make install now honors the LINGUAS environment variable. The #include and #includedir directives in sudoers now support relative paths. If the path is not fully qualified it is expected to be located in the same directory of the sudoers file that is including it. New Serbian and Spanish translations for sudo from translationproject.org. LDAP-based sudoers may now access by group ID in addition to group name. visudo will now fix the mode on the sudoers file even if no changes are made unless the -f option is specified. The use_loginclass sudoers option works properly again. On systems that use login.conf, sudo -i now sets environment variables based on login.conf. For LDAP-based sudoers, values in the search expression are now escaped as per RFC 4515. The plugin close function is now properly called when a login session is killed (as opposed to the actual command being killed). This can happen when an ssh session is disconnected or the terminal window is closed. The deprecated "noexec_file" sudoers option is no longer supported. Fixed a race condition when I/O logging is not enabled that could result in tty-generated signals (e.g. control-C) being received by the command twice. If none of the standard input, output or error are connected to a tty device, sudo will now check its parent's standard input, output or error for the tty name on systems with /proc and BSD systems that support the KERN_PROC_PID sysctl. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. Added the --enable-kerb5-instance configure option to allow people using Kerberos V authentication to specify a custom instance so the principal name can be, e.g. "username/sudo" similar to how ksu uses "username/root". Fixed a bug where a pattern like /usr/* included /usr/bin/ in the results, which would be incorrectly be interpreted as if the sudoers file had specified a directory. visudo -c will now list any include files that were checked in addition to the main sudoers file when everything parses OK. Users that only have read-only access to the sudoers file may now run visudo -c. Previously, write permissions were required even though no writing is down in check-only mode. It is now possible to prevent the disabling of core dumps from within sudo itself by adding a line to the sudo.conf file like Set disable_coredump false. Major changes between version 1.8.3p2 and 1.8.3p1: Fixed a format string vulnerability when the sudo binary (or a symbolic link to the sudo binary) contains printf format escapes and the -D (debugging) flag is used. Major changes between version 1.8.3p1 and 1.8.3: Fixed a crash in the monitor process on Solaris when NOPASSWD was specified or when authentication was disabled. Fixed matching of a Runas_Alias in the group section of a Runas_Spec. Major changes between version 1.8.3 and 1.8.2: Fixed expansion of strftime() escape sequences in the log_dir sudoers setting. Esperanto, Italian and Japanese translations from translationproject.org. Sudo will now use PAM by default on AIX 6 and higher. Added --enable-werror configure option for gcc's -Werror flag. Visudo no longer assumes all editors support the +linenumber command line argument. It now uses a whitelist of editors known to support the option. Fixed matching of network addresses when a netmask is specified but the address is not the first one in the CIDR block. The configure script now check whether or not errno.h declares the errno variable. Previously, sudo would always declare errno itself for older systems that don't declare it in errno.h. The NOPASSWD tag is now honored for denied commands too, which matches historic sudo behavior (prior to sudo 1.7.0). Sudo now honors the DEREF setting in ldap.conf which controls how alias dereferencing is done during an LDAP search. A symbol conflict with the pam_ssh_agent_auth PAM module that would cause a crash been resolved. The inability to load a group provider plugin is no longer a fatal error. A potential crash in the utmp handling code has been fixed. Two PAM session issues have been resolved. In previous versions of sudo, the PAM session was opened as one user and closed as another. Additionally, if no authentication was performed, the PAM session would never be closed. Sudo will now work correctly with LDAP-based sudoers using TLS or SSL on Debian systems. The LOGNAME, USER and USERNAME environment variables are preserved correctly again in sudoedit mode. Major changes between version 1.8.2 and 1.8.1p2: Sudo, visudo, sudoreplay and the sudoers plug-in now have natural language support (NLS). Sudo will use gettext(), if available, to display translated messages. This can be disabled by passing configure the --disable-nls option. All translations are coordinated via The Translation Project, translationproject.org. Sudo 1.8.2 includes translations for Basque, Chinese (simplified), Danish, Finish, Polish, Russian and Ukranian. Plug-ins are now loaded with the RTLD_GLOBAL flag instead of RTLD_LOCAL. This fixes missing symbol problems in PAM modules on certain platforms, such as FreeBSD and SuSE Linux Enterprise. I/O logging is now supported for commands run in background mode (using sudo's -b flag). Group ownership of the sudoers file is now only enforced when the file mode on sudoers allows group readability or writability. Visudo now checks the contents of an alias and warns about cycles when the alias is expanded. If the user specifes a group via sudo's -g option that matches the target user's group in the password database, it is now allowed even if no groups are present in the Runas_Spec. The sudo Makefiles now have more complete dependencies which are automatically generated instead of being maintained manually. The use_pty sudoers option is now correctly passed back to the sudo front end. This was missing in previous versions of sudo 1.8 which prevented use_pty from being honored. sudo -i command now works correctly with the bash version 2.0 and higher. Previously, the .bash_profile would not be sourced prior to running the command unless bash was built with NON_INTERACTIVE_LOGIN_SHELLS defined. When matching groups in the sudoers file, sudo will now match based on the name of the group instead of the group ID. This can substantially reduce the number of group lookups for sudoers files that contain a large number of groups. Multi-factor authentication is now supported on AIX. Added support for non-RFC 4517 compliant LDAP servers that require that seconds be present in a timestamp, such as Tivoli Directory Server. If the group vector is to be preserved, the PATH search for the command is now done with the user's original group vector. For LDAP-based sudoers, the runas_default sudoOption now works properly in a sudoRole that contains a sudoCommand. Spaces in command line arguments for sudo -s and sudo -i are now escaped with a backslash when checking the security policy. Major changes between version 1.8.1p2 and 1.8.1p1: Two-character CIDR-style IPv4 netmasks are now matched correctly in the sudoers file. A build error with MIT Kerberos V has been resolved. A crash on HP-UX in the sudoers plugin when wildcards are present in the sudoers file has been resolved. Sudo now works correctly on Tru64 Unix again. Major changes between version 1.8.1p1 and 1.8.1: Fixed a problem on AIX where sudo was unable to set the final uid if the PAM module modified the effective uid. A non-existent includedir is now treated the same as an empty directory and not reported as an error. Removed extraneous parens in LDAP filter when sudoers_search_filter is enabled that can cause an LDAP search error. Fixed a make -j problem for make install Major changes between version 1.8.1 and 1.8.0: A new LDAP setting, sudoers_search_filter, has been added to ldap.conf. This setting can be used to restrict the set of records returned by the LDAP query. Based on changes from Matthew Thomas. White space is now permitted within a User_List when used in conjunction with a per-user Defaults definition. A group ID (%#gid) may now be specified in a User_List or Runas_List. Likewise, for non-Unix groups the syntax is %:#gid. Support for double-quoted words in the sudoers file has been fixed. The change in 1.7.5 for escaping the double quote character caused the double quoting to only be available at the beginning of an entry. The fix for resuming a suspended shell in 1.7.5 caused problems with resuming non-shells on Linux. Sudo will now save the process group ID of the program it is running on suspend and restore it when resuming, which fixes both problems. A bug that could result in corrupted output in "sudo -l" has been fixed. Sudo will now create an entry in the utmp (or utmpx) file when allocating a pseudo-tty (e.g. when logging I/O). The "set_utmp" and "utmp_runas" sudoers file options can be used to control this. Other policy plugins may use the "set_utmp" and "utmp_user" entries in the command_info list. The sudoers policy now stores the TSID field in the logs even when the "iolog_file" sudoers option is defined to a value other than %{sessid}. Previously, the TSID field was only included in the log file when the "iolog_file" option was set to its default value. The sudoreplay utility now supports arbitrary session IDs. Previously, it would only work with the base-36 session IDs that the sudoers plugin uses by default. Sudo now passes "run_shell=true" to the policy plugin in the settings list when sudo's -s command line option is specified. The sudoers policy plugin uses this to implement the "set_home" sudoers option which was missing from sudo 1.8.0. The "noexec" functionality has been moved out of the sudoers policy plugin and into the sudo front-end, which matches the behavior documented in the plugin writer's guide. As a result, the path to the noexec file is now specified in the sudo.conf file instead of the sudoers file. On Solaris 10, the PRIV_PROC_EXEC privilege is now used to implement the "noexec" feature. Previously, this was implemented via the LD_PRELOAD environment variable. The exit values for "sudo -l", "sudo -v" and "sudo -l command" have been fixed in the sudoers policy plugin. The sudoers policy plugin now passes the login class, if any, back to the sudo front-end. The sudoers policy plugin was not being linked with requisite libraries in certain configurations. Sudo now parses command line arguments before loading any plugins. This allows "sudo -V" or "sudo -h" to work even if there is a problem with sudo.conf Plugins are now linked with the static version of libgcc to allow the plugin to run on a system where no shared libgcc is installed, or where it is installed in a different location. Major changes between version 1.8.0 and 1.7.5: Sudo has been refactored to use a modular framework that can support third-party policy and I/O logging plugins. The default plugin is "sudoers" which provides the traditional sudo functionality. See the sudo_plugin manual for details on the plugin API and the sample in the plugins directory for a simple example. @ text @d1 1 a1 1 $NetBSD$ d3 3 d8 72 a79 21 --- Makefile.in.orig 2015-10-31 23:35:07.000000000 +0000 +++ Makefile.in @@@@ -63,7 +63,8 @@@@ SHELL = @@SHELL@@ SED = @@SED@@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c -INSTALL_OWNER = -o $(install_uid) -g $(install_gid) +#INSTALL_OWNER = -o $(install_uid) -g $(install_gid) +INSTALL_OWNER = "" ECHO_N = @@ECHO_N@@ ECHO_C = @@ECHO_C@@ @@@@ -129,7 +130,7 @@@@ install-doc: config.status ChangeLog exit $$?; \ done -install: config.status ChangeLog pre-install install-nls +install: config.status ChangeLog install-nls for d in $(SUBDIRS); do \ (cd $$d && exec $(MAKE) "INSTALL_OWNER=$(INSTALL_OWNER)" $@@) && continue; \ exit $$?; \ @ 1.30.24.2 log @Pullup ticket #4905 - requested by taca security/sudo: build fix Revisions pulled up: - security/sudo/Makefile 1.148-1.149 - security/sudo/PLIST 1.9 - security/sudo/distinfo 1.85-1.86 - security/sudo/options.mk 1.19 - security/sudo/patches/patch-aa 1.32 --- Module Name: pkgsrc Committed By: adam Date: Tue Jan 5 17:05:00 UTC 2016 Modified Files: pkgsrc/security/sudo: Makefile distinfo Log Message: Fix building on OS X; cosmetic changes; fix distinfo --- Module Name: pkgsrc Committed By: adam Date: Sat Jan 9 11:22:12 UTC 2016 Modified Files: pkgsrc/security/sudo: Makefile PLIST distinfo options.mk pkgsrc/security/sudo/patches: patch-aa Log Message: Add nls as an option, but also fix builds where system gettext gets detected and used. @ text @d13 1 a13 1 +INSTALL_OWNER = @ 1.29 log @Update sudo package to 1.7.9p1. Fix seuciry problem of CVE-2012-2337. What's new in Sudo 1.7.9p1? * Fixed a bug when matching against an IP address with an associated netmask in the sudoers file. In certain circumstances, this could allow users to run commands on hosts they are not authorized for. What's new in Sudo 1.7.9? * Fixed a false positive in visudo strict mode when aliases are in use. * The line on which a syntax error is reported in the sudoers file is now more accurate. Previously it was often off by a line. * The #include and #includedir directives in sudoers now support relative paths. If the path is not fully qualified it is expected to be located in the same directory of the sudoers file that is including it. * visudo will now fix the mode on the sudoers file even if no changes are made unless the -f option is specified. * The "use_loginclass" sudoers option works properly again. * For LDAP-based sudoers, values in the search expression are now escaped as per RFC 4515. * Fixed a race condition when I/O logging is not enabled that could result in tty-generated signals (e.g. control-C) being received by the command twice. * If none of the standard input, output or error are connected to a tty device, sudo will now check its parent's standard input, output or error for the tty name on systems with /proc and BSD systems that support the KERN_PROC_PID sysctl. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. * Fixed a bug where a pattern like "/usr/*" included /usr/bin/ in the results, which would be incorrectly be interpreted as if the sudoers file had specified a directory. * "visudo -c" will now list any include files that were checked in addition to the main sudoers file when everything parses OK. * Users that only have read-only access to the sudoers file may now run "visudo -c". Previously, write permissions were required even though no writing is down in check-only mode. What's new in Sudo 1.7.8p2? * Fixed a crash in the monitor process on Solaris when NOPASSWD was specified or when authentication was disabled. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.28 2011/09/18 14:18:25 ryoon Exp $ d8 3 a10 3 --- Makefile.in.orig 2012-02-10 17:52:13.000000000 +0000 +++ Makefile.in @@@@ -222,7 +222,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d17 3 a19 3 # Uncomment the following if you want "make distclean" to clean the parser @@DEV@@GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate @@@@ -545,44 +545,44 @@@@ pre-install: d37 2 a38 1 - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04111 sudo $(DESTDIR)$(sudodir)/sudo d41 4 a44 4 ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit - if [ -f sudoreplay ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo - if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi d50 2 a51 2 - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi + if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi d63 17 a79 19 - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) + (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -m 0444 $$f $(DESTDIR)$(docdir); done) + @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -m 0444 $$f $(DESTDIR)$(docdir); done) + $(INSTALL) -m 0444 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) @@rm -f $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu) ln $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu) - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) + @@REPLAY@@$(INSTALL) -m 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) + $(INSTALL) -m 0444 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) + $(INSTALL) -m 0444 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) + @@LDAP@@$(INSTALL) -m 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @@MAN_POSTINSTALL@@ check: @ 1.29.6.1 log @Pullup ticket #4086 - requested by kim security/sudo: security update Revisions pulled up: - security/sudo/Makefile 1.140 via patch - security/sudo/distinfo 1.79 - security/sudo/patches/patch-aa 1.30 - security/sudo/patches/patch-af 1.29 - security/sudo/patches/patch-ag 1.20 - security/sudo/patches/patch-pwutil.c deleted --- Module Name: pkgsrc Committed By: kim Date: Fri Mar 1 14:24:59 UTC 2013 Modified Files: pkgsrc/security/sudo: Makefile distinfo pkgsrc/security/sudo/patches: patch-aa patch-af patch-ag Removed Files: pkgsrc/security/sudo/patches: patch-pwutil.c Log Message: Upgrade to address CVE-2013-1775 What's new in Sudo 1.7.10p7? * A time stamp file with the date set to the epoch by "sudo -k" is now completely ignored regardless of what the local clock is set to. Previously, if the local clock was set to a value between the epoch and the time stamp timeout value, a time stamp reset by "sudo -k" would be considered current. What's new in Sudo 1.7.10p6? * The tty-specific time stamp file now includes the session ID of the sudo process that created it. If a process with the same tty but a different session ID runs sudo, the user will now be prompted for a password (assuming authentication is required for the command). What's new in Sudo 1.7.10p5? * On systems where the controlling tty can be determined via /proc or sysctl(), sudo will no longer fall back to using ttyname() if the process has no controlling tty. This prevents sudo from using a non-controlling tty for logging and time stamp purposes. What's new in Sudo 1.7.10? * If the user is a member of the "exempt" group in sudoers, they will no longer be prompted for a password even if the -k flag is specified with the command. This makes "sudo -k command" consistent with the behavior one would get if the user ran "sudo -k" immediately before running the command. * The sudoers file may now be a symbolic link. Previously, sudo would refuse to read sudoers unless it was a regular file. * The user/group/mode checks on sudoers files have been relaxed. As long as the file is owned by the sudoers uid, not world-writable and not writable by a group other than the sudoers gid, the file is considered OK. Note that visudo will still set the mode to the value specified at configure time. * /etc/environment is no longer read directly on Linux systems when PAM is used. Sudo now merges the PAM environment into the user's environment which is typically set by the pam_env module. * The initial evironment created when env_reset is in effect now includes the contents of /etc/environment on AIX systems and the "setenv" and "path" entries from /etc/login.conf on BSD systems. * On systems with an SVR4-style /proc file system, the /proc/pid/psinfo file is now uses to determine the controlling terminal, if possible. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. * The sudoreplay command can now properly replay sessions where no tty was present. * Fixed a race condition that could cause sudo to receive SIGTTOU (and stop) when resuming a shell that was run via sudo when I/O logging (and use_pty) is not enabled. @ text @d1 1 a1 1 $NetBSD$ d8 3 a10 3 --- Makefile.in.orig 2013-01-15 19:59:25.000000000 +0000 +++ Makefile.in 2013-03-01 13:46:11.000000000 +0000 @@@@ -250,7 +250,7 @@@@ d17 3 a19 3 GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate.c @@@@ -686,43 +686,43 @@@@ d37 1 a37 2 if [ X"$$SUDO_PREINSTALL_CMD" != X"" ]; then exec $$SUDO_PREINSTALL_CMD sudo; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04755 sudo $(DESTDIR)$(sudodir)/sudo d40 4 a43 4 ln -s sudo $(DESTDIR)$(sudodir)/sudoedit - if [ -f sudoreplay ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 visudo $(DESTDIR)$(visudodir)/visudo - if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 sesh $(DESTDIR)$(libexecdir)/sesh; fi d49 2 a50 2 - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m $(shlib_mode) .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi + if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -m $(shlib_mode) .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi d62 19 a80 17 - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $$f $(DESTDIR)$(docdir); done) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) + (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -m 0644 $$f $(DESTDIR)$(docdir); done) + @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -m 0644 $$f $(DESTDIR)$(docdir); done) + $(INSTALL) -m 0644 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) + @@REPLAY@@$(INSTALL) -m 0644 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) + $(INSTALL) -m 0644 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) + $(INSTALL) -m 0644 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) + @@LDAP@@$(INSTALL) -m 0644 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @@if test -n "$(MANCOMPRESS)"; then \ for f in $(mandirsu)/sudo.$(mansectsu) $(mandirsu)/sudoreplay.$(mansectsu) $(mandirsu)/visudo.$(mansectsu) $(mandirform)/sudoers.$(mansectform) $(mandirform)/sudoers.ldap.$(mansectform); do \ if test -f $(DESTDIR)$$f; then \ @ 1.28 log @The patch in PR pkg/45280 applied. * Fix build on DragonFly. * The patches regen. Tested on DragonFly/i386 2.10.1 and NetBSD/i386 5.99.55. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.27 2011/06/19 15:54:55 taca Exp $ d8 1 a8 1 --- Makefile.in.orig 2011-08-13 17:29:18 +0000 d19 1 a19 1 @@@@ -543,43 +543,43 @@@@ pre-install: d30 5 a34 3 + $(DESTDIR)$(docdir) \ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) $(SHELL) $(srcdir)/mkinstalldirs -m 0700 $(DESTDIR)$(timedir) d49 1 a49 1 - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi d53 2 a54 2 - $(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -M 0750 \ + $(INSTALL) -d -o $(sudoers_uid) -g $(sudoers_gid) -m 0750 \ d57 2 a58 2 - $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \ + $(INSTALL) -o $(sudoers_uid) -g $(sudoers_gid) -m $(sudoers_mode) \ d62 3 a64 3 - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 $$f $(DESTDIR)$(docdir); done) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) d70 4 a73 4 - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @ 1.28.6.1 log @Pullup ticket #3790 - requested by taca security/sudo: security update Revisions pulled up: - security/sudo/Makefile 1.136 via patch - security/sudo/distinfo 1.78 - security/sudo/patches/patch-aa 1.29 --- Module Name: pkgsrc Committed By: taca Date: Wed May 16 14:49:56 UTC 2012 Modified Files: pkgsrc/security/sudo: Makefile distinfo pkgsrc/security/sudo/patches: patch-aa Log Message: Update sudo package to 1.7.9p1. Fix seuciry problem of CVE-2012-2337. What's new in Sudo 1.7.9p1? * Fixed a bug when matching against an IP address with an associated netmask in the sudoers file. In certain circumstances, this could allow users to run commands on hosts they are not authorized for. What's new in Sudo 1.7.9? * Fixed a false positive in visudo strict mode when aliases are in use. * The line on which a syntax error is reported in the sudoers file is now more accurate. Previously it was often off by a line. * The #include and #includedir directives in sudoers now support relative paths. If the path is not fully qualified it is expected to be located in the same directory of the sudoers file that is including it. * visudo will now fix the mode on the sudoers file even if no changes are made unless the -f option is specified. * The "use_loginclass" sudoers option works properly again. * For LDAP-based sudoers, values in the search expression are now escaped as per RFC 4515. * Fixed a race condition when I/O logging is not enabled that could result in tty-generated signals (e.g. control-C) being received by the command twice. * If none of the standard input, output or error are connected to a tty device, sudo will now check its parent's standard input, output or error for the tty name on systems with /proc and BSD systems that support the KERN_PROC_PID sysctl. This allows tty-based tickets to work properly even when, e.g. standard input, output and error are redirected to /dev/null. * Fixed a bug where a pattern like "/usr/*" included /usr/bin/ in the results, which would be incorrectly be interpreted as if the sudoers file had specified a directory. * "visudo -c" will now list any include files that were checked in addition to the main sudoers file when everything parses OK. * Users that only have read-only access to the sudoers file may now run "visudo -c". Previously, write permissions were required even though no writing is down in check-only mode. What's new in Sudo 1.7.8p2? * Fixed a crash in the monitor process on Solaris when NOPASSWD was specified or when authentication was disabled. @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 --- Makefile.in.orig 2012-02-10 17:52:13.000000000 +0000 d19 1 a19 1 @@@@ -545,44 +545,44 @@@@ pre-install: d30 3 a32 5 + $(DESTDIR)$(sudoersdir) \ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \ `echo $(DESTDIR)$(timedir)|sed 's,/[^/]*$$,,'` - $(INSTALL) -d -O $(install_uid) -G $(install_gid) -m 0700 $(DESTDIR)$(timedir) + $(INSTALL) -d -m 0700 $(DESTDIR)$(timedir) d47 1 a47 1 - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi d51 2 a52 2 - $(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -m 0750 \ + $(INSTALL) -d -m 0750 \ d55 2 a56 2 - $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -m $(sudoers_mode) \ + $(INSTALL) -m $(sudoers_mode) \ d60 3 a62 3 - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) d68 4 a71 4 - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -m 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @ 1.27 log @Update sudo package to 1.7.6.2 (1.7.6p2). What's new in Sudo 1.7.6p2 * Two-character CIDR-style IPv4 netmasks are now matched correctly in the sudoers file. * A build error with MIT Kerberos V has been resolved. What's new in Sudo 1.7.6p1 * A non-existent includedir is now treated the same as an empty directory and not reported as an error. * Removed extraneous parens in LDAP filter when sudoers_search_filter is enabled that can cause an LDAP search error. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.26 2011/03/22 14:52:08 taca Exp $ d8 1 a8 1 --- Makefile.in.orig 2011-03-29 19:25:56.000000000 +0000 d19 1 a19 1 @@@@ -541,43 +541,43 @@@@ pre-install: @ 1.26 log @Update sudo pacakge to 1.7.5. * pkgsrc change: trying to use user-destdir. What's new in Sudo 1.7.5? * When using visudo in check mode, a file named "-" may be used to check sudoers data on the standard input. * Sudo now only fetches shadow password entries when using the password database directly for authentication. * Password and group entries are now cached using the same key that was used to look them up. This fixes a problem when looking up entries by name if the name in the retrieved entry does not match the name used to look it up. This may happen on some systems that do case insensitive lookups or that truncate long names. * GCC will no longer display warnings on glibc systems that use the warn_unused_result attribute for write(2) and other system calls. * If a PAM account management module denies access, sudo now prints a more useful error message and stops trying to validate the user. * Fixed a potential hang on idle systems when the sudo-run process exits immediately. * Sudo now includes a copy of zlib that will be used on systems that do not have zlib installed. * The --with-umask-override configure flag has been added to enable the "umask_override" sudoers Defaults option at build time. * Sudo now unblocks all signals on startup to avoid problems caused by the parent process changing the default signal mask. * LDAP Sudoers entries may now specify a time period for which the entry is valid. This requires an updated sudoers schema that includes the sudoNotBefore and sudoNotAfter attributes. Support for timed entries must be explicitly enabled in the ldap.conf file. Based on changes from Andreas Mueller. * LDAP Sudoers entries may now specify a sudoOrder attribute that determines the order in which matching entries are applied. The last matching entry is used, just like file-based sudoers. This requires an updated sudoers schema that includes the sudOrder attribute. Based on changes from Andreas Mueller. * When run as sudoedit, or when given the -e flag, sudo now treats command line arguments as pathnames. This means that slashes in the sudoers file entry must explicitly match slashes in the command line arguments. As a result, and entry such as: user ALL = sudoedit /etc/* will allow editing of /etc/motd but not /etc/security/default. * NETWORK_TIMEOUT is now an alias for BIND_TIMELIMIT in ldap.conf for compatibility with OpenLDAP configuration files. * The LDAP API TIMEOUT parameter is now honored in ldap.conf. * The I/O log directory may now be specified in the sudoers file. * Sudo will no longer refuse to run if the sudoers file is writable by root. * Sudo now performs command line escaping for "sudo -s" and "sudo -i" after validating the command so the sudoers entries do not need to include the backslashes. * Logging and email sending are now done in the locale specified by the "sudoers_locale" setting ("C" by default). Email send by sudo now includes MIME headers when "sudoers_locale" is not "C". * The configure script has a new option, --disable-env-reset, to allow one to change the default for the sudoers Default setting "env_reset" at compile time. * When logging "sudo -l command", sudo will now prepend "list " to the command in the log line to distinguish between an actual command invocation in the logs. * Double-quoted group and user names may now include escaped double quotes as part of the name. Previously this was a parse error. * Sudo once again restores the state of the signal handlers it modifies before executing the command. This allows sudo to be used with the nohup command. * Resuming a suspended shell now works properly when I/O logging is not enabled (the I/O logging case was already correct). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.25 2010/09/21 03:05:27 taca Exp $ d8 1 a8 1 --- Makefile.in.orig 2011-02-19 13:25:51.000000000 +0000 d19 2 a20 2 @@@@ -535,43 +535,43 @@@@ ChangeLog: fi; \ d23 1 a23 1 -install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-sudoers install-doc @ 1.25 log @* Fix PLIST when "ldap" is enabled in PKG_OPTIONS. * Install README.LDAP when "ldap" is enabled in PKG_OPTIONS. * Fix build problem when "kerberos" is enabled in PKG_OPTIONS. Bump PKGREVISION since default PLIST has changed. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.24 2010/09/10 17:11:27 spz Exp $ d6 1 d8 1 a8 1 --- Makefile.in.orig 2010-09-03 21:43:57.000000000 +0000 d10 1 a10 1 @@@@ -205,7 +205,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d19 2 a20 2 @@@@ -475,43 +475,43 @@@@ ChangeLog: hg log --style=changelog -b default --date '<2010-01-18 00:00:00' >> $@@; \ d24 1 a24 1 +install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-doc d36 1 a36 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 04111 sudo $(DESTDIR)$(sudodir)/sudo d42 3 a44 3 + if [ -f sudoreplay ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 visudo $(DESTDIR)$(visudodir)/visudo + if [ -f sesh ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi d48 1 a48 1 + if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi d63 3 a65 3 + (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) + @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) d72 4 a75 4 + @@REPLAY@@$(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) + @@LDAP@@$(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @ 1.24 log @updating to the latest and greatest (and less a bunch of security relevant bugs) version: Major changes between version 1.7.4p3 and 1.7.4p4: * A potential security issue has been fixed with respect to the handling of sudo's -g command line option when -u is also specified. The flaw may allow an attacker to run commands as a user that is not authorized by the sudoers file. * A bug has been fixed where "sudo -l" output was incomplete if multiple sudoers sources were defined in nsswitch.conf and there was an error querying one of the sources. * The log_input, log_output, and use_pty sudoers options now work correctly on AIX. Previously, sudo would hang if they were enabled. * Fixed "make install" when sudo is built in a directory other than the directory that holds the sources. * The runas_default sudoers setting now works properly in a per-command Defaults line. * Suspending and resuming the bash shell when PAM is in use now works properly. The SIGCONT signal was not being propagated to the child process. Major changes between version 1.7.4p2 and 1.7.4p3: * A bug has been fixed where duplicate HOME environment variables could be set when the env_reset setting was disabled and the always_set_home setting was enabled in sudoers. * The value of sysconfdir is now substituted into the path to the sudoers.d directory in the installed sudoers file. * Fixed compilation problems on Irix and other platforms. * If multiple PAM "auth" actions are specified and the user enters ^C at the password prompt, sudo will now abort any subsequent "auth" actions. Previously it was necessary to enter ^C once for each "auth" action. Major changes between version 1.7.4p1 and 1.7.4p2: * Fixed a bug where sudo could spin in a cpu loop waiting for the child process. * Packaging fixes for sudo.pp to better handle patchlevels. Major changes between version 1.7.4 and 1.7.4p1: * Fix a bug introduced in sudo 1.7.3 that prevented the -k and -K options from functioning when the tty_tickets sudoers option was enabled. * Sudo no longer prints a warning when the -k or -K options are specified and the ticket file does not exist. * Changes to the configure script to enable cross-compilation of Sudo. Major changes between version 1.7.3 and 1.7.4: * Sudoedit will now preserve the file extension in the name of the temporary file being edited. The extension is used by some editors (such as emacs) to choose the editing mode. * Time stamp files have moved from /var/run/sudo to either /var/db/sudo, /var/lib/sudo or /var/adm/sudo. The directories are checked for existence in that order. This prevents users from receiving the sudo lecture every time the system reboots. Time stamp files older than the boot time are ignored on systems where it is possible to determine this. * Ancillary documentation (README files, LICENSE, etc) is now installed in a sudo documentation directory. * Sudo now recognizes "tls_cacert" as an alias for "tls_cacertfile" in ldap.conf. * Defaults settings that are tied to a user, host or command may now include the negation operator. For example: Defaults:!millert lecture will match any user but millert. * The default PATH environment variable, used when no PATH variable exists, now includes /usr/sbin and /sbin. * Sudo now uses polypkg for cross-platform packing. * On Linux, sudo will now restore the nproc resource limit before executing a command, unless the limit appears to have been modified by pam_limits. This avoids a problem with bash scripts that open more than 32 descriptors on SuSE Linux, where sysconf(_SC_CHILD_MAX) will return -1 when RLIMIT_NPROC is set to RLIMIT_UNLIMITED (-1). * Visudo will now treat an unrecognized Defaults entry as a parse error (sudo will warn but still run). * The HOME and MAIL environment variables are now reset based on the target user's password database entry when the env_reset sudoers option is enabled (which is the case in the default configuration). Users wishing to preserve the original values should use a sudoers entry like: Defaults env_keep += HOME to preserve the old value of HOME and Defaults env_keep += MAIL to preserve the old value of MAIL. * The tty_tickets option is now on by default. * Fixed a problem in the restoration of the AIX authdb registry setting. * If PAM is in use, wait until the process has finished before closing the PAM session. * Fixed "sudo -i -u user" where user has no shell listed in the password database. * When logging I/O, sudo now handles pty read/write returning ENXIO, as seen on FreeBSD when the login session has been killed. * Sudo now performs I/O logging in the C locale. This avoids locale-related issues when parsing floating point numbers in the timing file. * Added support for Ubuntu-style admin flag dot files. Major changes between version 1.7.2p8 and 1.7.3: * Support for logging a command's input and output as well as the ability to replay sessions. For more information, see the documentation for the log_input and log_output Defaults options in the sudoers manual. Also see the sudoreplay manual for information on replaying I/O log sessions. * The use_pty sudoers option can be used to force a command to be run in a pseudo-pty, even when I/O logging is not enabled. * On some systems, sudo can now detect when a user has logged out and back in again when tty-based time stamps are in use. Supported systems include Solaris systems with the devices file system, Mac OS X, and Linux systems with the devpts filesystem (pseudo-ttys only). * On AIX systems, the registry setting in /etc/security/user is now taken into account when looking up users and groups. Sudo now applies the correct the user and group ids when running a command as a user whose account details come from a different source (e.g. LDAP or DCE vs. local files). * Support for multiple sudoers_base and uri entries in ldap.conf. When multiple entries are listed, sudo will try each one in the order in which they are specified. * Sudo's SELinux support should now function correctly when running commands as a non-root user and when one of stdin, stdout or stderr is not a terminal. * Sudo will now use the Linux audit system with configure with the --with-linux-audit flag. * Sudo now uses mbr_check_membership() on systems that support it to determine group membership. Currently, only Darwin (Mac OS X) supports this. * When the tty_tickets sudoers option is enabled but there is no terminal device, sudo will no longer use or create a tty-based ticket file. Previously, sudo would use a tty name of "unknown". As a consequence, if a user has no terminal device, sudo will now always prompt for a password. * The passwd_timeout and timestamp_timeout options may now be specified as floating point numbers for more granular timeout values. * Negating the fqdn option in sudoers now works correctly when sudo is configured with the --with-fqdn option. In previous versions of sudo the fqdn was set before sudoers was parsed. @ text @d1 5 a5 1 $NetBSD$ @ 1.23 log @Update sudo package from sudo-1.7.2p4 to sudo-1.7.2p6. Sudo versions 1.7.2p6 and 1.6.9p22 are now available. These releases fix a privilege escalation bug in the sudoedit functionality. Summary: A flaw exists in sudo's -e option (aka sudoedit) in sudo versions 1.6.8 through 1.7.2p5 that may give a user with permission to run sudoedit the ability to run arbitrary commands. This bug is related to, but distinct from, CVE 2010-0426. Sudo versions affected: 1.6.8 through 1.7.2p5 inclusive. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.22 2009/12/20 07:46:32 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2010-04-09 21:13:21.000000000 +0000 d5 1 a5 1 @@@@ -196,7 +196,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d8 1 a8 1 sudo_noexec.la: sudo_noexec.lo d13 4 a16 4 @@DEV@@GENERATED = gram.h gram.c toke.c def_data.c def_data.h @@@@ -403,36 +403,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man @@DEV@@LICENSE: license.pod @@DEV@@ pod2text -l -i0 $> | sed '1,2d' > $@@ d18 2 a19 2 -install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-sudoers install-man +install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-man d23 5 a27 4 - $(DESTDIR)$(visudodir) $(DESTDIR)$(sudoersdir) \ + $(DESTDIR)$(visudodir) \ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \ $(DESTDIR)$(noexecdir) d30 2 a31 2 - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4111 -s sudo $(DESTDIR)$(sudodir)/sudo d34 10 a43 8 - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo -@@SELINUX@@ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s visudo $(DESTDIR)$(visudodir)/visudo +@@SELINUX@@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh install-noexec: install-dirs sudo_noexec.la - test -f .libs/$(noexecfile) && $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir) + test -f .libs/$(noexecfile) && $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir) d46 3 d52 1 a52 1 $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers d54 3 a56 1 install-man: install-dirs d58 2 d63 1 d67 1 @ 1.23.2.1 log @Pullup ticket #3220 - requested by spz security/sudo: security update Revisions pulled up: - security/sudo/Makefile 1.122-1.123 - security/sudo/PLIST 1.5 - security/sudo/distinfo 1.64-1.65 - security/sudo/patches/patch-aa 1.24 - security/sudo/patches/patch-af 1.24-1.25 - security/sudo/patches/patch-ag 1.15-1.16 --- Module Name: pkgsrc Committed By: taca Date: Mon Jul 5 03:08:10 UTC 2010 Modified Files: pkgsrc/security/sudo: Makefile distinfo pkgsrc/security/sudo/patches: patch-af patch-ag Log Message: Update sudo package to 1.7.2p8. Major changes between sudo 1.7.2p7 and 1.7.2p8: * Fixed a crash on AIX when LDAP support is in use. * Fixed problems with the QAS non-Unix group support --- Module Name: pkgsrc Committed By: spz Date: Fri Sep 10 17:11:27 UTC 2010 Modified Files: pkgsrc/security/sudo: Makefile PLIST distinfo pkgsrc/security/sudo/patches: patch-aa patch-af patch-ag Log Message: updating to the latest and greatest (and less a bunch of security relevant bugs) version: Major changes between version 1.7.4p3 and 1.7.4p4: * A potential security issue has been fixed with respect to the handling of sudo's -g command line option when -u is also specified. The flaw may allow an attacker to run commands as a user that is not authorized by the sudoers file. * A bug has been fixed where "sudo -l" output was incomplete if multiple sudoers sources were defined in nsswitch.conf and there was an error querying one of the sources. * The log_input, log_output, and use_pty sudoers options now work correctly on AIX. Previously, sudo would hang if they were enabled. * Fixed "make install" when sudo is built in a directory other than the directory that holds the sources. * The runas_default sudoers setting now works properly in a per-command Defaults line. * Suspending and resuming the bash shell when PAM is in use now works properly. The SIGCONT signal was not being propagated to the child process. Major changes between version 1.7.4p2 and 1.7.4p3: * A bug has been fixed where duplicate HOME environment variables could be set when the env_reset setting was disabled and the always_set_home setting was enabled in sudoers. * The value of sysconfdir is now substituted into the path to the sudoers.d directory in the installed sudoers file. * Fixed compilation problems on Irix and other platforms. * If multiple PAM "auth" actions are specified and the user enters ^C at the password prompt, sudo will now abort any subsequent "auth" actions. Previously it was necessary to enter ^C once for each "auth" action. Major changes between version 1.7.4p1 and 1.7.4p2: * Fixed a bug where sudo could spin in a cpu loop waiting for the child process. * Packaging fixes for sudo.pp to better handle patchlevels. Major changes between version 1.7.4 and 1.7.4p1: * Fix a bug introduced in sudo 1.7.3 that prevented the -k and -K options from functioning when the tty_tickets sudoers option was enabled. * Sudo no longer prints a warning when the -k or -K options are specified and the ticket file does not exist. * Changes to the configure script to enable cross-compilation of Sudo. Major changes between version 1.7.3 and 1.7.4: * Sudoedit will now preserve the file extension in the name of the temporary file being edited. The extension is used by some editors (such as emacs) to choose the editing mode. * Time stamp files have moved from /var/run/sudo to either /var/db/sudo, /var/lib/sudo or /var/adm/sudo. The directories are checked for existence in that order. This prevents users from receiving the sudo lecture every time the system reboots. Time stamp files older than the boot time are ignored on systems where it is possible to determine this. * Ancillary documentation (README files, LICENSE, etc) is now installed in a sudo documentation directory. * Sudo now recognizes "tls_cacert" as an alias for "tls_cacertfile" in ldap.conf. * Defaults settings that are tied to a user, host or command may now include the negation operator. For example: Defaults:!millert lecture will match any user but millert. * The default PATH environment variable, used when no PATH variable exists, now includes /usr/sbin and /sbin. * Sudo now uses polypkg for cross-platform packing. * On Linux, sudo will now restore the nproc resource limit before executing a command, unless the limit appears to have been modified by pam_limits. This avoids a problem with bash scripts that open more than 32 descriptors on SuSE Linux, where sysconf(_SC_CHILD_MAX) will return -1 when RLIMIT_NPROC is set to RLIMIT_UNLIMITED (-1). * Visudo will now treat an unrecognized Defaults entry as a parse error (sudo will warn but still run). * The HOME and MAIL environment variables are now reset based on the target user's password database entry when the env_reset sudoers option is enabled (which is the case in the default configuration). Users wishing to preserve the original values should use a sudoers entry like: Defaults env_keep += HOME to preserve the old value of HOME and Defaults env_keep += MAIL to preserve the old value of MAIL. * The tty_tickets option is now on by default. * Fixed a problem in the restoration of the AIX authdb registry setting. * If PAM is in use, wait until the process has finished before closing the PAM session. * Fixed "sudo -i -u user" where user has no shell listed in the password database. * When logging I/O, sudo now handles pty read/write returning ENXIO, as seen on FreeBSD when the login session has been killed. * Sudo now performs I/O logging in the C locale. This avoids locale-related issues when parsing floating point numbers in the timing file. * Added support for Ubuntu-style admin flag dot files. Major changes between version 1.7.2p8 and 1.7.3: * Support for logging a command's input and output as well as the ability to replay sessions. For more information, see the documentation for the log_input and log_output Defaults options in the sudoers manual. Also see the sudoreplay manual for information on replaying I/O log sessions. * The use_pty sudoers option can be used to force a command to be run in a pseudo-pty, even when I/O logging is not enabled. * On some systems, sudo can now detect when a user has logged out and back in again when tty-based time stamps are in use. Supported systems include Solaris systems with the devices file system, Mac OS X, and Linux systems with the devpts filesystem (pseudo-ttys only). * On AIX systems, the registry setting in /etc/security/user is now taken into account when looking up users and groups. Sudo now applies the correct the user and group ids when running a command as a user whose account details come from a different source (e.g. LDAP or DCE vs. local files). * Support for multiple sudoers_base and uri entries in ldap.conf. When multiple entries are listed, sudo will try each one in the order in which they are specified. * Sudo's SELinux support should now function correctly when running commands as a non-root user and when one of stdin, stdout or stderr is not a terminal. * Sudo will now use the Linux audit system with configure with the --with-linux-audit flag. * Sudo now uses mbr_check_membership() on systems that support it to determine group membership. Currently, only Darwin (Mac OS X) supports this. * When the tty_tickets sudoers option is enabled but there is no terminal device, sudo will no longer use or create a tty-based ticket file. Previously, sudo would use a tty name of "unknown". As a consequence, if a user has no terminal device, sudo will now always prompt for a password. * The passwd_timeout and timestamp_timeout options may now be specified as floating point numbers for more granular timeout values. * Negating the fqdn option in sudoers now works correctly when sudo is configured with the --with-fqdn option. In previous versions of sudo the fqdn was set before sudoers was parsed. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.in.orig 2010-09-03 21:43:57.000000000 +0000 d5 1 a5 1 @@@@ -205,7 +205,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d8 1 a8 1 libsudo_noexec.la: sudo_noexec.lo d13 4 a16 4 @@DEV@@GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate @@@@ -475,43 +475,43 @@@@ ChangeLog: hg log --style=changelog -b default --date '<2010-01-18 00:00:00' >> $@@; \ fi d18 2 a19 2 -install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-sudoers install-doc +install: install-dirs install-binaries @@INSTALL_NOEXEC@@ install-doc d23 4 a26 5 $(DESTDIR)$(visudodir) $(DESTDIR)$(noexecdir) \ - $(DESTDIR)$(sudoersdir) $(DESTDIR)$(docdir) \ + $(DESTDIR)$(docdir) \ $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) $(SHELL) $(srcdir)/mkinstalldirs -m 0700 $(DESTDIR)$(timedir) d29 2 a30 2 - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04111 sudo $(DESTDIR)$(sudodir)/sudo + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 04111 sudo $(DESTDIR)$(sudodir)/sudo d33 8 a40 10 - if [ -f sudoreplay ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi - $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo - if [ -f sesh ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi + if [ -f sudoreplay ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 sudoreplay $(DESTDIR)$(sudodir)/sudoreplay; fi + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 visudo $(DESTDIR)$(visudodir)/visudo + if [ -f sesh ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 sesh $(DESTDIR)$(libexecdir)/sesh; fi install-noexec: install-dirs libsudo_noexec.la - if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi + if [ -f .libs/lib$(noexecfile) ]; then $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0755 .libs/lib$(noexecfile) $(DESTDIR)$(noexecdir)/$(noexecfile); fi a42 3 - $(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -M 0750 \ + $(INSTALL) -d -o $(sudoers_uid) -g $(sudoers_gid) -m 0750 \ $(DESTDIR)$(sudoersdir)/sudoers.d d46 1 a46 1 sudoers $(DESTDIR)$(sudoersdir)/sudoers d48 1 a48 3 install-doc: install-dirs ChangeLog - (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 $$f $(DESTDIR)$(docdir); done) - @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 $$f $(DESTDIR)$(docdir); done) a49 2 + (cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) + @@LDAP@@(cd $(srcdir) && for f in README.LDAP schema.* sudoers2ldif; do $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 $$f $(DESTDIR)$(docdir); done) a52 1 - @@REPLAY@@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) a55 1 + @@REPLAY@@$(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudoreplay.$(mantype) $(DESTDIR)$(mandirsu)/sudoreplay.$(mansectsu) @ 1.22 log @Update security/sudo pacakge to 1.7.2p2. Major changes between sudo 1.7.2p1 and 1.7.2p2: * Fixed a a bug where the negation operator in a Cmnd_List was not being honored. * Sudo no longer produces a parse error when #includedir references a directory that contains no valid filenames. * The sudo.man.pl and sudoers.man.pl files are now included in the distribution for people who wish to regenerate the man pages. * Fixed the emulation of krb5_get_init_creds_opt_alloc() for MIT kerberos. * When authenticating via PAM, set PAM_RUSER and PAM_RHOST early so they can be used during authentication. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.21 2009/05/21 03:42:49 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2009-11-25 10:42:00.000000000 +0900 d5 1 a5 1 @@@@ -198,7 +198,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d14 3 a16 3 @@@@ -408,36 +408,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man ChangeLog: cvs2cl --follow-only trunk @ 1.22.4.1 log @Pullup ticket 3079 - requested by taca security update Revisions pulled up: - pkgsrc/security/sudo/Makefile 1.120 - pkgsrc/security/sudo/distinfo 1.62 - pkgsrc/security/sudo/patches/patch-aa 1.23 -------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Fri Apr 16 15:33:52 UTC 2010 Modified Files: pkgsrc/security/sudo: Makefile distinfo pkgsrc/security/sudo/patches: patch-aa Log Message: Update sudo package from sudo-1.7.2p4 to sudo-1.7.2p6. Sudo versions 1.7.2p6 and 1.6.9p22 are now available. These releases fix a privilege escalation bug in the sudoedit functionality. Summary: A flaw exists in sudo's -e option (aka sudoedit) in sudo versions 1.6.8 through 1.7.2p5 that may give a user with permission to run sudoedit the ability to run arbitrary commands. This bug is related to, but distinct from, CVE 2010-0426. Sudo versions affected: 1.6.8 through 1.7.2p5 inclusive. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 pkgsrc/security/sudo/Makefile cvs rdiff -u -r1.61 -r1.62 pkgsrc/security/sudo/distinfo cvs rdiff -u -r1.22 -r1.23 pkgsrc/security/sudo/patches/patch-aa @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.23 2010/04/16 15:33:52 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2010-04-09 21:13:21.000000000 +0000 d5 1 a5 1 @@@@ -196,7 +196,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d14 3 a16 3 @@@@ -403,36 +403,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man @@DEV@@LICENSE: license.pod @@DEV@@ pod2text -l -i0 $> | sed '1,2d' > $@@ @ 1.21 log @Update sudo package to 1.7.1. pkgsrc change: add LICENSE. What's new in Sudo 1.7.1? * A new Defaults option "pwfeedback" will cause sudo to provide visual feedback when the user is entering a password. * A new Defaults option "fast_glob" will cause sudo to use the fnmatch() function for file name globbing instead of glob(). When this option is enabled, sudo will not check the file system when expanding wildcards. This is faster but a side effect is that relative paths with wildcard will no longer work. * New BSM audit support for systems that support it such as FreeBSD and Mac OS X. * The file name specified with the #include directive may now include a %h escape which is expanded to the short form of hostname. * The -k flag may now be specified along with a command, causing the user's timestamp file to be ignored. * New support for Tivoli-based LDAP START_TLS, present in AIX. * New support for /etc/netsvc.conf on AIX. * The unused alias checks in visudo now handle the case of an alias referring to another alias. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.20 2009/02/05 13:48:12 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2009-03-12 08:19:56.000000000 +0900 d14 1 a14 1 @@@@ -406,36 +406,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man @ 1.20 log @Update security/sudo package to 1.7.0. * pkgsrc change: relax restriction to kerberos package. What's new in Sudo 1.7.0? * Rewritten parser that converts sudoers into a set of data structures. This eliminates a number of ordering issues and makes it possible to apply sudoers Defaults entries before searching for the command. It also adds support for per-command Defaults specifications. * Sudoers now supports a #include facility to allow the inclusion of other sudoers-format files. * Sudo's -l (list) flag has been enhanced: o applicable Defaults options are now listed o a command argument can be specified for testing whether a user may run a specific command. o a new -U flag can be used in conjunction with "sudo -l" to allow root (or a user with "sudo ALL") list another user's privileges. * A new -g flag has been added to allow the user to specify a primary group to run the command as. The sudoers syntax has been extended to include a group section in the Runas specification. * A uid may now be used anywhere a username is valid. * The "secure_path" run-time Defaults option has been restored. * Password and group data is now cached for fast lookups. * The file descriptor at which sudo starts closing all open files is now configurable via sudoers and, optionally, the command line. * Visudo will now warn about aliases that are defined but not used. * The -i and -s command line flags now take an optional command to be run via the shell. Previously, the argument was passed to the shell as a script to run. * Improved LDAP support. SASL authentication may now be used in conjunction when connecting to an LDAP server. The krb5_ccname parameter in ldap.conf may be used to enable Kerberos. * Support for /etc/nsswitch.conf. LDAP users may now use nsswitch.conf to specify the sudoers order. E.g.: sudoers: ldap files to check LDAP, then /etc/sudoers. The default is "files", even when LDAP support is compiled in. This differs from sudo 1.6 where LDAP was always consulted first. * Support for /etc/environment on AIX and Linux. If sudo is run with the -i flag, the contents of /etc/environment are used to populate the new environment that is passed to the command being run. * If no terminal is available or if the new -A flag is specified, sudo will use a helper program to read the password if one is configured. Typically, this is a graphical password prompter such as ssh-askpass. * A new Defaults option, "mailfrom" that sets the value of the "From:" field in the warning/error mail. If unspecified, the login name of the invoking user is used. * A new Defaults option, "env_file" that refers to a file containing environment variables to be set in the command being run. * A new flag, -n, may be used to indicate that sudo should not prompt the user for a password and, instead, exit with an error if authentication is required. * If sudo needs to prompt for a password and it is unable to disable echo (and no askpass program is defined), it will refuse to run unless the "visiblepw" Defaults option has been specified. * Prior to version 1.7.0, hitting enter/return at the Password: prompt would exit sudo. In sudo 1.7.0 and beyond, this is treated as an empty password. To exit sudo, the user must press ^C or ^D at the prompt. * visudo will now check the sudoers file owner and mode in -c (check) mode when the -s (strict) flag is specified. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.19 2008/03/29 14:16:58 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2008-12-04 05:40:58.000000000 +0900 d5 1 a5 1 @@@@ -197,7 +197,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d14 1 a14 1 @@@@ -399,36 +399,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man d28 1 a28 1 install-binaries: $(PROGS) d30 1 a30 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4511 -s sudo $(DESTDIR)$(sudodir)/sudo d36 1 a36 1 +@@SELINUX@@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s sesh $(DESTDIR)$(libexecdir)/sesh d38 1 a38 1 install-noexec: sudo_noexec.la d42 1 a42 1 install-sudoers: d48 1 a48 1 install-man: @ 1.19 log @Update sudo package to 1.6.9p15. 653) Fixed installation of sudo_noexec.so on AIX. 654) Updated libtool to version 1.5.26. 655) Fixed printing of default SELinux role and type in -V mode. 656) The HOME environment variable is once again preserved by default, as per the documentation. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.18 2008/03/11 15:52:51 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2008-03-24 04:43:51.000000000 +0900 d5 1 a5 1 @@@@ -188,7 +188,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d13 4 a16 4 @@DEV@@PARSESRCS = sudo.tab.h sudo.tab.c lex.yy.c def_data.c def_data.h @@@@ -304,35 +304,35 @@@@ sudoers.man:: sudoers.man.in sudoers.cat: sudoers.man d30 1 a30 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4511 -s sudo $(DESTDIR)$(sudodir) d35 2 a36 2 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s visudo $(DESTDIR)$(visudodir) +@@SELINUX@@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s sesh $(DESTDIR)$(libexecdir) a44 1 - $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers d46 1 a46 1 + $(srcdir)/sudoers $(DESTDIR)$(sudoersdir) d55 1 d58 1 @ 1.19.12.1 log @Pullup ticket #2688 - requested by taca sudo: security update Revisions pulled up: - security/sudo/Makefile 1.114 - security/sudo/PLIST 1.3 - security/sudo/distinfo 1.57 - security/sudo/options.mk 1.16 - security/sudo/patches/patch-aa 1.20 - security/sudo/patches/patch-af 1.21 - security/sudo/patches/patch-ag 1.13 - security/sudo/patches/patch-ai delete --- Module Name: pkgsrc Committed By: taca Date: Thu Feb 5 13:48:12 UTC 2009 Modified Files: pkgsrc/security/sudo: Makefile PLIST distinfo options.mk pkgsrc/security/sudo/patches: patch-aa patch-af patch-ag Removed Files: pkgsrc/security/sudo/patches: patch-ai Log Message: Update security/sudo package to 1.7.0. * pkgsrc change: relax restriction to kerberos package. What's new in Sudo 1.7.0? * Rewritten parser that converts sudoers into a set of data structures. This eliminates a number of ordering issues and makes it possible to apply sudoers Defaults entries before searching for the command. It also adds support for per-command Defaults specifications. * Sudoers now supports a #include facility to allow the inclusion of other sudoers-format files. * Sudo's -l (list) flag has been enhanced: o applicable Defaults options are now listed o a command argument can be specified for testing whether a user may run a specific command. o a new -U flag can be used in conjunction with "sudo -l" to allow root (or a user with "sudo ALL") list another user's privileges. * A new -g flag has been added to allow the user to specify a primary group to run the command as. The sudoers syntax has been extended to include a group section in the Runas specification. * A uid may now be used anywhere a username is valid. * The "secure_path" run-time Defaults option has been restored. * Password and group data is now cached for fast lookups. * The file descriptor at which sudo starts closing all open files is now configurable via sudoers and, optionally, the command line. * Visudo will now warn about aliases that are defined but not used. * The -i and -s command line flags now take an optional command to be run via the shell. Previously, the argument was passed to the shell as a script to run. * Improved LDAP support. SASL authentication may now be used in conjunction when connecting to an LDAP server. The krb5_ccname parameter in ldap.conf may be used to enable Kerberos. * Support for /etc/nsswitch.conf. LDAP users may now use nsswitch.conf to specify the sudoers order. E.g.: sudoers: ldap files to check LDAP, then /etc/sudoers. The default is "files", even when LDAP support is compiled in. This differs from sudo 1.6 where LDAP was always consulted first. * Support for /etc/environment on AIX and Linux. If sudo is run with the -i flag, the contents of /etc/environment are used to populate the new environment that is passed to the command being run. * If no terminal is available or if the new -A flag is specified, sudo will use a helper program to read the password if one is configured. Typically, this is a graphical password prompter such as ssh-askpass. * A new Defaults option, "mailfrom" that sets the value of the "From:" field in the warning/error mail. If unspecified, the login name of the invoking user is used. * A new Defaults option, "env_file" that refers to a file containing environment variables to be set in the command being run. * A new flag, -n, may be used to indicate that sudo should not prompt the user for a password and, instead, exit with an error if authentication is required. * If sudo needs to prompt for a password and it is unable to disable echo (and no askpass program is defined), it will refuse to run unless the "visiblepw" Defaults option has been specified. * Prior to version 1.7.0, hitting enter/return at the Password: prompt would exit sudo. In sudo 1.7.0 and beyond, this is treated as an empty password. To exit sudo, the user must press ^C or ^D at the prompt. * visudo will now check the sudoers file owner and mode in -c (check) mode when the -s (strict) flag is specified. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.in.orig 2008-12-04 05:40:58.000000000 +0900 d5 1 a5 1 @@@@ -197,7 +197,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d13 4 a16 4 @@DEV@@GENERATED = gram.h gram.c toke.c def_data.c def_data.h @@@@ -399,36 +399,36 @@@@ sudoers.ldap.cat: sudoers.ldap.man ChangeLog: cvs2cl --follow-only trunk d30 1 a30 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4511 -s sudo $(DESTDIR)$(sudodir)/sudo d35 2 a36 2 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s visudo $(DESTDIR)$(visudodir)/visudo +@@SELINUX@@ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s sesh $(DESTDIR)$(libexecdir)/sesh d45 1 d47 1 a47 1 $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers a55 1 - @@LDAP@@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) a57 1 + @@LDAP@@$(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @@mansrcdir@@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform) @ 1.18 log @Update sudo package to 1.6.9p14. pkgsrc changes: - Explict to depends security/heimdal package when kerberos option is specified. PR pkg/37999 should be fixed. Change: 646) Sudo will now set the nproc resource limit to unlimited on Linux systems to work around Linux's setuid() resource limit semantics. On PAM systems the resource limits will be reset by pam_limits.so before the command is executed. 647) SELinux support that can be used to implement role based access control (RBAC). A role and (optional) type may be specified in sudoers or on the command line. These are then used in the security context that the command is run as. 648) Fixed a Kerberos 5 compilation problem with MIT Kerberos. Sudo 1.6.9p13 released. 649) Fixed an invalid assumption in the PAM conversation function introduced in version 1.6.9p9. The conversation function may be called for non-password reading purposes as well. 650) Fixed freeing an uninitialized pointer in -l mode, introduced in version 1.6.9p13. 651) Check /etc/sudoers after LDAP even if the user was found in LDAP. This allows Defaults options in /etc/sudoers to take effect. 652) Add missing checks for enforcing mode in SELinux RBAC mode. Sudo 1.6.9p14 released. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.17 2008/01/03 23:17:48 rillig Exp $ d3 1 a3 1 --- Makefile.in.orig 2008-03-05 21:41:08.000000000 +0900 d5 1 a5 1 @@@@ -187,7 +187,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d14 1 a14 1 @@@@ -303,20 +303,20 @@@@ sudoers.man:: sudoers.man.in d30 1 a30 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4511 -s sudo $(DESTDIR)$(sudodir)/sudo d35 2 a36 2 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0511 -s visudo $(DESTDIR)$(visudodir)/visudo +@@SELINUX@@ $(INSTALL) -o $(install_uid) -g $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh d39 2 a40 2 $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la $(DESTDIR)$(noexecdir) @@@@ -326,15 +326,15 @@@@ bininst-noexec: sudo_noexec.la d45 1 d47 1 a47 1 $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers @ 1.17 log @Install the binaries readable for the owner, so that a package can be created in unprivileged pkgsrc mode. PKGREVISION++ @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.16 2007/10/28 02:05:44 taca Exp $ d3 1 a3 1 --- Makefile.in.orig 2007-10-26 00:52:02.000000000 +0900 d5 1 a5 1 @@@@ -186,7 +186,7 @@@@ sudo_noexec.lo: $(srcdir)/sudo_noexec.c d14 1 a14 1 @@@@ -301,20 +301,20 @@@@ sudoers.man:: sudoers.man.in a32 1 d34 1 d36 1 d40 1 a40 1 @@@@ -324,15 +324,15 @@@@ bininst-noexec: sudo_noexec.la @ 1.16 log @Update sudo package to 1.6.9p7. pkgsrc change: added DESTDIR support. Major changes since Sudo 1.6.9p6: o Reverted back to to using TCSAFLUSH instead of TCSADRAIN when turning off echo during password reading. o Fixed a configure bug that was preventing the addition of -lutil for login.conf support on FreeBSD and NetBSD. o Added a configure check for struct in6_addr since some systems define AF_INET6 but have no real IPv6 support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.15 2007/08/18 15:09:13 taca Exp $ d30 1 a30 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4111 -s sudo $(DESTDIR)$(sudodir)/sudo d35 1 a35 1 + $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s visudo $(DESTDIR)$(visudodir)/visudo @ 1.15 log @Update sudo package to 1.6.9p4. pkgsrc change: Make these options mutual exclusive: kerberos pam skey. (Really, combinations of kerberos and pam, pam and skey are conflicts.) CHANGES: 609) Worked around a bug ins some PAM implementations that caused a crash when no tty was present. 610) Fixed a crash on some platforms in the error logging function. 611) Documentation improvements. Sudo 1.6.9p1 released. 612) Fixed updating of the saved environment when the environ pointer gets changed out from underneath us. Sudo 1.6.9p2 released. 613) Fixed a bug related to supplemental group matching introduced in 1.6.9. Sudo 1.6.9p3 released. 614) Added IPv6 support from YOSHIFUJI Hideaki. 615) Fixed sudo_noexec installation path. 616) Fixed a K&R compilation error. Sudo 1.6.9p4 released. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.14 2007/07/23 16:38:36 tls Exp $ d3 3 a5 3 --- Makefile.in.orig 2007-07-16 22:53:18.000000000 -0400 +++ Makefile.in 2007-07-23 05:50:01.000000000 -0400 @@@@ -185,7 +185,7 @@@@ d14 1 a14 1 @@@@ -300,20 +300,20 @@@@ d39 1 a39 1 @@@@ -323,15 +323,15 @@@@ @ 1.14 log @Update sudo to 1.6.9. We don't take the new default of PAM and no other authentication; that can be enabled by adding pam to the package options if users desire. @ text @d1 1 a1 1 /* $NetBSD: $ */ @ 1.13 log @Use -[ogm] instead of -[OGM] when passing permissions options to the install script. The latter are special install-sh script options that check whether the invoking user is the root user or not, which is completely unnecessary. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 4 --- Makefile.in.orig 2005-11-08 13:21:58.000000000 -0500 +++ Makefile.in @@@@ -181,7 +181,7 @@@@ testsudoers: $(TESTOBJS) $(LIBOBJS) $(CC) -o $@@ $(TESTOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS) d14 1 a14 1 @@@@ -292,20 +292,20 @@@@ sudoers.man:: sudoers.man.in d39 1 a39 1 @@@@ -315,15 +315,15 @@@@ bininst-noexec: sudo_noexec.la @ 1.12 log @Restore USE_LIBTOOL which was silently removed recently (hi xtraeme!). Fix build with recent libtool. Not bumping PKGREVISION, it's in the flow of current PLIST fixes and such... @ text @d3 1 a3 1 --- Makefile.in.orig 2004-05-28 22:27:59.000000000 +0200 d14 1 a14 1 @@@@ -292,11 +292,11 @@@@ sudoers.man:: sudoers.man.in d28 31 @ 1.11 log @Update security/sudo to 1.6.8 and convert to use bsd.options.mk, which adds two new options, ldap and pam. Changes: * Sudo now supports storing sudoers info in LDAP (optionally using TLS). * There is a new -e option to edit files the with uid of the invoking user. This makes it possible to give users to ability to safely edit files without the possibility of editing other files or running commands as the target user. If sudo is run as "sudoedit" the -e flag is implied. * A new tag, NOEXEC, will prevent a dynamically-linked program being run by sudo from executing another program (think shell escapes). Because this uses LD_PRELOAD it has no effect on static binaries. * A uid specified in sudoers now matches the user specified by the -u flag even if the -u flag specified a name, not a uid. * Added a -i option to simulate an initial login similar to "su -". * If sudo is used to run as root shell, further sudo commands will be logged as run by the user specified by the SUDO_USER environment variable. In -e mode (sudoedit), SUDO_USER is used to determine what user to run the editor when the real uid is 0. * The sudoers file is now parsed as the runas user in all cases instead of root. This fixes some issues with running NFS-mounted commands. * If the target user == invoking user a password is no longer required. * Sudo now produces a sensible error message when the targetpw Defaults option is set and a non-existent uid is specified via the -u option. * A negated user/uid in a runas list is now treated the same as a negated command and overrides a previously allowed entry. * PAM support now uses Use pam_acct_mgmt() to check for disabled accounts. * Added a check in visudo for runas_default being used before it was set. * Fixed several issues when closing all open descriptors. Sudo now uses closefrom() if it exists, otherwise it uses /proc/$$/fd if that exists with a fallback of closing all possible descriptors. * Quoting globbing characters with a backslash now works as documented. * Fixed a problem on FreeBSD (and perhaps others) when the user is only listed in NIS (not master.passwd) and netgroups are used in the master.passwd file. * The username in a log entry is no longer truncated at 8 characters. * Added a "sudo_lecture" option that can point to a file containing a custom lecture. * The timeout for password reading is now done via alarm(), not select(). * /tmp/.odus is no longer used for timestamps by default. * Sudo now works on the nsr-tandem-nsk platform. * Fixed the --with-stow configure option. * TIS fwtk authentication now supports fwtk 2.0 and higher. * Added Stan Lee / Uncle Ben quote to the lecture from RedHat. * Added the --with-pc-insults configure to replace politically incorrect insults with other ones. @ text @d3 12 a14 3 --- Makefile.in.orig 2004-08-23 22:47:51.000000000 +0200 +++ Makefile.in 2004-08-23 22:48:20.000000000 +0200 @@@@ -292,11 +292,11 @@@@ @ 1.10 log @Do not let the program's Makefile directly install the sudoers file under PKG_SYSCONFDIR. This is already done by bsd.pkg.install.mk in a better way. @ text @d3 3 a5 3 --- Makefile.in.orig 2003-04-16 02:39:10.000000000 +0200 +++ Makefile.in @@@@ -294,11 +294,11 @@@@ sudoers.man:: sudoers.man.in d9 2 a10 2 -install: install-dirs install-binaries install-sudoers install-man +install: install-dirs install-binaries install-man d16 2 a17 1 $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) a18 1 install-binaries: $(PROGS) @ 1.9 log @Update to 1.6.7p1 (1.6.7.1): 478) Wildcards now work correctly in the env_keep Defaults directive. 479) Added support for non-root timestamp dirs. This allows the timestamp dir to be shared via NFS (though this is not recommended). 480) Removed double printing of bad environment variable table in -V mode. 481) configure script has been regenerated with autoconf 2.5.7. This required some changes to configure.in. 482) Fixed a compilation problem on SunOS; thanks to Alek O. Komarnitsky. 483) SecurID 5.0 API support from Michael Stroucken. 484) Restore state of signal handlers to what we had upon startup. Fixes a problem when using sudo with nohup; thanks to Paul Markham. 485) Revamp set_perms() to use setresuid() or setreuid() when available in preference to POSIX stuff since they allow us to properly implement "stay_setuid" whereas POSIX does not really. 486) In strict mode sudo did not throw an error for undefined User_Aliases. 487) Fixed a Makefile bug on IRIX. 488) Write the prompt *after* turning off echo to avoid some password characters being echoed on heavily-loaded machines with fast typists. 489) Added %U and %H escapes in the prompt and fixed treatment of %%. 490) Visudo will now add a final newline to sudoers if the user's editor not add one before EOF. 491) The lexer state is now reset to its initial value on EOF. Previously, the state was not reset between parser invocations which could cause problems for visudo in rare cases. 492) Added support for Defaults that apply based on the RunasUser. 493) Sudo now includes copies of strlc{at,py} and uses them throughout. 494) Sudo is now careful to avoid interger overflow when allocating memory. This is one of those "should not happen" situations. 495) Added a configure option (--with-stow) to make sudo compatible with GNU stow. 496) auth/kerb5.c now compiles under Heimdal. 497) The volatile prefix is used in the hopes of preventing compilers from optimizing away memory zeroing. Unfortunately, this results in some warnings from gcc. 498) Better Kerberos IV/V support in the configure script. 499) Fixed a logic thinko in the SIGCHLD handler that caused problems with rlogin on HP-UX. 500) configure now adds -R to LDFLAGS when it adds -L for Solaris and SVR4. There is a configure option, --with-rpath, to control this. 501) On AIX, configure will pass extra directory paths to the linker via the -blibpath ld option. This is only active when additional library paths are used. It may be disabled via the --without-blibpath configure option. 502) The --with-skey and --with-opie configure options now take an optional directory argument that should have an include and lib dir for the skey/opie include file and library respectively. 503) Fixed false positives in the overflow detection of expand_prompt(). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2000/08/10 16:57:33 thorpej Exp $ d3 3 a5 4 --- auth/kerb5.c.orig Tue Oct 12 19:34:55 1999 +++ auth/kerb5.c Thu Aug 10 09:48:06 2000 @@@@ -88,9 +88,6 @@@@ auth->data = (VOID *) &sudo_krb5_data; /* Stash all our data here */ d7 1 a7 9 if (error = krb5_init_context(&(sudo_krb5_data.sudo_context))) { - log_error(NO_EXIT|NO_MAIL, - "%s: unable to initialize context: %s", auth->name, - error_message(error)); return(AUTH_FAILURE); } sudo_context = sudo_krb5_data.sudo_context; @@@@ -266,8 +263,8 @@@@ } d9 2 a10 6 /* Extract the name directly. Yow. */ - strncpy(phost, krb5_princ_component(sudo_context, princ, 1)->data, - sizeof(phost) - 1); + /* XXX XXX XXX */ + strncpy(phost, princ->name.name_string.val[0], sizeof(phost) - 1); phost[sizeof(phost) - 1] = '\0'; d12 5 a16 17 /* @@@@ -276,7 +273,7 @@@@ * and enctype is currently ignored anyhow.) */ if (error = krb5_kt_read_service_key(sudo_context, NULL, princ, 0, - ENCTYPE_DES_CBC_MD5, &keyblock)) { + ETYPE_DES_CBC_MD5, &keyblock)) { /* Keytab or service key does not exist. */ log_error(NO_EXIT, "%s: host service key not found: %s", auth_name, @@@@ -301,7 +298,7 @@@@ NULL, NULL, NULL); cleanup: if (packet.data) - krb5_free_data_contents(sudo_context, &packet); + krb5_data_free(&packet); krb5_free_principal(sudo_context, princ); d18 1 a18 1 if (error) @ 1.8 log @Don't syslog krb5_init_context() failure. It can happen if Kerberos is simply not configured on the system. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Make this work with Heimdal Kerberos 5. Requires fleshed-out MCC support in Heimdal. @ text @d4 12 a15 2 +++ auth/kerb5.c Wed Aug 9 17:34:11 2000 @@@@ -266,8 +266,8 @@@@ d26 1 a26 1 @@@@ -276,7 +276,7 @@@@ d35 1 a35 1 @@@@ -301,7 +301,7 @@@@ @ 1.6 log @Update sudo to 1.5.9p4. It's the latest stable security release. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 1999/05/09 14:10:27 frueauf Exp $ d3 29 a31 4 --- configure.orig Mon Mar 29 05:59:33 1999 +++ configure Sun May 9 14:51:16 1999 @@@@ -1,7 +1,7 @@@@ #! /bin/sh d33 1 a33 3398 # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12 +# Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@@@ -22,6 +22,8 @@@@ ac_help="$ac_help --with-csops add CSOps standard options" ac_help="$ac_help + --with-nbsdops add NetBSD standard options" +ac_help="$ac_help --with-skey enable S/Key support " ac_help="$ac_help --with-opie enable OPIE support " @@@@ -175,6 +177,7 @@@@ # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 @@@@ -241,7 +244,7 @@@@ *=*) ;; *) ac_optarg=yes ;; esac - eval enable_${ac_feature}='$ac_optarg' ;; + eval "enable_${ac_feature}='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@@@ -278,7 +281,7 @@@@ --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [/etc] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] @@@@ -458,7 +461,7 @@@@ verbose=yes ;; -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12" + echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) @@@@ -472,7 +475,7 @@@@ *=*) ;; *) ac_optarg=yes ;; esac - eval with_${ac_package}='$ac_optarg' ;; + eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` @@@@ -554,7 +557,7 @@@@ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args \"$ac_arg\"" ;; + ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esac done @@@@ -628,9 +631,11 @@@@ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross +ac_exeext= +ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then @@@@ -667,8 +672,8 @@@@ test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man' test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin' -test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin' -test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc' +test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/sbin' +test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc' # Check whether --with-CC or --without-CC was given. @@@@ -773,6 +778,23 @@@@ fi +# Check whether --with-nbsdops or --without-nbsdops was given. +if test "${with_nbsdops+set}" = set; then + withval="$with_nbsdops" + case $with_nbsdops in + yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TI +CKETS" + sbindir='$(exec_prefix)/sbin' + echo 'nbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_T +TY_TICKETS' + ;; + no) ;; + *) echo "Ignoring unknown argument to --with-nbsdops: $with-nbsdop +s" +esac +fi + + # Check whether --with-skey or --without-skey was given. if test "${with_skey+set}" = set; then withval="$with_skey" @@@@ -782,7 +804,7 @@@@ EOF echo $ac_n "checking whether to try S/Key authentication""... $ac_c" 1>&6 -echo "configure:786: checking whether to try S/Key authentication" >&5 +echo "configure:808: checking whether to try S/Key authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -801,7 +823,7 @@@@ EOF echo $ac_n "checking whether to try NRL OPIE authentication""... $ac_c" 1>&6 -echo "configure:805: checking whether to try NRL OPIE authentication" >&5 +echo "configure:827: checking whether to try NRL OPIE authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -820,7 +842,7 @@@@ EOF echo $ac_n "checking whether to use OTP as the sole authentication method""... $ac_c" 1>&6 -echo "configure:824: checking whether to use OTP as the sole authentication method" >&5 +echo "configure:846: checking whether to use OTP as the sole authentication method" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -840,7 +862,7 @@@@ EOF echo $ac_n "checking whether to use a two line prompt for OTP authentication""... $ac_c" 1>&6 -echo "configure:844: checking whether to use a two line prompt for OTP authentication" >&5 +echo "configure:866: checking whether to use a two line prompt for OTP authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -861,7 +883,7 @@@@ EOF echo $ac_n "checking whether to use SecurID for authentication""... $ac_c" 1>&6 -echo "configure:865: checking whether to use SecurID for authentication" >&5 +echo "configure:887: checking whether to use SecurID for authentication" >&5 echo "$ac_t""yes" 1>&6 ;; esac @@@@ -877,7 +899,7 @@@@ EOF echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6 -echo "configure:881: checking whether to use FWTK AuthSRV for authentication" >&5 +echo "configure:903: checking whether to use FWTK AuthSRV for authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -886,7 +908,7 @@@@ EOF echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6 -echo "configure:890: checking whether to use FWTK AuthSRV for authentication" >&5 +echo "configure:912: checking whether to use FWTK AuthSRV for authentication" >&5 echo "$ac_t""yes" 1>&6 SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with-AuthSRV}" CPPFLAGS="${CPPFLAGS} -I${with-AuthSRV}" @@@@ -904,7 +926,7 @@@@ EOF echo $ac_n "checking whether to try Kerberos 4 authentication""... $ac_c" 1>&6 -echo "configure:908: checking whether to try Kerberos 4 authentication" >&5 +echo "configure:930: checking whether to try Kerberos 4 authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -924,7 +946,7 @@@@ EOF echo $ac_n "checking whether to try Kerberos 5 authentication""... $ac_c" 1>&6 -echo "configure:928: checking whether to try Kerberos 5 authentication" >&5 +echo "configure:950: checking whether to try Kerberos 5 authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -944,7 +966,7 @@@@ EOF echo $ac_n "checking whether to use AIX general authentication""... $ac_c" 1>&6 -echo "configure:948: checking whether to use AIX general authentication" >&5 +echo "configure:970: checking whether to use AIX general authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -964,7 +986,7 @@@@ EOF echo $ac_n "checking whether to use PAM authentication""... $ac_c" 1>&6 -echo "configure:968: checking whether to use PAM authentication" >&5 +echo "configure:990: checking whether to use PAM authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -984,7 +1006,7 @@@@ EOF echo $ac_n "checking whether to try AFS (kerberos) authentication""... $ac_c" 1>&6 -echo "configure:988: checking whether to try AFS (kerberos) authentication" >&5 +echo "configure:1010: checking whether to try AFS (kerberos) authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -1004,7 +1026,7 @@@@ EOF echo $ac_n "checking whether to try DCE (kerberos) authentication""... $ac_c" 1>&6 -echo "configure:1008: checking whether to try DCE (kerberos) authentication" >&5 +echo "configure:1030: checking whether to try DCE (kerberos) authentication" >&5 echo "$ac_t""yes" 1>&6 ;; no) ;; @@@@ -1016,7 +1038,7 @@@@ echo $ac_n "checking which message/lecture type sudo should use""... $ac_c" 1>&6 -echo "configure:1020: checking which message/lecture type sudo should use" >&5 +echo "configure:1042: checking which message/lecture type sudo should use" >&5 # Check whether --with-message or --without-message was given. if test "${with_message+set}" = set; then withval="$with_message" @@@@ -1049,7 +1071,7 @@@@ echo $ac_n "checking whether sudo should log via syslog or to a file""... $ac_c" 1>&6 -echo "configure:1053: checking whether sudo should log via syslog or to a file" >&5 +echo "configure:1075: checking whether sudo should log via syslog or to a file" >&5 # Check whether --with-logging or --without-logging was given. if test "${with_logging+set}" = set; then withval="$with_logging" @@@@ -1091,7 +1113,7 @@@@ echo $ac_n "checking which syslog facility sudo should log with""... $ac_c" 1>&6 -echo "configure:1095: checking which syslog facility sudo should log with" >&5 +echo "configure:1117: checking which syslog facility sudo should log with" >&5 # Check whether --with-logfac or --without-logfac was given. if test "${with_logfac+set}" = set; then withval="$with_logfac" @@@@ -1132,7 +1154,7 @@@@ echo $ac_n "checking how long a line in the log file should be""... $ac_c" 1>&6 -echo "configure:1136: checking how long a line in the log file should be" >&5 +echo "configure:1158: checking how long a line in the log file should be" >&5 # Check whether --with-loglen or --without-loglen was given. if test "${with_loglen+set}" = set; then withval="$with_loglen" @@@@ -1162,7 +1184,7 @@@@ echo $ac_n "checking whether sudo should ignore '.' or '' in \$PATH""... $ac_c" 1>&6 -echo "configure:1166: checking whether sudo should ignore '.' or '' in \$PATH" >&5 +echo "configure:1188: checking whether sudo should ignore '.' or '' in \$PATH" >&5 # Check whether --with-ignore-dot or --without-ignore-dot was given. if test "${with_ignore_dot+set}" = set; then withval="$with_ignore_dot" @@@@ -1185,7 +1207,7 @@@@ echo $ac_n "checking who should get the mail that sudo sends""... $ac_c" 1>&6 -echo "configure:1189: checking who should get the mail that sudo sends" >&5 +echo "configure:1211: checking who should get the mail that sudo sends" >&5 # Check whether --with-alertmail or --without-alertmail was given. if test "${with_alertmail+set}" = set; then withval="$with_alertmail" @@@@ -1224,7 +1246,7 @@@@ EOF echo $ac_n "checking sudo mail subject""... $ac_c" 1>&6 -echo "configure:1228: checking sudo mail subject" >&5 +echo "configure:1250: checking sudo mail subject" >&5 echo "$ac_t""Using alert mail subject: $with_mailsubject" 1>&6 ;; esac @@@@ -1237,7 +1259,7 @@@@ echo $ac_n "checking whether to send mail when a user is not in sudoers""... $ac_c" 1>&6 -echo "configure:1241: checking whether to send mail when a user is not in sudoers" >&5 +echo "configure:1263: checking whether to send mail when a user is not in sudoers" >&5 # Check whether --with-mail-if-no-user or --without-mail-if-no-user was given. if test "${with_mail_if_no_user+set}" = set; then withval="$with_mail_if_no_user" @@@@ -1263,7 +1285,7 @@@@ echo $ac_n "checking whether to send mail when a user tries a disallowed command""... $ac_c" 1>&6 -echo "configure:1267: checking whether to send mail when a user tries a disallowed command" >&5 +echo "configure:1289: checking whether to send mail when a user tries a disallowed command" >&5 # Check whether --with-mail-if-noperms or --without-mail-if-noperms was given. if test "${with_mail_if_noperms+set}" = set; then withval="$with_mail_if_noperms" @@@@ -1286,7 +1308,7 @@@@ echo $ac_n "checking for bad password prompt""... $ac_c" 1>&6 -echo "configure:1290: checking for bad password prompt" >&5 +echo "configure:1312: checking for bad password prompt" >&5 # Check whether --with-passprompt or --without-passprompt was given. if test "${with_passprompt+set}" = set; then withval="$with_passprompt" @@@@ -1312,7 +1334,7 @@@@ echo $ac_n "checking for bad password message""... $ac_c" 1>&6 -echo "configure:1316: checking for bad password message" >&5 +echo "configure:1338: checking for bad password message" >&5 # Check whether --with-badpass-message or --without-badpass-message was given. if test "${with_badpass_message+set}" = set; then withval="$with_badpass_message" @@@@ -1338,7 +1360,7 @@@@ echo $ac_n "checking whether to expect fully qualified hosts in sudoers""... $ac_c" 1>&6 -echo "configure:1342: checking whether to expect fully qualified hosts in sudoers" >&5 +echo "configure:1364: checking whether to expect fully qualified hosts in sudoers" >&5 # Check whether --with-fqdn or --without-fqdn was given. if test "${with_fqdn+set}" = set; then withval="$with_fqdn" @@@@ -1448,7 +1470,7 @@@@ echo $ac_n "checking for umask programs should be run with""... $ac_c" 1>&6 -echo "configure:1452: checking for umask programs should be run with" >&5 +echo "configure:1474: checking for umask programs should be run with" >&5 # Check whether --with-umask or --without-umask was given. if test "${with_umask+set}" = set; then withval="$with_umask" @@@@ -1477,7 +1499,7 @@@@ echo $ac_n "checking for default user to run commands as""... $ac_c" 1>&6 -echo "configure:1481: checking for default user to run commands as" >&5 +echo "configure:1503: checking for default user to run commands as" >&5 # Check whether --with-runas-default or --without-runas-default was given. if test "${with_runas_default+set}" = set; then withval="$with_runas_default" @@@@ -1518,7 +1540,7 @@@@ EOF echo $ac_n "checking for group to be exempt from password""... $ac_c" 1>&6 -echo "configure:1522: checking for group to be exempt from password" >&5 +echo "configure:1544: checking for group to be exempt from password" >&5 echo "$ac_t""$with_exempt" 1>&6 ;; esac @@@@ -1526,7 +1548,7 @@@@ echo $ac_n "checking for editor that visudo should use""... $ac_c" 1>&6 -echo "configure:1530: checking for editor that visudo should use" >&5 +echo "configure:1552: checking for editor that visudo should use" >&5 # Check whether --with-editor or --without-editor was given. if test "${with_editor+set}" = set; then withval="$with_editor" @@@@ -1553,7 +1575,7 @@@@ echo $ac_n "checking whether to obey EDITOR and VISUAL environment variables""... $ac_c" 1>&6 -echo "configure:1557: checking whether to obey EDITOR and VISUAL environment variables" >&5 +echo "configure:1579: checking whether to obey EDITOR and VISUAL environment variables" >&5 # Check whether --with-env-editor or --without-env-editor was given. if test "${with_env_editor+set}" = set; then withval="$with_env_editor" @@@@ -1576,7 +1598,7 @@@@ echo $ac_n "checking number of tries a user gets to enter their password""... $ac_c" 1>&6 -echo "configure:1580: checking number of tries a user gets to enter their password" >&5 +echo "configure:1602: checking number of tries a user gets to enter their password" >&5 # Check whether --with-passwd-tries or --without-passwd-tries was given. if test "${with_passwd_tries+set}" = set; then withval="$with_passwd_tries" @@@@ -1609,7 +1631,7 @@@@ echo $ac_n "checking time in minutes after which sudo will ask for a password again""... $ac_c" 1>&6 -echo "configure:1613: checking time in minutes after which sudo will ask for a password again" >&5 +echo "configure:1635: checking time in minutes after which sudo will ask for a password again" >&5 # Check whether --with-timeout or --without-timeout was given. if test "${with_timeout+set}" = set; then withval="$with_timeout" @@@@ -1645,7 +1667,7 @@@@ echo $ac_n "checking time in minutes after the password prompt will time out""... $ac_c" 1>&6 -echo "configure:1649: checking time in minutes after the password prompt will time out" >&5 +echo "configure:1671: checking time in minutes after the password prompt will time out" >&5 # Check whether --with-password-timeout or --without-password-timeout was given. if test "${with_password_timeout+set}" = set; then withval="$with_password_timeout" @@@@ -1681,7 +1703,7 @@@@ echo $ac_n "checking whether to use execvp or execv""... $ac_c" 1>&6 -echo "configure:1685: checking whether to use execvp or execv" >&5 +echo "configure:1707: checking whether to use execvp or execv" >&5 # Check whether --with-execv or --without-execv was given. if test "${with_execv+set}" = set; then withval="$with_execv" @@@@ -1704,7 +1726,7 @@@@ echo $ac_n "checking whether to use per-tty ticket files""... $ac_c" 1>&6 -echo "configure:1708: checking whether to use per-tty ticket files" >&5 +echo "configure:1730: checking whether to use per-tty ticket files" >&5 # Check whether --with-tty-tickets or --without-tty-tickets was given. if test "${with_tty_tickets+set}" = set; then withval="$with_tty_tickets" @@@@ -1727,7 +1749,7 @@@@ echo $ac_n "checking whether to include insults""... $ac_c" 1>&6 -echo "configure:1731: checking whether to include insults" >&5 +echo "configure:1753: checking whether to include insults" >&5 # Check whether --with-insults or --without-insults was given. if test "${with_insults+set}" = set; then withval="$with_insults" @@@@ -1838,7 +1860,7 @@@@ if test "$with_insults" = "yes"; then echo $ac_n "checking which insult sets to include""... $ac_c" 1>&6 -echo "configure:1842: checking which insult sets to include" >&5 +echo "configure:1864: checking which insult sets to include" >&5 i="" test "$with_goons_insults" = "yes" && i="goons ${i}" test "$with_hal_insults" = "yes" && i="hal ${i}" @@@@ -1848,7 +1870,7 @@@@ fi echo $ac_n "checking whether to override the user's path""... $ac_c" 1>&6 -echo "configure:1852: checking whether to override the user's path" >&5 +echo "configure:1874: checking whether to override the user's path" >&5 # Check whether --with-secure-path or --without-secure-path was given. if test "${with_secure_path+set}" = set; then withval="$with_secure_path" @@@@ -1874,7 +1896,7 @@@@ echo $ac_n "checking whether to get ip addresses from the network interfaces""... $ac_c" 1>&6 -echo "configure:1878: checking whether to get ip addresses from the network interfaces" >&5 +echo "configure:1900: checking whether to get ip addresses from the network interfaces" >&5 # Check whether --with-interfaces or --without-interfaces was given. if test "${with_interfaces+set}" = set; then withval="$with_interfaces" @@@@ -1898,7 +1920,7 @@@@ echo $ac_n "checking whether to disable shadow password support""... $ac_c" 1>&6 -echo "configure:1902: checking whether to disable shadow password support" >&5 +echo "configure:1924: checking whether to disable shadow password support" >&5 # Check whether --enable-shadow or --disable-shadow was given. if test "${enable_shadow+set}" = set; then enableval="$enable_shadow" @@@@ -1919,7 +1941,7 @@@@ echo $ac_n "checking whether root should be allowed to use sudo""... $ac_c" 1>&6 -echo "configure:1923: checking whether root should be allowed to use sudo" >&5 +echo "configure:1945: checking whether root should be allowed to use sudo" >&5 # Check whether --enable-root-sudo or --disable-root-sudo was given. if test "${enable_root_sudo+set}" = set; then enableval="$enable_root_sudo" @@@@ -1943,7 +1965,7 @@@@ echo $ac_n "checking whether to use the system getpass function""... $ac_c" 1>&6 -echo "configure:1947: checking whether to use the system getpass function" >&5 +echo "configure:1969: checking whether to use the system getpass function" >&5 # Check whether --enable-tgetpass or --disable-tgetpass was given. if test "${enable_tgetpass+set}" = set; then enableval="$enable_tgetpass" @@@@ -1968,7 +1990,7 @@@@ echo $ac_n "checking whether to log the hostname in the log file""... $ac_c" 1>&6 -echo "configure:1972: checking whether to log the hostname in the log file" >&5 +echo "configure:1994: checking whether to log the hostname in the log file" >&5 # Check whether --enable-log-host or --disable-log-host was given. if test "${enable_log_host+set}" = set; then enableval="$enable_log_host" @@@@ -1992,7 +2014,7 @@@@ echo $ac_n "checking whether to wrap long lines in the log file""... $ac_c" 1>&6 -echo "configure:1996: checking whether to wrap long lines in the log file" >&5 +echo "configure:2018: checking whether to wrap long lines in the log file" >&5 # Check whether --enable-log-wrap or --disable-log-wrap was given. if test "${enable_log_wrap+set}" = set; then enableval="$enable_log_wrap" @@@@ -2025,7 +2047,7 @@@@ echo $ac_n "checking whether to invoke a shell if sudo is given no arguments""... $ac_c" 1>&6 -echo "configure:2029: checking whether to invoke a shell if sudo is given no arguments" >&5 +echo "configure:2051: checking whether to invoke a shell if sudo is given no arguments" >&5 # Check whether --enable-noargs-shell or --disable-noargs-shell was given. if test "${enable_noargs_shell+set}" = set; then enableval="$enable_noargs_shell" @@@@ -2049,7 +2071,7 @@@@ echo $ac_n "checking whether to set \$HOME to target user in shell mode""... $ac_c" 1>&6 -echo "configure:2053: checking whether to set \$HOME to target user in shell mode" >&5 +echo "configure:2075: checking whether to set \$HOME to target user in shell mode" >&5 # Check whether --enable-shell-sets-home or --disable-shell-sets-home was given. if test "${enable_shell_sets_home+set}" = set; then enableval="$enable_shell_sets_home" @@@@ -2073,7 +2095,7 @@@@ echo $ac_n "checking whether to disable 'command not found' messages""... $ac_c" 1>&6 -echo "configure:2077: checking whether to disable 'command not found' messages" >&5 +echo "configure:2099: checking whether to disable 'command not found' messages" >&5 # Check whether --enable-path_info or --disable-path_info was given. if test "${enable_path_info+set}" = set; then enableval="$enable_path_info" @@@@ -2099,15 +2121,16 @@@@ # Extract the first word of "egrep", so it can be a program name with args. set dummy egrep; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2103: checking for $ac_word" >&5 +echo "configure:2125: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_EGREPPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$EGREPPROG"; then ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_EGREPPROG="egrep" @@@@ -2134,15 +2157,16 @@@@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2138: checking for $ac_word" >&5 +echo "configure:2161: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" @@@@ -2163,16 +2187,17 @@@@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2167: checking for $ac_word" >&5 +echo "configure:2191: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - for ac_dir in $PATH; do + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then @@@@ -2207,25 +2232,61 @@@@ echo "$ac_t""no" 1>&6 fi + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2242: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:2215: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:2274: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross -cat > conftest.$ac_ext < conftest.$ac_ext << EOF + +#line 2285 "configure" #include "confdefs.h" + main(){return(0);} EOF -if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@@@ -2239,18 +2300,24 @@@@ ac_cv_prog_cc_works=no fi rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:2249: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:2316: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:2254: checking whether we are using GNU C" >&5 +echo "configure:2321: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2259,7 +2326,7 @@@@ yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@@@ -2270,11 +2337,15 @@@@ if test $ac_cv_prog_gcc = yes; then GCC=yes - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS= - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2278: checking whether ${CC-cc} accepts -g" >&5 +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:2349: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2289,20 +2360,24 @@@@ fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - elif test $ac_cv_prog_cc_g = yes; then +if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then CFLAGS="-g -O2" else - CFLAGS="-O2" + CFLAGS="-g" fi else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:2306: checking how to run the C preprocessor" >&5 +echo "configure:2381: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@@@ -2317,14 +2392,14 @@@@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else @@@@ -2334,14 +2409,31 @@@@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else @@@@ -2354,6 +2446,8 @@@@ rm -f conftest* fi rm -f conftest* +fi +rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" @@@@ -2363,7 +2457,7 @@@@ echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:2367: checking for POSIXized ISC" >&5 +echo "configure:2461: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@@@ -2387,15 +2481,16 @@@@ # Extract the first word of "uname", so it can be a program name with args. set dummy uname; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2391: checking for $ac_word" >&5 +echo "configure:2485: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_UNAMEPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$UNAMEPROG"; then ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_UNAMEPROG="uname" @@@@ -2415,15 +2510,16 @@@@ # Extract the first word of "tr", so it can be a program name with args. set dummy tr; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2419: checking for $ac_word" >&5 +echo "configure:2514: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_TRPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$TRPROG"; then ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_TRPROG="tr" @@@@ -2443,15 +2539,16 @@@@ # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2447: checking for $ac_word" >&5 +echo "configure:2543: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_SEDPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$SEDPROG"; then ac_cv_prog_SEDPROG="$SEDPROG" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_SEDPROG="sed" @@@@ -2471,15 +2568,16 @@@@ # Extract the first word of "nroff", so it can be a program name with args. set dummy nroff; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2475: checking for $ac_word" >&5 +echo "configure:2572: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_NROFFPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$NROFFPROG"; then ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_NROFFPROG="nroff" @@@@ -2521,26 +2619,26 @@@@ # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:2530: checking host system type" >&5 +echo "configure:2628: checking host system type" >&5 host_alias=$host case "$host_alias" in NONE) case $nonopt in NONE) - if host_alias=`$ac_config_guess`; then : + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;; esac -host=`$ac_config_sub $host_alias` +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` @@@@ -2555,7 +2653,7 @@@@ exit 1 else echo $ac_n "checking previous host type""... $ac_c" 1>&6 -echo "configure:2559: checking previous host type" >&5 +echo "configure:2657: checking previous host type" >&5 if eval "test \"`echo '$''{'sudo_cv_prev_host'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2590,12 +2688,12 @@@@ # check for password adjunct functions (shadow passwords) if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getpwanam""... $ac_c" 1>&6 -echo "configure:2594: checking for getpwanam" >&5 +echo "configure:2692: checking for getpwanam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getpwanam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getpwanam=yes" else @@@@ -2638,12 +2736,12 @@@@ for ac_func in issecure do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2642: checking for $ac_func" >&5 +echo "configure:2740: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -2713,19 +2811,15 @@@@ *-*-hiuxmpp*) if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6 -echo "configure:2717: checking for getprpwnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:2815: checking for getprpwnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2758,19 +2852,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6 -echo "configure:2762: checking for getprpwnam in -lsecurity" >&5 -if test -n ""; then - ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:2856: checking for getprpwnam in -lsecurity" >&5 +ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2816,19 +2906,15 @@@@ if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6 -echo "configure:2820: checking for getprpwnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:2910: checking for getprpwnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2858,19 +2944,15 @@@@ #define HAVE_GETPRPWNAM 1 EOF echo $ac_n "checking for iscomsec in -lsec""... $ac_c" 1>&6 -echo "configure:2862: checking for iscomsec in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'iscomsec | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'iscomsec | sed 'y%./+-%__p_%'` -fi +echo "configure:2948: checking for iscomsec in -lsec" >&5 +ac_lib_var=`echo sec'_'iscomsec | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2947,12 +3029,12 @@@@ for ac_func in getspwuid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2951: checking for $ac_func" >&5 +echo "configure:3033: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -3052,7 +3134,7 @@@@ SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement" echo $ac_n "checking whether to disable sia support on Digital UNIX""... $ac_c" 1>&6 -echo "configure:3056: checking whether to disable sia support on Digital UNIX" >&5 +echo "configure:3138: checking whether to disable sia support on Digital UNIX" >&5 # Check whether --enable-sia or --disable-sia was given. if test "${enable_sia+set}" = set; then enableval="$enable_sia" @@@@ -3076,12 +3158,12 @@@@ # unless overridden on the command line if test "$CHECKSIA" = "true"; then echo $ac_n "checking for sia_ses_init""... $ac_c" 1>&6 -echo "configure:3080: checking for sia_ses_init" >&5 +echo "configure:3162: checking for sia_ses_init" >&5 if eval "test \"`echo '$''{'ac_cv_func_sia_ses_init'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_sia_ses_init=yes" else @@@@ -3133,19 +3215,15 @@@@ fi if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6 -echo "configure:3137: checking for getprpwnam in -lsecurity" >&5 -if test -n ""; then - ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3219: checking for getprpwnam in -lsecurity" >&5 +ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3182,19 +3260,15 @@@@ if test -n "$SECUREWARE"; then # 4.x and higher need -ldb too... echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 -echo "configure:3186: checking for dbopen in -ldb" >&5 -if test -n ""; then - ac_lib_var=`echo db'_'dbopen | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` -fi +echo "configure:3264: checking for dbopen in -ldb" >&5 +ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3229,12 +3303,12 @@@@ for ac_func in dispcrypt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3233: checking for $ac_func" >&5 +echo "configure:3307: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -3282,9 +3356,9 @@@@ done echo $ac_n "checking for broken /usr/include/prot.h""... $ac_c" 1>&6 -echo "configure:3286: checking for broken /usr/include/prot.h" >&5 +echo "configure:3360: checking for broken /usr/include/prot.h" >&5 cat > conftest.$ac_ext < @@@@ -3295,7 +3369,7 @@@@ exit(0); ; return 0; } EOF -if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""no" 1>&6 else @@@@ -3338,19 +3412,15 @@@@ # IRIX <= 4 needs -lsun if test "$OSREV" -le 4; then echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 -echo "configure:3342: checking for getpwnam in -lsun" >&5 -if test -n ""; then - ac_lib_var=`echo sun'_'getpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3416: checking for getpwnam in -lsun" >&5 +ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsun $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3387,12 +3457,12 @@@@ # Some Linux versions need to link with -lshadow if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getspnam""... $ac_c" 1>&6 -echo "configure:3391: checking for getspnam" >&5 +echo "configure:3461: checking for getspnam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getspnam=yes" else @@@@ -3436,19 +3506,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getspnam in -lshadow""... $ac_c" 1>&6 -echo "configure:3440: checking for getspnam in -lshadow" >&5 -if test -n ""; then - ac_lib_var=`echo shadow'_'getspnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo shadow'_'getspnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3510: checking for getspnam in -lshadow" >&5 +ac_lib_var=`echo shadow'_'getspnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lshadow $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3498,19 +3564,15 @@@@ if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6 -echo "configure:3502: checking for getprpwnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3568: checking for getprpwnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3551,19 +3613,15 @@@@ OS="ultrix" if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getauthuid in -lauth""... $ac_c" 1>&6 -echo "configure:3555: checking for getauthuid in -lauth" >&5 -if test -n ""; then - ac_lib_var=`echo auth'_'getauthuid | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo auth'_'getauthuid | sed 'y%./+-%__p_%'` -fi +echo "configure:3617: checking for getauthuid in -lauth" >&5 +ac_lib_var=`echo auth'_'getauthuid | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lauth $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3614,19 +3672,15 @@@@ if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6 -echo "configure:3618: checking for getspnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3676: checking for getspnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3666,19 +3720,15 @@@@ *-*-sco*) if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6 -echo "configure:3670: checking for getprpwnam in -lprot" >&5 -if test -n ""; then - ac_lib_var=`echo prot'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3724: checking for getprpwnam in -lprot" >&5 +ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lprot $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3718,19 +3768,15 @@@@ *-sequent-sysv*) if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6 -echo "configure:3722: checking for getspnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3772: checking for getspnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3789,12 +3835,12 @@@@ if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getspnam""... $ac_c" 1>&6 -echo "configure:3793: checking for getspnam" >&5 +echo "configure:3839: checking for getspnam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getspnam=yes" else @@@@ -3842,12 +3888,12 @@@@ fi if test "$CHECKSHADOW" = "true"; then echo $ac_n "checking for getprpwnam""... $ac_c" 1>&6 -echo "configure:3846: checking for getprpwnam" >&5 +echo "configure:3892: checking for getprpwnam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getprpwnam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getprpwnam=yes" else @@@@ -3891,19 +3937,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6 -echo "configure:3895: checking for getprpwnam in -lsec" >&5 -if test -n ""; then - ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3941: checking for getprpwnam in -lsec" >&5 +ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsec $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3936,19 +3978,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6 -echo "configure:3940: checking for getprpwnam in -lsecurity" >&5 -if test -n ""; then - ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:3982: checking for getprpwnam in -lsecurity" >&5 +ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -3981,19 +4019,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6 -echo "configure:3985: checking for getprpwnam in -lprot" >&5 -if test -n ""; then - ac_lib_var=`echo prot'_'getprpwnam | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` -fi +echo "configure:4023: checking for getprpwnam in -lprot" >&5 +ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lprot $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -4037,13 +4071,13 @@@@ if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:4041: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:4075: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP @@@@ -4061,7 +4095,7 @@@@ if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@@@ -4083,12 +4117,12 @@@@ fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:4087: checking for working const" >&5 +echo "configure:4121: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@@@ -4162,15 +4196,16 @@@@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4166: checking for $ac_word" >&5 +echo "configure:4200: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_YACC="$ac_prog" @@@@ -4193,7 +4228,7 @@@@ if test -z "$with_sendmail"; then echo $ac_n "checking for sendmail""... $ac_c" 1>&6 -echo "configure:4197: checking for sendmail" >&5 +echo "configure:4232: checking for sendmail" >&5 if test -f "/usr/sbin/sendmail"; then echo "$ac_t""/usr/sbin/sendmail" 1>&6 cat >> confdefs.h <<\EOF @@@@ -4236,7 +4271,7 @@@@ fi echo $ac_n "checking for mv""... $ac_c" 1>&6 -echo "configure:4240: checking for mv" >&5 +echo "configure:4275: checking for mv" >&5 if test -f "/usr/bin/mv"; then echo "$ac_t""/usr/bin/mv" 1>&6 cat >> confdefs.h <<\EOF @@@@ -4266,7 +4301,7 @@@@ fi echo $ac_n "checking for bourne shell""... $ac_c" 1>&6 -echo "configure:4270: checking for bourne shell" >&5 +echo "configure:4305: checking for bourne shell" >&5 if test -f "/bin/sh"; then echo "$ac_t""/bin/sh" 1>&6 cat >> confdefs.h <<\EOF @@@@ -4320,7 +4355,7 @@@@ fi echo $ac_n "checking for vi""... $ac_c" 1>&6 -echo "configure:4324: checking for vi" >&5 +echo "configure:4359: checking for vi" >&5 if test -f "/usr/bin/vi"; then echo "$ac_t""/usr/bin/vi" 1>&6 cat >> confdefs.h <<\EOF @@@@ -4356,12 +4391,12 @@@@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:4360: checking for ANSI C header files" >&5 +echo "configure:4395: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -4369,8 +4404,8 @@@@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:4408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes @@@@ -4386,7 +4421,7 @@@@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@@@ -4404,7 +4439,7 @@@@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@@@ -4425,7 +4460,7 @@@@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@@@ -4436,7 +4471,7 @@@@ exit (0); } EOF -if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@@@ -4464,12 +4499,12 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:4468: checking for $ac_hdr that defines DIR" >&5 +echo "configure:4503: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@@@ -4477,7 +4512,7 @@@@ DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:4481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@@@ -4502,19 +4537,15 @@@@ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:4506: checking for opendir in -ldir" >&5 -if test -n ""; then - ac_lib_var=`echo dir'_'opendir | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` -fi +echo "configure:4541: checking for opendir in -ldir" >&5 +ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -4547,19 +4578,15 @@@@ else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:4551: checking for opendir in -lx" >&5 -if test -n ""; then - ac_lib_var=`echo x'_'opendir | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` -fi +echo "configure:4582: checking for opendir in -lx" >&5 +ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -4596,18 +4623,18 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4600: checking for $ac_hdr" >&5 +echo "configure:4627: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:4637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" @@@@ -4637,18 +4664,18 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4641: checking for $ac_hdr" >&5 +echo "configure:4668: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:4678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" @@@@ -4677,18 +4704,18 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4681: checking for $ac_hdr" >&5 +echo "configure:4708: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:4718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" @@@@ -4710,12 +4737,12 @@@@ for ac_func in tcgetattr do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4714: checking for $ac_func" >&5 +echo "configure:4741: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -4769,12 +4796,12 @@@@ fi echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:4773: checking for mode_t" >&5 +echo "configure:4800: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -4783,7 +4810,7 @@@@ #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_mode_t=yes else @@@@ -4802,12 +4829,12 @@@@ fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:4806: checking for uid_t in sys/types.h" >&5 +echo "configure:4833: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@@@ -4836,12 +4863,12 @@@@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:4840: checking for size_t" >&5 +echo "configure:4867: checking for size_t" >&5 if eval "test \"`echo '$''{'sudo_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -4871,12 +4898,12 @@@@ fi echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:4875: checking for ssize_t" >&5 +echo "configure:4902: checking for ssize_t" >&5 if eval "test \"`echo '$''{'sudo_cv_type_ssize_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -4906,12 +4933,12 @@@@ fi echo $ac_n "checking for dev_t""... $ac_c" 1>&6 -echo "configure:4910: checking for dev_t" >&5 +echo "configure:4937: checking for dev_t" >&5 if eval "test \"`echo '$''{'sudo_cv_type_dev_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -4941,12 +4968,12 @@@@ fi echo $ac_n "checking for ino_t""... $ac_c" 1>&6 -echo "configure:4945: checking for ino_t" >&5 +echo "configure:4972: checking for ino_t" >&5 if eval "test \"`echo '$''{'sudo_cv_type_ino_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -4976,9 +5003,9 @@@@ fi echo $ac_n "checking for full void implementation""... $ac_c" 1>&6 -echo "configure:4980: checking for full void implementation" >&5 +echo "configure:5007: checking for full void implementation" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cat >> confdefs.h <<\EOF #define VOID void @@@@ -5006,7 +5033,7 @@@@ rm -f conftest* echo $ac_n "checking max length of uid_t""... $ac_c" 1>&6 -echo "configure:5010: checking max length of uid_t" >&5 +echo "configure:5037: checking max length of uid_t" >&5 if eval "test \"`echo '$''{'sudo_cv_uid_t_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -5015,7 +5042,7 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < #include @@@@ -5036,7 +5063,7 @@@@ exit(0); } EOF -if { (eval echo configure:5040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then sudo_cv_uid_t_len=`cat conftestdata` else @@@@ -5059,7 +5086,7 @@@@ echo $ac_n "checking for sa_len field in struct sockaddr""... $ac_c" 1>&6 -echo "configure:5063: checking for sa_len field in struct sockaddr" >&5 +echo "configure:5090: checking for sa_len field in struct sockaddr" >&5 if eval "test \"`echo '$''{'sudo_cv_sock_sa_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -5067,7 +5094,7 @@@@ sudo_cv_sock_sa_len=no else cat > conftest.$ac_ext < #include @@@@ -5077,7 +5104,7 @@@@ exit(0); } EOF -if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then sudo_cv_sock_sa_len=yes else @@@@ -5102,12 +5129,12 @@@@ case "$DEFS" in *"RETSIGTYPE"*) ;; *) echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:5106: checking return type of signal handlers" >&5 +echo "configure:5133: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -5124,7 +5151,7 @@@@ int i; ; return 0; } EOF -if { (eval echo configure:5128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@@@ -5146,12 +5173,12 @@@@ for ac_func in strchr strrchr memcpy memset sysconf sigaction tzset strcasecmp seteuid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5150: checking for $ac_func" >&5 +echo "configure:5177: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5202,12 +5229,12 @@@@ for ac_func in bigcrypt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5206: checking for $ac_func" >&5 +echo "configure:5233: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5257,12 +5284,12 @@@@ for ac_func in set_auth_parameters do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5261: checking for $ac_func" >&5 +echo "configure:5288: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5312,12 +5339,12 @@@@ for ac_func in initprivs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5316: checking for $ac_func" >&5 +echo "configure:5343: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5367,12 +5394,12 @@@@ fi if test -z "$BROKEN_GETCWD"; then echo $ac_n "checking for getcwd""... $ac_c" 1>&6 -echo "configure:5371: checking for getcwd" >&5 +echo "configure:5398: checking for getcwd" >&5 if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getcwd=yes" else @@@@ -5420,12 +5447,12 @@@@ fi echo $ac_n "checking for waitpid""... $ac_c" 1>&6 -echo "configure:5424: checking for waitpid" >&5 +echo "configure:5451: checking for waitpid" >&5 if eval "test \"`echo '$''{'ac_cv_func_waitpid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_waitpid=yes" else @@@@ -5471,12 +5498,12 @@@@ for ac_func in wait3 do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5475: checking for $ac_func" >&5 +echo "configure:5502: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5526,12 +5553,12 @@@@ fi echo $ac_n "checking for innetgr""... $ac_c" 1>&6 -echo "configure:5530: checking for innetgr" >&5 +echo "configure:5557: checking for innetgr" >&5 if eval "test \"`echo '$''{'ac_cv_func_innetgr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_innetgr=yes" else @@@@ -5574,12 +5601,12 @@@@ for ac_func in getdomainname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5578: checking for $ac_func" >&5 +echo "configure:5605: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -5631,12 +5658,12 @@@@ fi echo $ac_n "checking for strdup""... $ac_c" 1>&6 -echo "configure:5635: checking for strdup" >&5 +echo "configure:5662: checking for strdup" >&5 if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strdup=yes" else @@@@ -5683,12 +5710,12 @@@@ fi echo $ac_n "checking for lsearch""... $ac_c" 1>&6 -echo "configure:5687: checking for lsearch" >&5 +echo "configure:5714: checking for lsearch" >&5 if eval "test \"`echo '$''{'ac_cv_func_lsearch'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_lsearch=yes" else @@@@ -5732,19 +5759,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for lsearch in -lcompat""... $ac_c" 1>&6 -echo "configure:5736: checking for lsearch in -lcompat" >&5 -if test -n ""; then - ac_lib_var=`echo compat'_'lsearch | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo compat'_'lsearch | sed 'y%./+-%__p_%'` -fi +echo "configure:5763: checking for lsearch in -lcompat" >&5 +ac_lib_var=`echo compat'_'lsearch | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcompat $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -5772,18 +5795,18 @@@@ echo "$ac_t""yes" 1>&6 ac_safe=`echo "search.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for search.h""... $ac_c" 1>&6 -echo "configure:5776: checking for search.h" >&5 +echo "configure:5799: checking for search.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:5809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" @@@@ -5815,12 +5838,12 @@@@ fi echo $ac_n "checking for setenv""... $ac_c" 1>&6 -echo "configure:5819: checking for setenv" >&5 +echo "configure:5842: checking for setenv" >&5 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setenv=yes" else @@@@ -5864,12 +5887,12 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for putenv""... $ac_c" 1>&6 -echo "configure:5868: checking for putenv" >&5 +echo "configure:5891: checking for putenv" >&5 if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_putenv=yes" else @@@@ -5918,12 +5941,12 @@@@ fi echo $ac_n "checking for utime""... $ac_c" 1>&6 -echo "configure:5922: checking for utime" >&5 +echo "configure:5945: checking for utime" >&5 if eval "test \"`echo '$''{'ac_cv_func_utime'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_utime=yes" else @@@@ -5965,7 +5988,7 @@@@ EOF echo $ac_n "checking for POSIX utime""... $ac_c" 1>&6 -echo "configure:5969: checking for POSIX utime" >&5 +echo "configure:5992: checking for POSIX utime" >&5 if eval "test \"`echo '$''{'sudo_cv_func_utime_posix'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -5974,7 +5997,7 @@@@ sudo_cv_func_utime_posix=no else cat > conftest.$ac_ext < #include @@@@ -5986,7 +6009,7 @@@@ exit(0); } EOF -if { (eval echo configure:5990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then sudo_cv_func_utime_posix=yes else @@@@ -6009,7 +6032,7 @@@@ fi echo $ac_n "checking whether utime accepts a null argument""... $ac_c" 1>&6 -echo "configure:6013: checking whether utime accepts a null argument" >&5 +echo "configure:6036: checking whether utime accepts a null argument" >&5 if eval "test \"`echo '$''{'ac_cv_func_utime_null'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -6019,7 +6042,7 @@@@ ac_cv_func_utime_null=no else cat > conftest.$ac_ext < #include @@@@ -6030,7 +6053,7 @@@@ && t.st_mtime - s.st_mtime < 120)); } EOF -if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_utime_null=yes else @@@@ -6059,7 +6082,7 @@@@ fi echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 -echo "configure:6063: checking for working fnmatch" >&5 +echo "configure:6086: checking for working fnmatch" >&5 if eval "test \"`echo '$''{'sudo_cv_func_fnmatch'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -6068,13 +6091,13 @@@@ sudo_cv_func_fnmatch=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then sudo_cv_func_fnmatch=yes else @@@@ -6100,12 +6123,12 @@@@ if test -z "$LIB_CRYPT"; then echo $ac_n "checking for crypt""... $ac_c" 1>&6 -echo "configure:6104: checking for crypt" >&5 +echo "configure:6127: checking for crypt" >&5 if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_crypt=yes" else @@@@ -6146,19 +6169,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 -echo "configure:6150: checking for crypt in -lcrypt" >&5 -if test -n ""; then - ac_lib_var=`echo crypt'_'crypt | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` -fi +echo "configure:6173: checking for crypt in -lcrypt" >&5 +ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6188,19 +6207,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for crypt in -lcrypt_d""... $ac_c" 1>&6 -echo "configure:6192: checking for crypt in -lcrypt_d" >&5 -if test -n ""; then - ac_lib_var=`echo crypt_d'_'crypt | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo crypt_d'_'crypt | sed 'y%./+-%__p_%'` -fi +echo "configure:6211: checking for crypt in -lcrypt_d" >&5 +ac_lib_var=`echo crypt_d'_'crypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcrypt_d $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6230,19 +6245,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for ufc in -lcrypt""... $ac_c" 1>&6 -echo "configure:6234: checking for ufc in -lcrypt" >&5 -if test -n ""; then - ac_lib_var=`echo crypt'_'ufc | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo crypt'_'ufc | sed 'y%./+-%__p_%'` -fi +echo "configure:6249: checking for ufc in -lcrypt" >&5 +ac_lib_var=`echo crypt'_'ufc | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6281,12 +6292,12 @@@@ fi echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:6285: checking for socket" >&5 +echo "configure:6296: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_socket=yes" else @@@@ -6327,19 +6338,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:6331: checking for socket in -lsocket" >&5 -if test -n ""; then - ac_lib_var=`echo socket'_'socket | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` -fi +echo "configure:6342: checking for socket in -lsocket" >&5 +ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6369,19 +6376,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6 -echo "configure:6373: checking for socket in -linet" >&5 -if test -n ""; then - ac_lib_var=`echo inet'_'socket | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'` -fi +echo "configure:6380: checking for socket in -linet" >&5 +ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6412,19 +6415,15 @@@@ echo "$ac_t""no" 1>&6 echo "configure: warning: unable to find socket() trying -lsocket -lnsl" 1>&2 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:6416: checking for socket in -lsocket" >&5 -if test -n "-lnsl"; then - ac_lib_var=`echo socket'_'socket-lnsl | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` -fi +echo "configure:6419: checking for socket in -lsocket" >&5 +ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket -lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6462,12 +6461,12 @@@@ fi echo $ac_n "checking for inet_addr""... $ac_c" 1>&6 -echo "configure:6466: checking for inet_addr" >&5 +echo "configure:6465: checking for inet_addr" >&5 if eval "test \"`echo '$''{'ac_cv_func_inet_addr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_inet_addr=yes" else @@@@ -6508,19 +6507,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6 -echo "configure:6512: checking for inet_addr in -lnsl" >&5 -if test -n ""; then - ac_lib_var=`echo nsl'_'inet_addr | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'` -fi +echo "configure:6511: checking for inet_addr in -lnsl" >&5 +ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6550,19 +6545,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for inet_addr in -linet""... $ac_c" 1>&6 -echo "configure:6554: checking for inet_addr in -linet" >&5 -if test -n ""; then - ac_lib_var=`echo inet'_'inet_addr | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo inet'_'inet_addr | sed 'y%./+-%__p_%'` -fi +echo "configure:6549: checking for inet_addr in -linet" >&5 +ac_lib_var=`echo inet'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6593,19 +6584,15 @@@@ echo "$ac_t""no" 1>&6 echo "configure: warning: unable to find socket() trying -lsocket -lnsl" 1>&2 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6 -echo "configure:6597: checking for inet_addr in -lsocket" >&5 -if test -n "-lnsl"; then - ac_lib_var=`echo socket'_'inet_addr-lnsl | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'` -fi +echo "configure:6588: checking for inet_addr in -lsocket" >&5 +ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket -lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6643,12 +6630,12 @@@@ fi echo $ac_n "checking for syslog""... $ac_c" 1>&6 -echo "configure:6647: checking for syslog" >&5 +echo "configure:6634: checking for syslog" >&5 if eval "test \"`echo '$''{'ac_cv_func_syslog'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_syslog=yes" else @@@@ -6689,19 +6676,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for syslog in -lsocket""... $ac_c" 1>&6 -echo "configure:6693: checking for syslog in -lsocket" >&5 -if test -n ""; then - ac_lib_var=`echo socket'_'syslog | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo socket'_'syslog | sed 'y%./+-%__p_%'` -fi +echo "configure:6680: checking for syslog in -lsocket" >&5 +ac_lib_var=`echo socket'_'syslog | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6731,19 +6714,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for syslog in -lnsl""... $ac_c" 1>&6 -echo "configure:6735: checking for syslog in -lnsl" >&5 -if test -n ""; then - ac_lib_var=`echo nsl'_'syslog | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo nsl'_'syslog | sed 'y%./+-%__p_%'` -fi +echo "configure:6718: checking for syslog in -lnsl" >&5 +ac_lib_var=`echo nsl'_'syslog | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6773,19 +6752,15 @@@@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for syslog in -linet""... $ac_c" 1>&6 -echo "configure:6777: checking for syslog in -linet" >&5 -if test -n ""; then - ac_lib_var=`echo inet'_'syslog | sed 'y% ./+-%___p_%'` -else - ac_lib_var=`echo inet'_'syslog | sed 'y%./+-%__p_%'` -fi +echo "configure:6756: checking for syslog in -linet" >&5 +ac_lib_var=`echo inet'_'syslog | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6826,19 +6801,19 @@@@ # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:6830: checking for working alloca.h" >&5 +echo "configure:6805: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:6842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@@@ -6859,25 +6834,30 @@@@ fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:6863: checking for alloca" >&5 +echo "configure:6838: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +# ifdef _MSC_VER +# include +# define alloca _alloca # else -# ifdef _AIX - #pragma alloca +# if HAVE_ALLOCA_H +# include # else -# ifndef alloca /* predefined by HP cc +Olibcalls */ +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); +# endif # endif # endif # endif @@@@ -6887,7 +6867,7 @@@@ char *p = (char *) alloca(1); ; return 0; } EOF -if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@@@ -6912,19 +6892,19 @@@@ # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. - ALLOCA=alloca.o + ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:6923: checking whether alloca needs Cray hooks" >&5 +echo "configure:6903: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 -echo "configure:6953: checking for $ac_func" >&5 +echo "configure:6933: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -7004,7 +6984,7 @@@@ fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:7008: checking stack direction for C alloca" >&5 +echo "configure:6988: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -7012,7 +6992,7 @@@@ ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:7015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@@@ -7078,21 +7058,21 @@@@ fi echo $ac_n "checking for -ldes""... $ac_c" 1>&6 -echo "configure:7082: checking for -ldes" >&5 +echo "configure:7062: checking for -ldes" >&5 if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_lib_des=yes else @@@@ -7218,7 +7198,7 @@@@ fi echo $ac_n "checking for log file location""... $ac_c" 1>&6 -echo "configure:7222: checking for log file location" >&5 +echo "configure:7202: checking for log file location" >&5 if test -n "$with_logpath"; then echo "$ac_t""$with_logpath" 1>&6 cat >> confdefs.h <&6 -echo "configure:7252: checking for timestamp file location" >&5 +echo "configure:7232: checking for timestamp file location" >&5 if test -n "$with_timedir"; then echo "$ac_t""$with_timedir" 1>&6 cat >> confdefs.h <&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). @@@@ -7361,10 +7341,10 @@@@ do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12" + echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; @@@@ -7383,9 +7363,11 @@@@ s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF $ac_vpsub $extrasub +s%@@SHELL@@%$SHELL%g s%@@CFLAGS@@%$CFLAGS%g s%@@CPPFLAGS@@%$CPPFLAGS%g s%@@CXXFLAGS@@%$CXXFLAGS%g +s%@@FFLAGS@@%$FFLAGS%g s%@@DEFS@@%$DEFS%g s%@@LDFLAGS@@%$LDFLAGS%g s%@@LIBS@@%$LIBS%g @ 1.5 log @Update sudo to 1.5.9p1. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update sudo to 1.5.7p4. Changes since 1.5.6: - Various bug fixes (not security related). - All compile-time options are now set via options to the configure script. - visudo is now installed in /usr/local/sbin where it belongs. [of course this is ${PREFIX}/sbin in our package for a long time - TF] - two problems with tgetpass() have been fixed. In one case the user was not always given a chance to enter a password. In the other a newline was not always printed after the password was entered on Linux. - Added support for Digital UNIX SIA (Security Integration Architecture). - %groups now work as RunAs specifiers like the man page says. - Sudo now sets the USER environment variable to the target user (root unless -u is specified). - Sudo will print "command not found" unless configure was run with --disable-path-info. Also, tell user when we ignore '.' in their path and it would have been used but for --with-ignore-dot. This means that sudo can be used to gather information about the existence of executable in directories not accessible by a normal user. If this bothers you, run configure with --disable-path-info. [in our package --disable-path-info is default - TF] - A longstanding bug wrt "sudo -l" has been fixed that could cause "sudo -l" to complain about non-existent syntax errors. - When configured with --with-tty-tickets the filename is now "user:tty" (was "user.tty") since a username could have a '.' in it. @ text @d3 11 a13 2 --- configure.orig Tue Nov 24 05:40:24 1998 +++ configure Sun Dec 13 11:51:12 1998 d23 9 a31 1 @@@@ -239,7 +241,7 @@@@ d40 1 a40 1 @@@@ -276,7 +278,7 @@@@ d49 10 a58 1 @@@@ -470,7 +472,7 @@@@ d67 1 a67 1 @@@@ -552,7 +554,7 @@@@ d76 14 a89 1 @@@@ -665,8 +667,8 @@@@ d100 1 a100 1 @@@@ -771,6 +773,20 @@@@ d108 6 a113 4 + yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS" + sbindir='$(exec_prefix)/sbin' + echo 'nbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS' + ;; d115 2 a116 1 + *) echo "Ignoring unknown argument to --with-nbsdops: $with-nbsdops" d124 1 a124 1 @@@@ -780,7 +796,7 @@@@ d128 2 a129 2 -echo "configure:784: checking whether to try S/Key authentication" >&5 +echo "configure:800: checking whether to try S/Key authentication" >&5 d133 1 a133 1 @@@@ -799,7 +815,7 @@@@ d137 2 a138 2 -echo "configure:803: checking whether to try NRL OPIE authentication" >&5 +echo "configure:819: checking whether to try NRL OPIE authentication" >&5 d142 1 a142 1 @@@@ -818,7 +834,7 @@@@ d146 2 a147 2 -echo "configure:822: checking whether to use OTP as the sole authentication method" >&5 +echo "configure:838: checking whether to use OTP as the sole authentication method" >&5 d151 1 a151 1 @@@@ -838,7 +854,7 @@@@ d155 2 a156 2 -echo "configure:842: checking whether to use a two line prompt for OTP authentication" >&5 +echo "configure:858: checking whether to use a two line prompt for OTP authentication" >&5 d160 1 a160 1 @@@@ -858,7 +874,7 @@@@ d164 11 a174 2 -echo "configure:862: checking whether to use SecurID for authentication" >&5 +echo "configure:878: checking whether to use SecurID for authentication" >&5 d178 10 a187 1 @@@@ -878,7 +894,7 @@@@ d191 2 a192 2 -echo "configure:882: checking whether to try Kerberos 4 authentication" >&5 +echo "configure:898: checking whether to try Kerberos 4 authentication" >&5 d196 1 a196 1 @@@@ -898,7 +914,7 @@@@ d200 2 a201 2 -echo "configure:902: checking whether to try Kerberos 5 authentication" >&5 +echo "configure:918: checking whether to try Kerberos 5 authentication" >&5 d205 1 a205 1 @@@@ -918,7 +934,7 @@@@ d209 2 a210 2 -echo "configure:922: checking whether to use AIX general authentication" >&5 +echo "configure:938: checking whether to use AIX general authentication" >&5 d214 1 a214 1 @@@@ -938,7 +954,7 @@@@ d218 2 a219 2 -echo "configure:942: checking whether to use PAM authentication" >&5 +echo "configure:958: checking whether to use PAM authentication" >&5 d223 1 a223 1 @@@@ -958,7 +974,7 @@@@ d227 2 a228 2 -echo "configure:962: checking whether to try AFS (kerberos) authentication" >&5 +echo "configure:978: checking whether to try AFS (kerberos) authentication" >&5 d232 1 a232 1 @@@@ -978,7 +994,7 @@@@ d236 2 a237 2 -echo "configure:982: checking whether to try DCE (kerberos) authentication" >&5 +echo "configure:998: checking whether to try DCE (kerberos) authentication" >&5 d241 1 a241 1 @@@@ -990,7 +1006,7 @@@@ d245 2 a246 2 -echo "configure:994: checking which message/lecture type sudo should use" >&5 +echo "configure:1010: checking which message/lecture type sudo should use" >&5 d250 1 a250 1 @@@@ -1023,7 +1039,7 @@@@ d254 2 a255 2 -echo "configure:1027: checking whether sudo should log via syslog or to a file" >&5 +echo "configure:1043: checking whether sudo should log via syslog or to a file" >&5 d259 1 a259 1 @@@@ -1065,7 +1081,7 @@@@ d263 2 a264 2 -echo "configure:1069: checking which syslog facility sudo should log with" >&5 +echo "configure:1085: checking which syslog facility sudo should log with" >&5 d268 1 a268 1 @@@@ -1106,7 +1122,7 @@@@ d272 2 a273 2 -echo "configure:1110: checking how long a line in the log file should be" >&5 +echo "configure:1126: checking how long a line in the log file should be" >&5 d277 1 a277 1 @@@@ -1136,7 +1152,7 @@@@ d281 2 a282 2 -echo "configure:1140: checking whether sudo should ignore '.' or '' in \$PATH" >&5 +echo "configure:1156: checking whether sudo should ignore '.' or '' in \$PATH" >&5 d286 1 a286 1 @@@@ -1159,7 +1175,7 @@@@ d290 2 a291 2 -echo "configure:1163: checking who should get the mail that sudo sends" >&5 +echo "configure:1179: checking who should get the mail that sudo sends" >&5 d295 1 a295 1 @@@@ -1198,7 +1214,7 @@@@ d299 2 a300 2 -echo "configure:1202: checking sudo mail subject" >&5 +echo "configure:1218: checking sudo mail subject" >&5 d304 1 a304 1 @@@@ -1211,7 +1227,7 @@@@ d308 2 a309 2 -echo "configure:1215: checking whether to send mail when a user is not in sudoers" >&5 +echo "configure:1231: checking whether to send mail when a user is not in sudoers" >&5 d313 1 a313 1 @@@@ -1237,7 +1253,7 @@@@ d317 2 a318 2 -echo "configure:1241: checking whether to send mail when a user tries a disallowed command" >&5 +echo "configure:1257: checking whether to send mail when a user tries a disallowed command" >&5 d322 1 a322 1 @@@@ -1260,7 +1276,7 @@@@ d326 2 a327 2 -echo "configure:1264: checking for bad password prompt" >&5 +echo "configure:1280: checking for bad password prompt" >&5 d331 1 a331 1 @@@@ -1286,7 +1302,7 @@@@ d335 2 a336 2 -echo "configure:1290: checking for bad password message" >&5 +echo "configure:1306: checking for bad password message" >&5 d340 1 a340 1 @@@@ -1312,7 +1328,7 @@@@ d344 2 a345 2 -echo "configure:1316: checking whether to expect fully qualified hosts in sudoers" >&5 +echo "configure:1332: checking whether to expect fully qualified hosts in sudoers" >&5 d349 1 a349 1 @@@@ -1421,7 +1437,7 @@@@ d353 2 a354 2 -echo "configure:1425: checking for umask programs should be run with" >&5 +echo "configure:1441: checking for umask programs should be run with" >&5 d358 1 a358 1 @@@@ -1450,7 +1466,7 @@@@ d362 2 a363 2 -echo "configure:1454: checking for default user to run commands as" >&5 +echo "configure:1470: checking for default user to run commands as" >&5 d367 1 a367 1 @@@@ -1491,7 +1507,7 @@@@ d371 2 a372 2 -echo "configure:1495: checking for group to be exempt from password" >&5 +echo "configure:1511: checking for group to be exempt from password" >&5 d376 1 a376 1 @@@@ -1499,7 +1515,7 @@@@ d380 2 a381 2 -echo "configure:1503: checking for editor that visudo should use" >&5 +echo "configure:1519: checking for editor that visudo should use" >&5 d385 1 a385 1 @@@@ -1526,7 +1542,7 @@@@ d389 2 a390 2 -echo "configure:1530: checking whether to obey EDITOR and VISUAL environment variables" >&5 +echo "configure:1546: checking whether to obey EDITOR and VISUAL environment variables" >&5 d394 1 a394 1 @@@@ -1549,7 +1565,7 @@@@ d398 2 a399 2 -echo "configure:1553: checking number of tries a user gets to enter their password" >&5 +echo "configure:1569: checking number of tries a user gets to enter their password" >&5 d403 1 a403 1 @@@@ -1582,7 +1598,7 @@@@ d407 2 a408 2 -echo "configure:1586: checking time in minutes after which sudo will ask for a password again" >&5 +echo "configure:1602: checking time in minutes after which sudo will ask for a password again" >&5 d412 1 a412 1 @@@@ -1618,7 +1634,7 @@@@ d416 2 a417 2 -echo "configure:1622: checking time in minutes after the password prompt will time out" >&5 +echo "configure:1638: checking time in minutes after the password prompt will time out" >&5 d421 1 a421 1 @@@@ -1654,7 +1670,7 @@@@ d425 2 a426 2 -echo "configure:1658: checking whether to use execvp or execv" >&5 +echo "configure:1674: checking whether to use execvp or execv" >&5 d430 1 a430 1 @@@@ -1677,7 +1693,7 @@@@ d433 3 a435 3 echo $ac_n "checking whether to use per-tty ficket files""... $ac_c" 1>&6 -echo "configure:1681: checking whether to use per-tty ficket files" >&5 +echo "configure:1697: checking whether to use per-tty ficket files" >&5 d439 1 a439 1 @@@@ -1700,7 +1716,7 @@@@ d443 2 a444 2 -echo "configure:1704: checking whether to include insults" >&5 +echo "configure:1720: checking whether to include insults" >&5 d448 1 a448 1 @@@@ -1811,7 +1827,7 @@@@ d452 2 a453 2 -echo "configure:1815: checking which insult sets to include" >&5 +echo "configure:1831: checking which insult sets to include" >&5 d457 1 a457 1 @@@@ -1821,7 +1837,7 @@@@ d461 2 a462 2 -echo "configure:1825: checking whether to override the user's path" >&5 +echo "configure:1841: checking whether to override the user's path" >&5 d466 1 a466 1 @@@@ -1847,7 +1863,7 @@@@ d470 2 a471 2 -echo "configure:1851: checking whether to get ip addresses from the network interfaces" >&5 +echo "configure:1867: checking whether to get ip addresses from the network interfaces" >&5 d475 1 a475 1 @@@@ -1871,7 +1887,7 @@@@ d479 2 a480 2 -echo "configure:1875: checking whether to disable shadow password support" >&5 +echo "configure:1891: checking whether to disable shadow password support" >&5 d484 1 a484 1 @@@@ -1892,7 +1908,7 @@@@ d488 2 a489 2 -echo "configure:1896: checking whether root should be allowed to use sudo" >&5 +echo "configure:1912: checking whether root should be allowed to use sudo" >&5 d493 1 a493 1 @@@@ -1916,7 +1932,7 @@@@ d497 2 a498 2 -echo "configure:1920: checking whether to use the system getpass function" >&5 +echo "configure:1936: checking whether to use the system getpass function" >&5 d502 1 a502 1 @@@@ -1941,7 +1957,7 @@@@ d506 2 a507 2 -echo "configure:1945: checking whether to log the hostname in the log file" >&5 +echo "configure:1961: checking whether to log the hostname in the log file" >&5 d511 1 a511 1 @@@@ -1965,7 +1981,7 @@@@ d515 2 a516 2 -echo "configure:1969: checking whether to wrap long lines in the log file" >&5 +echo "configure:1985: checking whether to wrap long lines in the log file" >&5 d520 1 a520 1 @@@@ -1998,7 +2014,7 @@@@ d524 2 a525 2 -echo "configure:2002: checking whether to invoke a shell if sudo is given no arguments" >&5 +echo "configure:2018: checking whether to invoke a shell if sudo is given no arguments" >&5 d529 1 a529 1 @@@@ -2022,7 +2038,7 @@@@ d533 2 a534 2 -echo "configure:2026: checking whether to set \$HOME to target user in shell mode" >&5 +echo "configure:2042: checking whether to set \$HOME to target user in shell mode" >&5 d538 1 a538 1 @@@@ -2046,7 +2062,7 @@@@ d542 2 a543 2 -echo "configure:2050: checking whether to disable 'command not found' messages" >&5 +echo "configure:2066: checking whether to disable 'command not found' messages" >&5 d547 1 a547 1 @@@@ -2072,7 +2088,7 @@@@ d551 2 a552 2 -echo "configure:2076: checking for $ac_word" >&5 +echo "configure:2092: checking for $ac_word" >&5 d556 12 a567 1 @@@@ -2107,7 +2123,7 @@@@ d571 2 a572 2 -echo "configure:2111: checking for $ac_word" >&5 +echo "configure:2127: checking for $ac_word" >&5 d576 12 a587 1 @@@@ -2136,7 +2152,7 @@@@ d591 2 a592 2 -echo "configure:2140: checking for $ac_word" >&5 +echo "configure:2156: checking for $ac_word" >&5 d596 51 a646 1 @@@@ -2184,7 +2200,7 @@@@ d650 2 a651 2 -echo "configure:2188: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:2204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d655 4 a658 1 @@@@ -2194,11 +2210,11 @@@@ d661 5 a665 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d675 13 a687 1 @@@@ -2218,12 +2234,12 @@@@ d691 2 a692 2 -echo "configure:2222: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:2238: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d697 2 a698 2 -echo "configure:2227: checking whether we are using GNU C" >&5 +echo "configure:2243: checking whether we are using GNU C" >&5 d702 1 a702 1 @@@@ -2232,7 +2248,7 @@@@ d706 2 a707 2 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d711 18 a728 6 @@@@ -2247,7 +2263,7 @@@@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2251: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:2267: checking whether ${CC-cc} accepts -g" >&5 d732 24 a755 1 @@@@ -2275,7 +2291,7 @@@@ d759 2 a760 2 -echo "configure:2279: checking how to run the C preprocessor" >&5 +echo "configure:2295: checking how to run the C preprocessor" >&5 d764 1 a764 1 @@@@ -2290,13 +2306,13 @@@@ d768 2 a769 2 -#line 2294 "configure" +#line 2310 "configure" d775 4 a778 3 -{ (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d781 2 a782 1 @@@@ -2307,13 +2323,13 @@@@ d786 19 a804 2 -#line 2311 "configure" +#line 2327 "configure" d810 4 a813 3 -{ (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d816 11 a826 1 @@@@ -2336,7 +2352,7 @@@@ d830 2 a831 2 -echo "configure:2340: checking for POSIXized ISC" >&5 +echo "configure:2356: checking for POSIXized ISC" >&5 d835 1 a835 1 @@@@ -2360,7 +2376,7 @@@@ d839 2 a840 2 -echo "configure:2364: checking for $ac_word" >&5 +echo "configure:2380: checking for $ac_word" >&5 d844 12 a855 1 @@@@ -2388,7 +2404,7 @@@@ d859 2 a860 2 -echo "configure:2392: checking for $ac_word" >&5 +echo "configure:2408: checking for $ac_word" >&5 d864 12 a875 1 @@@@ -2416,7 +2432,7 @@@@ d879 2 a880 2 -echo "configure:2420: checking for $ac_word" >&5 +echo "configure:2436: checking for $ac_word" >&5 d884 12 a895 1 @@@@ -2444,7 +2460,7 @@@@ d899 2 a900 2 -echo "configure:2448: checking for $ac_word" >&5 +echo "configure:2464: checking for $ac_word" >&5 d904 18 a921 1 @@@@ -2499,7 +2515,7 @@@@ d925 2 a926 2 -echo "configure:2503: checking host system type" >&5 +echo "configure:2519: checking host system type" >&5 d930 17 a946 1 @@@@ -2528,7 +2544,7 @@@@ d950 2 a951 2 -echo "configure:2532: checking previous host type" >&5 +echo "configure:2548: checking previous host type" >&5 d955 1 a955 1 @@@@ -2563,12 +2579,12 @@@@ d959 2 a960 2 -echo "configure:2567: checking for getpwanam" >&5 +echo "configure:2583: checking for getpwanam" >&5 d965 2 a966 2 -#line 2572 "configure" +#line 2588 "configure" d970 1 a970 1 @@@@ -2591,7 +2607,7 @@@@ d974 2 a975 2 -if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d979 1 a979 1 @@@@ -2611,12 +2627,12 @@@@ d983 2 a984 2 -echo "configure:2615: checking for $ac_func" >&5 +echo "configure:2631: checking for $ac_func" >&5 d989 2 a990 2 -#line 2620 "configure" +#line 2636 "configure" d994 1 a994 1 @@@@ -2639,7 +2655,7 @@@@ d998 2 a999 2 -if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1003 1 a1003 1 @@@@ -2686,7 +2702,7 @@@@ d1007 8 a1014 3 -echo "configure:2690: checking for getprpwnam in -lsec" >&5 +echo "configure:2706: checking for getprpwnam in -lsec" >&5 ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` d1017 1 a1017 1 @@@@ -2694,7 +2710,7 @@@@ d1021 2 a1022 2 -#line 2698 "configure" +#line 2714 "configure" d1026 1 a1026 1 @@@@ -2705,7 +2721,7 @@@@ d1030 2 a1031 2 -if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1035 1 a1035 1 @@@@ -2727,7 +2743,7 @@@@ d1039 8 a1046 3 -echo "configure:2731: checking for getprpwnam in -lsecurity" >&5 +echo "configure:2747: checking for getprpwnam in -lsecurity" >&5 ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` d1049 1 a1049 1 @@@@ -2735,7 +2751,7 @@@@ d1053 2 a1054 2 -#line 2739 "configure" +#line 2755 "configure" d1058 1 a1058 1 @@@@ -2746,7 +2762,7 @@@@ d1062 2 a1063 2 -if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1067 1 a1067 1 @@@@ -2781,7 +2797,7 @@@@ d1071 8 a1078 3 -echo "configure:2785: checking for getprpwnam in -lsec" >&5 +echo "configure:2801: checking for getprpwnam in -lsec" >&5 ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` d1081 1 a1081 1 @@@@ -2789,7 +2805,7 @@@@ d1085 2 a1086 2 -#line 2793 "configure" +#line 2809 "configure" d1090 1 a1090 1 @@@@ -2800,7 +2816,7 @@@@ d1094 2 a1095 2 -if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1099 1 a1099 1 @@@@ -2819,7 +2835,7 @@@@ d1103 8 a1110 3 -echo "configure:2823: checking for iscomsec in -lsec" >&5 +echo "configure:2839: checking for iscomsec in -lsec" >&5 ac_lib_var=`echo sec'_'iscomsec | sed 'y%./+-%__p_%'` d1113 1 a1113 1 @@@@ -2827,7 +2843,7 @@@@ d1117 2 a1118 2 -#line 2831 "configure" +#line 2847 "configure" d1122 1 a1122 1 @@@@ -2838,7 +2854,7 @@@@ d1126 2 a1127 2 -if { (eval echo configure:2842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1131 1 a1131 1 @@@@ -2904,12 +2920,12 @@@@ d1135 2 a1136 2 -echo "configure:2908: checking for $ac_func" >&5 +echo "configure:2924: checking for $ac_func" >&5 d1141 2 a1142 2 -#line 2913 "configure" +#line 2929 "configure" d1146 1 a1146 1 @@@@ -2932,7 +2948,7 @@@@ d1150 2 a1151 2 -if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1155 1 a1155 1 @@@@ -3009,7 +3025,7 @@@@ d1159 2 a1160 2 -echo "configure:3013: checking whether to disable sia support on Digital UNIX" >&5 +echo "configure:3029: checking whether to disable sia support on Digital UNIX" >&5 d1164 1 a1164 1 @@@@ -3033,12 +3049,12 @@@@ d1168 2 a1169 2 -echo "configure:3037: checking for sia_ses_init" >&5 +echo "configure:3053: checking for sia_ses_init" >&5 d1174 2 a1175 2 -#line 3042 "configure" +#line 3058 "configure" d1179 1 a1179 1 @@@@ -3061,7 +3077,7 @@@@ d1183 2 a1184 2 -if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1188 1 a1188 1 @@@@ -3090,7 +3106,7 @@@@ d1192 8 a1199 3 -echo "configure:3094: checking for getprpwnam in -lsecurity" >&5 +echo "configure:3110: checking for getprpwnam in -lsecurity" >&5 ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` d1202 1 a1202 1 @@@@ -3098,7 +3114,7 @@@@ d1206 2 a1207 2 -#line 3102 "configure" +#line 3118 "configure" d1211 1 a1211 1 @@@@ -3109,7 +3125,7 @@@@ d1215 2 a1216 2 -if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1220 1 a1220 1 @@@@ -3135,7 +3151,7 @@@@ d1224 8 a1231 3 -echo "configure:3139: checking for dbopen in -ldb" >&5 +echo "configure:3155: checking for dbopen in -ldb" >&5 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` d1234 1 a1234 1 @@@@ -3143,7 +3159,7 @@@@ d1238 2 a1239 2 -#line 3147 "configure" +#line 3163 "configure" d1243 1 a1243 1 @@@@ -3154,7 +3170,7 @@@@ d1247 2 a1248 2 -if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1252 1 a1252 1 @@@@ -3178,12 +3194,12 @@@@ d1256 2 a1257 2 -echo "configure:3182: checking for $ac_func" >&5 +echo "configure:3198: checking for $ac_func" >&5 d1262 2 a1263 2 -#line 3187 "configure" +#line 3203 "configure" d1267 1 a1267 1 @@@@ -3206,7 +3222,7 @@@@ d1271 2 a1272 2 -if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1276 1 a1276 1 @@@@ -3231,9 +3247,9 @@@@ d1280 2 a1281 2 -echo "configure:3235: checking for broken /usr/include/prot.h" >&5 +echo "configure:3251: checking for broken /usr/include/prot.h" >&5 d1283 2 a1284 2 -#line 3237 "configure" +#line 3253 "configure" d1288 1 a1288 1 @@@@ -3244,7 +3260,7 @@@@ d1292 2 a1293 2 -if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1297 33 a1329 1 @@@@ -3284,12 +3300,12 @@@@ d1333 2 a1334 2 -echo "configure:3288: checking for getspnam" >&5 +echo "configure:3304: checking for getspnam" >&5 d1339 2 a1340 2 -#line 3293 "configure" +#line 3309 "configure" d1344 1 a1344 1 @@@@ -3312,7 +3328,7 @@@@ d1348 2 a1349 2 -if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1353 1 a1353 1 @@@@ -3333,7 +3349,7 @@@@ d1357 8 a1364 3 -echo "configure:3337: checking for getspnam in -lshadow" >&5 +echo "configure:3353: checking for getspnam in -lshadow" >&5 ac_lib_var=`echo shadow'_'getspnam | sed 'y%./+-%__p_%'` d1367 1 a1367 1 @@@@ -3341,7 +3357,7 @@@@ d1371 2 a1372 2 -#line 3345 "configure" +#line 3361 "configure" d1376 1 a1376 1 @@@@ -3352,7 +3368,7 @@@@ d1380 2 a1381 2 -if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1385 1 a1385 1 @@@@ -3391,7 +3407,7 @@@@ d1389 8 a1396 3 -echo "configure:3395: checking for getprpwnam in -lsec" >&5 +echo "configure:3411: checking for getprpwnam in -lsec" >&5 ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` d1399 1 a1399 1 @@@@ -3399,7 +3415,7 @@@@ d1403 2 a1404 2 -#line 3403 "configure" +#line 3419 "configure" d1408 1 a1408 1 @@@@ -3410,7 +3426,7 @@@@ d1412 2 a1413 2 -if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1417 1 a1417 1 @@@@ -3440,7 +3456,7 @@@@ d1421 8 a1428 3 -echo "configure:3444: checking for getauthuid in -lauth" >&5 +echo "configure:3460: checking for getauthuid in -lauth" >&5 ac_lib_var=`echo auth'_'getauthuid | sed 'y%./+-%__p_%'` d1431 1 a1431 1 @@@@ -3448,7 +3464,7 @@@@ d1435 2 a1436 2 -#line 3452 "configure" +#line 3468 "configure" d1440 1 a1440 1 @@@@ -3459,7 +3475,7 @@@@ d1444 2 a1445 2 -if { (eval echo configure:3463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1449 1 a1449 1 @@@@ -3499,7 +3515,7 @@@@ d1453 8 a1460 3 -echo "configure:3503: checking for getspnam in -lsec" >&5 +echo "configure:3519: checking for getspnam in -lsec" >&5 ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` d1463 1 a1463 1 @@@@ -3507,7 +3523,7 @@@@ d1467 2 a1468 2 -#line 3511 "configure" +#line 3527 "configure" d1472 1 a1472 1 @@@@ -3518,7 +3534,7 @@@@ d1476 2 a1477 2 -if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1481 1 a1481 1 @@@@ -3547,7 +3563,7 @@@@ d1485 8 a1492 3 -echo "configure:3551: checking for getprpwnam in -lprot" >&5 +echo "configure:3567: checking for getprpwnam in -lprot" >&5 ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` d1495 1 a1495 1 @@@@ -3555,7 +3571,7 @@@@ d1499 2 a1500 2 -#line 3559 "configure" +#line 3575 "configure" d1504 1 a1504 1 @@@@ -3566,7 +3582,7 @@@@ d1508 2 a1509 2 -if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1513 1 a1513 1 @@@@ -3595,7 +3611,7 @@@@ d1517 8 a1524 3 -echo "configure:3599: checking for getspnam in -lsec" >&5 +echo "configure:3615: checking for getspnam in -lsec" >&5 ac_lib_var=`echo sec'_'getspnam | sed 'y%./+-%__p_%'` d1527 1 a1527 1 @@@@ -3603,7 +3619,7 @@@@ d1531 2 a1532 2 -#line 3607 "configure" +#line 3623 "configure" d1536 1 a1536 1 @@@@ -3614,7 +3630,7 @@@@ d1540 2 a1541 2 -if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1545 1 a1545 1 @@@@ -3662,12 +3678,12 @@@@ d1549 2 a1550 2 -echo "configure:3666: checking for getspnam" >&5 +echo "configure:3682: checking for getspnam" >&5 d1555 2 a1556 2 -#line 3671 "configure" +#line 3687 "configure" d1560 1 a1560 1 @@@@ -3690,7 +3706,7 @@@@ d1564 2 a1565 2 -if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1569 1 a1569 1 @@@@ -3715,12 +3731,12 @@@@ d1573 2 a1574 2 -echo "configure:3719: checking for getprpwnam" >&5 +echo "configure:3735: checking for getprpwnam" >&5 d1579 2 a1580 2 -#line 3724 "configure" +#line 3740 "configure" d1584 1 a1584 1 @@@@ -3743,7 +3759,7 @@@@ d1588 2 a1589 2 -if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1593 1 a1593 1 @@@@ -3764,7 +3780,7 @@@@ d1597 8 a1604 3 -echo "configure:3768: checking for getprpwnam in -lsec" >&5 +echo "configure:3784: checking for getprpwnam in -lsec" >&5 ac_lib_var=`echo sec'_'getprpwnam | sed 'y%./+-%__p_%'` d1607 1 a1607 1 @@@@ -3772,7 +3788,7 @@@@ d1611 2 a1612 2 -#line 3776 "configure" +#line 3792 "configure" d1616 1 a1616 1 @@@@ -3783,7 +3799,7 @@@@ d1620 2 a1621 2 -if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1625 1 a1625 1 @@@@ -3805,7 +3821,7 @@@@ d1629 8 a1636 3 -echo "configure:3809: checking for getprpwnam in -lsecurity" >&5 +echo "configure:3825: checking for getprpwnam in -lsecurity" >&5 ac_lib_var=`echo security'_'getprpwnam | sed 'y%./+-%__p_%'` d1639 1 a1639 1 @@@@ -3813,7 +3829,7 @@@@ d1643 2 a1644 2 -#line 3817 "configure" +#line 3833 "configure" d1648 1 a1648 1 @@@@ -3824,7 +3840,7 @@@@ d1652 2 a1653 2 -if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1657 1 a1657 1 @@@@ -3846,7 +3862,7 @@@@ d1661 8 a1668 3 -echo "configure:3850: checking for getprpwnam in -lprot" >&5 +echo "configure:3866: checking for getprpwnam in -lprot" >&5 ac_lib_var=`echo prot'_'getprpwnam | sed 'y%./+-%__p_%'` d1671 1 a1671 1 @@@@ -3854,7 +3870,7 @@@@ d1675 2 a1676 2 -#line 3858 "configure" +#line 3874 "configure" d1680 1 a1680 1 @@@@ -3865,7 +3881,7 @@@@ d1684 2 a1685 2 -if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1689 1 a1689 1 @@@@ -3898,13 +3914,13 @@@@ d1693 2 a1694 2 -echo "configure:3902: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:3918: checking whether ${CC-cc} needs -traditional" >&5 d1700 2 a1701 2 -#line 3908 "configure" +#line 3924 "configure" d1705 1 a1705 1 @@@@ -3922,7 +3938,7 @@@@ d1709 2 a1710 2 -#line 3926 "configure" +#line 3942 "configure" d1714 1 a1714 1 @@@@ -3944,12 +3960,12 @@@@ d1718 2 a1719 2 -echo "configure:3948: checking for working const" >&5 +echo "configure:3964: checking for working const" >&5 d1724 2 a1725 2 -#line 3953 "configure" +#line 3969 "configure" d1729 1 a1729 1 @@@@ -3998,7 +4014,7 @@@@ d1733 2 a1734 2 -if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1738 1 a1738 1 @@@@ -4023,7 +4039,7 @@@@ d1742 2 a1743 2 -echo "configure:4027: checking for $ac_word" >&5 +echo "configure:4043: checking for $ac_word" >&5 d1747 12 a1758 1 @@@@ -4054,7 +4070,7 @@@@ d1762 2 a1763 2 -echo "configure:4058: checking for sendmail" >&5 +echo "configure:4074: checking for sendmail" >&5 d1767 1 a1767 1 @@@@ -4097,7 +4113,7 @@@@ d1771 2 a1772 2 -echo "configure:4101: checking for mv" >&5 +echo "configure:4117: checking for mv" >&5 d1776 1 a1776 1 @@@@ -4127,7 +4143,7 @@@@ d1780 2 a1781 2 -echo "configure:4131: checking for bourne shell" >&5 +echo "configure:4147: checking for bourne shell" >&5 d1785 1 a1785 1 @@@@ -4181,7 +4197,7 @@@@ d1789 2 a1790 2 -echo "configure:4185: checking for vi" >&5 +echo "configure:4201: checking for vi" >&5 d1794 1 a1794 1 @@@@ -4217,12 +4233,12 @@@@ d1798 2 a1799 2 -echo "configure:4221: checking for ANSI C header files" >&5 +echo "configure:4237: checking for ANSI C header files" >&5 d1804 2 a1805 2 -#line 4226 "configure" +#line 4242 "configure" d1809 1 a1809 1 @@@@ -4230,7 +4246,7 @@@@ d1813 4 a1816 3 -{ (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1819 2 a1820 1 @@@@ -4247,7 +4263,7 @@@@ d1824 2 a1825 2 -#line 4251 "configure" +#line 4267 "configure" d1829 1 a1829 1 @@@@ -4265,7 +4281,7 @@@@ d1833 2 a1834 2 -#line 4269 "configure" +#line 4285 "configure" d1838 1 a1838 1 @@@@ -4286,7 +4302,7 @@@@ d1842 2 a1843 2 -#line 4290 "configure" +#line 4306 "configure" d1847 1 a1847 1 @@@@ -4297,7 +4313,7 @@@@ d1851 2 a1852 2 -if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d1856 1 a1856 1 @@@@ -4325,12 +4341,12 @@@@ d1860 2 a1861 2 -echo "configure:4329: checking for $ac_hdr that defines DIR" >&5 +echo "configure:4345: checking for $ac_hdr that defines DIR" >&5 d1866 2 a1867 2 -#line 4334 "configure" +#line 4350 "configure" d1871 1 a1871 1 @@@@ -4338,7 +4354,7 @@@@ d1875 2 a1876 2 -if { (eval echo configure:4342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1880 1 a1880 1 @@@@ -4363,7 +4379,7 @@@@ d1884 8 a1891 3 -echo "configure:4367: checking for opendir in -ldir" >&5 +echo "configure:4383: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` d1894 1 a1894 1 @@@@ -4371,7 +4387,7 @@@@ d1898 2 a1899 2 -#line 4375 "configure" +#line 4391 "configure" d1903 1 a1903 1 @@@@ -4382,7 +4398,7 @@@@ d1907 2 a1908 2 -if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1912 1 a1912 1 @@@@ -4404,7 +4420,7 @@@@ d1916 8 a1923 3 -echo "configure:4408: checking for opendir in -lx" >&5 +echo "configure:4424: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` d1926 1 a1926 1 @@@@ -4412,7 +4428,7 @@@@ d1930 2 a1931 2 -#line 4416 "configure" +#line 4432 "configure" d1935 1 a1935 1 @@@@ -4423,7 +4439,7 @@@@ d1939 2 a1940 2 -if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1944 1 a1944 1 @@@@ -4449,17 +4465,17 @@@@ d1948 2 a1949 2 -echo "configure:4453: checking for $ac_hdr" >&5 +echo "configure:4469: checking for $ac_hdr" >&5 d1954 2 a1955 2 -#line 4458 "configure" +#line 4474 "configure" d1960 4 a1963 3 -{ (eval echo configure:4463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1966 2 a1967 1 @@@@ -4490,17 +4506,17 @@@@ d1971 2 a1972 2 -echo "configure:4494: checking for $ac_hdr" >&5 +echo "configure:4510: checking for $ac_hdr" >&5 d1977 2 a1978 2 -#line 4499 "configure" +#line 4515 "configure" d1983 4 a1986 3 -{ (eval echo configure:4504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1989 2 a1990 1 @@@@ -4530,17 +4546,17 @@@@ d1994 2 a1995 2 -echo "configure:4534: checking for $ac_hdr" >&5 +echo "configure:4550: checking for $ac_hdr" >&5 d2000 2 a2001 2 -#line 4539 "configure" +#line 4555 "configure" d2006 4 a2009 3 -{ (eval echo configure:4544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d2012 2 a2013 1 @@@@ -4563,12 +4579,12 @@@@ d2017 2 a2018 2 -echo "configure:4567: checking for $ac_func" >&5 +echo "configure:4583: checking for $ac_func" >&5 d2023 2 a2024 2 -#line 4572 "configure" +#line 4588 "configure" d2028 1 a2028 1 @@@@ -4591,7 +4607,7 @@@@ d2032 2 a2033 2 -if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2037 1 a2037 1 @@@@ -4622,12 +4638,12 @@@@ d2041 2 a2042 2 -echo "configure:4626: checking for mode_t" >&5 +echo "configure:4642: checking for mode_t" >&5 d2047 2 a2048 2 -#line 4631 "configure" +#line 4647 "configure" d2052 10 a2061 1 @@@@ -4655,12 +4671,12 @@@@ d2065 2 a2066 2 -echo "configure:4659: checking for uid_t in sys/types.h" >&5 +echo "configure:4675: checking for uid_t in sys/types.h" >&5 d2071 2 a2072 2 -#line 4664 "configure" +#line 4680 "configure" d2076 1 a2076 1 @@@@ -4689,12 +4705,12 @@@@ d2080 2 a2081 2 -echo "configure:4693: checking for size_t" >&5 +echo "configure:4709: checking for size_t" >&5 d2086 2 a2087 2 -#line 4698 "configure" +#line 4714 "configure" d2091 1 a2091 1 @@@@ -4724,12 +4740,12 @@@@ d2095 2 a2096 2 -echo "configure:4728: checking for ssize_t" >&5 +echo "configure:4744: checking for ssize_t" >&5 d2101 2 a2102 2 -#line 4733 "configure" +#line 4749 "configure" d2106 1 a2106 1 @@@@ -4759,12 +4775,12 @@@@ d2110 2 a2111 2 -echo "configure:4763: checking for dev_t" >&5 +echo "configure:4779: checking for dev_t" >&5 d2116 2 a2117 2 -#line 4768 "configure" +#line 4784 "configure" d2121 1 a2121 1 @@@@ -4794,12 +4810,12 @@@@ d2125 2 a2126 2 -echo "configure:4798: checking for ino_t" >&5 +echo "configure:4814: checking for ino_t" >&5 d2131 2 a2132 2 -#line 4803 "configure" +#line 4819 "configure" d2136 1 a2136 1 @@@@ -4829,9 +4845,9 @@@@ d2140 2 a2141 2 -echo "configure:4833: checking for full void implementation" >&5 +echo "configure:4849: checking for full void implementation" >&5 d2143 2 a2144 2 -#line 4835 "configure" +#line 4851 "configure" d2148 1 a2148 1 @@@@ -4839,7 +4855,7 @@@@ d2152 2 a2153 2 -if { (eval echo configure:4843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2157 1 a2157 1 @@@@ -4859,7 +4875,7 @@@@ d2161 2 a2162 2 -echo "configure:4863: checking max length of uid_t" >&5 +echo "configure:4879: checking max length of uid_t" >&5 d2166 1 a2166 1 @@@@ -4868,7 +4884,7 @@@@ d2170 2 a2171 2 -#line 4872 "configure" +#line 4888 "configure" d2175 1 a2175 1 @@@@ -4889,7 +4905,7 @@@@ d2179 2 a2180 2 -if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2184 1 a2184 1 @@@@ -4912,7 +4928,7 @@@@ d2188 2 a2189 2 -echo "configure:4916: checking for sa_len field in struct sockaddr" >&5 +echo "configure:4932: checking for sa_len field in struct sockaddr" >&5 d2193 1 a2193 1 @@@@ -4920,7 +4936,7 @@@@ d2197 2 a2198 2 -#line 4924 "configure" +#line 4940 "configure" d2202 1 a2202 1 @@@@ -4930,7 +4946,7 @@@@ d2206 2 a2207 2 -if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2211 1 a2211 1 @@@@ -4955,12 +4971,12 @@@@ d2215 2 a2216 2 -echo "configure:4959: checking return type of signal handlers" >&5 +echo "configure:4975: checking return type of signal handlers" >&5 d2221 2 a2222 2 -#line 4964 "configure" +#line 4980 "configure" d2226 1 a2226 1 @@@@ -4977,7 +4993,7 @@@@ d2230 2 a2231 2 -if { (eval echo configure:4981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2235 1 a2235 1 @@@@ -4999,12 +5015,12 @@@@ d2239 2 a2240 2 -echo "configure:5003: checking for $ac_func" >&5 +echo "configure:5019: checking for $ac_func" >&5 d2245 2 a2246 2 -#line 5008 "configure" +#line 5024 "configure" d2250 1 a2250 1 @@@@ -5027,7 +5043,7 @@@@ d2254 2 a2255 2 -if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2259 1 a2259 1 @@@@ -5055,12 +5071,12 @@@@ d2263 2 a2264 2 -echo "configure:5059: checking for $ac_func" >&5 +echo "configure:5075: checking for $ac_func" >&5 d2269 2 a2270 2 -#line 5064 "configure" +#line 5080 "configure" d2274 1 a2274 1 @@@@ -5083,7 +5099,7 @@@@ d2278 2 a2279 2 -if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2283 1 a2283 1 @@@@ -5110,12 +5126,12 @@@@ d2287 2 a2288 2 -echo "configure:5114: checking for $ac_func" >&5 +echo "configure:5130: checking for $ac_func" >&5 d2293 2 a2294 2 -#line 5119 "configure" +#line 5135 "configure" d2298 1 a2298 1 @@@@ -5138,7 +5154,7 @@@@ d2302 2 a2303 2 -if { (eval echo configure:5142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2307 1 a2307 1 @@@@ -5165,12 +5181,12 @@@@ d2311 2 a2312 2 -echo "configure:5169: checking for $ac_func" >&5 +echo "configure:5185: checking for $ac_func" >&5 d2317 2 a2318 2 -#line 5174 "configure" +#line 5190 "configure" d2322 1 a2322 1 @@@@ -5193,7 +5209,7 @@@@ d2326 2 a2327 2 -if { (eval echo configure:5197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2331 1 a2331 1 @@@@ -5220,12 +5236,12 @@@@ d2335 2 a2336 2 -echo "configure:5224: checking for getcwd" >&5 +echo "configure:5240: checking for getcwd" >&5 d2341 2 a2342 2 -#line 5229 "configure" +#line 5245 "configure" d2346 1 a2346 1 @@@@ -5248,7 +5264,7 @@@@ d2350 2 a2351 2 -if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2355 1 a2355 1 @@@@ -5273,12 +5289,12 @@@@ d2359 2 a2360 2 -echo "configure:5277: checking for waitpid" >&5 +echo "configure:5293: checking for waitpid" >&5 d2365 2 a2366 2 -#line 5282 "configure" +#line 5298 "configure" d2370 1 a2370 1 @@@@ -5301,7 +5317,7 @@@@ d2374 2 a2375 2 -if { (eval echo configure:5305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2379 1 a2379 1 @@@@ -5324,12 +5340,12 @@@@ d2383 2 a2384 2 -echo "configure:5328: checking for $ac_func" >&5 +echo "configure:5344: checking for $ac_func" >&5 d2389 2 a2390 2 -#line 5333 "configure" +#line 5349 "configure" d2394 1 a2394 1 @@@@ -5352,7 +5368,7 @@@@ d2398 2 a2399 2 -if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2403 1 a2403 1 @@@@ -5379,12 +5395,12 @@@@ d2407 2 a2408 2 -echo "configure:5383: checking for innetgr" >&5 +echo "configure:5399: checking for innetgr" >&5 d2413 2 a2414 2 -#line 5388 "configure" +#line 5404 "configure" d2418 1 a2418 1 @@@@ -5407,7 +5423,7 @@@@ d2422 2 a2423 2 -if { (eval echo configure:5411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2427 1 a2427 1 @@@@ -5427,12 +5443,12 @@@@ d2431 2 a2432 2 -echo "configure:5431: checking for $ac_func" >&5 +echo "configure:5447: checking for $ac_func" >&5 d2437 2 a2438 2 -#line 5436 "configure" +#line 5452 "configure" d2442 1 a2442 1 @@@@ -5455,7 +5471,7 @@@@ d2446 2 a2447 2 -if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2451 1 a2451 1 @@@@ -5484,12 +5500,12 @@@@ d2455 2 a2456 2 -echo "configure:5488: checking for strdup" >&5 +echo "configure:5504: checking for strdup" >&5 d2461 2 a2462 2 -#line 5493 "configure" +#line 5509 "configure" d2466 1 a2466 1 @@@@ -5512,7 +5528,7 @@@@ d2470 2 a2471 2 -if { (eval echo configure:5516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2475 1 a2475 1 @@@@ -5536,12 +5552,12 @@@@ d2479 2 a2480 2 -echo "configure:5540: checking for lsearch" >&5 +echo "configure:5556: checking for lsearch" >&5 d2485 2 a2486 2 -#line 5545 "configure" +#line 5561 "configure" d2490 1 a2490 1 @@@@ -5564,7 +5580,7 @@@@ d2494 2 a2495 2 -if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2499 1 a2499 1 @@@@ -5585,7 +5601,7 @@@@ d2503 8 a2510 3 -echo "configure:5589: checking for lsearch in -lcompat" >&5 +echo "configure:5605: checking for lsearch in -lcompat" >&5 ac_lib_var=`echo compat'_'lsearch | sed 'y%./+-%__p_%'` d2513 1 a2513 1 @@@@ -5593,7 +5609,7 @@@@ d2517 2 a2518 2 -#line 5597 "configure" +#line 5613 "configure" d2522 1 a2522 1 @@@@ -5604,7 +5620,7 @@@@ d2526 2 a2527 2 -if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2531 1 a2531 1 @@@@ -5621,17 +5637,17 @@@@ d2535 2 a2536 2 -echo "configure:5625: checking for search.h" >&5 +echo "configure:5641: checking for search.h" >&5 d2541 2 a2542 2 -#line 5630 "configure" +#line 5646 "configure" d2547 4 a2550 3 -{ (eval echo configure:5635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d2553 2 a2554 1 @@@@ -5664,12 +5680,12 @@@@ d2558 2 a2559 2 -echo "configure:5668: checking for setenv" >&5 +echo "configure:5684: checking for setenv" >&5 d2564 2 a2565 2 -#line 5673 "configure" +#line 5689 "configure" d2569 1 a2569 1 @@@@ -5692,7 +5708,7 @@@@ d2573 2 a2574 2 -if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2578 1 a2578 1 @@@@ -5713,12 +5729,12 @@@@ d2582 2 a2583 2 -echo "configure:5717: checking for putenv" >&5 +echo "configure:5733: checking for putenv" >&5 d2588 2 a2589 2 -#line 5722 "configure" +#line 5738 "configure" d2593 1 a2593 1 @@@@ -5741,7 +5757,7 @@@@ d2597 2 a2598 2 -if { (eval echo configure:5745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2602 1 a2602 1 @@@@ -5767,12 +5783,12 @@@@ d2606 2 a2607 2 -echo "configure:5771: checking for utime" >&5 +echo "configure:5787: checking for utime" >&5 d2612 2 a2613 2 -#line 5776 "configure" +#line 5792 "configure" d2617 1 a2617 1 @@@@ -5795,7 +5811,7 @@@@ d2621 2 a2622 2 -if { (eval echo configure:5799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2626 1 a2626 1 @@@@ -5814,7 +5830,7 @@@@ d2630 2 a2631 2 -echo "configure:5818: checking for POSIX utime" >&5 +echo "configure:5834: checking for POSIX utime" >&5 d2635 1 a2635 1 @@@@ -5823,7 +5839,7 @@@@ d2639 2 a2640 2 -#line 5827 "configure" +#line 5843 "configure" d2644 1 a2644 1 @@@@ -5835,7 +5851,7 @@@@ d2648 2 a2649 2 -if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2653 1 a2653 1 @@@@ -5858,7 +5874,7 @@@@ d2657 2 a2658 2 -echo "configure:5862: checking whether utime accepts a null argument" >&5 +echo "configure:5878: checking whether utime accepts a null argument" >&5 d2662 1 a2662 1 @@@@ -5868,7 +5884,7 @@@@ d2666 2 a2667 2 -#line 5872 "configure" +#line 5888 "configure" d2671 1 a2671 1 @@@@ -5879,7 +5895,7 @@@@ d2675 2 a2676 2 -if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2680 1 a2680 1 @@@@ -5908,7 +5924,7 @@@@ d2684 2 a2685 2 -echo "configure:5912: checking for working fnmatch" >&5 +echo "configure:5928: checking for working fnmatch" >&5 d2689 1 a2689 1 @@@@ -5917,13 +5933,13 @@@@ d2693 2 a2694 2 -#line 5921 "configure" +#line 5937 "configure" d2700 2 a2701 2 -if { (eval echo configure:5927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2705 1 a2705 1 @@@@ -5949,12 +5965,12 @@@@ d2709 2 a2710 2 -echo "configure:5953: checking for crypt" >&5 +echo "configure:5969: checking for crypt" >&5 d2715 2 a2716 2 -#line 5958 "configure" +#line 5974 "configure" d2720 1 a2720 1 @@@@ -5977,7 +5993,7 @@@@ d2724 2 a2725 2 -if { (eval echo configure:5981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2729 1 a2729 1 @@@@ -5995,7 +6011,7 @@@@ d2733 8 a2740 3 -echo "configure:5999: checking for crypt in -lcrypt" >&5 +echo "configure:6015: checking for crypt in -lcrypt" >&5 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` d2743 1 a2743 1 @@@@ -6003,7 +6019,7 @@@@ d2747 2 a2748 2 -#line 6007 "configure" +#line 6023 "configure" d2752 1 a2752 1 @@@@ -6014,7 +6030,7 @@@@ d2756 2 a2757 2 -if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2761 1 a2761 1 @@@@ -6033,7 +6049,7 @@@@ d2765 8 a2772 3 -echo "configure:6037: checking for crypt in -lcrypt_d" >&5 +echo "configure:6053: checking for crypt in -lcrypt_d" >&5 ac_lib_var=`echo crypt_d'_'crypt | sed 'y%./+-%__p_%'` d2775 1 a2775 1 @@@@ -6041,7 +6057,7 @@@@ d2779 2 a2780 2 -#line 6045 "configure" +#line 6061 "configure" d2784 1 a2784 1 @@@@ -6052,7 +6068,7 @@@@ d2788 2 a2789 2 -if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2793 1 a2793 1 @@@@ -6071,7 +6087,7 @@@@ d2797 8 a2804 3 -echo "configure:6075: checking for ufc in -lcrypt" >&5 +echo "configure:6091: checking for ufc in -lcrypt" >&5 ac_lib_var=`echo crypt'_'ufc | sed 'y%./+-%__p_%'` d2807 1 a2807 1 @@@@ -6079,7 +6095,7 @@@@ d2811 2 a2812 2 -#line 6083 "configure" +#line 6099 "configure" d2816 1 a2816 1 @@@@ -6090,7 +6106,7 @@@@ d2820 2 a2821 2 -if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2825 1 a2825 1 @@@@ -6118,12 +6134,12 @@@@ d2828 4 a2831 4 echo $ac_n "checking for inet_addr""... $ac_c" 1>&6 -echo "configure:6122: checking for inet_addr" >&5 +echo "configure:6138: checking for inet_addr" >&5 if eval "test \"`echo '$''{'ac_cv_func_inet_addr'+set}'`\" = set"; then d2835 2 a2836 2 -#line 6127 "configure" +#line 6143 "configure" d2839 2 a2840 2 which can conflict with char inet_addr(); below. */ @@@@ -6146,7 +6162,7 @@@@ d2844 2 a2845 2 -if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2847 1 a2847 1 eval "ac_cv_func_inet_addr=yes" d2849 1 a2849 1 @@@@ -6164,7 +6180,7 @@@@ d2852 9 a2860 4 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6 -echo "configure:6168: checking for inet_addr in -lnsl" >&5 +echo "configure:6184: checking for inet_addr in -lnsl" >&5 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'` d2863 1 a2863 1 @@@@ -6172,7 +6188,7 @@@@ d2865 1 a2865 1 LIBS="-lnsl $LIBS" d2867 2 a2868 2 -#line 6176 "configure" +#line 6192 "configure" d2872 2 a2873 2 @@@@ -6183,7 +6199,7 @@@@ inet_addr() d2876 2 a2877 2 -if { (eval echo configure:6187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2881 1 a2881 1 @@@@ -6202,7 +6218,7 @@@@ d2884 9 a2892 4 echo $ac_n "checking for inet_addr in -linet""... $ac_c" 1>&6 -echo "configure:6206: checking for inet_addr in -linet" >&5 +echo "configure:6222: checking for inet_addr in -linet" >&5 ac_lib_var=`echo inet'_'inet_addr | sed 'y%./+-%__p_%'` d2895 1 a2895 1 @@@@ -6210,7 +6226,7 @@@@ d2899 2 a2900 2 -#line 6214 "configure" +#line 6230 "configure" d2904 34 a2937 2 @@@@ -6221,7 +6237,7 @@@@ inet_addr() d2940 2 a2941 2 -if { (eval echo configure:6225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2945 1 a2945 1 @@@@ -6246,12 +6262,12 @@@@ d2948 4 a2951 4 echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:6250: checking for socket" >&5 +echo "configure:6266: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then d2955 2 a2956 2 -#line 6255 "configure" +#line 6271 "configure" d2959 2 a2960 2 which can conflict with char socket(); below. */ @@@@ -6274,7 +6290,7 @@@@ d2964 2 a2965 2 -if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2967 1 a2967 1 eval "ac_cv_func_socket=yes" d2969 1 a2969 1 @@@@ -6292,7 +6308,7 @@@@ d2972 9 a2980 4 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:6296: checking for socket in -lsocket" >&5 +echo "configure:6312: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` d2983 1 a2983 1 @@@@ -6300,7 +6316,7 @@@@ d2985 1 a2985 1 LIBS="-lsocket $LIBS" d2987 2 a2988 2 -#line 6304 "configure" +#line 6320 "configure" d2992 2 a2993 2 @@@@ -6311,7 +6327,7 @@@@ socket() d2996 2 a2997 2 -if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3001 1 a3001 1 @@@@ -6330,7 +6346,7 @@@@ d3004 9 a3012 4 echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6 -echo "configure:6334: checking for socket in -linet" >&5 +echo "configure:6350: checking for socket in -linet" >&5 ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'` d3015 1 a3015 1 @@@@ -6338,7 +6354,7 @@@@ d3019 2 a3020 2 -#line 6342 "configure" +#line 6358 "configure" d3024 34 a3057 2 @@@@ -6349,7 +6365,7 @@@@ socket() d3060 2 a3061 2 -if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3065 1 a3065 1 @@@@ -6374,12 +6390,12 @@@@ d3069 2 a3070 2 -echo "configure:6378: checking for syslog" >&5 +echo "configure:6394: checking for syslog" >&5 d3075 2 a3076 2 -#line 6383 "configure" +#line 6399 "configure" d3080 1 a3080 1 @@@@ -6402,7 +6418,7 @@@@ d3084 2 a3085 2 -if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3089 1 a3089 1 @@@@ -6420,7 +6436,7 @@@@ d3093 8 a3100 3 -echo "configure:6424: checking for syslog in -lsocket" >&5 +echo "configure:6440: checking for syslog in -lsocket" >&5 ac_lib_var=`echo socket'_'syslog | sed 'y%./+-%__p_%'` d3103 1 a3103 1 @@@@ -6428,7 +6444,7 @@@@ d3107 2 a3108 2 -#line 6432 "configure" +#line 6448 "configure" d3112 1 a3112 1 @@@@ -6439,7 +6455,7 @@@@ d3116 2 a3117 2 -if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3121 1 a3121 1 @@@@ -6458,7 +6474,7 @@@@ d3125 8 a3132 3 -echo "configure:6462: checking for syslog in -lnsl" >&5 +echo "configure:6478: checking for syslog in -lnsl" >&5 ac_lib_var=`echo nsl'_'syslog | sed 'y%./+-%__p_%'` d3135 1 a3135 1 @@@@ -6466,7 +6482,7 @@@@ d3139 2 a3140 2 -#line 6470 "configure" +#line 6486 "configure" d3144 1 a3144 1 @@@@ -6477,7 +6493,7 @@@@ d3148 2 a3149 2 -if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3153 1 a3153 1 @@@@ -6496,7 +6512,7 @@@@ d3157 8 a3164 3 -echo "configure:6500: checking for syslog in -linet" >&5 +echo "configure:6516: checking for syslog in -linet" >&5 ac_lib_var=`echo inet'_'syslog | sed 'y%./+-%__p_%'` d3167 1 a3167 1 @@@@ -6504,7 +6520,7 @@@@ d3171 2 a3172 2 -#line 6508 "configure" +#line 6524 "configure" d3176 1 a3176 1 @@@@ -6515,7 +6531,7 @@@@ d3180 2 a3181 2 -if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3185 1 a3185 1 @@@@ -6545,19 +6561,19 @@@@ d3189 2 a3190 2 -echo "configure:6549: checking for working alloca.h" >&5 +echo "configure:6565: checking for working alloca.h" >&5 d3195 2 a3196 2 -#line 6554 "configure" +#line 6570 "configure" d3203 2 a3204 2 -if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3208 1 a3208 1 @@@@ -6578,12 +6594,12 @@@@ d3212 2 a3213 2 -echo "configure:6582: checking for alloca" >&5 +echo "configure:6598: checking for alloca" >&5 d3218 2 a3219 2 -#line 6587 "configure" +#line 6603 "configure" d3223 24 a3246 1 @@@@ -6606,7 +6622,7 @@@@ d3250 2 a3251 2 -if { (eval echo configure:6610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3255 9 a3263 1 @@@@ -6638,12 +6654,12 @@@@ d3267 2 a3268 2 -echo "configure:6642: checking whether alloca needs Cray hooks" >&5 +echo "configure:6658: checking whether alloca needs Cray hooks" >&5 d3273 2 a3274 2 -#line 6647 "configure" +#line 6663 "configure" d3278 1 a3278 1 @@@@ -6668,12 +6684,12 @@@@ d3282 2 a3283 2 -echo "configure:6672: checking for $ac_func" >&5 +echo "configure:6688: checking for $ac_func" >&5 d3288 2 a3289 2 -#line 6677 "configure" +#line 6693 "configure" d3293 1 a3293 1 @@@@ -6696,7 +6712,7 @@@@ d3297 2 a3298 2 -if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3302 1 a3302 1 @@@@ -6723,7 +6739,7 @@@@ d3306 2 a3307 2 -echo "configure:6727: checking stack direction for C alloca" >&5 +echo "configure:6743: checking stack direction for C alloca" >&5 d3311 1 a3311 1 @@@@ -6731,7 +6747,7 @@@@ d3315 2 a3316 2 -#line 6735 "configure" +#line 6751 "configure" d3320 1 a3320 1 @@@@ -6750,7 +6766,7 @@@@ d3324 2 a3325 2 -if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d3329 2 a3330 1 @@@@ -6775,7 +6791,7 @@@@ d3332 3 a3334 81 if test "$OS" = "irix"; then echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 -echo "configure:6779: checking for getpwnam in -lsun" >&5 +echo "configure:6795: checking for getpwnam in -lsun" >&5 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -6783,7 +6799,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsun $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -6840,21 +6856,21 @@@@ if test "$with_kerb5" = "yes"; then echo $ac_n "checking for -lkrb4""... $ac_c" 1>&6 -echo "configure:6844: checking for -lkrb4" >&5 +echo "configure:6860: checking for -lkrb4" >&5 if eval "test \"`echo '$''{'ac_cv_lib_krb4'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lkrb4 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_lib_krb4=yes else @@@@ -6875,21 +6891,21 @@@@ fi echo $ac_n "checking for -ldes""... $ac_c" 1>&6 -echo "configure:6879: checking for -ldes" >&5 +echo "configure:6895: checking for -ldes" >&5 if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_lib_des=yes else @@@@ -6911,21 +6927,21 @@@@ else # kerb4 echo $ac_n "checking for -ldes""... $ac_c" 1>&6 -echo "configure:6915: checking for -ldes" >&5 +echo "configure:6931: checking for -ldes" >&5 d3341 2 a3342 2 -#line 6922 "configure" +#line 6938 "configure" d3349 2 a3350 2 -if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3354 1 a3354 1 @@@@ -7036,7 +7052,7 @@@@ d3358 2 a3359 2 -echo "configure:7040: checking for log file location" >&5 +echo "configure:7056: checking for log file location" >&5 d3363 1 a3363 1 @@@@ -7066,7 +7082,7 @@@@ d3367 2 a3368 2 -echo "configure:7070: checking for timestamp file location" >&5 +echo "configure:7086: checking for timestamp file location" >&5 d3372 10 a3381 1 @@@@ -7179,7 +7195,7 @@@@ d3389 17 a3405 1 echo "$CONFIG_STATUS generated by autoconf version 2.12" @ 1.3 log @Update sudo to 1.5.6p2. @ text @d3 3 a5 3 --- configure.orig Sat Sep 19 22:25:10 1998 +++ configure Tue Sep 22 11:42:56 1998 @@@@ -48,6 +48,8 @@@@ d9 1 a9 1 + --with-nbsdops add FreeBSD standard options" d11 1 a11 2 --enable-log-host Log the hostname in the log file --disable-log-host Do not log hostname in the log file (default)" d13 11 a23 6 @@@@ -190,11 +192,11 @@@@ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/etc] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] d32 19 a50 1 @@@@ -579,8 +581,8 @@@@ d54 1 a54 1 -test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/etc' d56 1 a56 1 +test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/etc' d61 1 a61 1 @@@@ -893,8 +895,23 @@@@ d69 6 a74 7 + yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS" + sbindir='$(exec_prefix)/sbin' + echo 'nbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS' + ;; + no) ;; + *) echo "Ignoring unknown argument to --with-nbsdops: $with-nbsdops" + ;; d79 366 d446 2 a447 2 -echo "configure:898: checking whether to log the hostname in the log file" >&5 +echo "configure:915: checking whether to log the hostname in the log file" >&5 d451 1 a451 1 @@@@ -916,7 +933,7 @@@@ d455 2 a456 2 -echo "configure:920: checking whether to wrap long lines in the log file" >&5 +echo "configure:937: checking whether to wrap long lines in the log file" >&5 d460 28 a487 1 @@@@ -944,7 +961,7 @@@@ d491 2 a492 2 -echo "configure:948: checking for $ac_word" >&5 +echo "configure:965: checking for $ac_word" >&5 d496 1 a496 1 @@@@ -979,7 +996,7 @@@@ d500 2 a501 2 -echo "configure:983: checking for $ac_word" >&5 +echo "configure:1000: checking for $ac_word" >&5 d505 1 a505 1 @@@@ -1008,7 +1025,7 @@@@ d509 2 a510 2 -echo "configure:1012: checking for $ac_word" >&5 +echo "configure:1029: checking for $ac_word" >&5 d514 1 a514 1 @@@@ -1056,7 +1073,7 @@@@ d518 2 a519 2 -echo "configure:1060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1077: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d523 1 a523 1 @@@@ -1066,11 +1083,11 @@@@ d527 2 a528 2 -#line 1070 "configure" +#line 1087 "configure" d532 2 a533 2 -if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d537 1 a537 1 @@@@ -1090,12 +1107,12 @@@@ d541 2 a542 2 -echo "configure:1094: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1111: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d547 2 a548 2 -echo "configure:1099: checking whether we are using GNU C" >&5 +echo "configure:1116: checking whether we are using GNU C" >&5 d552 1 a552 1 @@@@ -1104,7 +1121,7 @@@@ d556 2 a557 2 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d561 1 a561 1 @@@@ -1119,7 +1136,7 @@@@ d565 2 a566 2 -echo "configure:1123: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1140: checking whether ${CC-cc} accepts -g" >&5 d570 1 a570 1 @@@@ -1147,7 +1164,7 @@@@ d574 2 a575 2 -echo "configure:1151: checking how to run the C preprocessor" >&5 +echo "configure:1168: checking how to run the C preprocessor" >&5 d579 1 a579 1 @@@@ -1162,13 +1179,13 @@@@ d583 2 a584 2 -#line 1166 "configure" +#line 1183 "configure" d590 2 a591 2 -{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d595 1 a595 1 @@@@ -1179,13 +1196,13 @@@@ d599 2 a600 2 -#line 1183 "configure" +#line 1200 "configure" d606 2 a607 2 -{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d611 1 a611 1 @@@@ -1208,7 +1225,7 @@@@ d615 2 a616 2 -echo "configure:1212: checking for POSIXized ISC" >&5 +echo "configure:1229: checking for POSIXized ISC" >&5 d620 1 a620 1 @@@@ -1232,7 +1249,7 @@@@ d624 2 a625 2 -echo "configure:1236: checking for $ac_word" >&5 +echo "configure:1253: checking for $ac_word" >&5 d629 1 a629 1 @@@@ -1260,7 +1277,7 @@@@ d633 2 a634 2 -echo "configure:1264: checking for $ac_word" >&5 +echo "configure:1281: checking for $ac_word" >&5 d638 1 a638 1 @@@@ -1288,7 +1305,7 @@@@ d642 2 a643 2 -echo "configure:1292: checking for $ac_word" >&5 +echo "configure:1309: checking for $ac_word" >&5 d647 1 a647 1 @@@@ -1316,7 +1333,7 @@@@ d651 2 a652 2 -echo "configure:1320: checking for $ac_word" >&5 +echo "configure:1337: checking for $ac_word" >&5 d656 1 a656 1 @@@@ -1371,7 +1388,7 @@@@ d660 2 a661 2 -echo "configure:1375: checking host system type" >&5 +echo "configure:1392: checking host system type" >&5 d665 1 a665 1 @@@@ -1400,7 +1417,7 @@@@ d669 2 a670 2 -echo "configure:1404: checking previous host type" >&5 +echo "configure:1421: checking previous host type" >&5 d674 40 a713 1 @@@@ -1437,7 +1454,7 @@@@ d715 8 a722 17 if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1441: checking for shadow passwords" >&5 +echo "configure:1458: checking for shadow passwords" >&5 if test -s /etc/security/passwd.adjunct; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1458,7 +1475,7 @@@@ *-*-solaris2*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1462: checking for shadow passwords" >&5 +echo "configure:1479: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1492,7 +1509,7 @@@@ d724 53 a776 53 if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1496: checking for shadow passwords" >&5 +echo "configure:1513: checking for shadow passwords" >&5 if test -d /tcb/files/auth; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1510,7 +1527,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1514: checking for shadow passwords" >&5 +echo "configure:1531: checking for shadow passwords" >&5 if test -d /tcb/files/auth; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1564,7 +1581,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1568: checking for shadow passwords" >&5 +echo "configure:1585: checking for shadow passwords" >&5 if test -s /.secure/etc/passwd; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1636,7 +1653,7 @@@@ # C2 security stuff if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1640: checking for shadow passwords" >&5 +echo "configure:1657: checking for shadow passwords" >&5 if test "`. /etc/rc.config ; echo $SECURITY`" = "ENHANCED"; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1659,7 +1676,7 @@@@ *-*-irix*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1663: checking for shadow passwords" >&5 +echo "configure:1680: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1701,7 +1718,7 @@@@ *-*-linux*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1705: checking for shadow passwords" >&5 +echo "configure:1722: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1719,12 +1736,12 @@@@ d778 59 a836 5 OSDEFS="${OSDEFS} -DSHADOW_PWD" echo $ac_n "checking for getspnam""... $ac_c" 1>&6 -echo "configure:1723: checking for getspnam" >&5 +echo "configure:1740: checking for getspnam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then d840 2 a841 2 -#line 1728 "configure" +#line 1745 "configure" d844 2 a845 2 which can conflict with char getspnam(); below. */ @@@@ -1747,7 +1764,7 @@@@ d849 2 a850 2 -if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d852 1 a852 1 eval "ac_cv_func_getspnam=yes" d854 2 a855 1 @@@@ -1781,7 +1798,7 @@@@ d857 22 a878 113 if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1785: checking for shadow passwords" >&5 +echo "configure:1802: checking for shadow passwords" >&5 if test -d /tcb/files/auth; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1806,7 +1823,7 @@@@ OS="ultrix" if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1810: checking for shadow passwords" >&5 +echo "configure:1827: checking for shadow passwords" >&5 if test -s /etc/auth.pag; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1829,7 +1846,7 @@@@ *-*-riscos*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1833: checking for shadow passwords" >&5 +echo "configure:1850: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1860,7 +1877,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1864: checking for shadow passwords" >&5 +echo "configure:1881: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1883,7 +1900,7 @@@@ *-*-sco*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1887: checking for shadow passwords" >&5 +echo "configure:1904: checking for shadow passwords" >&5 if test -d /tcb/files/auth; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1914,7 +1931,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1918: checking for shadow passwords" >&5 +echo "configure:1935: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1942,7 +1959,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1946: checking for shadow passwords" >&5 +echo "configure:1963: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1972,7 +1989,7 @@@@ # This should always be true but why not be careful... if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1976: checking for shadow passwords" >&5 +echo "configure:1993: checking for shadow passwords" >&5 if test -s /etc/master.passwd; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -1993,7 +2010,7 @@@@ *-*-*bsd*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:1997: checking for shadow passwords" >&5 +echo "configure:2014: checking for shadow passwords" >&5 if test -s /etc/master.passwd; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -2019,7 +2036,7 @@@@ if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:2023: checking for shadow passwords" >&5 +echo "configure:2040: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -2040,7 +2057,7 @@@@ *-*-sysv*) if test -z "$with_C2"; then echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6 -echo "configure:2044: checking for shadow passwords" >&5 +echo "configure:2061: checking for shadow passwords" >&5 if test -s /etc/shadow; then echo "$ac_t""yes" 1>&6 with_C2="yes" @@@@ -2067,12 +2084,12 @@@@ if test -z "$SHADOW_TYPE" -a -d /tcb/files/auth; then echo $ac_n "checking for getprpwuid""... $ac_c" 1>&6 -echo "configure:2071: checking for getprpwuid" >&5 +echo "configure:2088: checking for getprpwuid" >&5 if eval "test \"`echo '$''{'ac_cv_func_getprpwuid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d939 1 a939 1 eval "ac_cv_func_getprpwuid=yes" d941 7 a947 7 @@@@ -2117,12 +2134,12 @@@@ fi if test -z "$SHADOW_TYPE" -a -s /etc/shadow; then echo $ac_n "checking for getspnam""... $ac_c" 1>&6 -echo "configure:2121: checking for getspnam" >&5 +echo "configure:2138: checking for getspnam" >&5 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then d951 2 a952 2 -#line 2126 "configure" +#line 2143 "configure" d955 2 a956 2 which can conflict with char getspnam(); below. */ @@@@ -2145,7 +2162,7 @@@@ d960 2 a961 2 -if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d963 1 a963 1 eval "ac_cv_func_getspnam=yes" d965 2 a966 1 @@@@ -2180,7 +2197,7 @@@@ d968 7 d976 17 a992 13 echo $ac_n "checking for shadow passwords and type""... $ac_c" 1>&6 -echo "configure:2184: checking for shadow passwords and type" >&5 +echo "configure:2201: checking for shadow passwords and type" >&5 case "$SHADOW_TYPE" in "SPW_SVR4") echo "SVR4" @@@@ -2206,12 +2223,12 @@@@ if test "$with_C2" = "yes" -a -z "$SHADOW_TYPE"; then echo $ac_n "checking for getprpwuid""... $ac_c" 1>&6 -echo "configure:2210: checking for getprpwuid" >&5 +echo "configure:2227: checking for getprpwuid" >&5 if eval "test \"`echo '$''{'ac_cv_func_getprpwuid'+set}'`\" = set"; then d996 2 a997 2 -#line 2215 "configure" +#line 2232 "configure" d1000 2 a1001 2 which can conflict with char getprpwuid(); below. */ @@@@ -2234,7 +2251,7 @@@@ d1005 2 a1006 2 -if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1008 1 a1008 1 eval "ac_cv_func_getprpwuid=yes" d1010 1 a1010 1 @@@@ -2252,12 +2269,12 @@@@ d1013 165 a1177 3 echo $ac_n "checking for getspnam""... $ac_c" 1>&6 -echo "configure:2256: checking for getspnam" >&5 +echo "configure:2273: checking for getspnam" >&5 d1182 2 a1183 2 -#line 2261 "configure" +#line 2278 "configure" d1187 1 a1187 1 @@@@ -2280,7 +2297,7 @@@@ d1191 2 a1192 2 -if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1196 1 a1196 1 @@@@ -2303,7 +2320,7 @@@@ d1198 14 d1213 89 a1301 7 echo $ac_n "checking for shadow password type""... $ac_c" 1>&6 -echo "configure:2307: checking for shadow password type" >&5 +echo "configure:2324: checking for shadow password type" >&5 case "$SHADOW_TYPE" in "SPW_SVR4") echo "SVR4" @@@@ -2336,13 +2353,13 @@@@ d1305 2 a1306 2 -echo "configure:2340: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:2357: checking whether ${CC-cc} needs -traditional" >&5 d1312 2 a1313 2 -#line 2346 "configure" +#line 2363 "configure" d1317 1 a1317 1 @@@@ -2360,7 +2377,7 @@@@ d1321 2 a1322 2 -#line 2364 "configure" +#line 2381 "configure" d1326 1 a1326 1 @@@@ -2382,12 +2399,12 @@@@ d1330 2 a1331 2 -echo "configure:2386: checking for working const" >&5 +echo "configure:2403: checking for working const" >&5 d1336 2 a1337 2 -#line 2391 "configure" +#line 2408 "configure" d1341 1 a1341 1 @@@@ -2436,7 +2453,7 @@@@ d1345 2 a1346 2 -if { (eval echo configure:2440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1350 1 a1350 1 @@@@ -2461,7 +2478,7 @@@@ d1354 2 a1355 2 -echo "configure:2465: checking for $ac_word" >&5 +echo "configure:2482: checking for $ac_word" >&5 d1359 1 a1359 2 @@@@ -2491,7 +2508,7 @@@@ test -n "$YACC" || YACC="yacc" d1361 4 a1364 3 echo $ac_n "checking for sendmail""... $ac_c" 1>&6 -echo "configure:2495: checking for sendmail" >&5 +echo "configure:2512: checking for sendmail" >&5 d1368 1 a1368 2 @@@@ -2533,7 +2550,7 @@@@ fi a1369 7 echo $ac_n "checking for pwd""... $ac_c" 1>&6 -echo "configure:2537: checking for pwd" >&5 +echo "configure:2554: checking for pwd" >&5 if test -f "/usr/bin/pwd"; then echo "$ac_t""/usr/bin/pwd" 1>&6 cat >> confdefs.h <<\EOF @@@@ -2563,7 +2580,7 @@@@ a1370 1 d1372 2 a1373 2 -echo "configure:2567: checking for mv" >&5 +echo "configure:2584: checking for mv" >&5 d1377 1 a1377 1 @@@@ -2593,7 +2610,7 @@@@ d1381 2 a1382 2 -echo "configure:2597: checking for bourne shell" >&5 +echo "configure:2614: checking for bourne shell" >&5 d1386 1 a1386 1 @@@@ -2647,7 +2664,7 @@@@ d1390 2 a1391 2 -echo "configure:2651: checking for vi" >&5 +echo "configure:2668: checking for vi" >&5 d1395 1 a1395 1 @@@@ -2683,12 +2700,12 @@@@ d1399 2 a1400 2 -echo "configure:2687: checking for ANSI C header files" >&5 +echo "configure:2704: checking for ANSI C header files" >&5 d1405 2 a1406 2 -#line 2692 "configure" +#line 2709 "configure" d1410 1 a1410 1 @@@@ -2696,7 +2713,7 @@@@ d1414 2 a1415 2 -{ (eval echo configure:2700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1419 1 a1419 1 @@@@ -2713,7 +2730,7 @@@@ d1423 2 a1424 2 -#line 2717 "configure" +#line 2734 "configure" d1428 1 a1428 1 @@@@ -2731,7 +2748,7 @@@@ d1432 2 a1433 2 -#line 2735 "configure" +#line 2752 "configure" d1437 1 a1437 1 @@@@ -2752,7 +2769,7 @@@@ d1441 2 a1442 2 -#line 2756 "configure" +#line 2773 "configure" d1446 1 a1446 1 @@@@ -2763,7 +2780,7 @@@@ d1450 2 a1451 2 -if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d1455 1 a1455 1 @@@@ -2791,12 +2808,12 @@@@ d1459 2 a1460 2 -echo "configure:2795: checking for $ac_hdr that defines DIR" >&5 +echo "configure:2812: checking for $ac_hdr that defines DIR" >&5 d1465 2 a1466 2 -#line 2800 "configure" +#line 2817 "configure" d1470 1 a1470 1 @@@@ -2804,7 +2821,7 @@@@ d1474 2 a1475 2 -if { (eval echo configure:2808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1479 1 a1479 1 @@@@ -2829,7 +2846,7 @@@@ d1483 2 a1484 2 -echo "configure:2833: checking for opendir in -ldir" >&5 +echo "configure:2850: checking for opendir in -ldir" >&5 d1488 1 a1488 1 @@@@ -2837,7 +2854,7 @@@@ d1492 2 a1493 2 -#line 2841 "configure" +#line 2858 "configure" d1497 1 a1497 1 @@@@ -2848,7 +2865,7 @@@@ d1501 2 a1502 2 -if { (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1506 1 a1506 1 @@@@ -2870,7 +2887,7 @@@@ d1510 2 a1511 2 -echo "configure:2874: checking for opendir in -lx" >&5 +echo "configure:2891: checking for opendir in -lx" >&5 d1515 1 a1515 1 @@@@ -2878,7 +2895,7 @@@@ d1519 2 a1520 2 -#line 2882 "configure" +#line 2899 "configure" d1524 1 a1524 1 @@@@ -2889,7 +2906,7 @@@@ d1528 2 a1529 2 -if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1533 1 a1533 1 @@@@ -2915,17 +2932,17 @@@@ d1537 2 a1538 2 -echo "configure:2919: checking for $ac_hdr" >&5 +echo "configure:2936: checking for $ac_hdr" >&5 d1543 2 a1544 2 -#line 2924 "configure" +#line 2941 "configure" d1549 2 a1550 2 -{ (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1554 1 a1554 1 @@@@ -2956,17 +2973,17 @@@@ d1558 2 a1559 2 -echo "configure:2960: checking for $ac_hdr" >&5 +echo "configure:2977: checking for $ac_hdr" >&5 d1564 2 a1565 2 -#line 2965 "configure" +#line 2982 "configure" d1570 2 a1571 2 -{ (eval echo configure:2970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1575 1 a1575 1 @@@@ -2996,17 +3013,17 @@@@ d1579 2 a1580 2 -echo "configure:3000: checking for $ac_hdr" >&5 +echo "configure:3017: checking for $ac_hdr" >&5 d1585 2 a1586 2 -#line 3005 "configure" +#line 3022 "configure" d1591 2 a1592 2 -{ (eval echo configure:3010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1596 1 a1596 1 @@@@ -3029,12 +3046,12 @@@@ d1600 2 a1601 2 -echo "configure:3033: checking for $ac_func" >&5 +echo "configure:3050: checking for $ac_func" >&5 d1606 2 a1607 2 -#line 3038 "configure" +#line 3055 "configure" d1611 1 a1611 1 @@@@ -3057,7 +3074,7 @@@@ d1615 2 a1616 2 -if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1620 1 a1620 1 @@@@ -3088,12 +3105,12 @@@@ d1624 2 a1625 2 -echo "configure:3092: checking for mode_t" >&5 +echo "configure:3109: checking for mode_t" >&5 d1630 2 a1631 2 -#line 3097 "configure" +#line 3114 "configure" d1635 1 a1635 1 @@@@ -3121,12 +3138,12 @@@@ d1639 2 a1640 2 -echo "configure:3125: checking for uid_t in sys/types.h" >&5 +echo "configure:3142: checking for uid_t in sys/types.h" >&5 d1645 2 a1646 2 -#line 3130 "configure" +#line 3147 "configure" d1650 1 a1650 1 @@@@ -3155,12 +3172,12 @@@@ d1654 2 a1655 2 -echo "configure:3159: checking for size_t" >&5 +echo "configure:3176: checking for size_t" >&5 d1660 2 a1661 2 -#line 3164 "configure" +#line 3181 "configure" d1665 1 a1665 1 @@@@ -3190,12 +3207,12 @@@@ d1669 2 a1670 2 -echo "configure:3194: checking for ssize_t" >&5 +echo "configure:3211: checking for ssize_t" >&5 d1675 2 a1676 2 -#line 3199 "configure" +#line 3216 "configure" d1680 1 a1680 1 @@@@ -3225,12 +3242,12 @@@@ d1684 2 a1685 2 -echo "configure:3229: checking for dev_t" >&5 +echo "configure:3246: checking for dev_t" >&5 d1690 2 a1691 2 -#line 3234 "configure" +#line 3251 "configure" d1695 1 a1695 1 @@@@ -3260,12 +3277,12 @@@@ d1699 2 a1700 2 -echo "configure:3264: checking for ino_t" >&5 +echo "configure:3281: checking for ino_t" >&5 d1705 2 a1706 2 -#line 3269 "configure" +#line 3286 "configure" d1710 1 a1710 1 @@@@ -3295,9 +3312,9 @@@@ d1714 2 a1715 2 -echo "configure:3299: checking for full void implementation" >&5 +echo "configure:3316: checking for full void implementation" >&5 d1717 2 a1718 2 -#line 3301 "configure" +#line 3318 "configure" d1722 1 a1722 1 @@@@ -3305,7 +3322,7 @@@@ d1726 2 a1727 2 -if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1731 1 a1731 1 @@@@ -3325,7 +3342,7 @@@@ d1735 2 a1736 2 -echo "configure:3329: checking max length of uid_t" >&5 +echo "configure:3346: checking max length of uid_t" >&5 d1740 1 a1740 1 @@@@ -3334,7 +3351,7 @@@@ d1744 2 a1745 2 -#line 3338 "configure" +#line 3355 "configure" d1749 1 a1749 1 @@@@ -3363,7 +3380,7 @@@@ d1753 2 a1754 2 -if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d1758 1 a1758 1 @@@@ -3386,7 +3403,7 @@@@ d1762 2 a1763 2 -echo "configure:3390: checking for sa_len field in struct sockaddr" >&5 +echo "configure:3407: checking for sa_len field in struct sockaddr" >&5 d1767 1 a1767 1 @@@@ -3394,7 +3411,7 @@@@ d1771 2 a1772 2 -#line 3398 "configure" +#line 3415 "configure" d1776 1 a1776 1 @@@@ -3404,7 +3421,7 @@@@ d1780 2 a1781 2 -if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d1785 1 a1785 1 @@@@ -3429,12 +3446,12 @@@@ d1789 2 a1790 2 -echo "configure:3433: checking return type of signal handlers" >&5 +echo "configure:3450: checking return type of signal handlers" >&5 d1795 2 a1796 2 -#line 3438 "configure" +#line 3455 "configure" d1800 1 a1800 1 @@@@ -3451,7 +3468,7 @@@@ d1804 2 a1805 2 -if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1809 1 a1809 1 @@@@ -3473,12 +3490,12 @@@@ d1813 2 a1814 2 -echo "configure:3477: checking for $ac_func" >&5 +echo "configure:3494: checking for $ac_func" >&5 d1819 2 a1820 2 -#line 3482 "configure" +#line 3499 "configure" d1824 1 a1824 1 @@@@ -3501,7 +3518,7 @@@@ d1828 2 a1829 2 -if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1833 1 a1833 1 @@@@ -3529,12 +3546,12 @@@@ d1837 2 a1838 2 -echo "configure:3533: checking for $ac_func" >&5 +echo "configure:3550: checking for $ac_func" >&5 d1843 2 a1844 2 -#line 3538 "configure" +#line 3555 "configure" d1848 1 a1848 1 @@@@ -3557,7 +3574,7 @@@@ d1852 2 a1853 2 -if { (eval echo configure:3561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1857 1 a1857 1 @@@@ -3584,12 +3601,12 @@@@ d1861 2 a1862 2 -echo "configure:3588: checking for $ac_func" >&5 +echo "configure:3605: checking for $ac_func" >&5 d1867 2 a1868 2 -#line 3593 "configure" +#line 3610 "configure" d1872 1 a1872 1 @@@@ -3612,7 +3629,7 @@@@ d1876 2 a1877 2 -if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1881 25 a1905 1 @@@@ -3639,12 +3656,12 @@@@ d1909 2 a1910 2 -echo "configure:3643: checking for getcwd" >&5 +echo "configure:3660: checking for getcwd" >&5 d1915 2 a1916 2 -#line 3648 "configure" +#line 3665 "configure" d1920 1 a1920 1 @@@@ -3667,7 +3684,7 @@@@ d1924 2 a1925 2 -if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1929 1 a1929 1 @@@@ -3692,12 +3709,12 @@@@ d1933 2 a1934 2 -echo "configure:3696: checking for waitpid" >&5 +echo "configure:3713: checking for waitpid" >&5 d1939 2 a1940 2 -#line 3701 "configure" +#line 3718 "configure" d1944 1 a1944 1 @@@@ -3720,7 +3737,7 @@@@ d1948 2 a1949 2 -if { (eval echo configure:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1953 1 a1953 1 @@@@ -3743,12 +3760,12 @@@@ d1957 2 a1958 2 -echo "configure:3747: checking for $ac_func" >&5 +echo "configure:3764: checking for $ac_func" >&5 d1963 2 a1964 2 -#line 3752 "configure" +#line 3769 "configure" d1968 1 a1968 1 @@@@ -3771,7 +3788,7 @@@@ d1972 2 a1973 2 -if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1977 1 a1977 1 @@@@ -3798,12 +3815,12 @@@@ d1981 2 a1982 2 -echo "configure:3802: checking for innetgr" >&5 +echo "configure:3819: checking for innetgr" >&5 d1987 2 a1988 2 -#line 3807 "configure" +#line 3824 "configure" d1992 1 a1992 1 @@@@ -3826,7 +3843,7 @@@@ d1996 2 a1997 2 -if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2001 1 a2001 1 @@@@ -3846,12 +3863,12 @@@@ d2005 2 a2006 2 -echo "configure:3850: checking for $ac_func" >&5 +echo "configure:3867: checking for $ac_func" >&5 d2011 2 a2012 2 -#line 3855 "configure" +#line 3872 "configure" d2016 1 a2016 1 @@@@ -3874,7 +3891,7 @@@@ d2020 2 a2021 2 -if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2025 1 a2025 1 @@@@ -3903,12 +3920,12 @@@@ d2029 2 a2030 2 -echo "configure:3907: checking for strdup" >&5 +echo "configure:3924: checking for strdup" >&5 d2035 2 a2036 2 -#line 3912 "configure" +#line 3929 "configure" d2040 1 a2040 1 @@@@ -3931,7 +3948,7 @@@@ d2044 2 a2045 2 -if { (eval echo configure:3935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2049 1 a2049 1 @@@@ -3955,12 +3972,12 @@@@ d2053 2 a2054 2 -echo "configure:3959: checking for lsearch" >&5 +echo "configure:3976: checking for lsearch" >&5 d2059 2 a2060 2 -#line 3964 "configure" +#line 3981 "configure" d2064 1 a2064 1 @@@@ -3983,7 +4000,7 @@@@ d2068 2 a2069 2 -if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2073 1 a2073 1 @@@@ -4004,7 +4021,7 @@@@ d2077 2 a2078 2 -echo "configure:4008: checking for lsearch in -lcompat" >&5 +echo "configure:4025: checking for lsearch in -lcompat" >&5 d2082 1 a2082 1 @@@@ -4012,7 +4029,7 @@@@ d2086 2 a2087 2 -#line 4016 "configure" +#line 4033 "configure" d2091 1 a2091 1 @@@@ -4023,7 +4040,7 @@@@ d2095 2 a2096 2 -if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2100 1 a2100 1 @@@@ -4040,17 +4057,17 @@@@ d2104 2 a2105 2 -echo "configure:4044: checking for search.h" >&5 +echo "configure:4061: checking for search.h" >&5 d2110 2 a2111 2 -#line 4049 "configure" +#line 4066 "configure" d2116 2 a2117 2 -{ (eval echo configure:4054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2121 1 a2121 1 @@@@ -4083,12 +4100,12 @@@@ d2125 2 a2126 2 -echo "configure:4087: checking for setenv" >&5 +echo "configure:4104: checking for setenv" >&5 d2131 2 a2132 2 -#line 4092 "configure" +#line 4109 "configure" d2136 1 a2136 1 @@@@ -4111,7 +4128,7 @@@@ d2140 2 a2141 2 -if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2145 1 a2145 1 @@@@ -4132,12 +4149,12 @@@@ d2149 2 a2150 2 -echo "configure:4136: checking for putenv" >&5 +echo "configure:4153: checking for putenv" >&5 d2155 2 a2156 2 -#line 4141 "configure" +#line 4158 "configure" d2160 1 a2160 1 @@@@ -4160,7 +4177,7 @@@@ d2164 2 a2165 2 -if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2169 1 a2169 1 @@@@ -4186,12 +4203,12 @@@@ d2173 2 a2174 2 -echo "configure:4190: checking for utime" >&5 +echo "configure:4207: checking for utime" >&5 d2179 2 a2180 2 -#line 4195 "configure" +#line 4212 "configure" d2184 1 a2184 1 @@@@ -4214,7 +4231,7 @@@@ d2188 2 a2189 2 -if { (eval echo configure:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2193 1 a2193 1 @@@@ -4233,7 +4250,7 @@@@ d2197 2 a2198 2 -echo "configure:4237: checking for POSIX utime" >&5 +echo "configure:4254: checking for POSIX utime" >&5 d2202 1 a2202 1 @@@@ -4242,7 +4259,7 @@@@ d2206 2 a2207 2 -#line 4246 "configure" +#line 4263 "configure" d2211 1 a2211 1 @@@@ -4254,7 +4271,7 @@@@ d2215 2 a2216 2 -if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2220 1 a2220 1 @@@@ -4277,7 +4294,7 @@@@ d2224 2 a2225 2 -echo "configure:4281: checking whether utime accepts a null argument" >&5 +echo "configure:4298: checking whether utime accepts a null argument" >&5 d2229 1 a2229 1 @@@@ -4287,7 +4304,7 @@@@ d2233 2 a2234 2 -#line 4291 "configure" +#line 4308 "configure" d2238 1 a2238 1 @@@@ -4298,7 +4315,7 @@@@ d2242 2 a2243 2 -if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2247 1 a2247 1 @@@@ -4327,7 +4344,7 @@@@ d2251 2 a2252 2 -echo "configure:4331: checking for working fnmatch" >&5 +echo "configure:4348: checking for working fnmatch" >&5 d2256 1 a2256 1 @@@@ -4336,13 +4353,13 @@@@ d2260 2 a2261 2 -#line 4340 "configure" +#line 4357 "configure" d2267 2 a2268 2 -if { (eval echo configure:4346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2272 1 a2272 1 @@@@ -4368,12 +4385,12 @@@@ d2276 2 a2277 2 -echo "configure:4372: checking for crypt" >&5 +echo "configure:4389: checking for crypt" >&5 d2282 2 a2283 2 -#line 4377 "configure" +#line 4394 "configure" d2287 1 a2287 1 @@@@ -4396,7 +4413,7 @@@@ d2291 2 a2292 2 -if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2296 1 a2296 1 @@@@ -4414,7 +4431,7 @@@@ d2300 2 a2301 2 -echo "configure:4418: checking for crypt in -lcrypt" >&5 +echo "configure:4435: checking for crypt in -lcrypt" >&5 d2305 1 a2305 1 @@@@ -4422,7 +4439,7 @@@@ d2309 2 a2310 2 -#line 4426 "configure" +#line 4443 "configure" d2314 1 a2314 1 @@@@ -4433,7 +4450,7 @@@@ d2318 2 a2319 2 -if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2323 1 a2323 1 @@@@ -4452,7 +4469,7 @@@@ d2327 2 a2328 2 -echo "configure:4456: checking for crypt in -lcrypt_d" >&5 +echo "configure:4473: checking for crypt in -lcrypt_d" >&5 d2332 1 a2332 1 @@@@ -4460,7 +4477,7 @@@@ d2336 2 a2337 2 -#line 4464 "configure" +#line 4481 "configure" d2341 1 a2341 1 @@@@ -4471,7 +4488,7 @@@@ d2345 2 a2346 2 -if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2350 1 a2350 1 @@@@ -4490,7 +4507,7 @@@@ d2354 2 a2355 2 -echo "configure:4494: checking for ufc in -lcrypt" >&5 +echo "configure:4511: checking for ufc in -lcrypt" >&5 d2359 1 a2359 1 @@@@ -4498,7 +4515,7 @@@@ d2363 2 a2364 2 -#line 4502 "configure" +#line 4519 "configure" d2368 1 a2368 1 @@@@ -4509,7 +4526,7 @@@@ d2372 2 a2373 2 -if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2377 262 a2638 1 @@@@ -4540,19 +4557,19 @@@@ d2642 2 a2643 2 -echo "configure:4544: checking for working alloca.h" >&5 +echo "configure:4561: checking for working alloca.h" >&5 d2648 2 a2649 2 -#line 4549 "configure" +#line 4566 "configure" d2656 2 a2657 2 -if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2661 1 a2661 1 @@@@ -4573,12 +4590,12 @@@@ d2665 2 a2666 2 -echo "configure:4577: checking for alloca" >&5 +echo "configure:4594: checking for alloca" >&5 d2671 2 a2672 2 -#line 4582 "configure" +#line 4599 "configure" d2676 1 a2676 1 @@@@ -4601,7 +4618,7 @@@@ d2680 2 a2681 2 -if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2685 1 a2685 1 @@@@ -4633,12 +4650,12 @@@@ d2689 2 a2690 2 -echo "configure:4637: checking whether alloca needs Cray hooks" >&5 +echo "configure:4654: checking whether alloca needs Cray hooks" >&5 d2695 2 a2696 2 -#line 4642 "configure" +#line 4659 "configure" d2700 1 a2700 1 @@@@ -4663,12 +4680,12 @@@@ d2704 2 a2705 2 -echo "configure:4667: checking for $ac_func" >&5 +echo "configure:4684: checking for $ac_func" >&5 d2710 2 a2711 2 -#line 4672 "configure" +#line 4689 "configure" d2715 1 a2715 1 @@@@ -4691,7 +4708,7 @@@@ d2719 2 a2720 2 -if { (eval echo configure:4695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2724 1 a2724 1 @@@@ -4718,7 +4735,7 @@@@ d2728 2 a2729 2 -echo "configure:4722: checking stack direction for C alloca" >&5 +echo "configure:4739: checking stack direction for C alloca" >&5 d2733 1 a2733 1 @@@@ -4726,7 +4743,7 @@@@ d2737 2 a2738 2 -#line 4730 "configure" +#line 4747 "configure" d2742 1 a2742 1 @@@@ -4745,7 +4762,7 @@@@ d2746 2 a2747 2 -if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2751 7 a2757 7 @@@@ -4770,7 +4787,7 @@@@ if test "$OS" != "irix"; then if test -z "$LIB_NSL"; then echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 -echo "configure:4774: checking for main in -lnsl" >&5 +echo "configure:4791: checking for main in -lnsl" >&5 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` d2760 1 a2760 1 @@@@ -4778,14 +4795,14 @@@@ d2762 1 a2762 1 LIBS="-lnsl $LIBS" d2764 2 a2765 2 -#line 4782 "configure" +#line 4799 "configure" d2767 4 a2770 3 int main() { main() d2773 2 a2774 2 -if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2778 7 a2784 8 @@@@ -4808,7 +4825,7 @@@@ fi if test -z "$LIB_SOCKET"; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 -echo "configure:4812: checking for main in -lsocket" >&5 +echo "configure:4829: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d2786 1 a2786 1 @@@@ -4816,14 +4833,14 @@@@ d2788 1 a2788 1 LIBS="-lsocket $LIBS" d2790 2 a2791 2 -#line 4820 "configure" +#line 4837 "configure" d2798 2 a2799 2 -if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2801 1 a2801 1 eval "ac_cv_lib_$ac_lib_var=yes" d2803 7 a2809 8 @@@@ -4846,7 +4863,7 @@@@ fi elif test "$OSREV" -lt 5; then echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 -echo "configure:4850: checking for getpwnam in -lsun" >&5 +echo "configure:4867: checking for getpwnam in -lsun" >&5 ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d2811 1 a2811 1 @@@@ -4854,7 +4871,7 @@@@ d2813 1 a2813 1 LIBS="-lsun $LIBS" d2815 2 a2816 2 -#line 4858 "configure" +#line 4875 "configure" d2818 3 a2820 4 /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@@@ -4865,7 +4882,7 @@@@ getpwnam() d2823 2 a2824 2 -if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2826 1 a2826 1 eval "ac_cv_lib_$ac_lib_var=yes" d2828 7 a2834 8 @@@@ -4890,7 +4907,7 @@@@ fi if test -z "$LIB_INET"; then echo $ac_n "checking for main in -linet""... $ac_c" 1>&6 -echo "configure:4894: checking for main in -linet" >&5 +echo "configure:4911: checking for main in -linet" >&5 ac_lib_var=`echo inet'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d2836 1 a2836 1 @@@@ -4898,14 +4915,14 @@@@ d2838 1 a2838 1 LIBS="-linet $LIBS" d2840 2 a2841 2 -#line 4902 "configure" +#line 4919 "configure" d2848 2 a2849 2 -if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2851 1 a2851 1 eval "ac_cv_lib_$ac_lib_var=yes" d2853 1 a2853 1 @@@@ -5044,7 +5061,7 @@@@ d2857 4 a2860 4 -echo "configure:5048: checking for log file location" >&5 +echo "configure:5065: checking for log file location" >&5 if test -n "$with_logfile"; then echo "$ac_t""$with_logfile" 1>&6 d2862 1 a2862 1 @@@@ -5074,7 +5091,7 @@@@ d2866 2 a2867 2 -echo "configure:5078: checking for timestamp file location" >&5 +echo "configure:5095: checking for timestamp file location" >&5 d2871 9 @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 3 a5 4 --- configure.orig Sun Aug 25 12:32:03 1996 +++ configure Thu Aug 29 10:26:50 1996 @@@@ -37,6 +37,8 @@@@ --with-libraries additional libraries to link with" d8 2 d11 18 a28 5 + --with-fbsdops add FreeBSD standard options" # Initialize some variables set by options. # The variables have the same names as the options, with @@@@ -557,8 +559,8 @@@@ d39 15 a53 8 @@@@ -784,6 +786,20 @@@@ yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DUSE_INSULTS -DCLASSIC_INSULTS -DCSOPS_INSULTS -DENV_EDITOR" sbindir='$(exec_prefix)/sbin' echo 'CSOps--adding options: IGNORE_DOT_PATH USE_INSULTS CLASSIC_INSULTS CSOPS_INSULTS ENV_EDITOR' + ;; + no) ;; + *) echo "Ignoring unknown argument to --with-csops: $with_csops" + ;; d57 1809 a1865 10 +# Check whether --with-fbsdops or --without-fbsdops was given. +if test "${with_fbsdops+set}" = set; then + withval="$with_fbsdops" + case $with_fbsdops in + yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS" + sbindir='$(exec_prefix)/sbin' + echo 'fbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS' ;; no) ;; *) echo "Ignoring unknown argument to --with-csops: $with_csops" @ 1.1 log @Initial revision @ text @d1 2 @ 1.1.1.1 log @Import vanialla FreeBSD sudo. @ text @@