cifs-utils: security bump to version 5.4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 8 May 2012 01:51:18 +0000 (01:51 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 8 May 2012 22:23:42 +0000 (00:23 +0200)
Fixes CVE-2012-1586.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/cifs-utils/cifs-utils.mk

index 52ad5ceeed9b152e12224ea020299de14c522263..0fdb689b2eea692a58f0ae072d59ff6633ef1b07 100644 (file)
@@ -1,5 +1,11 @@
-CIFS_UTILS_VERSION = 5.1
+CIFS_UTILS_VERSION = 5.4
 CIFS_UTILS_SOURCE  = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
 CIFS_UTILS_SITE    = ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
 
+define CIFS_UTILS_NO_WERROR
+       $(SED) 's/-Werror//' $(@D)/Makefile.in
+endef
+
+CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
+
 $(eval $(call AUTOTARGETS))