Subject: CVS commit: pkgsrc/net/netatalk4
From: Hauke Fath
Date: 2025-05-05 15:57:00
Message id: 20250505135700.B4507FBE3@cvs.NetBSD.org

Log Message:
Update net/netatalk4 to v4.2.2

From upstream's changelog:

Netatalk 4.2.2
    docs: Format man page code blocks without backticks by @rdmark in #2114
    GitHub CI: Use secret context for secure AFP test password handling by \ 
@rdmark in #2115
    docs: Touch up afp.conf man page description of cnid schemes by @rdmark in #2118
    libatalk: Create MySQL CNID database automatically if needed by @rdmark in #2119
    testsuite: Skip tests not compatible with the mysql backend by @rdmark in #2120
    docker: Support for the mysql CNID backend in container by @rdmark in #2117
    GitHub CI: Run the spectest against the production netatalk container by \ 
@rdmark in #2124
    docker: Introduce an AFP_EXTMAP option to enable extension mapping by \ 
@rdmark in #2125
    docker: Introduce AFP_EXCLUDE_TESTS flag for triggering test exclusion by \ 
@rdmark in #2126
    webmin: Support the editing of extmap.conf by @rdmark in #2129
    webmin: Correct handling of volume and volume preset names by @rdmark in #2130
    webmin: Treat uams_randnum.so as a standard UAM by @rdmark in #2131
    docker: Containerized netatalk webmin module by @rdmark in #2132
    meson: Use pandoc to generate documentation when available by @rdmark in #2127
    docker: Introduce DISABLE_SPOTLIGHT flag for turning off indexing by @rdmark \ 
in #2128
    webmin: Option for hiding service controls by @rdmark in #2133
    meson: Make it possible to generate the html manual with plain cmark by \ 
@rdmark in #2134
    meson: Properly build the localized html manual by @rdmark in #2136
    Rewrite the make Compilation readme script in Perl by @rdmark in #2137
    docs: Cleaner markdown sources with contents moved around by @rdmark in #2138
    libatalk: Tweak NULL check logic to appease gcc 13.3 on Ubuntu by @rdmark in \ 
#2139

Netatalk 4.2.1

    Update SECURITY.md with minor version policy by @rdmark in #2066
    Update afp.conf examples with new volume name scheme by @rdmark in #2067
    docs: Reflect accurate authorship of the Japanese localization by @rdmark in \ 
#2068
    Remove iniparser's dictionary.h header by @rdmark in #2069
    meson: Introduce option for controlling state dir creation by @rdmark in #2070
    meson: Option for controlling CUPS libdir path prefix and pap backend by \ 
@rdmark in #2071
    meson: Generate Unicode lookup table sources before using them by @rdmark in \ 
#2072
    webmin: Print volume name as well as section name in volumes list by @rdmark \ 
in #2073
    webmin: Sort lists of index page items in alphabetical order by @rdmark in #2074
    webmin: Consistently return to the correct index tab from other actions by \ 
@rdmark in #2075
    docker: Tweak startup messages for DDP services by @rdmark in #2076
    bstring: Rename bgetsa function to bgetstreama by @rdmark in #2079
    docs: Join chapters and appendices in website manual sidebar by @rdmark in #2080
    Restore the author\u2019s email address in pap shell script by @rdmark in #2081
    docs: Append man page chapter to man page html file name by @rdmark in #2082
    Consistently credit two authors with email address by @rdmark in #2083
    Create bstring README with redistribution notes and full credits by @rdmark \ 
in #2077
    docs: Improve grammar and layout in signature and UUID man pages by @rdmark \ 
in #2084
    GitHub CI: FreeBSD has migrated from tracker to localsearch by @rdmark in #2086
    Handle DSIWrite() bug in ASC 3.7.x by @NJRoadfan in #2085
    testsuite: Fix test399() to work with AFP3.4 by @NJRoadfan in #2090
    GitHub CI: Always use latest vmactions runners by @rdmark in #2091
    Fix extension mapping on macOS hosts by @NJRoadfan in #2092
    testsuite: Use common pattern for validating error code in test432 by \ 
@rdmark in #2093
    GitHub CI: Actually use Debian Dockerfile for Debian test container by \ 
@rdmark in #2094
    testsuite: Print a summary of skipped tests at end of spectest run by \ 
@rdmark in #2095
    testsuite: Run test221 with AFP 3.1 or later by @rdmark in #2096
    testsuite: Use matching return value types for DSI status codes by @rdmark \ 
in #2098
    docs: Major additions to the afptest man page by @rdmark in #2100
    meson: Do not install the pap CUPS backend by default by @rdmark in #2101
    Fall back to no EA rather than AD when the EA support check fails by @rdmark \ 
in #2103
    testsuite: Break out separate FPGetExtAttr test module by @rdmark in #2104
    docs: Transition Compilation from manual chapter to readme by @rdmark in #2106
    GitHub CI: Build the testsuite on all OSes by @rdmark in #2108
    docs: Reduce overlap between install chapter and install readme by @rdmark \ 
in #2107
    GitHub CI: Build on FreeBSD with the latest mysql91-client by @rdmark in #2110
    testsuite: Print usage helptext when running test binaries without params by \ 
@rdmark in #2111
    libatalk: Restore cnid mysql pw option that had fallen off by @rdmark in #2112

Netatalk 4.2.0
    Convert documentation from XML to Markdown by @rdmark in #1905
    docs: Touch up documentation for web publishing by @rdmark in #1917
    docs: Add notes on the po4a dependency to the documentation by @rdmark in #1918
    docs: Use correct Markdown hyperlinks in manual by @rdmark in #1920
    docs: Correct misspelling of uams_cleartxt.so by @rdmark in #1922
    docs: Touch up text styling of manual pages by @rdmark in #1924
    Avoid compiler complaints re: getpwnam() argument being NULL by @sqrmax in #1926
    Remove traces of unsupported LDAP SASL auth by @rdmark in #1925
    meson: Introduce with-unicode-data option to build case tables by @rdmark in \ 
#1928
    Bundle Thomas Kaiser's pap backend for CUPS by @rdmark in #1930
    libatalk: Use getaddrinfo() instead of deprecated gethostbyname() by @rdmark \ 
in #1934
    uams: Check account validity after calling pam_authenticate() by @rdmark in #1935
    uams: Validate PAM account after root auth in DHX2 UAM by @rdmark in #1937
    Avoid TOCTOU conditions by @rdmark in #1936
    meson: Refactor root includes list by @rdmark in #1939
    meson: Clean up obsolete header and function checks by @rdmark in #1947
    docker: Remove dependence on bash in entry script by @rdmark in #1941
    Link with shared iniparser library by @rdmark in #1948
    GitHub CI: Build without Spotlight support on macOS by @rdmark in #1949
    GitHub CI: SonarQube static analysis in own workflow, using v4 action by \ 
@rdmark in #1950
    Fix pointer declaration so it is a const by @sqrmax in #1951
    Improved logging for the case where charset conversion fails by @sqrmax in #1952
    meson: Detect cracklib library and dictionary on macOS / Homebrew by @rdmark \ 
in #1953
    Memory and thread safety in afpd and libatalk by @rdmark in #1954
    libatalk: Plug another two potential memory leaks by @rdmark in #1955
    libatalk: Plug yet another potential memory leak by @rdmark in #1956
    Avoid TOCTOU race conditions in libatalk code by @rdmark in #1938
    Make testsuite AppleDouble v2 compatible, and run it in CI by @rdmark in #1958
    libatalk: Use file descriptors and exclusive access to avoid TOCTOU \ 
conditions by @rdmark in #1957
    libatalk: Refactor vfs write_ea() to write directly without temp file by \ 
@rdmark in #1962
    libatalk: Refactor vfs ea_open() to avoid TOCTOU race condition by @rdmark \ 
in #1964
    libatalk: Refactor vfs write_ea() to avoid TOCTOU race condition (take 2) by \ 
@rdmark in #1965
    Fix high severity memory safety bugs by @rdmark in #1966
    Config file handling compatible with upstream iniparser by @rdmark in #1968
    docs: Create a more navigation friendly local html manual by @rdmark in #1969
    docs: Correct description of hostname option in afp.conf by @rdmark in #1970
    libatalk: Introduce standardized interface for iniparser by @rdmark in #1973
    Introduce 'server name' Global option in afp.conf by @rdmark in #1974
    docs: Elaborate on the relationship between cnid server and cnid listen by \ 
@rdmark in #1975
    Rename option to 'volume name' rather than the ambiguous 'name' by @rdmark \ 
in #1976
    afpd: Use servername for ASP connections with hostname fallback by @rdmark \ 
in #1978
    docker: New and improved env variable options by @rdmark in #1977
    docker: Introduce env variable flag for enabling debug mode in entry script \ 
by @rdmark in #1979
    docker: Recommended naming pattern of the testsuite Dockerfile by @rdmark in \ 
#1980
    docker: Introduce dropbox mode option for guest access by @rdmark in #1981
    Control metadata settings with 'ea' solely, removing 'appledouble' option by \ 
@rdmark in #1983
    meson: Disable quota on NetBSD while addressing GitHub #1225 by @rdmark in #1986
    webmin: Support for recently modified afp.conf options by @rdmark in #1984
    bstrlib: Protect against buffer overflow, null pointer dereference by \ 
@rdmark in #1987
    Remove standards.h with macros that are defined by the build system now by \ 
@rdmark in #1988
    Protect against memory leaks and out of bounds array access by @rdmark in #1989
    docs: Install macipgw.conf.5 man page only with appletalk by @rdmark in #1991
    atalkd: Bring back freeing of allocated memory into rtmp_delzonemap loop by \ 
@rdmark in #1992
    Plug a number of potential memory leaks in optarg and error handling by \ 
@rdmark in #1993
    Avoid a handful of potential memory leaks by @rdmark in #1994
    cnid_dbd: Use file descriptors for managing access in scanvol check dir by \ 
@rdmark in #1995
    Safer memory handling and afpd and the ftw library by @rdmark in #1996
    Update asip-status.in license grant and copyright year by @rdmark in #1998
    afpd: Refactor FCE file skip logic, make comma the standard delineator by \ 
@rdmark in #1997
    afpd: Additional buffer length sanity checks in appl.c by @rdmark in #2001
    afpd: Use explicitly sized buffer for desktop file with appl data by @rdmark \ 
in #2003
    afpd: In enumerate module, more precise check for buffer space by @rdmark in \ 
#2004
    libatalk: Double check before freeing memory, reverting previous fix for ftw \ 
by @rdmark in #2005
    afpd: Use MAXPATHLEN macro to manage limits in enumerate_loop by @rdmark in #2007
    libatalk: Bail out early when actsize is 0 in ftw library by @rdmark in #2008
    libatalk: In the ftw library, use manual memory allocation instead of \ 
realloc() by @rdmark in #2009
    libatalk: atalk/util.h is needed for MIN/MAX macros on Solaris by @rdmark in \ 
#2010
    Remove MIN/MAX macros that are already defined centrally by @rdmark in #2011
    libatalk: Protect against very large entry sizes in ftw dirstream by @rdmark \ 
in #2012
    libatalk: Use standard early OSX UTF8 filename length limit in ftw by \ 
@rdmark in #2013
    Update uams_guest.c with accurate copyright header by @rdmark in #1999
    Protect against null pointer dereference; use correct return values; \ 
division by zero by @rdmark in #2014
    Thoroughly initialize variables to avoid accessing garbage data by @rdmark \ 
in #2015
    Address a last handful of accessing garbage values by @rdmark in #2016
    Initialize the last few variables that were once flagged as: uninitialized \ 
ok by @rdmark in #2017
    Eliminate obsoleted NO_REAL_USER_NAME capability flag macro by @rdmark in #2018
    docs: Clean up markdown indentation in manual and man pages by @rdmark in #2020
    docs: Rearrange sections on the afp.conf man page for better organization by \ 
@rdmark in #2021
    Update afp_util.c with named copyright holder by @rdmark in #2022
    Update email address for contributor Joe Clarke by @rdmark in #2023
    afpd: Register FCE file creation event when copying files by @rdmark in #2027
    libatalk: Undefine _FORTIFY_SOURCE macro only when defined by @rdmark in #2028
    GitHub CI: Build on DragonflyBSD without krb5 by @rdmark in #2030
    Remove remnants of nested afp.conf ini file inclusion by @rdmark in #2029
    libatalk: Secure global temp dir handling in libatalk util module by @rdmark \ 
in #2031
    Always use at functions of the standard C library by @rdmark in #2034
    meson: Clean up a multitude of obsoleted compatibility macros by @rdmark in #2035
    meson: Cross-platform crypt library detection; always use shadow when \ 
available by @rdmark in #2036
    GitHub CI: Don't build with PAM on OpenBSD by @rdmark in #2042
    afpd: Use getpwnam_shadow() for basic auth on OpenBSD by @rdmark in #2040
    libatalk: IPv6 sockets only accept IPv6 connections on OpenBSD by @rdmark in \ 
#2039
    uams: Return properly when ClearTxt shadow password has expired by @rdmark \ 
in #2041
    libatalk: Use unspecified network stack by default on OpenBSD by @rdmark in #2044
    afpd: Simplify getpwnam_shadow() compatibility code by @rdmark in #2045
    uams: Support for OpenBSD flavor crypt_checkpass() for password validation \ 
by @rdmark in #2037
    [webmin] Add RandNum UAM option to Global config. by @NJRoadfan in #2047
    Use BSD extension strlcpy/strlcat/snprintf to manage buffer size by @rdmark \ 
in #2048
    getzones: do not attempt to bind to the address we're also going to send \ 
packets to by @cheesestraws in #2051
    meson: Remove legacy IRIX XFS extended attributes API by @rdmark in #2052
    Consolidate redundant code and headers in testsuite by @rdmark in #2053
    Handle errors in f|chdir() and remove unused daemonize() params by @rdmark \ 
in #2054
    Remove redundant parentheses from return statements by @rdmark in #2055
    getiface.c: fix headers order for Apple by @barracuda156 in #2056
    Remove redundant parentheses in function calls and if statements by @rdmark \ 
in #2057
    Fix ad cp loss of FinderInfo by @NJRoadfan in #2058
    Apply additional hardening to the Netatalk Metadata EA handling by \ 
@NJRoadfan in #2059
    Fix for CNID error with ad mv utility by @NJRoadfan in #2060
    GitHub CI: Bump vmactions runner to FreeBSD 13.5 by @rdmark in #2062
    docker: Introduce test container that runs Debian Trixie by @rdmark in #2061
    Improve and harden the FCE listener app by @rdmark in #2063
    meson: Standardize lists of features as bar separated lower-case words by \ 
@rdmark in #2064
    testsuite: Print a list of failed tests at the end of a test run by @rdmark \ 
in #2065

Files:
RevisionActionfile
1.17modifypkgsrc/net/netatalk4/Makefile
1.4modifypkgsrc/net/netatalk4/PLIST
1.8modifypkgsrc/net/netatalk4/distinfo
1.3modifypkgsrc/net/netatalk4/patches/patch-config_meson.build
1.6modifypkgsrc/net/netatalk4/patches/patch-meson.build