From c22889cd67b647c15d55e46b273f1ebfb2d596b8 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 30 Aug 2013 18:59:56 -0300 Subject: [PATCH] netatalk: bump to version 3.0.5 Make it use external instead of bundled libevent - it's better for size reasons (avoiding possible duplication) and security reasons (easier to upgrade one global library than possibly two or more, and generally upstream would probably be more responsive to those). Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/netatalk/Config.in | 1 + package/netatalk/netatalk.mk | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package/netatalk/Config.in b/package/netatalk/Config.in index e3deaefba4..5c676e99ba 100644 --- a/package/netatalk/Config.in +++ b/package/netatalk/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_NETATALK depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_BERKELEYDB select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBEVENT select BR2_PACKAGE_LIBGCRYPT select BR2_PACKAGE_LIBGPG_ERROR help diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk index 684e790523..37115ecd63 100644 --- a/package/netatalk/netatalk.mk +++ b/package/netatalk/netatalk.mk @@ -4,15 +4,17 @@ # ################################################################################ -NETATALK_VERSION = 3.0 +NETATALK_VERSION = 3.0.5 NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION) NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2 - NETATALK_AUTORECONF = YES NETATALK_CONFIG_SCRIPTS = netatalk-config +NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error \ + libevent -NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error -NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" +# Don't run ldconfig! +NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" \ + ac_cv_path_NETA_LDCONFIG="" NETATALK_CONF_OPT += --with-cnid-cdb-backend \ --with-bdb=$(STAGING_DIR)/usr \ --disable-zeroconf \ @@ -21,7 +23,8 @@ NETATALK_CONF_OPT += --with-cnid-cdb-backend \ --with-shadow \ --disable-shell-check \ --without-kerberos \ - --without-pam + --without-pam \ + --with-libevent=no ifeq ($(BR2_PACKAGE_CUPS),y) NETATALK_DEPENDENCIES += cups -- 2.30.2