head 1.3; access; symbols pkgsrc-2025Q1:1.2.0.10 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.8 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.6 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.4 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.2 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.1.0.6 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.4 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2025.05.05.13.18.54; author hauke; state dead; branches; next 1.2; commitid EkgNElRk8buvGITF; 1.2 date 2024.02.05.15.02.16; author hauke; state Exp; branches; next 1.1; commitid rV591Ugqsm9nRfXE; 1.1 date 2023.04.04.18.16.06; author bouyer; state Exp; branches; next ; commitid vTxsw6M1iQlnOOjE; desc @@ 1.3 log @Remove the outdated Netatalk 3.1.x and 2.3.x packages. They have been superseded by net/netatalk4, which includes substantial improvements, as well as re-integrating AppleTalk (ddp) support from Netatalk 2.x. @ text @$NetBSD: patch-configure,v 1.2 2024/02/05 15:02:16 hauke Exp $ apply changes from patch-macros_quota-check.m4 for NetBSD's quota --- configure.orig 2024-02-05 14:15:24.671242466 +0000 +++ configure @@@@ -17464,65 +17464,63 @@@@ then : QUOTA_LIBS="-lrpcsvc" fi - for ac_header in rpc/rpc.h rpc/pmap_prot.h rpcsvc/rquota.h -do : - as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes" + ac_fn_c_check_header_compile "$LINENO" "rpc/rpc.h" "ac_cv_header_rpc_rpc_h" "$ac_includes_default" +if test "x$ac_cv_header_rpc_rpc_h" = xyes then : - cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -else $as_nop - - QUOTA_LIBS="" - netatalk_cv_quotasupport="no" + printf "%s\n" "#define HAVE_RPC_RPC_H 1" >>confdefs.h -printf "%s\n" "#define NO_QUOTA_SUPPORT 1" >>confdefs.h +fi +ac_fn_c_check_header_compile "$LINENO" "rpc/pmap_prot.h" "ac_cv_header_rpc_pmap_prot_h" "$ac_includes_default" +if test "x$ac_cv_header_rpc_pmap_prot_h" = xyes +then : + printf "%s\n" "#define HAVE_RPC_PMAP_PROT_H 1" >>confdefs.h +fi +ac_fn_c_check_header_compile "$LINENO" "rpcsvc/rquota.h" "ac_cv_header_rpcsvc_rquota_h" "$ac_includes_default" +if test "x$ac_cv_header_rpcsvc_rquota_h" = xyes +then : + printf "%s\n" "#define HAVE_RPCSVC_RQUOTA_H 1" >>confdefs.h fi -done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getfsquota in -lquota" >&5 -printf %s "checking for getfsquota in -lquota... " >&6; } -if test ${ac_cv_lib_quota_getfsquota+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quota_open in -lquota" >&5 +printf %s "checking for quota_open in -lquota... " >&6; } +if test ${ac_cv_lib_quota_quota_open+y} then : printf %s "(cached) " >&6 else $as_nop ac_check_lib_save_LIBS=$LIBS -LIBS="-lquota -lprop -lrpcsvc $LIBS" +LIBS="-lquota -lrpcsvc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -char getfsquota (); +char quota_open (); int main (void) { -return getfsquota (); +return quota_open (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : - ac_cv_lib_quota_getfsquota=yes + ac_cv_lib_quota_quota_open=yes else $as_nop - ac_cv_lib_quota_getfsquota=no + ac_cv_lib_quota_quota_open=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quota_getfsquota" >&5 -printf "%s\n" "$ac_cv_lib_quota_getfsquota" >&6; } -if test "x$ac_cv_lib_quota_getfsquota" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quota_quota_open" >&5 +printf "%s\n" "$ac_cv_lib_quota_quota_open" >&6; } +if test "x$ac_cv_lib_quota_quota_open" = xyes then : - QUOTA_LIBS="-lquota -lprop -lrpcsvc" + QUOTA_LIBS="-lquota -lrpcsvc" printf "%s\n" "#define HAVE_LIBQUOTA 1" >>confdefs.h @ 1.2 log @Update net/netatalk3 to v3.1.18 Includes a patch for security issue CVE-2022-22995. What's Changed FIX: CVE-2022-22995: Harden create_appledesktop_folder(), GitHub #480 FIX: Correct syntax for libwrap check in tcp-wrappers.m4, GitHub #500 FIX: Correct syntax for libiconv check in iconv.m4, GitHub #491 FIX: quota is not supported on macOS, GitHub #492 FIX: dtrace is not supported on FreeBSD aarch64, GitHub #498 3.1.17 - What's Changed FIX: CVE-2023-42464: Validate data type in dalloc_value_for_key(), GitHub #486 FIX: Declare a variable before using it in a loop, which was throwing off the default compiler on RHEL7, GitHub #481 UPD: Distribute tarballs with xz compression by default, instead of gzip, GitHub #478 UPD: Add AUTHOR sections to all man pages with a reference to CONTRIBUTORS, and standardize headers and footers, GitHub #462 3.1.16 - What's Changed FIX: libatalk: Fix CVE-2022-23121, CVE-2022-23123 regression Added guard check before access ad_entry(), GitHub #357 Allow zero length entry, for AppleDouble specification, GitHub #368 Remove special handling for COMMENT entries, GitHub #236 The assertion for invalid entires is still enabled, so please report any future "Invalid metadata EA" errors! FIX: build system: Fix autoconf warnings and modernize bootstrap and configure.ac, GitHub #331 FIX: build system: Correct syntax in libevent search macro, summary macro and netatalk executable makefile, GitHub #342 FIX: build system: Fix native libiconv detection on macOS, GitHub #343 FIX: build system: Use non-interactive PAM session when available, GitHub #361 FIX: build system: Fix detection of Berkeley DB installed in multiarch location, GitHub #380 FIX: build system: Fix support for cross-compilation with mysql_config and dtrace, GitHub #384 FIX: build system: Support building quota against libtirpc, GitHub #385 FIX: build system: Fix variable substitution in configure summary, GitHub #443 UPD: build system: Remove ABI checks and the --enable-developer option, GitHub #262 FIX: initscript: Improvements to Debian SysV init script Source init-functions, GitHub #386 Add a Description and Short-Description, GitHub #428 FIX: docs: Clarify localstate dir configurability in manual, GitHub #401 UPD: docs: Make BerkeleyDB 5.3.x the recommended version, GitHub #8 FIX: docs: Update SourceForge URLs to fix CSS styles and download links FIX: docs: Remove obsoleted bug reporting sections, GitHub #455 FIX: Sundry typo fixes in user visible strings and docs, GitHub #381, GitHub #382 UPD: Rename asip-status.pl as asip-status to make naming implementation-agnostic, GitHub #379 UPD: Remove redundant uid.c|h files in etc/afpd UPD: Don't build and distribute deprecated cnid2_create tool, GitHub #412 UPD: Remove deprecated megatron code and man page, GitHub #456 UPD: Remove deprecated uniconv code and man page, GitHub #457 UPD: Improvements to the GitHub CI workflow @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2023/04/04 18:16:06 bouyer Exp $ @ 1.1 log @Sync NetBSD's quota support with current state: - apply patch-macros_quota-check.m4's changes to configure, so that it has a chance to enable quota support on NetBSD - etc/afpd/quota.c: update for new libquota after dholland's changes (back in 2012!) Bump PKGREVISION @ text @d1 2 a2 1 $NetBSD: $ d5 3 a7 3 --- configure.orig 2023-03-29 15:04:35.180307136 +0200 +++ configure 2023-03-29 15:04:40.662623659 +0200 @@@@ -16762,65 +16762,63 @@@@ d11 1 a11 1 - for ac_header in rpc/rpc.h rpc/pmap_prot.h rpcsvc/rquota.h d24 3 a28 3 - QUOTA_LIBS="" - netatalk_cv_quotasupport="no" - d45 1 a45 1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getfsquota in -lquota" >&5 @