From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bQgYc5kkrz336m for ; Mon, 23 Jun 2025 08:03:00 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bQgYY28d3z2y9H for ; Mon, 23 Jun 2025 08:02:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4bQgY63vrwzrD; Mon, 23 Jun 2025 08:02:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1750665761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=B7paWffygJSW0zd3J8eSdk04jNtBbmNNGfvFY60bh5k=; b=Ly6IFyTyt7yq6ZIseZGjKUzzXtpCpepLvdwXDqclYr6YhrTfCVTUVX/x/GodszNNZk4Dez kNbhI4EbXzprvnAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1750665761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=B7paWffygJSW0zd3J8eSdk04jNtBbmNNGfvFY60bh5k=; b=ojxzOLdIl4Av1ErheS6uJ/fuYa27U5AHqQAy5jUG/GMTt0DWsEufLfYrmPBiUqRydkG+Q1 R/0QTk4NECM1OCYYDuHlcIYPwXYvG9jsBXWmuv29pK7pIGPtGAov6CsdrKN39GhOhNGM2Q 28S91V/dZlCH+Er0lV+jXIon0HyawI40a0rOJYTCSkjAxC1OoursrdySgHWwqRwvKO8esm 8UH+f3EYKY6x25v+TAfATZXotER0649cmcOdMfqFm40RP777rfVPXBeid1Mq1QpMc4zzYc dK2S0Olkw66fwI4vvU1YVhrCbx0JFQ160NoI3YDrKgN5Ks5QaHzCmfdH+AcclQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] netatalk: Update to version 4.2.4 Date: Mon, 23 Jun 2025 10:02:30 +0200 Message-ID: <20250623080231.3484-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - Update from version 3.2.8 to 4.2.4 - Patch for removal of prefix for sysconfdir and localstatedir has been removed as there is an alternative way to define the required paths using meson options. - The -Dwith-embedded-ssl option is no longer needed as the embedded WolfSSL has been removed from netatalk - Update of rootfile - netatalk now requires the iniparser package as their own hacked version has been removed. So iniparser has been added in another patch in this patch set. - Changelog 4.2.4 * FIX: uams: Check for const pam_message member of pam_conv, GitHub #2196 Makes it possible to build on Solaris 11.4.81 CBE * FIX: meson: Avoid build error in incomplete Homebrew env, GitHub #2190 * UPD: meson: Build with Homebrew libraries is now opt-in, GitHub #2194 To opt in to build against Homebrew, use -Dwith-homebrew=true * UPD: docs: Improve afpd and macipgw man pages, GitHub #2155 4.2.3 * FIX: Properly read from afp.conf file passed with -F parameter, GitHub #2150 * FIX: Read the appletalk option only when built with DDP, GitHub #2149 * UPD: Consistently return exit code 0 after daemon version info, GitHub #2151 * UPD: libatalk: MySQL query error log level is dropped to debug, GitHub #2143 * UPD: initscripts: Improvements to netatalk OpenRC init script, GitHub #2148 * FIX: meson: enhance iconv detection when cross compiling, GitHub #1921 * UPD: docs: Cross-platform friendly docs for CNID statedir, GitHub #2146 4.2.2 * NEW: cnid: Create MySQL database automatically if needed, GitHub #2119 * UPD: meson: Use pandoc to build documentation when available, GitHub #2127 * UPD: meson: Generate the html manual with plain cmark, GitHub #2134 * NEW: docker: Support for the mysql CNID backend in container, GitHub #2116 * NEW: docker: Containerized netatalk webmin module, GitHub #1463 * NEW: docker: Introduce option to enable extension mapping, GitHub #2125 * NEW: docker: Introduce option for disabling Spotlight, GitHub #2128 * NEW: webmin: UI for editing of the extmap.conf file, GitHub #2129 * NEW: webmin: Introduce option for hiding service controls, GitHub #2133 * FIX: webmin: Correct handling of volume and preset names, GitHub #2130 * FIX: webmin: Treat uams_randnum.so as a standard UAM, GitHub #2131 * FIX: docs: More portable man page markdown source syntax, GitHub #2114 * FIX: docs: Properly build the localized html manual, GitHub #2136 * FIX: docs: Overhauled markdown styles of whole manual, GitHub #2138 4.2.1 * NEW: meson: Introduce option to control state dir creation, GitHub #2070 Introduces the with-statedir-creation boolean option, true by default * NEW: meson: Option for controlling CUPS backend installation, GitHub #2071 Introduces with-cups-pap-backend (boolean, default false) and with-cups-libdir-path (string) * FIX: meson: Generate Unicode lookup table sources before use, GitHub #2072 * FIX: libatalk: Work around DSIWrite() bug in AppleShare Client 3.7.x, GitHub #2085 * FIX: libatalk: Restore cnid mysql pw option that had fallen off which makes the mysql backend usable again, GitHub #2112 * FIX: afpd: Don't lose extension mapping on macOS hosts, GitHub #2092 * FIX: afpd: Fall back to ea = none rather than ea = ad when the filesystem EA support check fails, GitHub #2103 * UPD: webmin: Print volume name + section name in volumes list, GitHub #2073 * FIX: webmin: Sort lists of index page items in alphabetical order, GitHub #2074 * FIX: webmin: Return to the correct index tab from other actions, GitHub #2075 * UPD: testsuite: Print a detailed test summary after spectest run, GitHub #2095 * UPD: testsuite: Break out separate FPGetExtAttr test module, GitHub #2104 * UPD: testsuite: Print usage helptext when running test binaries without params, GitHub #2111 * UPD: docs: Major additions to the afptest man page, GitHub #2100 * NEW: docs: bstring README with redistribution notes and LICENSE, GitHub #2077 * FIX: docs: Improve verbiage in signature and UUID man pages, GitHub #2084 * UPD: docs: Transition Compilation from manual chapter to readme, GitHub #2106 * UPD: docs: Reduce overlap between install chapter and install readme, GitHub #2107 4.2.0 * NEW: Link with shared iniparser library instead of vendored one, GitHub #1948 - Makes iniparser a mandatory dependency - Our own hacked iniparser is now removed, which has a few side effects - Volume section names are now case insensitive, forced to lower case - The include directive is no longer supported (for now) * NEW: afpd: Introduce apf.conf 'volume name' Volume option, GitHub #1976 * NEW: afpd: Introduce 'server name' Global option in afp.conf, GitHub #1974 * NEW: docs: Convert documentation from XML to Markdown format, introducing cmark dependency instead of docbook-xsl, GitHub #1905 * NEW: docs: Generate local html manual with only core pages, GitHub #1969 * NEW: docker: Introduce dropbox mode option for guest access, GitHub #1981 * NEW: docker: New and improved env variable options including debug mode, GitHub #1977, #1979 * UPD: Control metadata settings with 'ea' solely, removing 'appledouble' option, GitHub #1983 * UPD: afpd: Use servername for ASP connections with hostname fallback, GitHub #1978 * UPD: afpd: Refactor FCE file skip logic, make comma the standard delineator, GitHub #1997 * UPD: libatalk: Use getaddrinfo() instead of deprecated gethostbyname(), GitHub #1934 * UPD: meson: Introduce with-unicode-data option to build case tables, GitHub #1928 * UPD: meson: Clean up obsoleted compatibility macros, GitHub #2035 * UPD: meson: Cross-platform crypt library detection, GitHub #2036 * UPD: Improve and harden the FCE listener app, rename it to fce_listen and install with Meson, GitHub #2063 * FIX: afpd: Register FCE file creation event when copying files, GitHub #2027 * FIX: afpd: Use getpwnam_shadow() for basic auth on OpenBSD, GitHub #2040 * FIX: libatalk: Use unspecified network stack by default on OpenBSD, GitHub #2044 * FIX: uams: Support for OpenBSD flavor crypt_checkpass() for password validation, GitHub #2037 * FIX: Fix ad cp loss of FinderInfo, GitHub #2058 * FIX: Fix for CNID error with ad mv utility, GitHub #2060 * FIX: Apply additional hardening to the Netatalk Metadata EA handling, GitHub #2059 * FIX: Avoid TOCTOU race conditions in libatalk code, GitHub #1938, #1936 * FIX: Fix high severity memory safety bugs, GitHub #1966 * FIX: Protect against memory leaks and out of bounds array access, GitHub #1989 * FIX: bstrlib: Protect against buffer overflow, null pointer dereference, GitHub #1987 * FIX: libatalk: Refactor vfs write_ea() to avoid TOCTOU race condition, GitHub #1965 * FIX: libatalk: Refactor vfs ea_open() to avoid TOCTOU race condition, GitHub #1964 * FIX: uams: Check account validity after calling pam_authenticate(), GitHub #1935 * FIX: uams: Validate PAM account after root auth in DHX2 UAM, GitHub #1937 * FIX: uams: Return properly when ClearTxt shadow password has expired, GitHub #2041 * FIX: getzones: do not attempt to bind to the address we're also sending to, GitHub #2051 * FIX: libatalk: Improved logging when charset conversion fails, GitHub #1952 * FIX: webmin: Add RandNum UAM option to Global config, GitHub #2047 * REM: Remove traces of unsupported LDAP SASL auth, GitHub #1925 * REM: Remove standards.h with macros that are defined by the build system, GitHub #1988 * REM: Eliminate obsoleted NO_REAL_USER_NAME capability flag macro, GitHub #2018 * REM: meson: Remove legacy IRIX XFS extended attributes API, GitHub #2052 4.1.2 * UPD: meson: Look for shared Berkeley DB library in versioned subdir too, to detect the library in the MacPorts build system, GitHub #1909 * FIX: webmin: Redirect back to the originating module index tab when returning from actions, GitHub #1915 * FIX: webmin: Fix '-router' switch in Webmin atalkd module, GitHub #1943 * FIX: webmin: Fix a default value helptext string, GitHub #1946 * UPD: Add GPL v2 license grant to mysql CNID backend code, GitHub #1874 4.1.1 * NEW: meson: Introduce with-bdb-include-path override option, GitHub #1908 * FIX: meson: Restore prioritized Berkeley DB detection, GitHub #1877 Fixes a regression when building on Arch Linux. * FIX: meson: Detect file command dynamically for NixOS, GitHub #1907 * FIX: meson: Remove libquota check that breaks NetBSD, GitHub #1900 * FIX: docs: Consolidate redundant CNID and encoding info, GitHub #1880 * FIX: afpd: Log an error when directory has invalid did, GitHub #1893 * FIX: macipgw: Don't crash when config file is missing, GitHub #1891 * FIX: macipgw: Disable default options in macipgw.conf, GitHub #1876 * UPD: macipgw: Print usage notes for the -f option, GitHub #1898 * FIX: Prevent a number of illegal null pointer calls, GitHub #1894 4.1.0 * NEW: afpd: Add native metadata storage for macOS hosts, GitHub #1813 * FIX: afpd: Do not report old AFP versions when AppleTalk support is disabled, GitHub #1846 * REM: Remove 'start tracker' and 'start dbus' afp.conf options, GitHub #1848 * REM: Remove the running of AFP commands with root privileges, GitHub #1849 * FIX: libatalk: Loosen AppleDouble checks for macOS, GitHub #1829 * FIX: libatalk: Protect Netatalk metadata EA from tampering, GitHub #1855 * FIX: Refactor retreival of native FinderInfo EA on macOS hosts, GitHub #1858 * NEW: macipgw: Introduce a configuration file, GitHub #1852 * UPD: macipgw: Default port value for zip/ddp service, GitHub #1836 This should get the gateway working on musl systems (OpenWrt) * FIX: afppasswd: Safe password string handling, GitHub #1845 * NEW: meson: Introduce with-kerberos-path option for custom dependency path, which can be used for Heimdal compatibility, GitHub #1822 * UPD: meson: Define lockfiles through the Meson build system, GitHub #1850 Meson's with-lockfile-path now points to the lockfile root * UPD: meson: Detect lib paths within Homebrew build system, GitHub #1833 * FIX: meson: Correctly detect bundled iconv on OpenWrt, GitHub #1857 * UPD: meson: Link papd with cups only when cups is enabled, GitHub #1862 * UPD: initscripts: Disable fork safety workaround for macOS, GitHub #1810 * UPD: initscripts: Start in non-forking mode with launchd, GitHub #1859 * UPD: docs: Correct atalkd.conf documentation, GitHub #1818 * FIX: docs: Fixes for spelling and grammar, GitHub #1856 * UPD: docs: Clarify the behavior of the -d option for daemons, GitHub #1861 * NEW: testsuite: Introduce -X option for running on big-endian systems, specifically s309x, GitHub #1817 * FIX: testsuite: Cross-platform compatible file ID tests, GitHub #1826 * FIX: testsuite: Don't attempt unauthorized file renaming in Error tests, GitHub #1828 * FIX: testsuite: Clean up after execution of encoding test, GitHub #1832 * FIX: testsuite: Free memory after running tests, GitHub #1866 * FIX: testsuite: Improve memory management in lantest, GitHub #1868 * UPD: Rename apple_dump script to addump, GitHub #1811 * UPD: webmin: Restructure index page into three tabs, GitHub #1785 * UPD: docker: Bump base image to Alpine 3.21, GitHub #1842 4.0.8 * UPD: Set resource max limit to 10240 on macOS, GitHub #1793 Compatibility with older macOS hosts such as 10.15 Catalina. * UPD: meson: Allow building papd without CUPS, GitHub #1774 Activate the override with: -Dwith-cups=false * UPD: meson: Favor openldap when building on macOS, GitHub #1792 Avoids linking with macOS LDAP.Framework by default. * UPD: meson: Improved libquota detection on FreeBSD and NetBSD, GitHub #1805 * FIX: meson: DocBook detection stops at first hit, GitHub #1800 Detect xsl-stylesheets-nons with higher priority than xsl-stylesheets; -Dwith-docbook-path is now a hard override * UPD: docs: Clarify D-Bus and GLib dependencies in the Install chapter, GitHub #1798 GitHub #1799 * FIX: docs: Document that DocBook XSL has to be non-namespaced, GitHub #1800 * FIX: testsuite: Retry logic for final cleanup step in test358, GitHub #1795 4.0.7 * FIX: Remove bitrotted code in the bstring library, GitHub #1769 This was a regression between netatalk 3.2 and 4.0. * FIX: meson: Check for SunRPC function quota_open(), GitHub #1225 This should enable build with quota on *BSDs. * FIX: meson: *BSD compatible libwrap check, GitHub #1770 * NEW: meson: Add option with-manual=man_only which compiles and installs only troff pages, GitHub #1766 * NEW: meson: Option to specify path to perl runtime, GitHub #1776 * UPD: meson: Flip order of Berkeley DB version detection, GitHub #1771 A more recent version of dbd is now prioritized over older ones. * FIX: meson: Don't attempt to detect shadow passwords on *BSD and macOS, GitHub #1777 * FIX: meson: Configure dbus paths and config files only if dbus exists, GitHub #1773 * FIX: meson: Don't define spooldir when building without papd, GitHub #1786 * UPD: meson: Generate appendix XML sources via with-manual=www and allow custom manual install path with with-manual-install-path, GitHub #1781 (This is useful primarily for project maintainers.) * UPD: docs: Only compile and install appletalk documentation when with-appletalk=true, GitHub #1753 * UPD: docs: Overhaul of man page Synopsis sections, GitHub #1765 * UPD: docs: Refer to CONTRIBUTORS hosted on netatalk.io in man pages, GitHub #1767 4.0.6 * FIX: Workaround for bug in AppleShare Client 3.7.4, GitHub #1749 Only report support of AFP 2.2 and later to DSI (TCP) clients which shaves several bytes off the server response and lowers the chance of >512 byte FPGetSrvrInfo response. * UPD: All AppleTalk daemons now take -v to print version info, GitHub #1745 * FIX: `ad find' can take any kind of string, not just lowercase, GitHub #1751 * UPD: meson: Default to no init scripts if service management command not found, GitHub #1743 * FIX: Include config.h by relative path consistently (cleanup) GitHub #1746 * FIX: Remove duplicate header includes in MySQL CNID backend, GitHub #1748 * FIX: docs: Fix formatting of afppasswd man page, GitHub #1750 * FIX: webmin: Properly install netatalk-lib.pl, GitHub #1752 4.0.5 * UPD: Distribute pre-generated Unicode table sources, GitHub #1724 This reverts the previous change in v4.0.0 removing these sources. We retain the ability to regenerate them on the fly, if Unicode character database is found by the build system. Built with UnicodeData.txt version 16.0. This also removes hard Perl and Unicode dependencies. * NEW: afpd: Fallback to new DSI icon when no icon defined, GitHub #1729 * FIX: atalkd: Don't send NBP Reply packets from the loopback interface, addressing side effect in Linux kernel 6.9+ GitHub #1734 * FIX: docs: Strip out linebreak escapes in Compile appendix, GitHub #1733 * FIX: docs: Remove straggler afp_encodingtest.1 man page alias, GitHub #1728 * FIX: macipgw: On MACIP_ASSIGN, prepopulate the newly-assigned IP address into the arp cache to avoid warning on Linux, GitHub #1727 * NEW: macipgw: Add command-line option to drop root privileges after the server has been started, GitHub #1727 * FIX: macipgw: Fix argument handling in main() for aarch64 compatibility, GitHub #1735 * FIX: webmin: Revert default dir detection to address critical regression bug, GitHub #1736 * FIX: testsuite: Exit tests with the Exclude flag early, GitHub #1737 * FIX: testsuite: Longer sleep time after file operation in test358, GitHub #1739 * FIX: testsuite: Make Utf8 tests big-endian safe, GitHub #1740 4.0.4 * FIX: Fix loss of FinderInfo on resource fork creation with AppleDouble EA backend, GitHub #1702 * FIX: Remove remnants of obsoleted DEBUG compile time flag, GitHub #1696 - Fixes compile time error on MUSL systems when building with AppleTalk - When building debug builds, the EBUG flag is now activated - Print build type in the Meson summary * FIX: meson: Detect rresvport() function in system libraries, GitHub #1697 - Local rresvport() code was previoulsy behind a broken MUSL flag - Enables building with AppleTalk on OpenWrt * FIX: meson: Fix build fail with -Dwith-spotlight=false, GitHub #1715 * FIX: docker: Explicitly launch the cupsd daemon on startup, GitHub #1707 * NEW: docs: Create manual page for `afptest' (testsuite) tools, GitHub #1695 * UPD: docs: Bring CONTRIBUTORS up to date, GitHub #1722 * UPD: testsuite: Consolidate afp_ls as a command in afparg, GitHub #1705 - Add `FPEnumerate dir' as an afparg command - Remove `afp_ls' as a separate executable * UPD: testsuite: Merge encoding test into spectest, GitHub #1716 - Add `Encoding' as a testset in the spectest - Rewrite the `western' test to use Unicode for the same characters - Remove `afp_encodingtest' as a separate executable * UPD: testsuite: Collapse spectest into a single suite, GitHub #1713 The testsuite grouping have been removed, and all spectests are in a single suite. The tier 2 tests are enabled with the -c option. The sleep and readonly tests can be run with the -f option. * UPD: testsuite: Enable Color terminal output by default, and flip the -C option, GitHub #1708 * UPD: testsuite: Print a test summary for the spectest, GitHub #1708 * UPD: testsuite: Treat `Not Tested' as a failure again, GitHub #1709 * FIX: testsuite: Use AFPopenLogin() for FPopenLoginExt() as bug workaround to enable testing of AFP 3.x connections, GitHub #1709 * UPD: testsuite: Install test data for test431 into the datadir, GitHub #1712 * FIX: testsuite: Workarounds for MUSL system calls default permissions, which enables the testsuite to run on Alpine Linux, GitHub #1682 * UPD: testsuite: Break down login testsuite into atomic tests, GitHub #1717 * UPD: testsuite: Use AFP 3.4 by default (previously: AFP 2.1), GitHub #1718 * UPD: testsuite: Use the Exclude flag to skip test that require setup, previously used to skip known buggy tests, GitHub #1720 * FIX: testsuite: Improvements to test setup, cleanup, and early failure 4.0.3 * FIX: afpd: Limit FPGetSrvrInfo packet for AppleTalk clients, GitHub #1661 This prevents errors with very old clients when many AFP options are enabled. * FIX: Fix EOF error reporting in dsi_stream_read(), GitHub #1631 This should prevent warnings such as: `dsi_stream_read: len:0, unexpected EOF' * FIX: Fix regression when accessing the afpd UUID, GitHub #1679 Resolves an error when running the `ad' utilities. * FIX: meson: Fix indexer path detection on meson 1.6, GitHub #1672 * FIX: meson: Fix PAM config directory detection, GitHub #1678 * FIX: meson: Shore up Unicode char table script error handling and detection, GitHub #1692 * FIX: initscripts: Remove redundant nbpunrgstr cleanup in atalkd systemd config, GitHub #1660 * NEW: docker: Containerized testsuite, GitHub #1649 * UPD: docker: Register the conventional NBP entities when starting up, GitHub #1653 * UPD: docker: Remove file/dir perm settings that were causing problems * FIX: testsuite: Treat NOT TESTED spectest result as non-failure, GitHub #1663 * FIX: testsuite: Don't treat initial spectest.sh run as a failure, GitHub #1664 * UPD: testsuite: Reduce default log verbosity for better test reports, introducing two verbosity levels (-v, -V), GitHub #1665 * UPD: testsuite: Reposition the Exclude option (-x) to flag known failures with Netatalk 4.0 * UPD: testsuite: Install all test runners and utils, GitHub #1675 * FIX: testsuite: Link test executables with -rdynamic to allow sole test case runs with -f, GitHub #1690 * UPD: testsuite: Consolidate spectest into a single binary, GitHub #1693 4.0.2 * NEW: Bring back Classic Mac OS `legacy icon' option, GitHub #1622 * UPD: Spotlight: Support TinySPARQL/LocalSearch, GitHub #1078 * FIX: ad: Fix volume check for the AppleDouble toolsuite, GitHub #1605 Check was failing if the `ea = ad' option was set. * FIX: meson: Refactor Berkley DB detection for robustness, GitHub #1604 * UPD: meson: Add localstatedir override option, GitHub #1608 * UPD: meson: Make the print spool dir FHS compliant, GitHub #1608 * UPD: docs: Improve Upgrade chapter, GitHub #1609 * UPD: docker: Use multistage build to optimize image size, GitHub #1620 * FIX: afpd: Cleanup unused, broken AFP over ASP code #1612 * FIX: papd: Correct PAPStatus string copy buffer length, GitHub #1576 * UPD: Make last CNID backend writable when built for tests, GitHub #1623 This unblocks the integration tests that concern writing. * NEW: Bundle and improve the afptest test suite, GitHub #1633 Build with the new `-Dwith-testsuite' option. * FIX: webmin: Make AppleTalk service control functional, GitHub #1636 4.0.1 * UPD: Update license grant to reflect the retroactive rescission of U.C Berkeley clause 3, GitHub #1567 * FIX: meson: Don't always build AppleTalk utils with RPATH, GitHub #1568 * FIX: docs: Build the macipgw html manual page, GitHub #1569 * FIX: Explicitly import headers to appease gcc on Debian Sid, GitHub #1571 * UPD: docs: Install static redirect man pages for nbp tools, GitHub #1575 * FIX: meson: Missing xsltproc and docbook-xsl treated as non-fatal error, GitHub #1581 * UPD: docker: Build with optimizations, without debug symbols, GitHub #1584 * UPD: meson: In summary, list Webmin module under a new Add-ons section, GitHub #1586 * UPD: initscripts: Use launchctl bootstrap and enable directives for installing on macOS, GitHub #1583 * REM: Remove obsoleted netatalk-config script, GitHub #1587 * FIX: Change u_char data types to the portable uint8_t, GitHub #1590 * FIX: meson: Detect native Avahi before mDNS, GitHub #1591 * UPD: initscripts: Remove the redundant systemd Also directive, GitHub #1593 * UPD: docs: Flesh out the compile appendix and break down start steps, GitHub #1595 * FIX: Fix seg fault in ad set utility when not in a netatalk volume, GitHub #1597 * UPD: Update ad manual page to cover 'ad set' utility, GitHub #1599 4.0.0 * NEW: Reintroduce AppleTalk / DDP support, GitHub #220 Controlled with the new build system option `-Dwith-appletalk'. Revived daemons: atalkd, papd, timelord, a2boot Revived config files: atalkd.conf, papd.conf Revived utilities: aecho, getzones, nbplkup, nbprgstr, nbpunrgstr, pap, papstatus * NEW: Bundle macipgw, the MacIP Gateway daemon by Stefan Bethke, GitHub #1204 * UPD: uams: All encrypted UAMs depend on Libgcrypt now, GitHub #1488, #1506 This means we remove the bundled wolfSSL library. A big thanks to the wolfSSL team for all their support! * FIX: uams: Remove unhelpful Libgcrypt version check, GitHub #1550 * REM: Remove the obsoleted PGP UAM, GitHub #1507 * NEW: Bundle, configure and install the Webmin module, GitHub #518 Controlled with the new build system option `-Dwith-webmin'. * UPD: Migrate afpstats from dbus-glib to GDBus, GitHub #666 Special thanks to Simon McVittie for his help! * BREAKING: Remove canned troff man pages from distribution, GitHub #460 The build system now generates them on the fly. Introduces a build time dependency on DocBook XSL and xsltproc. * BREAKING: Remove generated Unicode conversion tables, GitHub #1220 Introduces a build time dependency on the UnicodeData.txt database. * UPD: Detect host OS home dir and configure afp.conf on the fly, GitHub #1274 * UPD: meson: Autodetect init style for host OS, #1124 * UPD: meson: Allow building with multiple init styles, GitHub #1291 * NEW: meson: Introduce `-Dwith-readmes' option for installing additional docs. GitHub #1310 * REM: Remove the Autotools build system. Meson is now the only choice. GitHub #1213 3.2.10 * BREAKING: Install netatalk-dbus.conf into datadir by default, GitHub #1533 Previously: sysconfdir. This can be overridden by the build system. * FIX: uams: Correct shadow password length check for ClearTxt, GitHub #1528 * FIX: cnid_dbd: Set explicit max length of db_params to prevent potential buffer overflow, GitHub #694 * FIX: meson: Debugging was enabled by default causing tickles to not be sent out, GitHub #1514 * FIX: meson: Format afpd help text output to match autotools, GitHub #1499 * FIX: meson: Throw missing cracklib dictionary warning, GitHub #1495 * FIX: meson: Use a valid code sample for the TCP Wrappers check, GitHub #1491 3.2.9 * UPD: Use the recommended command to import Solaris init manifest, GitHub #1451 * FIX: uams: Make sure the DHX2 client nonce is aligned appropriately, GitHub #1456 * FIX: uams: Fix DHCAST128 key alignment problem, GitHub #1464 * FIX: wolfssl: OpenSSL coexistence tweaks, GitHub #1469 * FIX: docs: Remove straggler path substitution in afp.conf, GitHub #1480 Signed-off-by: Adolf Belka --- config/rootfiles/packages/netatalk | 52 +++++++++---------- lfs/netatalk | 16 +++--- ...ix_from_sysconfdir_and_localstatedir.patch | 15 ------ 3 files changed, 31 insertions(+), 52 deletions(-) delete mode 100644 src/patches/netatalk-3.2.5_remove_prefix_from_sysconfdir_and_localstatedir.patch diff --git a/config/rootfiles/packages/netatalk b/config/rootfiles/packages/netatalk index d23b05390..23d980916 100644 --- a/config/rootfiles/packages/netatalk +++ b/config/rootfiles/packages/netatalk @@ -1,43 +1,47 @@ etc/afp.conf -#etc/dbus-1/system.d/netatalk-dbus.conf -etc/dbus-session.conf etc/extmap.conf etc/pam.d/netatalk etc/rc.d/init.d/netatalk usr/bin/ad +usr/bin/addump usr/bin/afpldaptest usr/bin/afppasswd usr/bin/afpstats -usr/bin/apple_dump usr/bin/asip-status usr/bin/dbd +usr/bin/fce_listen usr/bin/macusers -#usr/bin/netatalk-config #usr/include/atalk #usr/include/atalk/acl.h #usr/include/atalk/adouble.h +#usr/include/atalk/aep.h #usr/include/atalk/afp.h +#usr/include/atalk/asp.h +#usr/include/atalk/atp.h #usr/include/atalk/bstrlib.h #usr/include/atalk/cnid.h -#usr/include/atalk/dictionary.h +#usr/include/atalk/ddp.h #usr/include/atalk/ea.h #usr/include/atalk/globals.h #usr/include/atalk/hash.h -#usr/include/atalk/iniparser.h #usr/include/atalk/list.h #usr/include/atalk/logger.h +#usr/include/atalk/nbp.h #usr/include/atalk/netatalk_conf.h -#usr/include/atalk/paths.h -#usr/include/atalk/standards.h +#usr/include/atalk/netddp.h +#usr/include/atalk/pap.h +#usr/include/atalk/queue.h +#usr/include/atalk/rtmp.h #usr/include/atalk/uam.h #usr/include/atalk/unicode.h #usr/include/atalk/unix.h #usr/include/atalk/util.h #usr/include/atalk/vfs.h #usr/include/atalk/volume.h +#usr/include/atalk/zip.h #usr/lib/libatalk.so -usr/lib/libatalk.so.18 -usr/lib/libatalk.so.18.0.0 +usr/lib/libatalk.so.19 +usr/lib/libatalk.so.19.0.0 #usr/lib/netatalk #usr/lib/netatalk/uams_clrtxt.so usr/lib/netatalk/uams_dhx.so @@ -55,25 +59,17 @@ usr/sbin/afpd usr/sbin/cnid_dbd usr/sbin/cnid_metad usr/sbin/netatalk -#usr/share/man/man1/ad.1 -#usr/share/man/man1/afpldaptest.1 -#usr/share/man/man1/afppasswd.1 -#usr/share/man/man1/afpstats.1 -#usr/share/man/man1/apple_dump.1 -#usr/share/man/man1/asip-status.1 -#usr/share/man/man1/dbd.1 -#usr/share/man/man1/macusers.1 -#usr/share/man/man1/netatalk-config.1 -#usr/share/man/man5/afp.conf.5 -#usr/share/man/man5/afp_signature.conf.5 -#usr/share/man/man5/afp_voluuid.conf.5 -#usr/share/man/man5/extmap.conf.5 -#usr/share/man/man8/afpd.8 -#usr/share/man/man8/cnid_dbd.8 -#usr/share/man/man8/cnid_metad.8 -#usr/share/man/man8/netatalk.8 +#usr/share/dbus-1/system.d/netatalk-dbus.conf +#usr/share/doc/netatalk +#usr/share/doc/netatalk/COMPILATION.md +#usr/share/doc/netatalk/CONTRIBUTORS.md +#usr/share/doc/netatalk/DEVELOPER.md +#usr/share/doc/netatalk/DOCKER.md +#usr/share/doc/netatalk/INSTALL.md +#usr/share/doc/netatalk/NEWS.md +#usr/share/doc/netatalk/README.md +#usr/share/doc/netatalk/SECURITY.md var/ipfire/backup/addons/includes/netatalk var/state/netatalk #var/state/netatalk/CNID #var/state/netatalk/CNID/README -#var/state/netatalk/README diff --git a/lfs/netatalk b/lfs/netatalk index 00d804eaf..e0f9c4b4a 100644 --- a/lfs/netatalk +++ b/lfs/netatalk @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,7 +26,7 @@ include Config SUMMARY = AppleShare file server -VER = 3.2.8 +VER = 4.2.4 THISAPP = netatalk-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -34,9 +34,9 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = netatalk -PAK_VER = 10 +PAK_VER = 11 -DEPS = avahi dbus +DEPS = avahi dbus iniparser SERVICES = netatalk @@ -50,7 +50,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = fa7706a87d446c06fb94f20a17e0894c3c1ed6e8dcb75fd6232f049dc12fb57eb0587b433fa3ccc9be2ccb4d4969a893bb79c065729660142f68862e79f53eba +$(DL_FILE)_BLAKE2 = a59b1052947d6ff13dec4f3b2f37d7df38d8cbebba5c3daac9449bd90da920925c802e1658b1bbfae2deff866207819fcc4a7245ed59123afa10bac58703b473 install : $(TARGET) @@ -84,13 +84,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/netatalk-3.2.5_remove_prefix_from_sysconfdir_and_localstatedir.patch cd $(DIR_APP) && meson setup \ --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/state \ + -Dwith-pkgconfdir-path=/etc \ + -Dwith-statedir-path=/var/state \ -Dwith-pam-config-path=/etc/pam.d \ - -Dwith-embedded-ssl=false \ builddir/ cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) cd $(DIR_APP) && ninja -C builddir/ install diff --git a/src/patches/netatalk-3.2.5_remove_prefix_from_sysconfdir_and_localstatedir.patch b/src/patches/netatalk-3.2.5_remove_prefix_from_sysconfdir_and_localstatedir.patch deleted file mode 100644 index 51ce3d648..000000000 --- a/src/patches/netatalk-3.2.5_remove_prefix_from_sysconfdir_and_localstatedir.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- netatalk-3.2.5/meson.build.orig 2024-08-01 12:16:47.000000000 +0200 -+++ netatalk-3.2.5/meson.build 2024-08-08 16:07:31.337732788 +0200 -@@ -39,10 +39,10 @@ - datadir = prefix / get_option('datadir') - includedir = prefix / get_option('includedir') - libdir = prefix / get_option('libdir') --localstatedir = prefix / get_option('localstatedir') -+localstatedir = get_option('localstatedir') - mandir = prefix / get_option('mandir') - sbindir = prefix / get_option('sbindir') --sysconfdir = prefix / get_option('sysconfdir') -+sysconfdir = get_option('sysconfdir') - - pkgconfdir = get_option('with-pkgconfdir-path') - if pkgconfdir == '' -- 2.50.0