Files
buildroot/package/file/file.mk
Julien Olivain 104449d0cb package/file: bump version to 5.46
See release announce [1].

The src/mygetopt.h file license was updated from BSD-4-Clause to
BSD-2-Clause in upstream commit [2]. This change makes this file using
the same license as most other files. So this commit removes the
license entry for this file and update the _LICENSE accordingly.

This commit also replaces the mention "one file" on BSD-3-Clause, to
the actual file name using it, which is "vasprintf.c".

This commit also updates the Config.in package homepage URL,
to use https.

[1] https://mailman.astron.com/pipermail/file/2024-November/001435.html
[2] d605bb4047

Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-04-21 16:24:44 +02:00

53 lines
1.2 KiB
Makefile

################################################################################
#
# file
#
################################################################################
FILE_VERSION = 5.46
FILE_SITE = https://astron.com/pub/file
FILE_LICENSE = BSD-2-Clause, BSD-3-Clause (vasprintf.c)
FILE_LICENSE_FILES = COPYING src/vasprintf.c
FILE_CPE_ID_VALID = YES
FILE_AUTORECONF = YES
FILE_DEPENDENCIES = host-file
FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
FILE_INSTALL_STAGING = YES
HOST_FILE_DEPENDENCIES = host-zlib
HOST_FILE_CONF_OPTS = --disable-libseccomp
HOST_FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
ifeq ($(BR2_PACKAGE_BZIP2),y)
FILE_CONF_OPTS += --enable-bzlib
FILE_DEPENDENCIES += bzip2
else
FILE_CONF_OPTS += --disable-bzlib
endif
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
FILE_CONF_OPTS += --enable-libseccomp
FILE_DEPENDENCIES += libseccomp
else
FILE_CONF_OPTS += --disable-libseccomp
endif
ifeq ($(BR2_PACKAGE_XZ),y)
FILE_CONF_OPTS += --enable-xzlib
FILE_DEPENDENCIES += xz
else
FILE_CONF_OPTS += --disable-xzlib
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
FILE_CONF_OPTS += --enable-zlib
FILE_DEPENDENCIES += zlib
else
FILE_CONF_OPTS += --disable-zlib
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))