Initial Commit
- initial default booting image
This commit is contained in:
21
package/apr-util/0001-remove-checkapr.patch
Normal file
21
package/apr-util/0001-remove-checkapr.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
remove check apr
|
||||
|
||||
this patch removes the check of apr which fails the build
|
||||
|
||||
Signed-off-by: Rico Bachmann <bachmann-ahF9wiJNQgNBDgjK7y7TUQ@public.gmane.org>
|
||||
---
|
||||
v1: disable the check for APU_FIND_APR because the check only looks into folders
|
||||
named apr, and our source-tree is called apr-versionnumber (e.g. apr-1.4.6)
|
||||
|
||||
diff -rupN apr-util-1.4.1/configure.in apr-util-1.4.1-fix/configure.in
|
||||
--- apr-util-1.4.1/configure.in 2009-12-17 20:15:19.000000000 +0100
|
||||
+++ apr-util-1.4.1-fix/configure.in 2012-04-24 10:10:32.000000000 +0200
|
||||
@@ -99,7 +99,7 @@ fi
|
||||
dnl
|
||||
dnl Find the APR includes directory and (possibly) the source (base) dir.
|
||||
dnl
|
||||
-APU_FIND_APR
|
||||
+dnl APU_FIND_APR
|
||||
|
||||
dnl
|
||||
dnl even though we use apr_rules.mk for building apr-util, we need
|
||||
17
package/apr-util/Config.in
Normal file
17
package/apr-util/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_APR_UTIL
|
||||
bool "apr-util"
|
||||
# apr really needs shared library support
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU # apr
|
||||
select BR2_PACKAGE_APR
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
The utility library for the apache runtime project
|
||||
|
||||
https://apr.apache.org
|
||||
|
||||
comment "apr-util needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
4
package/apr-util/apr-util.hash
Normal file
4
package/apr-util/apr-util.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://archive.apache.org/dist/apr/apr-util-1.6.4.tar.bz2.sha256
|
||||
sha256 3e2ae08f40efa0c3701e54a954cefa08242de22a69f91a8ae44fc1e624ba309b apr-util-1.6.4.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 ef5609d18601645ad6fe22c6c122094be40e976725c1d0490778abacc836e7a2 LICENSE
|
||||
86
package/apr-util/apr-util.mk
Normal file
86
package/apr-util/apr-util.mk
Normal file
@@ -0,0 +1,86 @@
|
||||
################################################################################
|
||||
#
|
||||
# apr-util
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APR_UTIL_VERSION = 1.6.4
|
||||
APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2
|
||||
APR_UTIL_SITE = https://archive.apache.org/dist/apr
|
||||
APR_UTIL_LICENSE = Apache-2.0
|
||||
APR_UTIL_LICENSE_FILES = LICENSE
|
||||
APR_UTIL_CPE_ID_VENDOR = apache
|
||||
APR_UTIL_CPE_ID_PRODUCT = portable_runtime_utility
|
||||
APR_UTIL_INSTALL_STAGING = YES
|
||||
APR_UTIL_DEPENDENCIES = apr expat
|
||||
APR_UTIL_CONF_OPTS = \
|
||||
--with-apr=$(STAGING_DIR)/usr/bin/apr-1-config
|
||||
APR_UTIL_CONFIG_SCRIPTS = apu-1-config
|
||||
|
||||
# When iconv is available, then use it to provide charset conversion
|
||||
# features.
|
||||
APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
||||
APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += berkeleydb
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-berkeley-db
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDBM),y)
|
||||
APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += gdbm
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-gdbm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MARIADB),y)
|
||||
APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += mariadb
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-mysql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += sqlite
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-sqlite3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||
APR_UTIL_CONF_ENV += ac_cv_ldap_set_rebind_proc_style=three
|
||||
APR_UTIL_CONF_OPTS += \
|
||||
--with-ldap \
|
||||
--with-ldap-include="$(STAGING_DIR)/usr/include/" \
|
||||
--with-ldap-lib="$(STAGING_DIR)/usr/lib"
|
||||
APR_UTIL_DEPENDENCIES += openldap
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-ldap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += openssl
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-crypto
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
||||
APR_UTIL_CONF_OPTS += --with-pgsql="$(STAGING_DIR)/usr"
|
||||
APR_UTIL_DEPENDENCIES += postgresql
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-pgsql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||
APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
|
||||
# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
|
||||
APR_UTIL_CONF_ENV += ac_cv_path_ODBC_CONFIG=""
|
||||
APR_UTIL_DEPENDENCIES += unixodbc
|
||||
else
|
||||
APR_UTIL_CONF_OPTS += --without-odbc
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user