[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,18 @@
config BR2_PACKAGE_LIBMAXMINDDB
bool "libmaxminddb"
help
C library for the MaxMind DB file format
The libmaxminddb library provides a C library for reading
MaxMind DB files, including the GeoIP2 databases from
MaxMind. This is a custom binary format designed to
facilitate fast lookups of IP addresses while allowing for
great flexibility in the type of data associated with an
address.
The MaxMind DB format is an open format. The spec is
available at http://maxmind.github.io/MaxMind-DB/. This spec
is licensed under the Creative Commons
Attribution-ShareAlike 3.0 Unported License.
http://maxmind.github.io/libmaxminddb

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 7620ac187c591ce21bcd7bf352376a3c56a933e684558a1f6bef4bd4f3f98267 libmaxminddb-1.6.0.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE

View File

@ -0,0 +1,23 @@
################################################################################
#
# libmaxminddb
#
################################################################################
LIBMAXMINDDB_VERSION = 1.6.0
LIBMAXMINDDB_SITE = \
https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION)
LIBMAXMINDDB_INSTALL_STAGING = YES
LIBMAXMINDDB_LICENSE = Apache-2.0
LIBMAXMINDDB_LICENSE_FILES = LICENSE
LIBMAXMINDDB_CPE_ID_VENDOR = maxmind
LIBMAXMINDDB_CONF_OPTS = --disable-tests
# mmdblookup binary depends on pthreads
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBMAXMINDDB_CONF_OPTS += --enable-binaries
else
LIBMAXMINDDB_CONF_OPTS += --disable-binaries
endif
$(eval $(autotools-package))