head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.6 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.4 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.2 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.8.0.18 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.16 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.14 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.12 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.10 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.8 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.6 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.4 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.2 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.7.0.24 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.22 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.20 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.18 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.16 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.14 pkgsrc-2008Q1:1.7.0.12 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.10 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.8 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.6 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.4 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.2 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.5.0.4 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.3.0.8 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.14 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.12 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.10 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.8 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.9 date 2011.09.17.11.32.02; author obache; state dead; branches; next 1.8; 1.8 date 2009.05.14.23.00.46; author obache; state Exp; branches; next 1.7; 1.7 date 2006.11.02.13.02.39; author obache; state Exp; branches 1.7.24.1; next 1.6; 1.6 date 2006.10.04.12.07.53; author obache; state Exp; branches; next 1.5; 1.5 date 2006.04.18.17.41.30; author jlam; state Exp; branches; next 1.4; 1.4 date 2006.04.13.21.32.40; author wiz; state Exp; branches; next 1.3; 1.3 date 2005.03.28.09.39.58; author jlam; state dead; branches; next 1.2; 1.2 date 2002.12.16.10.55.03; author martti; state Exp; branches; next 1.1; 1.1 date 2001.01.31.22.47.53; author jlam; state Exp; branches; next ; 1.7.24.1 date 2009.05.17.14.49.51; author tron; state Exp; branches; next ; desc @@ 1.9 log @Update cyrus-sasl to 2.1.25. Take maintainership. New in 2.1.25 ------------- * Make sure that a failed authorization doesn't preclude further server-side SASL authentication attempts from working. * Fixed a crash caused by aborted SASL authentication and initiation of another one using the same SASL context. * (Windows) Fixed the random number generator to actually produce random output on each run. * Be protective against calling sasl_server_step once authentication has failed (multiple SASL plugins) * Fixed several bugs in the mech_avail callback handling in the server side code. * Added support for channel bindings * Added support for ordering SASL mechanisms by strength (on the client side), or using the "client_mech_list" option. * server_idle needs to obey server's SASL mechanism list from the server context. * Better server plugin API mismatch reporting * Build: - Updated config to the latest GNU snapshot - Fixed SASL's libtool MacOS/X 64-bit file magic * New SASL plugin: SCRAM * New SASL plugin: GS2 * DIGEST-MD5 plugin: - Allow DIGEST-MD5 plugin to be used for client-side and server-side HTTP Digest, including running over non-persistent connections (RFC 2617) - Use the same username for reauthentication cache lookup and update - Minimize the number of auxprop lookups in the server side DIGEST-MD5 plugin for the most common case when authentication and authorization identities are the same. - Updated digestmd5_server_mech_step2() to be more defensive against empty client input. - Fixed some memory leaks on failed plugin initialization. Prevent potential race condition when freeding plugin state. Set the freed reauthentication cache mutex to NULL, to make errors due to mutex access after free more obvious. - Test against broken UTF-8 based hashes if calculation using special ISO-8859-1 code fails. - Fixed an interop problem with some LDAP clients ignoring server advertised realm and providing their own. * GSSAPI plugin: - Fix to build GSSAPI with Heimdal - Properly set serveroutlen to 0 in one place. Don't send empty challenge once server context establishment is done, as this is in violation of the RFC 2222 and its successor. - Don't send maxbuf, if no security layer can be established. Added additional checks for buffer lengths. * LDAPDB plugin: - build fixes New in 2.1.24 ------------- * Order advertised server-side SASL mechanisms per the specified 'mech_list' option or by relative "strength" * Make sure that sasl_set_alloc() has no effect once sasl_client_init() or sasl_server_init() is called * Fixed sasl_set_mutex() to disallow changing mutex management functions once sasl_server_init()/sasl_client_init() is called (bug # 3083) * Removed unused mutexes in lib/client.c and lib/server.c (bug # 3141) * Added direct support for hashed password to auxprop API * Don't treat a constraint violation as an error to store an auxprop property * Extended libsasl (auxprop) to support user deletion * Extended SASL auxprop_lookup to return error code * Updated sasl_user_exists() so that it can handle passwordless accounts (e.g. disabled) * (Windows) Free handles of shared libraries on Windows that were loaded but are not SASL plugins (bug # 2089) * Prevent freeing of common state on a subsequent call to _sasl_common_init. Make sure that the last global callback always wins. * Implemented sasl_client_done()/sasl_server_done() * Added automatic hostname canonicalization inside libsasl * Made sasl_config_init() public * Strip trailing spaces from server config file option values (bug # 3139, bug # 3041) * Fixed potential buffer overflow in saslautd_verify_password(). * Fixed segfault in dlclose() on HPUX * Various bugfixes for 64bit platforms * Fixed bug # 2895 (passing LF to sasl_decode64) in sample/sample-client.c, sample/sample-server.c, utils/smtptest.c * pluginviewer: Code cleanup, improved human readable messages * Build: - (Windows) Updated makefiles to build with VC 8.0 (VC++ 2005) - (Windows) Added Windows64 build - Updated to use .plugin extension on MacOS - Changed 64bit HP-UX build to use .so for shared libraries * saslauthd: - Fixed bug counting double-quotes in username/password in auth_rimap.c. Also fixed bug zeroing password. - auth_krb.c: improved diagnostic in the k5support_verify_tgt() function. - auth_sasldb.c: pid_file_lock is created with a mask of 644 instead of 0644 - auth_shadow.c: Define _XOPEN_SOURCE before including unistd.h, so that crypt is correctly defined - auth_getpwent.c: Fixed Solaris build * SASLDB plugin: - Fixed spurious 'user not found' errors caused by an attempt to delete a non-existent property - Added direct support for hashed password to auxprop API - Sleepycat driver: Return SASL_NOUSER instead of SASL_FAIL when the database file doesn't exist - Ignore properties starting with '*' in the auxprop store function * SQL plugin: - Added support for SQLITE3 - Uninitialized variables can cause crash when the searched user is not found - Added direct support for hashed password - Ignore properties starting with '*' in the auxprop store function * LDAPDB plugin: - Added code to extend LDAPDB into a canon_user plugin in addition to its existing auxprop plugin functionality * PLAIN plugin: - Advertise SASL_SEC_PASS_CREDENTIALS feature * LOGIN plugin: - Advertise SASL_SEC_PASS_CREDENTIALS feature * DIGEST-MD5 plugin: - Fixed a memory leak in the DIGEST-MD5 security layer - Fixed memory leaks in client-side reauth and other places - More detailed error reporting. - Fixed parsing of challenges/responses with extra commas. - Allow for multiple qop options from the server and require a single qop option from the client. * GSSAPI plugin: - Check that params->serverFQDN is not NULL before using strlen on it - Make auxprop lookup calls optional * EXTERNAL plugin: - Make auxprop lookup calls optional * NTLM plugin: - allow a comma separated list of servernames in 'ntlm_server' option - Fixed crash in calculating NTv2 reponse * OTP plugin: - Don't use a stack variable for an OTP prompt (bug # 2822) - Downgrade the failure to store OTP secret to debug level * KERBEROS_V4 plugin: - Make auxprop lookup calls optional @ text @$NetBSD: patch-ai,v 1.8 2009/05/14 23:00:46 obache Exp $ --- configure.orig 2009-05-07 14:24:25.000000000 +0000 +++ configure @@@@ -1334,8 +1334,6 @@@@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test $cache_file = "/dev/null"; then -cache_file="./config.cache" if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. @@@@ -1353,8 +1351,6 @@@@ echo "$as_me: creating cache $cache_file >$cache_file fi -fi - ac_aux_dir= for ac_dir in config $srcdir/config; do if test -f $ac_dir/install-sh; then @@@@ -5147,7 +5143,7 @@@@ if test $ac_cv_header_db_h = yes; then fi saved_LIBS=$LIBS - for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db + for dbname in ${BDB_TYPE} db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db do LIBS="$saved_LIBS -l$dbname" cat >conftest.$ac_ext <<_ACEOF @@@@ -5178,7 +5174,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db + BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@@@ -5904,7 +5900,7 @@@@ if test $ac_cv_header_db_h = yes; then fi saved_LIBS=$LIBS - for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db + for dbname in ${BDB_TYPE} db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db do LIBS="$saved_LIBS -l$dbname" cat >conftest.$ac_ext <<_ACEOF @@@@ -5935,7 +5931,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db + BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@@@ -11326,8 +11322,15 @@@@ if test $ac_cv_lib_resolv_res_search = y fi SASL_MECHS="$SASL_MECHS libgssapiv2.la" - SASL_STATIC_OBJS="$SASL_STATIC_OBJS gssapi.o" - SASL_STATIC_SRCS="$SASL_STATIC_SRCS ../plugins/gssapi.c" + if test "$enable_static" = yes; then + SASL_STATIC_OBJS="$SASL_STATIC_OBJS gssapi.o" + SASL_STATIC_SRCS="$SASL_STATIC_SRCS ../plugins/gssapi.c" + +cat >>confdefs.h <<\_ACEOF +#define STATIC_GSSAPIV2 +_ACEOF + + fi cmu_save_LIBS="$LIBS" LIBS="$LIBS $GSSAPIBASE_LIBS" @@@@ -11425,11 +11428,6 @@@@ fi if test "$gssapi" != "no"; then - -cat >>confdefs.h <<\_ACEOF -#define STATIC_GSSAPIV2 -_ACEOF - mutex_default="no" if test "$gss_impl" = "mit"; then mutex_default="yes" @ 1.8 log @Update cyrus-sasl to 2.1.23. New in 2.1.23 ------------- * Fixed CERT VU#238019 (make sure sasl_encode64() always NUL terminates output or returns SASL_BUFOVER) @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.7 2006/11/02 13:02:39 obache Exp $ @ 1.7 log @Force to detect correct library when ${SASL_DBTYPE}=="berkeley". Reported by David Carrel in pkgsrc-users@@. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.6 2006/10/04 12:07:53 obache Exp $ d3 1 a3 1 --- configure.orig 2006-05-18 15:30:13.000000000 -0400 d23 1 a23 1 @@@@ -5125,7 +5121,7 @@@@ if test $ac_cv_header_db_h = yes; then d32 1 a32 1 @@@@ -5156,7 +5152,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d41 1 a41 1 @@@@ -5882,7 +5878,7 @@@@ if test $ac_cv_header_db_h = yes; then d50 1 a50 1 @@@@ -5913,7 +5909,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d59 1 a59 1 @@@@ -11304,8 +11300,15 @@@@ if test $ac_cv_lib_resolv_res_search = y d77 1 a77 1 @@@@ -11403,11 +11406,6 @@@@ fi @ 1.7.24.1 log @Pullup ticket #2773 - requested by obache security/cy2-anonymous: security update security/cy2-crammd5: security update security/cy2-digestmd5: security update security/cy2-gssapi: security update security/cy2-ldapdb: security update security/cy2-login: security update security/cy2-ntlm: security update security/cy2-otp: security update security/cy2-plain: security update security/cy2-sql: security update security/cyrus-sasl: security update security/cyrus-saslauthd: security update Revisions pulled up: - security/cy2-digestmd5/Makefile 1.12 - security/cy2-gssapi/Makefile 1.14 - security/cy2-ldapdb/Makefile 1.4 - security/cy2-ntlm/Makefile 1.20 - security/cy2-otp/Makefile 1.12 - security/cyrus-sasl/Makefile.common 1.14 - security/cyrus-sasl/distinfo 1.18 - security/cyrus-sasl/patches/patch-ai 1.8 - security/cyrus-sasl/patches/patch-al 1.6 - security/cyrus-sasl/patches/patch-aq 1.6 - security/cyrus-saslauthd/Makefile 1.38 - security/cyrus-saslauthd/distinfo 1.10 - security/cyrus-saslauthd/patches/patch-ab 1.7 - security/cyrus-saslauthd/patches/patch-af 1.3 --- Module Name: pkgsrc Committed By: obache Date: Thu May 14 23:00:47 UTC 2009 Modified Files: pkgsrc/security/cy2-digestmd5: Makefile pkgsrc/security/cy2-gssapi: Makefile pkgsrc/security/cy2-ldapdb: Makefile pkgsrc/security/cy2-ntlm: Makefile pkgsrc/security/cy2-otp: Makefile pkgsrc/security/cyrus-sasl: Makefile.common distinfo pkgsrc/security/cyrus-sasl/patches: patch-ai patch-al patch-aq pkgsrc/security/cyrus-saslauthd: Makefile distinfo pkgsrc/security/cyrus-saslauthd/patches: patch-ab patch-af Log Message: Update cyrus-sasl to 2.1.23. New in 2.1.23 ------------- * Fixed CERT VU#238019 (make sure sasl_encode64() always NUL terminates output or returns SASL_BUFOVER) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2009-05-07 14:24:25.000000000 +0000 d23 1 a23 1 @@@@ -5147,7 +5143,7 @@@@ if test $ac_cv_header_db_h = yes; then d32 1 a32 1 @@@@ -5178,7 +5174,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d41 1 a41 1 @@@@ -5904,7 +5900,7 @@@@ if test $ac_cv_header_db_h = yes; then d50 1 a50 1 @@@@ -5935,7 +5931,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d59 1 a59 1 @@@@ -11326,8 +11322,15 @@@@ if test $ac_cv_lib_resolv_res_search = y d77 1 a77 1 @@@@ -11425,11 +11428,6 @@@@ fi @ 1.6 log @Update cyrus-sasl (and plugins, authd) to 2.1.22. New in 2.1.22 ------------- * Added support for spliting big data blocks (bigger than maxbuf) into multiple SASL packets in sasl_encodev * Various sasl_decode64() fixes * Increase canonicalization buffer size to 1024 bytes * Call do_authorization() after successful APOP authentication * Allow for configuration file location to be configurable independently of plugin location (bug # 2795) * Added sasl_set_path function, which provides a more convenient way of setting plugin and config paths. Changed the default sasl_getpath_t/sasl_getconfpath_t callbacks to calculate the value only once and cache it for later use. * Fixed load_config to search for the config file in all directories (bug # 2796). Changed the default search path to be /usr/lib/sasl2:/etc/sasl2 * Don't ignore log_level configuration option in default UNIX syslog logging callback * (Windows) Minor IPv6 related changes in Makefiles for Visual Studio 6 * (Windows) Fixed bug of not setting the CODEGEN (code generation option) nmake option if STATIC nmake option is set. * Several fixed to DIGEST-MD5 plugin: - Enable RC4 cipher in Windows build of DIGEST-MD5 - Server side: handle missing realm option as if realm="" was sent - Fix DIGEST-MD5 to properly advertise maxssf when both DES and RC4 are disabled - Check that DIGEST-MD5 SASL packet are no shorter than 16 bytes * Several changes/fixed to SASLDB plugin: - Prevent spurious SASL_NOUSER errors - Added ability to keep BerkleyDB handle open between operations (for performance reason). New behavior can be enabled with --enable-keep-db-open. * Better error checking in SQL (MySQL) auxprop plugin code * Added support for HTTP POST password validation in saslauthd * Added new application ("pluginviewer") that helps report information about installed plugins * Allow for building with OpenSSL 0.9.8 * Allow for building with OpenLDAP 2.3+ * Several quoting fixes to configure script * A large number of other minor bugfixes and cleanups @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.5 2006/04/18 17:41:30 jlam Exp $ d23 9 d41 9 @ 1.5 log @Updated security/cyrus-sasl to 2.1.21. Changes from version 2.1.20 include: * lib/dlopen.c: log the reason for opendir() failure when loading plugin. * lib/common.c: honor log level setting * sample/sample-client.c, sample/sample-server.c: Fixed several 64 bit portability warnings. * utils/testsuite.c: Fixed several 64 bit portability warnings. * utils/saslpasswd.c: Fixed typo in an auxprop name. * include/saslplug.h, lib/common.c, lib/saslint.h, lib/server.c: Added sasl_server_plugin_info(). * lib/common.c: initialize path in case caller didn't. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2005-05-15 01:58:28.000000000 -0400 d5 1 a5 1 @@@@ -1331,8 +1331,6 @@@@ ac_compiler_gnu=$ac_cv_c_compiler_gnu d14 1 a14 1 @@@@ -1350,8 +1348,6 @@@@ echo "$as_me: creating cache $cache_file d23 1 a23 1 @@@@ -5155,7 +5151,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d32 1 a32 1 @@@@ -5912,7 +5908,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d41 1 a41 1 @@@@ -11158,8 +11154,15 @@@@ if test $ac_cv_lib_resolv_res_search = y d59 1 a59 1 @@@@ -11257,11 +11260,6 @@@@ fi @ 1.4 log @Add current contents of security/cyrus-sasl2, starting its move to security/cyrus-sasl (to make PKGNAME match directory name). @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.11 2005/02/15 12:32:38 tv Exp $ d3 1 a3 1 --- configure.orig 2004-10-24 16:21:08.000000000 -0400 d5 1 a5 1 @@@@ -1326,8 +1326,6 @@@@ ac_compiler_gnu=$ac_cv_c_compiler_gnu d14 1 a14 1 @@@@ -1345,8 +1343,6 @@@@ echo "$as_me: creating cache $cache_file d23 1 a23 1 @@@@ -5160,7 +5156,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d32 1 a32 1 @@@@ -5916,7 +5912,7 @@@@ if { (eval echo "$as_me:$LINENO: \"$ac_l d41 1 a41 1 @@@@ -10680,7 +10676,14 @@@@ if test $ac_cv_lib_resolv_res_search = y d45 2 a46 1 - SASL_STATIC_OBJS="$SASL_STATIC_OBJS ../plugins/gssapi.o" d48 2 a49 1 + SASL_STATIC_OBJS="$SASL_STATIC_OBJS ../plugins/gssapi.o" d59 1 a59 1 @@@@ -10778,11 +10781,6 @@@@ fi @ 1.3 log @Remove security/cyrus-sasl and security/cy-login. These packages tracked the Cyrus SASL 1.5.x releases, which are no longer maintained. Adjust packages to use security/cyrus-sasl2 instead for SASL support. This closes PR pkg/28218 and PR pkg/29736. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.2 2002/12/16 10:55:03 martti Exp $ d3 3 a5 5 --- acconfig.h.orig Sat Feb 17 06:06:28 2001 +++ acconfig.h Mon Dec 16 11:44:12 2002 @@@@ -128,11 +128,20 @@@@ /* define if your system has getpid() */ #undef HAVE_GETPID d7 45 a51 2 +/* location of the random number generator */ +#undef SASL_DEV_RANDOM d53 5 a57 1 @@BOTTOM@@ a58 11 /* location of the random number generator */ -#ifndef DEV_RANDOM +#ifdef SASL_DEV_RANDOM +#define DEV_RANDOM SASL_DEV_RANDOM +#else +#if defined(__NetBSD__) +#define DEV_RANDOM "/dev/urandom" +#else #define DEV_RANDOM "/dev/random" +#endif #endif d60 9 a68 1 /* Make Solaris happy... */ @ 1.2 log @On NetBSD use /dev/urandom insted of /dev/random (PR#19275). Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.1 2001/01/31 22:47:53 jlam Exp $ @ 1.1 log @Use "/dev/urandom" for random data source if it exists. Fixes: pkg/11469 by Chris Jones pkg/12092 by Jesse Off @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- acconfig.h.orig Wed Jul 5 12:59:25 2000 +++ acconfig.h @@@@ -123,10 +123,15 @@@@ d19 3 d23 1 d26 1 @