freeradius: updated to 3.2.3 Version 3.2.3 has been released. The focus of this release is stability.diff -r1.118 -r1.119 pkgsrc/net/freeradius/Makefile
(adam)
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.118 2023/04/19 08:11:03 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.119 2023/06/17 18:19:06 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= ${DISTNAME:S/-server//} | 5 | PKGNAME= ${DISTNAME:S/-server//} | |
7 | COMMENT= Free RADIUS server implementation | 6 | COMMENT= Free RADIUS server implementation | |
8 | 7 | |||
9 | BUILD_DEFS+= VARBASE | 8 | BUILD_DEFS+= VARBASE | |
10 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 9 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
11 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | 10 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | |
12 | CONFIGURE_ARGS+= --with-logdir=${VARBASE}/log/radiusd | 11 | CONFIGURE_ARGS+= --with-logdir=${VARBASE}/log/radiusd | |
13 | CONFIGURE_ARGS+= --without-rlm_eap_ikev2 | 12 | CONFIGURE_ARGS+= --without-rlm_eap_ikev2 | |
14 | CONFIGURE_ARGS+= --without-rlm_eap_tnc | 13 | CONFIGURE_ARGS+= --without-rlm_eap_tnc | |
15 | CONFIGURE_ARGS+= --without-rlm_sql_freetds | 14 | CONFIGURE_ARGS+= --without-rlm_sql_freetds | |
16 | CONFIGURE_ARGS+= --without-rlm_sql_sqlite | 15 | CONFIGURE_ARGS+= --without-rlm_sql_sqlite |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.12 2023/04/05 09:16:42 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.13 2023/06/17 18:19:06 adam Exp $ | |
2 | # used by net/freeradius/Makefile.module | 2 | # used by net/freeradius/Makefile.module | |
3 | 3 | |||
4 | DISTNAME= freeradius-server-3.2.2 | 4 | DISTNAME= freeradius-server-3.2.3 | |
5 | CATEGORIES= net | 5 | CATEGORIES= net | |
6 | MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/ | 6 | MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://freeradius.org/ | 10 | HOMEPAGE= https://freeradius.org/ | |
11 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
12 | 12 | |||
13 | USE_LANGUAGES+= c c++ | 13 | USE_LANGUAGES+= c c++ | |
14 | USE_TOOLS+= gmake perl:run | 14 | USE_TOOLS+= gmake perl:run | |
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | CONFIGURE_ARGS+= --with-openssl-include-dir=${BUILDLINK_PREFIX.openssl}/include | 16 | CONFIGURE_ARGS+= --with-openssl-include-dir=${BUILDLINK_PREFIX.openssl}/include | |
17 | CONFIGURE_ARGS+= --with-openssl-lib-dir=${BUILDLINK_PREFIX.openssl}/lib | 17 | CONFIGURE_ARGS+= --with-openssl-lib-dir=${BUILDLINK_PREFIX.openssl}/lib |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.37 2023/04/05 09:16:42 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.38 2023/06/17 18:19:06 adam Exp $ | |
2 | bin/dhcpclient | 2 | bin/dhcpclient | |
3 | bin/map_unit | 3 | bin/map_unit | |
4 | bin/rad_counter | 4 | bin/rad_counter | |
5 | bin/radattr | 5 | bin/radattr | |
6 | bin/radclient | 6 | bin/radclient | |
7 | bin/radcrypt | 7 | bin/radcrypt | |
8 | bin/radeapclient | 8 | bin/radeapclient | |
9 | bin/radlast | 9 | bin/radlast | |
10 | bin/radsniff | 10 | bin/radsniff | |
11 | bin/radsqlrelay | 11 | bin/radsqlrelay | |
12 | bin/radtest | 12 | bin/radtest | |
13 | bin/radwho | 13 | bin/radwho | |
14 | bin/radzap | 14 | bin/radzap | |
@@ -126,28 +126,28 @@ lib/rlm_passwd.${SOEXT} | @@ -126,28 +126,28 @@ lib/rlm_passwd.${SOEXT} | |||
126 | lib/rlm_preprocess.${SOEXT} | 126 | lib/rlm_preprocess.${SOEXT} | |
127 | lib/rlm_radutmp.${SOEXT} | 127 | lib/rlm_radutmp.${SOEXT} | |
128 | lib/rlm_realm.${SOEXT} | 128 | lib/rlm_realm.${SOEXT} | |
129 | lib/rlm_replicate.${SOEXT} | 129 | lib/rlm_replicate.${SOEXT} | |
130 | lib/rlm_soh.${SOEXT} | 130 | lib/rlm_soh.${SOEXT} | |
131 | lib/rlm_sometimes.${SOEXT} | 131 | lib/rlm_sometimes.${SOEXT} | |
132 | lib/rlm_sql.${SOEXT} | 132 | lib/rlm_sql.${SOEXT} | |
133 | lib/rlm_sql_map.${SOEXT} | 133 | lib/rlm_sql_map.${SOEXT} | |
134 | lib/rlm_sql_null.${SOEXT} | 134 | lib/rlm_sql_null.${SOEXT} | |
135 | lib/rlm_sqlcounter.${SOEXT} | 135 | lib/rlm_sqlcounter.${SOEXT} | |
136 | lib/rlm_sqlippool.${SOEXT} | 136 | lib/rlm_sqlippool.${SOEXT} | |
137 | lib/rlm_test.${SOEXT} | 137 | lib/rlm_test.${SOEXT} | |
138 | lib/rlm_totp.${SOEXT} | 138 | lib/rlm_totp.${SOEXT} | |
139 | lib/rlm_unix.${SOEXT} | |||
140 | lib/rlm_unbound.${SOEXT} | 139 | lib/rlm_unbound.${SOEXT} | |
140 | lib/rlm_unix.${SOEXT} | |||
141 | lib/rlm_unpack.${SOEXT} | 141 | lib/rlm_unpack.${SOEXT} | |
142 | lib/rlm_utf8.${SOEXT} | 142 | lib/rlm_utf8.${SOEXT} | |
143 | lib/rlm_wimax.${SOEXT} | 143 | lib/rlm_wimax.${SOEXT} | |
144 | man/man1/dhcpclient.1 | 144 | man/man1/dhcpclient.1 | |
145 | man/man1/rad_counter.1 | 145 | man/man1/rad_counter.1 | |
146 | man/man1/radclient.1 | 146 | man/man1/radclient.1 | |
147 | man/man1/radeapclient.1 | 147 | man/man1/radeapclient.1 | |
148 | man/man1/radlast.1 | 148 | man/man1/radlast.1 | |
149 | man/man1/radtest.1 | 149 | man/man1/radtest.1 | |
150 | man/man1/radwho.1 | 150 | man/man1/radwho.1 | |
151 | man/man1/radzap.1 | 151 | man/man1/radzap.1 | |
152 | man/man1/smbencrypt.1 | 152 | man/man1/smbencrypt.1 | |
153 | man/man5/checkrad.5 | 153 | man/man5/checkrad.5 | |
@@ -753,26 +753,27 @@ share/freeradius/dictionary.cnergee | @@ -753,26 +753,27 @@ share/freeradius/dictionary.cnergee | |||
753 | share/freeradius/dictionary.colubris | 753 | share/freeradius/dictionary.colubris | |
754 | share/freeradius/dictionary.columbia_university | 754 | share/freeradius/dictionary.columbia_university | |
755 | share/freeradius/dictionary.compat | 755 | share/freeradius/dictionary.compat | |
756 | share/freeradius/dictionary.compatible | 756 | share/freeradius/dictionary.compatible | |
757 | share/freeradius/dictionary.cosine | 757 | share/freeradius/dictionary.cosine | |
758 | share/freeradius/dictionary.covaro | 758 | share/freeradius/dictionary.covaro | |
759 | share/freeradius/dictionary.dante | 759 | share/freeradius/dictionary.dante | |
760 | share/freeradius/dictionary.dellemc | 760 | share/freeradius/dictionary.dellemc | |
761 | share/freeradius/dictionary.dhcp | 761 | share/freeradius/dictionary.dhcp | |
762 | share/freeradius/dictionary.digium | 762 | share/freeradius/dictionary.digium | |
763 | share/freeradius/dictionary.dlink | 763 | share/freeradius/dictionary.dlink | |
764 | share/freeradius/dictionary.dragonwave | 764 | share/freeradius/dictionary.dragonwave | |
765 | share/freeradius/dictionary.efficientip | 765 | share/freeradius/dictionary.efficientip | |
766 | share/freeradius/dictionary.eleven | |||
766 | share/freeradius/dictionary.eltex | 767 | share/freeradius/dictionary.eltex | |
767 | share/freeradius/dictionary.epygi | 768 | share/freeradius/dictionary.epygi | |
768 | share/freeradius/dictionary.equallogic | 769 | share/freeradius/dictionary.equallogic | |
769 | share/freeradius/dictionary.ericsson | 770 | share/freeradius/dictionary.ericsson | |
770 | share/freeradius/dictionary.ericsson.ab | 771 | share/freeradius/dictionary.ericsson.ab | |
771 | share/freeradius/dictionary.ericsson.packet.core.networks | 772 | share/freeradius/dictionary.ericsson.packet.core.networks | |
772 | share/freeradius/dictionary.erx | 773 | share/freeradius/dictionary.erx | |
773 | share/freeradius/dictionary.extreme | 774 | share/freeradius/dictionary.extreme | |
774 | share/freeradius/dictionary.f5 | 775 | share/freeradius/dictionary.f5 | |
775 | share/freeradius/dictionary.fdxtended | 776 | share/freeradius/dictionary.fdxtended | |
776 | share/freeradius/dictionary.force10 | 777 | share/freeradius/dictionary.force10 | |
777 | share/freeradius/dictionary.fortinet | 778 | share/freeradius/dictionary.fortinet | |
778 | share/freeradius/dictionary.foundry | 779 | share/freeradius/dictionary.foundry |
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.46 2023/04/05 09:16:42 adam Exp $ | 1 | $NetBSD: distinfo,v 1.47 2023/06/17 18:19:06 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (freeradius-server-3.2.2.tar.bz2) = eef8ac7eeedb073226c8d79160568b360488338b03d6618ca5e7e9ad7cffece9 | 3 | BLAKE2s (freeradius-server-3.2.3.tar.bz2) = 7a604f1df1c9d9a92dfc561c77d5088eeb212efb9ec600c243cd70ee17cdecd6 | |
4 | SHA512 (freeradius-server-3.2.2.tar.bz2) = 91dc574560a1f75cafa8bc78c0676f0e3dae7154ecbb395e0e1f6738f78d8bcfe1bff122364452798fd0434c4056fd946799b8f29a1141398bf0542a37870689 | 4 | SHA512 (freeradius-server-3.2.3.tar.bz2) = 06767153e262a2baa2d0cc74099bc13c23b33c2316348b5dc8ec0f5834c028571bd09b8c01726a6eabeaab8fdc3050f40bfeba2d5b1c299585d1689abad365ce | |
5 | Size (freeradius-server-3.2.2.tar.bz2) = 3418998 bytes | 5 | Size (freeradius-server-3.2.3.tar.bz2) = 3454869 bytes | |
6 | SHA1 (patch-ai) = e32ffd24b93e2cef2e72ef9a8ea59d49e1571dc0 | 6 | SHA1 (patch-configure) = ddafb5aafec43d2c9d2c81a824fa514224243ac0 | |
7 | SHA1 (patch-configure.ac) = ffec1f851d23f560797c12eba5092f2940e4d662 | 7 | SHA1 (patch-configure.ac) = ffec1f851d23f560797c12eba5092f2940e4d662 | |
8 | SHA1 (patch-raddb_radiusd.conf.in) = 353cbed35013777bf055a77cc610b50a637ae7b7 | 8 | SHA1 (patch-raddb_radiusd.conf.in) = 353cbed35013777bf055a77cc610b50a637ae7b7 | |
9 | SHA1 (patch-src_lib_udpfromto.c) = 2457f0a7223b1f3ef86d0af020290b26380e6319 | 9 | SHA1 (patch-src_lib_udpfromto.c) = 2457f0a7223b1f3ef86d0af020290b26380e6319 | |
10 | SHA1 (patch-src_main_command.c) = 1c79b29eb13df341906c710c8dd41860a27473dd | 10 | SHA1 (patch-src_main_command.c) = 1c79b29eb13df341906c710c8dd41860a27473dd | |
11 | SHA1 (patch-src_main_util.c) = e8814255c32c8469e81d62f2c7092e8d42744e85 | 11 | SHA1 (patch-src_main_util.c) = e8814255c32c8469e81d62f2c7092e8d42744e85 |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2023/04/19 08:11:04 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2023/06/17 18:19:06 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../net/freeradius/Makefile.module" | 3 | .include "../../net/freeradius/Makefile.module" | |
5 | 4 | |||
6 | PKGNAME= ${DISTNAME:S/-server/-freetds/} | 5 | PKGNAME= ${DISTNAME:S/-server/-freetds/} | |
7 | COMMENT= Free RADIUS FreeTDS support | 6 | COMMENT= Free RADIUS FreeTDS support | |
8 | 7 | |||
9 | CONFIGURE_ARGS+= --with-rlm_sql_freetds | 8 | CONFIGURE_ARGS+= --with-rlm_sql_freetds | |
10 | CONFIGURE_ARGS+= --without-rlm_ldap | 9 | CONFIGURE_ARGS+= --without-rlm_ldap | |
11 | CONFIGURE_ARGS+= --without-rlm_yubikey | 10 | CONFIGURE_ARGS+= --without-rlm_yubikey | |
12 | 11 | |||
13 | do-install: | 12 | do-install: | |
14 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_freetds.${SOEXT} \ | 13 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_freetds.${SOEXT} \ | |
15 | ${DESTDIR}${PREFIX}/lib | 14 | ${DESTDIR}${PREFIX}/lib | |
16 | 15 |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2023/04/19 08:11:04 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2023/06/17 18:19:06 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../net/freeradius/Makefile.module" | 3 | .include "../../net/freeradius/Makefile.module" | |
5 | 4 | |||
6 | PKGNAME= ${DISTNAME:S/-server/-rest/} | 5 | PKGNAME= ${DISTNAME:S/-server/-rest/} | |
7 | COMMENT= Free RADIUS rlm_rest module | 6 | COMMENT= Free RADIUS rlm_rest module | |
8 | 7 | |||
9 | CONFIGURE_ARGS+= --with-rlm_rest | 8 | CONFIGURE_ARGS+= --with-rlm_rest | |
10 | CONFIGURE_ARGS+= --without-rlm_yubikey | 9 | CONFIGURE_ARGS+= --without-rlm_yubikey | |
11 | 10 | |||
12 | do-install: | 11 | do-install: | |
13 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_rest.${SOEXT} \ | 12 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_rest.${SOEXT} \ | |
14 | ${DESTDIR}${PREFIX}/lib | 13 | ${DESTDIR}${PREFIX}/lib | |
15 | 14 | |||
16 | .include "../../textproc/json-c/buildlink3.mk" | 15 | .include "../../textproc/json-c/buildlink3.mk" |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2023/04/19 08:11:04 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2023/06/17 18:19:06 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../net/freeradius/Makefile.module" | 3 | .include "../../net/freeradius/Makefile.module" | |
5 | 4 | |||
6 | PKGNAME= ${DISTNAME:S/-server/-sqlite3/} | 5 | PKGNAME= ${DISTNAME:S/-server/-sqlite3/} | |
7 | COMMENT= Free RADIUS SQLite support | 6 | COMMENT= Free RADIUS SQLite support | |
8 | 7 | |||
9 | CONFIGURE_ARGS+= --with-rlm_sql_iodbc | 8 | CONFIGURE_ARGS+= --with-rlm_sql_iodbc | |
10 | CONFIGURE_ARGS+= --without-rlm_ldap | 9 | CONFIGURE_ARGS+= --without-rlm_ldap | |
11 | CONFIGURE_ARGS+= --without-rlm_yubikey | 10 | CONFIGURE_ARGS+= --without-rlm_yubikey | |
12 | 11 | |||
13 | do-install: | 12 | do-install: | |
14 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_sqlite.${SOEXT} \ | 13 | ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_sql_sqlite.${SOEXT} \ | |
15 | ${DESTDIR}${PREFIX}/lib | 14 | ${DESTDIR}${PREFIX}/lib | |
16 | 15 |
$NetBSD: patch-configure,v 1.1 2023/06/17 18:19:06 adam Exp $
Portable test syntax
--- configure.orig 2023-05-26 13:56:52.000000000 +0000
+++ configure
@@ -12066,7 +12066,49 @@ printf "%s\n" "no" >&6; }
eval "ac_cv_type_${ac_safe_type}_has_ipi_addr="
fi
-if test "x$ac_cv_type_struct_in_pktinfo_has_ipi_addr" = "xyes"; then
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ipi_spec_dst in struct in_pktinfo" >&5
+$as_echo_n "checking for ipi_spec_dst in struct in_pktinfo... " >&6; }
+
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <netinet/in.h>
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
+#ifndef offsetof
+#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
+#endif
+
+int
+main ()
+{
+ int foo = offsetof(struct in_pktinfo, ipi_spec_dst)
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ has_element=" "
+else
+ has_element=
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_safe_type=`echo "struct in_pktinfo" | sed 'y% %_%'`
+ if test "x$has_element" != "x"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ eval "ac_cv_type_${ac_safe_type}_has_ipi_spec_dst=yes"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ eval "ac_cv_type_${ac_safe_type}_has_ipi_spec_dst="
+ fi
+
+if test "$ac_cv_type_struct_in_pktinfo_has_ipi_addr" = "yes" && test "$ac_cv_type_struct_in_pktinfo_has_ipi_spec_dst" = "yes"; then
printf "%s\n" "#define HAVE_IP_PKTINFO /**/" >>confdefs.h