head 1.35; access; symbols pkgsrc-2026Q1:1.33.0.2 pkgsrc-2026Q1-base:1.33 pkgsrc-2025Q4:1.27.0.2 pkgsrc-2025Q4-base:1.27 pkgsrc-2025Q3:1.25.0.2 pkgsrc-2025Q3-base:1.25 pkgsrc-2025Q2:1.21.0.2 pkgsrc-2025Q2-base:1.21 pkgsrc-2025Q1:1.13.0.2 pkgsrc-2025Q1-base:1.13 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7; locks; strict; comment @# @; 1.35 date 2026.05.14.16.41.48; author ryoon; state Exp; branches; next 1.34; commitid tKipFjQKzke3NNFG; 1.34 date 2026.05.01.19.35.46; author hauke; state Exp; branches; next 1.33; commitid qscz4OCfypGDa9EG; 1.33 date 2026.02.19.14.52.32; author hauke; state Exp; branches; next 1.32; commitid 5Z4wYyFXJbGWSZuG; 1.32 date 2026.02.06.10.05.36; author wiz; state Exp; branches; next 1.31; commitid MwQEYCXeWSFvIitG; 1.31 date 2026.01.12.23.25.00; author hauke; state Exp; branches; next 1.30; commitid XDLp8s8N2QmjX9qG; 1.30 date 2026.01.11.05.34.23; author wiz; state Exp; branches; next 1.29; commitid hDy3IKKwIfQZ3WpG; 1.29 date 2026.01.08.17.27.55; author hauke; state Exp; branches; next 1.28; commitid v2izxP06l63S5CpG; 1.28 date 2026.01.07.08.48.24; author wiz; state Exp; branches; next 1.27; commitid 1wQ3ICD8eebefrpG; 1.27 date 2025.11.15.15.21.42; author hauke; state Exp; branches; next 1.26; commitid IOWtodml34si7FiG; 1.26 date 2025.10.23.20.38.52; author wiz; state Exp; branches; next 1.25; commitid 1V2hBZn9ypXaCJfG; 1.25 date 2025.08.30.22.46.05; author wiz; state Exp; branches; next 1.24; commitid 2izPxU30rhec4O8G; 1.24 date 2025.08.13.09.03.26; author hauke; state Exp; branches; next 1.23; commitid 3VeZGEfZa9xE4y6G; 1.23 date 2025.08.12.18.22.55; author hauke; state Exp; branches; next 1.22; commitid ViFWbeNDPfEcat6G; 1.22 date 2025.07.05.12.30.16; author hauke; state Exp; branches; next 1.21; commitid lX9jiHciKDENsy1G; 1.21 date 2025.06.16.09.35.36; author hauke; state Exp; branches; next 1.20; commitid H6amFpzZaEIh76ZF; 1.20 date 2025.06.11.11.24.19; author hauke; state Exp; branches; next 1.19; commitid 8ADUIwXiUvN6SsYF; 1.19 date 2025.05.09.18.18.21; author hauke; state Exp; branches; next 1.18; commitid BdYe21aoP4vlegUF; 1.18 date 2025.05.09.18.16.21; author hauke; state Exp; branches; next 1.17; commitid DifCOuAKHhP8dgUF; 1.17 date 2025.05.05.13.57.00; author hauke; state Exp; branches; next 1.16; commitid C0egXqEyc6kSSITF; 1.16 date 2025.04.24.14.15.27; author wiz; state Exp; branches; next 1.15; commitid A3VBjL8Zdd4LljSF; 1.15 date 2025.04.19.07.58.13; author wiz; state Exp; branches; next 1.14; commitid 8J0gu7BGAw8XqDRF; 1.14 date 2025.04.17.21.52.00; author wiz; state Exp; branches; next 1.13; commitid xcIXAVA292fk6sRF; 1.13 date 2025.03.20.21.01.06; author hauke; state Exp; branches; next 1.12; commitid 1caAgFvveRgPJQNF; 1.12 date 2025.03.17.17.42.44; author hauke; state Exp; branches; next 1.11; commitid P5NhKj3mxWJGIrNF; 1.11 date 2025.03.12.09.54.41; author hauke; state Exp; branches; next 1.10; commitid EQ2tuoghqh33hLMF; 1.10 date 2025.01.25.10.28.05; author riastradh; state Exp; branches; next 1.9; commitid 1klwc5ZTsKLgYQGF; 1.9 date 2025.01.25.10.27.31; author riastradh; state Exp; branches; next 1.8; commitid U3LEF3nm5O95YQGF; 1.8 date 2025.01.12.16.13.10; author hauke; state Exp; branches; next 1.7; commitid 0T9Q2l5bE7VYhdFF; 1.7 date 2024.12.18.13.28.04; author hauke; state Exp; branches; next 1.6; commitid k6dCCLGzvtVUaZBF; 1.6 date 2024.12.18.10.58.03; author nros; state Exp; branches; next 1.5; commitid 9iEtRx5PxmShmYBF; 1.5 date 2024.12.16.17.34.45; author hauke; state Exp; branches; next 1.4; commitid 1lrDOsU4HtomCKBF; 1.4 date 2024.12.16.15.40.54; author hauke; state Exp; branches; next 1.3; commitid O0OQ6stnjbt9ZJBF; 1.3 date 2024.12.12.11.08.18; author hauke; state Exp; branches; next 1.2; commitid EN5QzgmFiXpLBcBF; 1.2 date 2024.12.12.08.25.34; author hauke; state Exp; branches; next 1.1; commitid IsFXuyypCBuBHbBF; 1.1 date 2024.11.21.15.26.08; author hauke; state Exp; branches; next ; commitid voZt3c31JY5JGwyF; desc @@ 1.35 log @*: Recursive revbump from security/nettle-4.0 @ text @# $NetBSD: Makefile,v 1.34 2026/05/01 19:35:46 hauke Exp $ GITHUB_PROJECT= netatalk GITHUB_TAG= refs/tags/${DISTNAME} DISTNAME= netatalk-${PKGVER:C/\./-/g} PKGNAME= ${DISTNAME:C/-[0-9].*$//}-${PKGVER} PKGREVISION= 1 PKGVER= 4.4.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=Netatalk/} MAINTAINER= hauke@@NetBSD.org HOMEPAGE= https://netatalk.io/ COMMENT= AFP file and AppleTalk print services LICENSE= gnu-gpl-v2 WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME} USE_TOOLS+= pkg-config perl TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt PKG_SYSCONFSUBDIR= netatalk BUILD_DEFS+= VARBASE EGDIR= share/examples/netatalk CONF_FILES+= ${EGDIR}/afp.conf ${PKG_SYSCONFDIR}/afp.conf CONF_FILES+= ${EGDIR}/extmap.conf ${PKG_SYSCONFDIR}/extmap.conf CONFLICTS= netatalk22-[0-9]* netatalk30-[0-9]* netatalk3-[0-9]* CONFLICTS+= netatalk-[0-9]* netatalk-asun-[0-9]* netatalk-umich-[0-9]* .include "../../mk/bsd.prefs.mk" RCD_SCRIPTS= netatalk RCD_SCRIPT_SRC.netatalk= ${WRKSRC}/output/distrib/initscripts/netatalk SMF_SRCDIR= ${WRKSRC}/distrib/initscripts SMF_METHODS= netatalk_smf SMF_MANIFEST= netatalk.xml .if ${OPSYS} == "NetBSD" # See PR lib/50485 MESON_ARGS+= -Dwith-dtrace=false .endif BDB_ACCEPTED= db4 db5 # Build script expects exactly major dot minor MESON_ARGS+= -Dwith-bdb-version=${BUILDLINK_ABI_DEPENDS.${BDB_TYPE}:C/^.*>=//:R} MESON_ARGS+= -Dwith-bdb-path=${BDBBASE} MESON_ARGS+= -Dwith-tcp-wrappers=true MESON_ARGS+= -Dwith-statedir-path=${VARBASE}/db MESON_ARGS+= -Dwith-init-hooks=false .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" MESON_BINARIES+= service MESON_BINARY.service= /usr/sbin/service .endif LDFLAGS.FreeBSD+= -lpthread # Meson will look for perl(1), but then substitute the buildlink path # into scripts, so replace manually SUBST_CLASSES+= perlpath SUBST_STAGE.perlpath= pre-configure SUBST_FILES.perlpath+= contrib/bin_utils/macusers.pl SUBST_FILES.perlpath+= contrib/bin_utils/afpstats.pl SUBST_FILES.perlpath+= contrib/bin_utils/addump.pl SUBST_FILES.perlpath+= contrib/bin_utils/asip-status.pl SUBST_SED.perlpath= -e 's|@@PERL@@|${PERL5}|g' # Keep Meson from installing rc.d files SUBST_CLASSES+= init SUBST_STAGE.init= pre-configure SUBST_FILES.init+= distrib/initscripts/meson.build SUBST_SED.init+= -E -e 's|(install): true|\1: false|g' SUBST_CLASSES+= varbase SUBST_STAGE.varbase= pre-configure SUBST_FILES.varbase+= meson.build SUBST_SED.varbase+= -e 's,/var/,${VARBASE}/,g' MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg OWN_DIRS+= ${VARBASE}/db/netatalk/CNID ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} PLIST_VARS+= ea .if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \ (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 070000) || \ ${OPSYS} == "FreeBSD" PLIST.ea= yes .endif # appletalk .for atbin in aecho getzones nbplkup nbprgstr nbpunrgstr pap papstatus rtmpqry PRINT_PLIST_AWK+= { gsub(/^bin\/${atbin}$$/, "$${PLIST.appletalk}&"); } .endfor .for atsbin in a2boot atalkd macipgw papd timelord PRINT_PLIST_AWK+= { gsub(/^sbin\/${atsbin}$$/, "$${PLIST.appletalk}&"); } .endfor .for athdr in aarp at at_var ddp ddp_var endian phase2 PRINT_PLIST_AWK+= { gsub(/^include\/netatalk\/${athdr}\.h$$/, "$${PLIST.appletalk}&"); } .endfor .for atman1 in aecho getzones nbp nbplkup nbprgstr nbpunrgstr pap rtmpqry PRINT_PLIST_AWK+= { gsub(/^man\/man1\/${atman1}\.1$$/, "$${PLIST.appletalk}&"); } .endfor .for atman5 in atalkd.conf papd.conf macipgw.conf PRINT_PLIST_AWK+= { gsub(/^man\/man5\/${atman5}\.5$$/, "$${PLIST.appletalk}&"); } .endfor .for atman8 in a2boot atalkd macipgw papd papstatus timelord PRINT_PLIST_AWK+= { gsub(/^man\/man8\/${atman8}\.8$$/, "$${PLIST.appletalk}&"); } .endfor PRINT_PLIST_AWK+= { gsub(/^share\/doc\/netatalk\/APPLETALK.txt$$/, "$${PLIST.appletalk}&"); } PRINT_PLIST_AWK+= { gsub(/^share\/examples\/netatalk\/(atalk|pap)d\.conf$$/, "$${PLIST.appletalk}&"); } # ea PRINT_PLIST_AWK+= { gsub(/^bin\/ad$$/, "$${PLIST.ea}&"); } # gssapi PRINT_PLIST_AWK+= { gsub(/^lib\/netatalk\/uams_gss\.so$$/, "$${PLIST.gssapi}&"); } # ldap PRINT_PLIST_AWK+= { gsub(/^share\/examples\/netatalk\/afp_ldap\.conf$$/, "$${PLIST.ldap}&"); } PRINT_PLIST_AWK+= { gsub(/^bin\/afpldaptest$$/, "$${PLIST.ldap}&"); } # pam PRINT_PLIST_AWK+= { gsub(/^lib\/netatalk\/uams_.*pam\.so$$/, "$${PLIST.pam}&"); } PRINT_PLIST_AWK+= { gsub(/^share\/examples\/netatalk\/netatalk\.pam$$/, "$${PLIST.pam}&"); } # spotlight PRINT_PLIST_AWK+= { gsub(/^share\/dbus-1\/netatalk-dbus\.conf$$/, "$${PLIST.spotlight}&"); } PRINT_PLIST_AWK+= { gsub(/^share\/examples\/netatalk\/dbus-session\.conf$$/, "$${PLIST.spotlight}&"); } .include "options.mk" INSTALLATION_DIRS+= ${EGDIR} post-configure: ${CP} ${FILESDIR}/netatalk_smf.sh ${SMF_SRCDIR} post-install: rm -rf ${DESTDIR}${PREFIX}/share/doc/netatalk/developer rm -rf ${DESTDIR}${PREFIX}/share/doc/netatalk/manual chmod -w ${DESTDIR}${PREFIX}/bin/afppasswd ${INSTALL_DATA} ${WRKSRC}/output/config/afp.conf \ ${DESTDIR}${PREFIX}/${EGDIR}/afp.conf ${INSTALL_DATA} ${WRKSRC}/config/extmap.conf \ ${DESTDIR}${PREFIX}/${EGDIR}/extmap.conf .if !empty(PKG_OPTIONS:Mappletalk) ${INSTALL_DATA} ${WRKSRC}/config/atalkd.conf \ ${DESTDIR}${PREFIX}/${EGDIR}/atalkd.conf ${INSTALL_DATA} ${WRKSRC}/config/papd.conf \ ${DESTDIR}${PREFIX}/${EGDIR}/papd.conf .endif .if !empty(PKG_OPTIONS:Mspotlight) ${INSTALL_DATA} ${WRKSRC}/output/config/dbus-session.conf \ ${DESTDIR}${PREFIX}/${EGDIR}/dbus-session.conf .endif .if !empty(PKG_OPTIONS:Mpam) ${INSTALL_DATA} ${WRKSRC}/output/config/pam/netatalk \ ${DESTDIR}${PREFIX}/${EGDIR}/netatalk.pam .endif .include "../../converters/libiconv/buildlink3.mk" .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/iniparser/buildlink3.mk" BUILDLINK_API_DEPENDS.libevent+= libevent>=2 .include "../../devel/libevent/buildlink3.mk" .include "../../devel/libbstring/buildlink3.mk" .include "../../security/cracklib/buildlink3.mk" .include "../../security/libgcrypt/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../security/tcp_wrappers/buildlink3.mk" .include "../../textproc/cmark-gfm/buildlink3.mk" .include "../../mk/bdb.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../devel/meson/build.mk" .include "../../mk/bsd.pkg.mk" @ 1.34 log @net/netatalk4: Update to v4.4.2 From upstream's changelog: [4.4] Fix implicit declaration of function AfpErr2name by @@knight-of-ni in #2662 bump to development version 4.4.2 by @@rdmark in #2665 [4.4] GitHub CI: bump Arch, Alpine, Debian, Fedora to the latest image by @@rdmark in #2663 [4.4] cnid: fix sqlite backend bugs, add post init validation and logging by @@rdmark in #2673 [4.4] macusers: add a deprecation warning for this script by @@rdmark in #2768 [4.4] afpd: use C11 atomic operations in dircache, conditional check for libatomic by @@rdmark in #2767 [4.4] dircache: fix LRU cache eviction crash and dangling pointers by @@rdmark in #2779 [4.4] ci: remove Spotlight dependencies from DragonFlyBSD job by @@rdmark in #2782 [4.4] meson: fix bugs that prevent you from disabling dev docs by @@rdmark in #2882 release netatalk 4.4.2 by @@rdmark in #2892 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2026/02/19 14:52:32 hauke Exp $ d8 1 @ 1.33 log @Update net/netatalk4 to v4.4.1 From upstream's changelog : GitHub CI: fix additional bugs in the Release workflow by @@rdmark in https://github.com/Netatalk/netatalk/pull/2598 GitHub CI: fix one more bug in the Release workflow by @@rdmark in https://github.com/Netatalk/netatalk/pull/2599 bump to development version 4.4.1 by @@rdmark in https://github.com/Netatalk/netatalk/pull/2605 build(deps): bump vmactions/freebsd-vm from 1.3.4 to 1.3.6 in /.github/workflows by @@dependabot[bot] in https://github.com/Netatalk/netatalk/pull/2602 build(deps): bump vmactions/solaris-vm from 1.2.2 to 1.2.3 in /.github/workflows by @@dependabot[bot] in https://github.com/Netatalk/netatalk/pull/2603 build(deps): bump debian from e711a7b to 4bcb9db in /distrib/docker by @@dependabot[bot] in https://github.com/Netatalk/netatalk/pull/2604 docs: revise CNID configuration details in afp.conf man page by @@rdmark in https://github.com/Netatalk/netatalk/pull/2608 docs: overhaul the documentation for the \u2018search db\u2019 option by @@rdmark in https://github.com/Netatalk/netatalk/pull/2620 cnid: safe memory management in sqlite backend and utility function by @@rdmark in https://github.com/Netatalk/netatalk/pull/2617 cnid: don\u2019t treat SQLITE_DONE as an error in cnid_sqlite_get() by @@rdmark in https://github.com/Netatalk/netatalk/pull/2616 cnid: store sqlite database files in path defined in vol dbpath by @@rdmark in https://github.com/Netatalk/netatalk/pull/2615 GitHub CI: add a build job on OpenIndiana by @@rdmark in https://github.com/Netatalk/netatalk/pull/2613 build(deps): bump vmactions/dragonflybsd-vm from 1.1.9 to 1.2.0 in /.github/workflows by @@dependabot[bot] in https://github.com/Netatalk/netatalk/pull/2626 docs: revamp AFP Signature/UUID conf man pages by @@rdmark in https://github.com/Netatalk/netatalk/pull/2623 [4.4] cnid: handle error when attempting to look up did<2 in sqlite backend by @@rdmark in https://github.com/Netatalk/netatalk/pull/2653 [4.4] touch up Japanese localization for 4.4.1 by @@rdmark in https://github.com/Netatalk/netatalk/pull/2655 release version 4.4.1 by @@rdmark in https://github.com/Netatalk/netatalk/pull/2654 [4.4] meson: package release tarball with subprojects by @@rdmark in https://github.com/Netatalk/netatalk/pull/2657 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2026/02/06 10:05:36 wiz Exp $ d8 1 a8 1 PKGVER= 4.4.1 @ 1.32 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2026/01/12 23:25:00 hauke Exp $ d8 1 a8 2 PKGREVISION= 1 PKGVER= 4.4.0 @ 1.31 log @Ninja is very persistent in picking up undeclared dependencies during package build. For now force-remove the html documentation, until we find out where exactly that can be disabled during the configuration phase. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2026/01/11 05:34:23 wiz Exp $ d8 1 @ 1.30 log @netatalk4: fix HOMEPAGE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2026/01/08 17:27:55 hauke Exp $ d142 2 a143 2 rm -r ${DESTDIR}${PREFIX}/share/doc/netatalk/developer rm -r ${DESTDIR}${PREFIX}/share/doc/netatalk/manual @ 1.29 log @net/netatalk4 -- Update to v4.4.0 XXX The html+javascript developer documentation should be split out into a separate netatalk-doc package. From upstream's ChangeLog: In this release, we introduce sophisticated directory cache optimization which drastically reduces file system I/O by properly using the pre-existing caching architecture. The default behavior is largely unchanged. Newly introduced afp.conf options: dircache validation freq dircache metadata window dircache metadata threshold dircache files In addition, a bug with the dircachesize option parsing has been fixed where if you used the maximum setting of 131072 it was ignored and used the default fallback. See the Configuration chapter in the Netatalk manual for a thorough explanation of the directory cache logic and configuration options. Early adopters are encouraged to try out this new version. We are looking forward to hearing your feedback! Other Notable Changes The sqlite CNID backend is no longer flagged as experimental. We now ship support for SQLite in the production container for netatalk. However, the dbd backend (Berkeley DB) is still the default and recommended for most deployments. A sample SELinux policy for netatalk can be found under distrib/selinux. Please note that it is meant as a starting point and may need adjustments for production use. The tool formerly known as ad is now called nad and has been thoroughly improved. All subcommands should work properly cross-platform now for safe file operations on AFP shared volumes on the local host. Both mysql and sqlite CNID backends now support cnid_find() which is used by the search db afp.conf option and nad find command. We generate developer documentation with Doxygen now, while code documentation comments got a major overhaul. The meson build system will look for Doxygen, and if found will generate and install html documentation. Control this behavior with the -Dwith-docs build system option. The -Dwith-manual-install-dir meson option has been removed, with -Dwith-docs-install-dir introduced in its stead. The new option applies to all types of documentation, including the new developer documentation. Dockerfiles have been moved from the repository root to distrib/docker. New afp.conf option valid shellcheck, replacing the build system option -Dwith-shell-check which has been removed. Note that this only takes effect for afpd, while papd is now hard coded to always enable shell check. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2026/01/07 08:48:24 wiz Exp $ d13 1 a13 1 HOMEPAGE= https://www.netatalk.io/ @ 1.28 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2025/11/15 15:21:42 hauke Exp $ d8 1 a8 2 PKGREVISION= 1 PKGVER= 4.3.2 a20 2 TOOL_DEPENDS+= docbook-xsl>=1.79.2:../../textproc/docbook-xsl MESON_ARGS+= -Dwith-docbook-path=${TOOLBASE:Q}/share/xsl/docbook d142 2 a143 1 rm -r ${DESTDIR}${PREFIX}/share/doc/netatalk/htmldocs @ 1.27 log @net/netatalk4 - Update to v4.3.2 Lose MESSAGES, but keep the pam message Introduce cnid db selection between Berkeley db, last, mysql and sqlite From upstream's changelog: 4.3.2 build(deps): bump SonarSource/sonarqube-scan-action from 5.3.0 to 5.3.1 by @@dependabot[bot] in #2394 Bump to development version 4.3.2 by @@rdmark in #2395 GitHub CI: Refactor the SonarQube scan action with supported GitHub expressions by @@rdmark in #2396 GitHub CI: Change file endings of checksum files to match meson by @@rdmark in #2397 meson.build: check for init bins only if installing service by @@EricFromCanada in #2398 meson.build: prefer mDNS over Avahi on Darwin systems by @@trodemaster in #2400 Bump to bstring 1.0.2 subproject by @@rdmark in #2406 GitHub CI: Install shared bstring library on macOS build job by @@rdmark in #2407 afpd: Revert to non-reentrant getpwnam() in the uam module by @@rdmark in #2403 Release netatalk v4.3.2 by @@rdmark in #2409 4.3.1 FIX: afpd: Refactor the afpd version helptext for readability and brevity, GitHub #2367 FIX: libatalk: remove macros, define interface for netddp_{close, recvfrom, sendto}, GitHub #2383 FIX: rtmpqry: Fix code quality issues in rtmpqry and disambiguate comments, GitHub #2379 NEW: testsuite: Added Linux IO monitoring to afp_lantest and refactored results display, GitHub #2354 The -C option has been renamed to -K in afp_lantest FIX: test: Consistently initialize buffers before use in afpd component tests, GitHub #2380 FIX: docker: Bring back the RandNum password creation by default, GitHub #2338 NEW: docker: Expose Classic Mac OS login message option, GitHub #2339 FIX: distrib: substitute lockfile path in netatalkd init scripts for macOS, GitHub #2357 NEW: docs: Create separate nbplkup and nbprgstr man pages and improve them, GitHub #2336 UPD: docs: update logtypes list in afp.conf man page, GitHub #2364 UPD: docs: Flesh out the afpstats.1 man page, GitHub #2389 NEW: Introduce yaml code style guide and automatic formatting, GitHub #2351 NEW: contrib: Add support for beautifying markdown to codefmt.sh, GitHub #2356 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2025/10/23 20:38:52 wiz Exp $ d8 1 @ 1.26 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2025/08/30 22:46:05 wiz Exp $ d8 1 a8 2 PKGREVISION= 2 PKGVER= 4.3.0 d166 1 @ 1.25 log @*: recursive bump for tiff growing lerc dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2025/08/13 09:03:26 hauke Exp $ d8 1 a8 1 PKGREVISION= 1 @ 1.24 log @PLIST: Deal with rtmpqry(1) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/08/12 18:22:55 hauke Exp $ d8 1 @ 1.23 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 @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2025/07/05 12:30:16 hauke Exp $ d97 1 a97 1 .for atbin in aecho getzones nbplkup nbprgstr nbpunrgstr pap papstatus d106 1 a106 1 .for atman1 in aecho getzones nbp nbplkup nbprgstr nbpunrgstr pap @ 1.22 log @There is a "special" hack in util.h that makes NetBSD load modules with RTLD_LAZY. Well, yes this appears to work, but does not really work since symbols from pam don't get resolved. From PR pkg/59509 - thanks, Christos. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2025/06/16 09:35:36 hauke Exp $ a5 1 PKGREVISION= 1 d8 1 a8 1 PKGVER= 4.2.4 d69 4 a72 4 SUBST_FILES.perlpath+= contrib/shell_utils/macusers.in SUBST_FILES.perlpath+= contrib/shell_utils/afpstats.in SUBST_FILES.perlpath+= contrib/shell_utils/addump.in SUBST_FILES.perlpath+= contrib/shell_utils/asip-status.in d170 1 @ 1.21 log @Fix PLIST for non-AppleTalk builds. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2025/06/11 11:24:19 hauke Exp $ d6 1 @ 1.20 log @net/netatalk4 update to v4.2.4 Upstream's changelog: docs: Improve afpd and macipgw man pages by @@rdmark in #2155 [4.2] meson: Check for brew include dir before adding it to list by @@rdmark in #2190 [4.2] uams: Check for const pam_message member of pam_conv by @@rdmark in #2196 [4.2] meson: Build and link with Homebrew libraries is now opt-in by @@rdmark in #2194 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2025/05/09 18:18:21 hauke Exp $ d109 1 a109 1 .for atman5 in atalkd.conf papd.conf d115 1 a116 1 PRINT_PLIST_AWK+= { gsub(/^share\/doc\/netatalk\/README.AppleTalk$$/, "$${PLIST.appletalk}&"); } @ 1.19 log @Lose a commented-out line @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2025/05/09 18:16:21 hauke Exp $ d8 1 a8 1 PKGVER= 4.2.3 @ 1.18 log @net/netatalk4 - Update to v4.2.3 Changelog: GitHub CI: Build cmark from source on Solaris by @@rdmark in #2141 testsuite: Consistently use STATIC macro on test funcions by @@rdmark in #2142 libatalk: MySQL query error log level is dropped to debug by @@rdmark in #2143 Move macusers script into shell_utils dir by @@rdmark in #2145 Cross platform friendly docs for CNID dir and Spotlight by @@rdmark in #2146 initscripts: Improvements to the OpenRC netatalk init script by @@rdmark in #2148 Consistently return exit code 0 after showing version info by @@rdmark in #2151 netatalk: fix iconv dependency build issue by @@APCCV in #2140 Ensure that optind is reset on each call to afp_options_parse_cmdline() by @@NJRoadfan in #2153 Read the appletalk option only when netatalk built with DDP by @@rdmark in #2149 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2025/05/05 13:57:00 hauke Exp $ a4 1 #DISTNAME= netatalk-4-2-2 @ 1.17 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2025/04/24 14:15:27 wiz Exp $ d5 2 a6 1 DISTNAME= netatalk-4-2-2 a7 1 PKGVER= ${GITHUB_TAG:C/^.+netatalk-//:C/-/./g} d9 1 d70 1 a70 1 SUBST_FILES.perlpath+= contrib/macusers/macusers.in @ 1.16 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2025/04/19 07:58:13 wiz Exp $ d5 1 a5 2 DISTNAME= netatalk-4-1-2 PKGREVISION= 4 d167 1 @ 1.15 log @*: recursive bump for default Kerberos implementation switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2025/04/17 21:52:00 wiz Exp $ d6 1 a6 1 PKGREVISION= 3 @ 1.14 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/03/20 21:01:06 hauke Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.13 log @Bring back MESON_BINARY.service setting to unbreak netbsd-9 bulk builds. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/03/17 17:42:44 hauke Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.12 log @net/netatalk: Accomodate non-NetBSD OSes better. Have Meson use PREFIXed paths Fix PLIST generation for AppleTalk related paths Builds, installs, runs on FreeBSD 13 now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2025/03/12 09:54:41 hauke Exp $ d59 5 @ 1.11 log @net/netatalk4: Update to v4.1.2 NetBSD quota support doesn't currently work, disable it explicitly. From upstream's changelog : Netatalk 4.1.2 Add GPL v2 license grant to mysql CNID backend code by @@rdmark in #1874 [4.1] webmin: Fix -router switch in Webmin atalkd module by @@rdmark in #1943 [4.1] meson: Look for shared Berkeley DB library in versioned subdir too by @@rdmark in #1944 [4.1] webmin: Redirect the appropriate tab when returning from actions by @@rdmark in #1945 [4.1] webmin: Fix a default value helptext string by @@rdmark in #1946 Netatalk 4.1.1 config: Disable default options in macipgw.conf by @@rdmark in #1876 GitHub CI: Cleanup of macOS job by @@rdmark in #1878 docs: Consolidate redundant CNID and encoding info by @@rdmark in #1880 meson: Restore prioritized Berkeley DB detection by @@rdmark in #1881 Add a security patching end-of-life policy by @@rdmark in #1885 GitHub CI: Build on Ubuntu without Unicode data to avoid dirty repo by @@rdmark in #1888 macipgw: Handle scenario when config file is missing by @@APCCV in #1891 macipgw: Correct iniparser status check; free memory afterwards by @@rdmark in #1892 GitHub CI: Bump to DragonFlyBSD vmactions runner 1.1.0 by @@rdmark in #1895 Prevent illegal null pointer calls by @@rdmark in #1894 Matching format specifiers in C strings by @@rdmark in #1896 GitHub CI: Remove openSUSE build job by @@rdmark in #1899 GitHub CI: NetBSD version agnostic PKG_PATH definition by @@rdmark in #1901 macipgw: Print usage notes for the -f option by @@rdmark in #1898 afpd: Log an error in dirchache when directory has invalid did by @@rdmark in #1897 meson: remove hardcoded file command path. by @@erichelgeson in #1907 meson: Remove libquota check that causes breakage on NetBSD by @@rdmark in #1903 meson: Introduce with-bdb-include-path override option by @@rdmark in #1908 Netatalk 4.1.0 testsuite: Introduce -X option for running on big-endian systems by @@rdmark in #1817 GitHub CI: Use FreeBSD 14.2 vmactions runner by @@rdmark in #1820 GitHub CI: Always use latest NetBSD release in runner by @@rdmark in #1819 GitHub CI: Don't use absolute paths for netatalk binaries by @@rdmark in #1821 Update atalkd.conf.5.xml by @@thecloudexpanse in #1818 meson: Introduce with-kerberos-path option for Heimdal compatibility by @@rdmark in #1822 testsuite: Cross-platform compatible file ID tests by @@rdmark in #1826 GitHub CI: Bump to NetBSD 10.1 runner by @@rdmark in #1827 testsuite: Don't attempt unauthorized file renaming in Error tests by @@rdmark in #1828 Loosen AppleDouble checks for macOS by @@NJRoadfan in #1829 meson: Remove unused linker args for bdb binaries by @@rdmark in #1830 testsuite: Restore file ID checks following fix for macOS AD validation by @@rdmark in #1831 testsuite: Clean up test file after execution of encoding test by @@rdmark in #1832 meson: Better detection of lib paths from Homebrew build system by @@rdmark in #1833 macipgw: Default port value for zip/ddp service by @@APCCV in #1836 GitHub CI: Build with berkeley-db v5 on macOS by @@rdmark in #1840 initscripts: Disable fork safety workaround for macOS by @@rdmark in #1810 Rename apple_dump script to addump by @@rdmark in #1811 webmin: Split up index page into three tabs by @@rdmark in #1785 Fix reported AFP versions when AppleTalk support is disabled. by @@NJRoadfan in #1846 Fix afppasswd utility by @@NJRoadfan in #1845 Add native metadata storage for macOS hosts. by @@NJRoadfan in #1813 docker: Bump base image to Alpine 3.21 by @@rdmark in #1842 GitHub CI: Use specific pkgsrc mirror for NetBSD package by @@rdmark in #1847 Remove start tracker and start dbus afp.conf options by @@rdmark in #1848 Remove the ability to run AFP commands with root privileges by @@rdmark in #1849 Define all lockfiles through the Meson build system by @@rdmark in #1850 GitHub CI: Run zypper update before new package on openSUSE by @@rdmark in #1854 Protect Netatalk metadata EA by @@NJRoadfan in #1855 docs: Fixes for spelling and grammar by @@EricFromCanada in #1856 launchd item: Start netatalk in non-forking mode by @@EricFromCanada in #1859 meson: fix iconv detection for OpenWrt by @@APCCV in #1857 docs: Clarify the behavior of the -d option for daemons by @@rdmark in #1861 meson: Link papd with cups only when cups is enabled by @@rdmark in #1862 Refactor retreival of native FinderInfo EA on macOS hosts. by @@NJRoadfan in #1858 GitHub CI: Bump to the latest BSD vmactions runners by @@rdmark in #1864 testsuite: Free memory after running tests by @@rdmark in #1866 testsuite: Improve memory management in lantest by @@rdmark in #1868 macipgw: Introduce a configuration file by @@rdmark in #1852 GitHub CI: Run lantest and speedtest jobs by @@rdmark in #1869 GitHub CI: Build with mariadb on macOS by @@rdmark in #1872 libatalk: Clean up the dalloc static library by @@rdmark in #1871 Resolve macOS 15 clang compiler warnings by @@rdmark in #1873 Netatalk 4.0.8 meson: Allow building papd without CUPS by @@rdmark in #1790 meson: Favor openldap when building on macOS by @@rdmark in #1792 docs: More accurate descriptions of optional dependencies in Install chapter by @@rdmark in #1798 Remove obsoleted Mac OS X Server compatibility code in module.c by @@rdmark in #1794 docs: Clarify usage of D-Bus and GLib in Install chapter by @@rdmark in #1799 testsuite: Retry logic for final cleanup step in test358 by @@rdmark in #1797 GitHub CI: Build on Alpine Linux with localsearch/tinysparql by @@rdmark in #1803 docs: Document that DocBook XSL has to be non-namespaced by @@rdmark in #1804 meson: Improved libquota detection on FreeBSD and NetBSD by @@rdmark in #1805 GitHub CI: Build with tracker on macOS to enable Spotlight by @@rdmark in #1809 Set resource max limit to 10240 on macOS by @@rdmark in #1796 meson: Refactor DocBook detection logic to stop when found by @@rdmark in #1806 Netatalk 4.0.7 atalkd: Remove obsolete NO_DATA_LINK_PASSTHROUGH config flag by @@rdmark in #1755 only build appletalk docs when enabled by @@knight-of-ni in #1754 GitHub CI: Rename workflow from Checks to Builds by @@rdmark in #1760 Remove unnecessary ifdef macro in cnid_dbd.c by @@rdmark in #1758 docs: Document afppasswd -w option in the man page synopsis by @@rdmark in #1757 GitHub CI: Create html manual deploy job by @@rdmark in #1763 docs: Sync css styles from homepage by @@rdmark in #1764 docs: Standardize formatting of all synopsis sections by @@rdmark in #1765 meson: Add manual type man_only which generates only troff pages by @@rdmark in #1766 docs: Refer to CONTRIBUTORS hosted on netatalk.io in man pages by @@rdmark in #1767 meson: Flip order of bdb version detection, and add option hint by @@rdmark in #1771 Remove bitrotted inline prototype for a libc function by @@rdmark in #1769 meson: *BSD compatible libwrap check by @@rdmark in #1770 GitHub CI: Build NetBSD with native mDNS Zeroconf by @@rdmark in #1772 GitHub CI: Remove pkg-config override for NetBSD job by @@rdmark in #1775 meson: Generate appendix doc and allow custom manual install path by @@rdmark in #1783 meson: Correct capability check for SunRPC on *BSD by @@rdmark in #1768 meson: Don't attempt to detect shadow password header on *BSD and macOS by @@rdmark in #1778 meson: Option to specify path to perl runtime by @@rdmark in #1779 meson: Configure dbus paths and config files only if dbus exists by @@rdmark in #1780 meson: Don't define spooldir when building without papd by @@rdmark in #1786 @ text @d1 1 a1 1 # $NetBSD$ d6 1 a37 1 .if ${OPSYS} == "NetBSD" a38 1 ATALK_RCD_SCRIPTS= a2boot atalkd macipgw papd timelord a39 1 .endif d59 2 d96 3 d102 9 a110 2 .for atsbin in a2boot atalkd macipgw papd timelord PRINT_PLIST_AWK+= { gsub(/^sbin\/${atsbin}$$/, "$${PLIST.appletalk}&"); } d112 1 a112 1 .endfor a169 1 d171 1 @ 1.10 log @net/netatalk4: Specify path to service(8) tool on NetBSD. This is a kind of silly hack -- the build does not actually run service(8) at build-time, but it searches for a path, which must exist at build-time, to a command by that name, if we don't specify a path via meson binaries. If it can't find the path and we don't specify one, it disables the rc.d script generation. We don't even really have to put /usr/sbin/service here; we could put /quagga/eland instead and I think it doesn't change anything in the build output. Resolves the following symptom when /usr/sbin is not in PATH during the build (or, in principle, when you're cross-building for NetBSD from non-NetBSD): ===> Building for netatalk-4.0.6nb5 ... Writing index.html for book(netatalk-manual) *** Please use pkgtools/verifypc to sanity check dependencies. bmake[1]: don't know how to make /home/riastradh/pkgsrc/current/work/net/netatalk4/work/netatalk-netatalk-4-0-6/output/distrib/initscripts/netatalk. Stop bmake[1]: stopped in /home/riastradh/pkgsrc/current/pkgsrc/net/netatalk4 *** Error code 2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/01/25 10:27:31 riastradh Exp $ d5 1 a5 1 DISTNAME= netatalk-4-0-6 a8 1 PKGREVISION= 6 d26 2 a46 2 BUILD_DEFS+= VARBASE d67 1 a67 1 SUBST_FILES.perlpath+= contrib/shell_utils/apple_dump.in @ 1.9 log @net/netatalk4: Specify the docbook path. Resolves: ===> Installing for netatalk-4.0.6nb4 => Generating pre-install file lists => Creating installation directories ninja: Entering directory `output' [0/1] Installing files. ... rm -r /home/riastradh/pkgsrc/current/work/net/netatalk4/work/.destdir/home/riastradh/pkgsrc/current/pkg/share/doc/netatalk/htmldocs rm: /home/riastradh/pkgsrc/current/work/net/netatalk4/work/.destdir/home/riastradh/pkgsrc/current/pkg/share/doc/netatalk/htmldocs: No such file or directory XXX Should do this through a buildlink directory so it won't be polluted by other packages that might be installed, except it's for TOOL_DEPENDS, not BULID_DEPENDS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/01/12 16:13:10 hauke Exp $ d9 1 a9 1 PKGREVISION= 5 @ 1.8 log @Make PREFIX and VARBASE configurable in top-level meson.build Set spooldir only when configured for pap print support Should fix PR pkg/58987 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/12/18 13:28:04 hauke Exp $ d9 1 a9 1 PKGREVISION= 4 d23 1 @ 1.7 log @Don't bother installing rc.d scripts on !NetBSD, they will have a different name anyway Don't try to initialize init scripts at build time Install enclosed at.h for Linux, we do it on NetBSD, too Builds and packages on Linuxen now (Arch here) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/12/18 10:58:03 nros Exp $ d9 1 a9 1 PKGREVISION= 3 a58 1 MESON_ARGS+= -Dwith-spooldir=${VARBASE}/spool/netatalk d73 1 a73 1 SUBST_STAGE.init+= pre-configure d77 5 @ 1.6 log @revbump due to devel/talloc dependency changes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/12/16 17:34:45 hauke Exp $ d35 1 d39 1 d60 1 @ 1.5 log @Keep Meson from installing rc.d files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/12/16 15:40:54 hauke Exp $ d9 1 a9 1 PKGREVISION= 2 @ 1.4 log @Do not let the Meson build system attempt to install config files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/12/12 11:08:18 hauke Exp $ d69 6 @ 1.3 log @The libxslt and docbook-xsl dependencies are build-time and for static files, only. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/12/12 08:25:34 hauke Exp $ d9 1 a9 1 PKGREVISION= 1 d21 2 d25 2 a26 1 EGDIR= ${PREFIX}/share/examples/netatalk a29 3 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt TOOL_DEPENDS+= docbook-xsl>=1.79.2:../../textproc/docbook-xsl d120 1 a120 1 ${DESTDIR}${EGDIR}/afp.conf d122 1 a122 1 ${DESTDIR}${EGDIR}/extmap.conf d125 1 a125 1 ${DESTDIR}${EGDIR}/atalkd.conf d127 1 a127 1 ${DESTDIR}${EGDIR}/papd.conf d131 1 a131 3 ${DESTDIR}${EGDIR}/dbus-session.conf .else rm -r ${DESTDIR}${PREFIX}/share/dbus-1 d135 1 a135 1 ${DESTDIR}${EGDIR}/netatalk.pam @ 1.2 log @Declare dependencies for man page generation. No rev bump - if it built before, you had the deps installed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/11/21 15:26:08 hauke Exp $ d9 1 a9 1 d27 2 a28 1 DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl a148 1 .include "../../textproc/libxslt/buildlink3.mk" @ 1.1 log @Add net/netatalk4 Netatalk is an Apple Filesharing Protocol server. Version 4 re-integrates the AppleTalk ddp support for Traditional Mac OS and Apple II that had been removed from version 3. Moreover, it comes with numerous fixes and improvements. This version supersedes both the netatalk22 and netatalk3 packages, which will be removed in due time. @ text @d1 1 a1 1 # $NetBSD$ d27 2 d148 1 @