head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.6 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.4 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2025.08.12.18.22.55; author hauke; state Exp; branches; next 1.1; commitid ViFWbeNDPfEcat6G; 1.1 date 2024.12.16.15.40.54; author hauke; state Exp; branches; next ; commitid O0OQ6stnjbt9ZJBF; desc @@ 1.2 log @Update net/netatalk4 to v4.3 From upstream's changelog: The Netatalk team is proud to announce the first version in the Netatalk 4.3 release series. A major addition in this version is the inclusion of an experimental CNID backend that uses a SQLite database. We have also added a brand new CLI tool for AppleTalk network inspection, called rtmpqry. One major breaking change in this version is that we now rely on a shared Better String library (bstring). In previous versions we statically linked libatalk with a vendored version of bstring. Since bstring is not widely packaged (yet) we pull in the library as a Meson subproject when building. Berkeley DB is now effectively an optional dependency. It is possible to build netatalk without dbd support, and rely entirely on f.e. the mysql (or experimental sqlite) backend. Early adopters are encouraged to try out this new version. We are looking forward to getting feedback and bug reports from you! CNID backends sqlite This new CNID backend depends on a sqlite v3 library on the host system. Akin to the dbd backend, it requires no configuration or database administration. At the time of release, it has been tested in smaller deployments with a small number concurrent users. It is considered experimental, as it is presently unknown how it performs in a large deployment. mysql The mysql backend will now create a volume's CNID dir automatically on startup, which aligns behavior with the other backends. While the mysql backend doesn't need to store a database file in this directory, it also houses AFP metadata files for the volume. dbd Netatalk can now be built without the Database Daemon (dbd) CNID backend. When dbd support is not built into netatalk, it will no longer launch the cnid_metad or cnid_dbd support daemons either. AppleTalk tooling New and improved tools for AppleTalk network inspection and manipulation. The brand new rtmpqry CLI tool will query RTMP (Routing Table Maintenance Protocol) for routes and network metadata in an AppleTalk network. nbplkup has gotten a few new features, notably -s for script-friendly output, -D to specify DDP address, and -f | -l to select the NBP op to use. getzones is also improved, with a -c option to set Mac charset, -g to get current default Zone and valid network range, -z to validate Zone validity, and -q to list available Zones. Special thanks to @@cheesestraws (Rob Mitchelmore) for the new tool and improvements! Build system and dependencies bstring The bstring shared library and headers are required to build and run netatalk. This was previously a statically linked library inside libatalk, but the vendored code has been removed in this version. In the absence of a shared library, the Meson build system will compile and install bstring as a subproject. CNID backends A new Meson option of the array type has been introduced to select and build one or more of the available CNID backends. The default is to build all for which the dependencies are satisfied. -Dwith-cnid-backends=dbd,last,mysql,sqlite At the same time, the following obsolete options have been removed. -Dwith-cnid-dbd-backend -Dwith-cnid-last-backend -Dwith-cnid-mysql-backend LocalSearch / Tracker We now require v3 or later of LocalSearch or Tracker for Spotlight indexing. Support for v0.x - v2 has been dropped. Consequently, the following obsolete options have been removed. -Dwith-tracker-install-prefix -Dwith-tracker-prefix Containers The base image has been bumped from Alpine Linux v3.21 to v3.22 We no longer build support for ACLs and Spotlight in the Netatalk container. These features did not work properly in a containerized environment. With improvements, they may be enabled again in the future. Tests The afp_lantest test tool has been fleshed out with tests that thoroughly examines afpd cashing scenarios. Special thanks to @@andylemin for the contribution! The afp_speedtest test tool got a number of bugfixes and improvements. Notably, it is now possible to run batches of multiple tests in multiple iterations. At the same time, each of the test tools have gotten their own man page, while the monolithic afptest.1 man page has been removed. Code quality We have introduced coding standards and styleguides for C, Perl, POSIX shell, Meson, and Markdown. These standards are now automatically enforced in the CI pipeline by the respective beautifiers (astyle, perltidy, shfmt, muon, and markdownlint). A convenience wrapper script contrib/scripts/codefmt.sh has been added that can help you reformat the entire codebase on the fly. Code contributors no longer have to manually care about formatting, which saves time and makes diffs smaller. Also, a uniform code style makes the codebase easier to read and maintain overall. All of the shell scripts have been refactored to be POSIX compliant and run on the sh interpreter rather than bash. This removes bash as a dependency (for a slimmer container, for instance) and improves cross-platform compatibility. All of the Perl scripts (including the Webmin module code) have been refactored to pass the strict and warning pragmas. This prevents bugs and makes execution more reliable and memory safe. New Contributors @@dependabot[bot] made their first contribution in #2235 @@andylemin made their first contribution in #2322 @ text @$NetBSD: patch-config_pam_meson.build,v 1.1 2024/12/16 15:40:54 hauke Exp $ Leave installation of config files to pkgsrc framework --- config/pam/meson.build.orig 2025-08-12 18:02:56.730117401 +0000 +++ config/pam/meson.build @@@@ -3,9 +3,3 @@@@ netatalk_pamd = configure_file( output: 'netatalk', configuration: cdata, ) - -if (fs.exists(pam_confdir / 'netatalk') and not get_option('with-overwrite')) - message('will not replace existing', pam_confdir / 'netatalk') -else - install_data(netatalk_pamd, install_dir: pam_confdir) -endif @ 1.1 log @Do not let the Meson build system attempt to install config files. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- config/pam/meson.build.orig 2024-12-16 15:29:40.082881669 +0000 d7 1 a7 1 @@@@ -3,12 +3,3 @@@@ netatalk_pamd = configure_file( d12 1 a12 4 -if ( - fs.exists(pam_confdir / 'netatalk') - and not get_option('with-overwrite') -) @