-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
99 changed files
with
1,830 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=zabbix | ||
PKG_VERSION:=6.2.3 | ||
PKG_RELEASE:=3 | ||
PKG_VERSION:=6.4.7 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/$(basename $(PKG_VERSION))/ \ | ||
https://cdn.zabbix.com/zabbix/sources/oldstable/$(basename $(PKG_VERSION))/ | ||
PKG_HASH:=2be7e57fb33a55fee71480598e317ffa6a8ee5a39639a7e1b42b2ea6872107b5 | ||
PKG_HASH:=6b4e81f07de4c82c7994871bea51be4d6427683fa9a7fbe112fd7559b3670e49 | ||
|
||
PKG_MAINTAINER:=Etienne CHAMPETIER <[email protected]> | ||
PKG_LICENSE:=GPL-2.0 | ||
|
@@ -57,7 +57,7 @@ define Package/zabbix/Default | |
TITLE:=Zabbix | ||
URL:=https://www.zabbix.com/ | ||
USERID:=zabbix=53:zabbix=53 | ||
DEPENDS+=$(ICONV_DEPENDS) +libpcre +zlib | ||
DEPENDS+=$(ICONV_DEPENDS) +libpcre2 +zlib | ||
endef | ||
|
||
define Package/zabbix-agentd | ||
|
@@ -157,6 +157,7 @@ define Package/zabbix-server/Default | |
+ZABBIX_MYSQL:libmariadbclient \ | ||
@(!ZABBIX_SQLITE) \ | ||
+libevent2 \ | ||
+libevent2-pthreads \ | ||
+fping | ||
endef | ||
|
||
|
@@ -209,6 +210,7 @@ define Package/zabbix-proxy/Default | |
+ZABBIX_MYSQL:libmariadbclient \ | ||
+ZABBIX_SQLITE:libsqlite3 \ | ||
+libevent2 \ | ||
+libevent2-pthreads \ | ||
+fping | ||
endef | ||
|
||
|
@@ -262,8 +264,8 @@ CONFIGURE_ARGS+= \ | |
$(if $(CONFIG_ZABBIX_MYSQL),--with-mysql) \ | ||
$(if $(CONFIG_ZABBIX_POSTGRESQL),--with-postgresql) \ | ||
$(if $(CONFIG_ZABBIX_SQLITE),--with-sqlite3=$(STAGING_DIR)/usr) \ | ||
--with-libevent=$(STAGING_DIR)/usr/include/libevent \ | ||
--with-libpcre=$(STAGING_DIR)/usr/include \ | ||
--with-libevent=$(STAGING_DIR)/usr/include \ | ||
--with-libpcre2=$(STAGING_DIR)/usr/include \ | ||
--with-zlib=$(STAGING_DIR)/usr/include | ||
|
||
ifeq ($(BUILD_VARIANT),openssl) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=php | ||
PKG_VERSION:=8.2.11 | ||
PKG_VERSION:=8.2.12 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_MAINTAINER:=Michael Heimpold <[email protected]> | ||
|
@@ -16,7 +16,7 @@ PKG_CPE_ID:=cpe:/a:php:php | |
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | ||
PKG_SOURCE_URL:=http://www.php.net/distributions/ | ||
PKG_HASH:=29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8 | ||
PKG_HASH:=e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132 | ||
|
||
PKG_BUILD_PARALLEL:=1 | ||
PKG_BUILD_FLAGS:=no-mips16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
lang/python/python-pip/patches/001-pyproject-hooks-pyc-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
--- a/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py | ||
+++ b/src/pip/_vendor/pyproject_hooks/_in_process/__init__.py | ||
@@ -11,8 +11,8 @@ try: | ||
@@ -11,8 +11,14 @@ try: | ||
except AttributeError: | ||
# Python 3.8 compatibility | ||
def _in_proc_script_path(): | ||
- return resources.path(__package__, '_in_process.py') | ||
+ return resources.path(__package__, '_in_process.pyc') | ||
+ filename = '_in_process.pyc' | ||
+ if resources.is_resource(__package__, '_in_process.py'): | ||
+ filename = '_in_process.py' | ||
+ return resources.path(__package__, filename) | ||
else: | ||
def _in_proc_script_path(): | ||
+ filename = '_in_process.pyc' | ||
+ if resources.files(__package__).joinpath('_in_process.py').is_file(): | ||
+ filename = '_in_process.py' | ||
return resources.as_file( | ||
- resources.files(__package__).joinpath('_in_process.py')) | ||
+ resources.files(__package__).joinpath('_in_process.pyc')) | ||
+ resources.files(__package__).joinpath(filename)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
--- a/src/pip/_internal/build_env.py | ||
+++ b/src/pip/_internal/build_env.py | ||
@@ -54,7 +54,7 @@ def get_runnable_pip() -> str: | ||
@@ -54,7 +54,11 @@ def get_runnable_pip() -> str: | ||
# case, we can use that directly. | ||
return str(source) | ||
|
||
- return os.fsdecode(source / "__pip-runner__.py") | ||
+ return os.fsdecode(source / "__pip-runner__.pyc") | ||
+ filename = "__pip-runner__.pyc" | ||
+ py = source / "__pip-runner__.py" | ||
+ if py.is_file(): | ||
+ filename = "__pip-runner__.py" | ||
+ return os.fsdecode(source / filename) | ||
|
||
|
||
def _get_system_sitepackages() -> Set[str]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...hon3/patches-host-setuptools/0001-Adjust-library-header-paths-for-cross-compilation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
From e359a7a3c4f9e70360a068bef19c95938fdacede Mon Sep 17 00:00:00 2001 | ||
From: Thomas Petazzoni <[email protected]> | ||
Date: Wed, 23 Dec 2015 11:33:14 +0100 | ||
Subject: [PATCH] Adjust library/header paths for cross-compilation | ||
|
||
When cross-compiling third-party extensions, the get_python_inc() or | ||
get_python_lib() can be called, to return the path to headers or | ||
libraries. However, they use the sys.prefix of the host Python, which | ||
returns incorrect paths when cross-compiling (paths pointing to host | ||
headers and libraries). | ||
|
||
In order to fix this, we introduce the _python_sysroot, _python_prefix | ||
and _python_exec_prefix variables, that allow to override these | ||
values, and get correct header/library paths when cross-compiling | ||
third-party Python modules. | ||
|
||
Signed-off-by: Thomas Petazzoni <[email protected]> | ||
[adapt for setuptools, rename environment variable, use fixed lib path] | ||
Signed-off-by: Jeffery To <[email protected]> | ||
--- | ||
Lib/distutils/command/build_ext.py | 5 ++++- | ||
Lib/sysconfig.py | 15 +++++++++++---- | ||
2 files changed, 15 insertions(+), 5 deletions(-) | ||
|
||
--- a/setuptools/_distutils/command/build_ext.py | ||
+++ b/setuptools/_distutils/command/build_ext.py | ||
@@ -238,7 +238,10 @@ class build_ext(Command): | ||
if sysconfig.get_config_var('Py_ENABLE_SHARED'): | ||
if not sysconfig.python_build: | ||
# building third party extensions | ||
- self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) | ||
+ libdir = sysconfig.get_config_var('LIBDIR') | ||
+ if 'STAGING_DIR' in os.environ: | ||
+ libdir = os.environ.get('STAGING_DIR') + '/usr/lib' | ||
+ self.library_dirs.append(libdir) | ||
else: | ||
# building python standard extensions | ||
self.library_dirs.append('.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
libs/efivar/patches/006-build-util-c-separately-for-makeguids.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From ca48d3964d26f5e3b38d73655f19b1836b16bd2d Mon Sep 17 00:00:00 2001 | ||
From: Alexander Kanavin <[email protected]> | ||
Date: Tue, 18 Jan 2022 11:53:41 +0100 | ||
Subject: [PATCH] src/Makefile: build util.c separately for makeguids | ||
|
||
util.c needs to be built twice when cross-compiling: | ||
for the build machine to be able to link with | ||
makeguids which then runs during the same build, | ||
and then for the actual target. | ||
|
||
Signed-off-by: Alexander Kanavin <[email protected]> | ||
--- | ||
src/Makefile | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
--- a/src/Makefile | ||
+++ b/src/Makefile | ||
@@ -28,10 +28,13 @@ EFIVAR_OBJECTS = $(patsubst %.S,%.o,$(pa | ||
EFISECDB_SOURCES = efisecdb.c guid-symbols.c secdb-dump.c util.c | ||
EFISECDB_OBJECTS = $(patsubst %.S,%.o,$(patsubst %.c,%.o,$(EFISECDB_SOURCES))) | ||
GENERATED_SOURCES = include/efivar/efivar-guids.h guid-symbols.c | ||
-MAKEGUIDS_SOURCES = makeguids.c util.c | ||
+MAKEGUIDS_SOURCES = makeguids.c util-makeguids.c | ||
MAKEGUIDS_OBJECTS = $(patsubst %.S,%.o,$(patsubst %.c,%.o,$(MAKEGUIDS_SOURCES))) | ||
MAKEGUIDS_OUTPUT = $(GENERATED_SOURCES) guids.lds | ||
|
||
+util-makeguids.c : util.c | ||
+ cp util.c util-makeguids.c | ||
+ | ||
ALL_SOURCES=$(LIBEFISEC_SOURCES) $(LIBEFIBOOT_SOURCES) $(LIBEFIVAR_SOURCES) \ | ||
$(MAKEGUIDS_SOURCES) $(GENERATED_SOURCES) $(EFIVAR_SOURCES) \ | ||
$(sort $(wildcard include/efivar/*.h)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.