2013-06-21 06:17:14 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cifs-utils
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-09-20 15:57:20 +08:00
|
|
|
CIFS_UTILS_VERSION = 6.11
|
2014-07-12 00:37:06 +08:00
|
|
|
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
|
|
|
|
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
|
2017-03-30 21:43:33 +08:00
|
|
|
CIFS_UTILS_LICENSE = GPL-3.0+
|
2012-08-14 04:02:36 +08:00
|
|
|
CIFS_UTILS_LICENSE_FILES = COPYING
|
2020-04-29 03:20:28 +08:00
|
|
|
# Missing install-sh in release tarball and patching Makefile.am
|
2017-05-25 03:15:39 +08:00
|
|
|
CIFS_UTILS_AUTORECONF = YES
|
|
|
|
CIFS_UTILS_DEPENDENCIES = host-pkgconf
|
2011-09-20 05:42:57 +08:00
|
|
|
|
2018-05-08 04:20:34 +08:00
|
|
|
# Let's disable PIE unconditionally. We want PIE to be enabled only by
|
|
|
|
# the global BR2_RELRO_FULL option.
|
2018-06-04 01:28:24 +08:00
|
|
|
CIFS_UTILS_CONF_OPTS = --disable-pie --disable-man
|
2014-03-24 22:38:11 +08:00
|
|
|
|
2020-04-29 03:20:28 +08:00
|
|
|
# uses C11 code in smbinfo.c and mtab.c
|
|
|
|
CIFS_UTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu11"
|
|
|
|
|
2016-02-21 18:51:22 +08:00
|
|
|
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
|
|
|
CIFS_UTILS_DEPENDENCIES += keyutils
|
|
|
|
endif
|
|
|
|
|
2012-05-08 09:51:18 +08:00
|
|
|
define CIFS_UTILS_NO_WERROR
|
|
|
|
$(SED) 's/-Werror//' $(@D)/Makefile.in
|
|
|
|
endef
|
|
|
|
|
|
|
|
CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
|
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(autotools-package))
|