netatalk: bump to version 3.0.5
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 30 Aug 2013 21:59:56 +0000 (18:59 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 1 Sep 2013 19:03:13 +0000 (21:03 +0200)
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 <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/netatalk/Config.in
package/netatalk/netatalk.mk

index e3deaefba4f9bfe0cc5cb910d806fd5c2d7ab7dd..5c676e99bacf9d9cd36133d0a5e26b4e2694c03c 100644 (file)
@@ -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
index 684e790523e7c4b432d1186d4e14ee4707184a5d..37115ecd63c0dbc2b2751575cd99d27d2ffc10ea 100644 (file)
@@ -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