CVS commit: src/external/bsd/unbound/include
Module Name:src Committed By: roy Date: Fri Jan 1 20:16:16 UTC 2021 Modified Files: src/external/bsd/unbound/include: config.h Log Message: libunbound: actually use libevent as we link to it Would appreciate if people modify this file to actually test what polling mechanism unbound uses as select(2) is pretty poor. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/bsd/unbound/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/unbound/include/config.h diff -u src/external/bsd/unbound/include/config.h:1.7 src/external/bsd/unbound/include/config.h:1.8 --- src/external/bsd/unbound/include/config.h:1.7 Sun Dec 15 16:16:34 2019 +++ src/external/bsd/unbound/include/config.h Fri Jan 1 20:16:16 2021 @@ -175,22 +175,22 @@ /* #undef HAVE_ERR_LOAD_CRYPTO_STRINGS */ /* Define to 1 if you have the `event_assign' function. */ -/* #undef HAVE_EVENT_ASSIGN */ +#define HAVE_EVENT_ASSIGN 1 /* Define to 1 if you have the `event_base_free' function. */ -/* #undef HAVE_EVENT_BASE_FREE */ +#define HAVE_EVENT_BASE_FREE 1 /* Define to 1 if you have the `event_base_get_method' function. */ -/* #undef HAVE_EVENT_BASE_GET_METHOD */ +#define HAVE_EVENT_BASE_GET_METHOD 1 /* Define to 1 if you have the `event_base_new' function. */ -/* #undef HAVE_EVENT_BASE_NEW */ +#define HAVE_EVENT_BASE_NEW 1 /* Define to 1 if you have the `event_base_once' function. */ -/* #undef HAVE_EVENT_BASE_ONCE */ +#define HAVE_EVENT_BASE_ONCE 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_EVENT_H */ +#define HAVE_EVENT_H 1 /* Define to 1 if you have the `EVP_aes_256_cbc' function. */ #define HAVE_EVP_AES_256_CBC 1 @@ -792,7 +792,7 @@ /* #undef USE_IPSET */ /* Define if you want to use internal select based events */ -#define USE_MINI_EVENT 1 +/* #undef USE_MINI_EVENT */ /* Define this to enable client TCP Fast Open. */ /* #undef USE_MSG_FASTOPEN */
CVS commit: src/external/bsd/unbound/include
Module Name:src Committed By: roy Date: Tue Feb 6 21:27:49 UTC 2018 Modified Files: src/external/bsd/unbound/include: config-1.0.h config-1.1.h Log Message: Restore default paths to what they were before prior import. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/bsd/unbound/include/config-1.0.h \ src/external/bsd/unbound/include/config-1.1.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/unbound/include/config-1.0.h diff -u src/external/bsd/unbound/include/config-1.0.h:1.1 src/external/bsd/unbound/include/config-1.0.h:1.2 --- src/external/bsd/unbound/include/config-1.0.h:1.1 Tue Feb 6 03:29:57 2018 +++ src/external/bsd/unbound/include/config-1.0.h Tue Feb 6 21:27:49 2018 @@ -617,7 +617,7 @@ #define PACKAGE_VERSION "1.6.8" /* default pidfile location */ -#define PIDFILE "/usr/local/etc/unbound/unbound.pid" +#define PIDFILE "/var/run/unbound.pid" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ @@ -627,19 +627,19 @@ #define RETSIGTYPE void /* default rootkey location */ -#define ROOT_ANCHOR_FILE "/usr/local/etc/unbound/root.key" +#define ROOT_ANCHOR_FILE "/etc/unbound/root.key" /* default rootcert location */ -#define ROOT_CERT_FILE "/usr/local/etc/unbound/icannbundle.pem" +#define ROOT_CERT_FILE "/etc/unbound/icannbundle.pem" /* version number for resource files */ #define RSRC_PACKAGE_VERSION 1,6,8,0 /* Directory to chdir to */ -#define RUN_DIR "/usr/local/etc/unbound" +#define RUN_DIR "/etc/unbound" /* Shared data */ -#define SHARE_DIR "/usr/local/etc/unbound" +#define SHARE_DIR "/etc/unbound" /* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 @@ -657,7 +657,7 @@ /* #undef UB_ON_WINDOWS */ /* default username */ -#define UB_USERNAME "unbound" +#define UB_USERNAME "_unbound" /* use to enable lightweight alloc assertions, for debug use */ /* #undef UNBOUND_ALLOC_LITE */ Index: src/external/bsd/unbound/include/config-1.1.h diff -u src/external/bsd/unbound/include/config-1.1.h:1.1 src/external/bsd/unbound/include/config-1.1.h:1.2 --- src/external/bsd/unbound/include/config-1.1.h:1.1 Tue Feb 6 03:29:57 2018 +++ src/external/bsd/unbound/include/config-1.1.h Tue Feb 6 21:27:49 2018 @@ -617,7 +617,7 @@ #define PACKAGE_VERSION "1.6.8" /* default pidfile location */ -#define PIDFILE "/usr/local/etc/unbound/unbound.pid" +#define PIDFILE "/var/run/unbound.pid" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ @@ -627,19 +627,19 @@ #define RETSIGTYPE void /* default rootkey location */ -#define ROOT_ANCHOR_FILE "/usr/local/etc/unbound/root.key" +#define ROOT_ANCHOR_FILE "/etc/unbound/root.key" /* default rootcert location */ -#define ROOT_CERT_FILE "/usr/local/etc/unbound/icannbundle.pem" +#define ROOT_CERT_FILE "/etc/unbound/icannbundle.pem" /* version number for resource files */ #define RSRC_PACKAGE_VERSION 1,6,8,0 /* Directory to chdir to */ -#define RUN_DIR "/usr/local/etc/unbound" +#define RUN_DIR "/etc/unbound" /* Shared data */ -#define SHARE_DIR "/usr/local/etc/unbound" +#define SHARE_DIR "/etc/unbound" /* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 @@ -657,7 +657,7 @@ /* #undef UB_ON_WINDOWS */ /* default username */ -#define UB_USERNAME "unbound" +#define UB_USERNAME "_unbound" /* use to enable lightweight alloc assertions, for debug use */ /* #undef UNBOUND_ALLOC_LITE */
CVS commit: src/external/bsd/unbound/include
Module Name:src Committed By: christos Date: Tue Feb 6 03:29:57 UTC 2018 Modified Files: src/external/bsd/unbound/include: config.h Added Files: src/external/bsd/unbound/include: config-1.0.h config-1.1.h Log Message: provide 2 configs: one for openssl-1.0 and one for openssl-1.1 since they chose to configure each function separately. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/bsd/unbound/include/config-1.0.h \ src/external/bsd/unbound/include/config-1.1.h cvs rdiff -u -r1.3 -r1.4 src/external/bsd/unbound/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/unbound/include/config.h diff -u src/external/bsd/unbound/include/config.h:1.3 src/external/bsd/unbound/include/config.h:1.4 --- src/external/bsd/unbound/include/config.h:1.3 Mon Feb 5 22:05:48 2018 +++ src/external/bsd/unbound/include/config.h Mon Feb 5 22:29:57 2018 @@ -1,1222 +1,6 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Directory to chroot to */ -#define CHROOT_DIR "/var/chroot/unbound" - -/* Define this to enable client subnet option. */ -/* #undef CLIENT_SUBNET */ - -/* Do sha512 definitions in config.h */ -/* #undef COMPAT_SHA512 */ - -/* Pathname to the Unbound configuration file */ -#define CONFIGFILE "/etc/unbound/unbound.conf" - -/* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work - */ -/* #undef DARWIN_BROKEN_SETREUID */ - -/* Whether daemon is deprecated */ -/* #undef DEPRECATED_DAEMON */ - -/* default dnstap socket path */ -/* #undef DNSTAP_SOCKET_PATH */ - -/* Define if you want to use debug lock checking (slow). */ -/* #undef ENABLE_LOCK_CHECKS */ - -/* Define this if you enabled-allsymbols from libunbound to link binaries to - it for smaller install size, but the libunbound export table is polluted by - internal symbols */ -/* #undef EXPORT_ALL_SYMBOLS */ - -/* Define to 1 if you have the `arc4random' function. */ -#define HAVE_ARC4RANDOM 1 - -/* Define to 1 if you have the `arc4random_uniform' function. */ -#define HAVE_ARC4RANDOM_UNIFORM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_ARPA_INET_H 1 - -/* Whether the C compiler accepts the "format" attribute */ -#define HAVE_ATTR_FORMAT 1 - -/* Whether the C compiler accepts the "unused" attribute */ -#define HAVE_ATTR_UNUSED 1 - -/* Whether the C compiler accepts the "weak" attribute */ -#define HAVE_ATTR_WEAK 1 - -/* Define to 1 if you have the `chown' function. */ -#define HAVE_CHOWN 1 - -/* Define to 1 if you have the `chroot' function. */ -#define HAVE_CHROOT 1 - -/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ -#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 - -/* Define to 1 if you have the `ctime_r' function. */ -#define HAVE_CTIME_R 1 - -/* Define to 1 if you have the `daemon' function. */ -#define HAVE_DAEMON 1 - -/* Define to 1 if you have the declaration of `arc4random', and to 0 if you - don't. */ -/* #undef HAVE_DECL_ARC4RANDOM */ - -/* Define to 1 if you have the declaration of `arc4random_uniform', and to 0 - if you don't. */ -/* #undef HAVE_DECL_ARC4RANDOM_UNIFORM */ - -/* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you - don't. */ -#define HAVE_DECL_INET_NTOP 1 - -/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you - don't. */ -#define HAVE_DECL_INET_PTON 1 - -/* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you - don't. */ -#define HAVE_DECL_NID_ED25519 0 - -/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you - don't. */ -#define HAVE_DECL_NID_SECP384R1 1 - -/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0 - if you don't. */ -#define HAVE_DECL_NID_X9_62_PRIME256V1 1 - -/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you - don't. */ -/* #undef HAVE_DECL_REALLOCARRAY */ - -/* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0 - if you don't. */ -#define HAVE_DECL_SK_SSL_COMP_POP_FREE 1 - -/* Define to 1 if you have the declaration of - `SSL_COMP_get_compression_methods', and to 0 if you don't. */ -#define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1 - -/* Define to 1 if you have the declaration of `SSL_CTX_set_ecdh_auto', and to - 0 if you don't. */ -#define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1 - -/* Define to 1 if you have the declaration of `strlcat', and to 0 if you - don't. */ -/* #undef HAVE_DECL_STRLCAT */ - -/* Define to 1 if you have the declaration of `strlcpy', and to 0 if you - don't. */ -/* #undef HAVE_DECL_STRLCPY */ - -/* Define to 1 if you have the declaration of `XML_StopParser', and to 0 if - you don't. */ -#define HAVE_DECL_XML_STOPPARSER 1 - -/* Define to 1 if you have the header file. */ -#define