head 1.5; access; symbols pkgsrc-2026Q3:1.5.0.28 pkgsrc-2026Q3-base:1.5 pkgsrc-2026Q2:1.5.0.26 pkgsrc-2026Q2-base:1.5 pkgsrc-2026Q1:1.5.0.24 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.22 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.20 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.18 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.16 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.14 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.12 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.10 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.8 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.6 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.4 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.2 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.4.0.36 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.34 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.32 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.30 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.28 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.26 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.24 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.22 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.20 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.18 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.16 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.14 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.10 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.12 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.8 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.6 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.4 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.2 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.3.0.44 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.42 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.40 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.38 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.36 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.32 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.30 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.28 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.26 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.24 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.22 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.20 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.18 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.16 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.14 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.12 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.10 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.8 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.6 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.4 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.2 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2; locks; strict; comment @# @; 1.5 date 2023.06.02.15.57.57; author schmonz; state Exp; branches; next 1.4; commitid dOQms7iBlchaborE; 1.4 date 2018.12.17.19.24.44; author schmonz; state Exp; branches; next 1.3; commitid 8QQ2VjznB93lEb4B; 1.3 date 2013.07.06.11.09.26; author tron; state Exp; branches; next 1.2; commitid 6qHy4GCzM3BPRoWw; 1.2 date 2013.03.04.17.31.56; author jperkin; state Exp; branches; next 1.1; 1.1 date 2013.02.22.11.48.16; author jperkin; state Exp; branches; next ; desc @@ 1.5 log @libspf2: link with glibc>=2.34 and build with musl libc. Newer glibc removes visibility of __dn_expand and __dn_skipname. Borrow Fedora's fix: stop linking with libreplace for most platforms (except OpenBSD). For musl, provide a fallback definition of NETDB_SUCCESS. Fixes build: Void Linux, Ubuntu 22, Arch, CentOS 9. Continues to build: Ubuntu 20, CentOS 8 and 7, Debian, Tribblix, macOS, NetBSD, FreeBSD, OpenBSD. Bump PKGREVISION. @ text @$NetBSD: patch-configure,v 1.4 2018/12/17 19:24:44 schmonz Exp $ Test for res_close, not available in OpenBSD. --- configure.orig 2021-06-09 05:43:12.000000000 +0000 +++ configure @@@@ -13494,6 +13494,33 @@@@ cat >>confdefs.h <<_ACEOF #define HAVE_DECL_RES_NDESTROY $ac_have_decl _ACEOF +ac_fn_c_check_decl "$LINENO" "res_close" "ac_cv_have_decl_res_close" " + #ifdef HAVE_SYS_TYPES_H + # include + #endif + #ifdef HAVE_SYS_SOCKET_H + # include /* inet_ functions / structs */ + #endif + #ifdef HAVE_NETINET_IN_H + # include /* inet_ functions / structs */ + #endif + #ifdef HAVE_ARPA_NAMESER_H + # include /* DNS HEADER struct */ + #endif + #ifdef HAVE_RESOLV_H + # include + #endif + +" +if test "x$ac_cv_have_decl_res_close" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_RES_CLOSE $ac_have_decl +_ACEOF ac_fn_c_check_decl "$LINENO" "ns_t_spf" "ac_cv_have_decl_ns_t_spf" " #ifdef HAVE_SYS_TYPES_H @ 1.4 log @Add proper autoconfery for res_close(), from maya@@ (thanks!). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 2 Ensure that libreplace contains at least one symbol. test for res_close, not available in OpenBSD d5 1 a5 1 --- configure.orig 2012-02-20 07:31:46.000000000 +0000 a40 9 @@@@ -13577,7 +13604,7 @@@@ _ACEOF fi done -for ac_func in strcasecmp strncasecmp strspn strtoul +for ac_func in ensure_libreplace_symbol strcasecmp strncasecmp strspn strtoul do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @ 1.3 log @Update "libspf2" package to version 1.2.10. A list of changes since version 1.2.9 (which is old) is not available. Two improvements that I noticed are: 1.) A remote DoS vulnerability (for which "pkgsrc" had a patch) has been fixed. 2.) The SPF records for "gmail.com" are now accepted again. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2013/03/04 17:31:56 jperkin Exp $ d4 1 d7 36 a42 2 +++ configure 2013-07-06 11:54:48.000000000 +0100 @@@@ -13577,7 +13577,7 @@@@ @ 1.2 log @Change previous fix, libreplace uses LTLIBOBJS to compile in additional objects, so provide a dummy file which will always get included to avoid issues on systems where you are not allowed an empty library. Noticed by tron. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d5 5 a9 3 --- configure.orig 2008-11-04 15:32:56.000000000 +0000 +++ configure @@@@ -25648,7 +25648,7 @@@@ done d11 5 a15 7 -for ac_func in getopt_long_only strncasecmp +for ac_func in ensure_libreplace_symbol getopt_long_only strncasecmp do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 @ 1.1 log @Don't build libreplace, it is an empty library. Fixes build on SunOS. @ text @d3 1 a3 1 Don't decend into libreplace, it is an empty library. d7 1 a7 1 @@@@ -25855,7 +25855,7 @@@@ done d11 5 a15 5 -ac_config_files="$ac_config_files Makefile Doxyfile src/Makefile src/include/Makefile src/libreplace/Makefile src/libspf2/Makefile src/spfquery/Makefile src/spftest/Makefile src/spfd/Makefile src/spf_example/Makefile" +ac_config_files="$ac_config_files Makefile Doxyfile src/Makefile src/include/Makefile src/libspf2/Makefile src/spfquery/Makefile src/spftest/Makefile src/spfd/Makefile src/spf_example/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @