Files
buildroot/package/netatalk/netatalk.mk
Bernd Kuhls 1f8905d38c package/netatalk: security bump version to 4.4.3
https://github.com/Netatalk/netatalk/blob/netatalk-4-4-3/NEWS.md

The bump from 4.4.2 to 4.4.3 fixes these CVEs:
CVE-2026-44047, CVE-2026-44048, CVE-2026-44049, CVE-2026-44050,
CVE-2026-44051, CVE-2026-44052, CVE-2026-44054, CVE-2026-44055,
CVE-2026-44057, CVE-2026-44060, CVE-2026-44062, CVE-2026-44064,
CVE-2026-44066, CVE-2026-44068, CVE-2026-44076, CVE-2026-45354,
CVE-2026-45355, CVE-2026-45356, CVE-2026-45698, CVE-2026-45699

Version 3.2.8 fixes these CVEs:
CVE-2024-1544, CVE-2024-5288, CVE-2024-5991, CVE-2024-5814

Version 3.2.1 fixes these CVEs:
CVE-2024-38439, CVE-2024-38440, CVE-2024-38441

Updated project URL in Config.in help text.

Removed md5 tarball hash and added sha256 and sha512 tarball hashes
provided by upstream.

Updated license hash due to upstream commits:
06e427ea02
934495d9e1

Switched _SITE to https.

Version 4.0.0 removed autotools and kept only meson as build system.

Reworked dependencies, sorted NETATALK_DEPENDENCIES.
Iniparser was added as mandatory dependency in 4.2.0.
Added optional dependencies to cracklib and openldap.

Disabled usage of libiconv for uClibc due to different definitions of
iconv_t (uClibc: typedef long vs. glibc: typedef void) which causes
a build error after the switch to meson.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2026-05-30 11:27:29 +02:00

88 lines
2.3 KiB
Makefile

################################################################################
#
# netatalk
#
################################################################################
NETATALK_VERSION = 4.4.3
NETATALK_SITE = https://downloads.sourceforge.net/project/netatalk/netatalk-$(subst .,-,$(NETATALK_VERSION))
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.xz
NETATALK_CONFIG_SCRIPTS = netatalk-config
NETATALK_DEPENDENCIES = \
host-pkgconf \
berkeleydb \
iniparser \
libevent \
libgcrypt \
libgpg-error \
openssl
NETATALK_LICENSE = GPL-2.0+, LGPL-3.0+, MIT-like
NETATALK_LICENSE_FILES = COPYING COPYRIGHT
NETATALK_CPE_ID_VENDOR = netatalk
NETATALK_CONF_OPTS += \
-Dwith-init-style=none \
-Dwith-afpstats=false \
-Dwith-cnid-backends=dbd \
-Dwith-bdb-path=$(STAGING_DIR)/usr \
-Dwith-libgcrypt-path=$(STAGING_DIR)/usr \
-Dwith-shell-check=false \
-Dwith-gssapi=false \
-Dwith-kerberos=false \
-Dwith-krbV-uam=false \
-Dwith-pam=false \
-Dwith-quota=false \
-Dwith-dtrace=false \
-Dwith-spotlight=false \
-Dwith-docs="" \
-Dwith-tcp-wrappers=false
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
NETATALK_CONF_OPTS += -Dwith-libiconv=false
else
NETATALK_CONF_OPTS += -Dwith-libiconv=true
endif
ifeq ($(BR2_PACKAGE_ACL),y)
NETATALK_DEPENDENCIES += acl
NETATALK_CONF_OPTS += -Dwith-acls=true
else
NETATALK_CONF_OPTS += -Dwith-acls=false
endif
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
NETATALK_DEPENDENCIES += avahi
NETATALK_CONF_OPTS += -Dwith-zeroconf=true
else
NETATALK_CONF_OPTS += -Dwith-zeroconf=false
endif
ifeq ($(BR2_PACKAGE_CRACKLIB),y)
NETATALK_DEPENDENCIES += cracklib
NETATALK_CONF_OPTS += -Dwith-cracklib=true
else
NETATALK_CONF_OPTS += -Dwith-cracklib=false
endif
ifeq ($(BR2_PACKAGE_CUPS),y)
NETATALK_DEPENDENCIES += cups
NETATALK_CONF_OPTS += -Dwith-appletalk=true -Dwith-cups=true
NETATALK_MESON_EXTRA_BINARIES += cups-config='$(STAGING_DIR)/usr/bin/cups-config'
else
NETATALK_CONF_OPTS += -Dwith-appletalk=false -Dwith-cups=false
endif
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
NETATALK_DEPENDENCIES += openldap
NETATALK_CONF_OPTS += -Dwith-ldap=true
else
NETATALK_CONF_OPTS += -Dwith-ldap=false
endif
define NETATALK_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
$(TARGET_DIR)/etc/init.d/S50netatalk
endef
$(eval $(meson-package))