Skip to contentSkip to conversation

netatalk: bump to version 3.0.5

PATCH New Gustavo Zacarias 2 participants 2 messages Aug 30, 2013 – Sep 1, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 package/netatalk/Config.in   |  1 +
 package/netatalk/netatalk.mk | 13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)
package/netatalk/Config.in +1 -0
index e3deaef..5c676e9 100644
@@ -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
package/netatalk/netatalk.mk +8 -5
index 684e790..37115ec 100644
@@ -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
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 netatalk: bump to version 3.0.5

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Make it use external instead of bundled libevent - it's better Gustavo> for size reasons (avoiding possible duplication) and security Gustavo> reasons (easier to upgrade one global library than possibly Gustavo> two or more, and generally upstream would probably be more Gustavo> responsive to those).

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard