Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
From 5cc2e2764588fc5025e1ba7e07361d50659bb06a Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 7 Sep 2025 17:58:00 +0200
|
||||
Subject: [PATCH] Fix module function prototypes for GCC 15.x
|
||||
|
||||
Upstream: N/A, upstream has completely changed how modules work
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
services/virus_scan/clamav_mod.c | 4 ++--
|
||||
services/virus_scan/clamd_mod.c | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/services/virus_scan/clamav_mod.c b/services/virus_scan/clamav_mod.c
|
||||
index a138006..ee26ce6 100644
|
||||
--- a/services/virus_scan/clamav_mod.c
|
||||
+++ b/services/virus_scan/clamav_mod.c
|
||||
@@ -75,7 +75,7 @@ static struct ci_conf_entry clamav_conf_variables[] = {
|
||||
|
||||
int clamav_init(struct ci_server_conf *server_conf);
|
||||
int clamav_post_init(struct ci_server_conf *server_conf);
|
||||
-void clamav_release();
|
||||
+void clamav_release(struct ci_server_conf *server_conf);
|
||||
|
||||
CI_DECLARE_MOD_DATA common_module_t module = {
|
||||
"clamav_mod",
|
||||
@@ -273,7 +273,7 @@ int clamav_post_init(struct ci_server_conf *server_conf)
|
||||
return CI_OK;
|
||||
}
|
||||
|
||||
-void clamav_release()
|
||||
+void clamav_release(struct ci_server_conf *server_conf)
|
||||
{
|
||||
clamav_destroy_virusdb();
|
||||
if (CLAMAV_TMP)
|
||||
diff --git a/services/virus_scan/clamd_mod.c b/services/virus_scan/clamd_mod.c
|
||||
index c0d2909..c522a9c 100644
|
||||
--- a/services/virus_scan/clamd_mod.c
|
||||
+++ b/services/virus_scan/clamd_mod.c
|
||||
@@ -34,7 +34,7 @@ static struct ci_conf_entry clamd_conf_variables[] = {
|
||||
|
||||
int clamd_init(struct ci_server_conf *server_conf);
|
||||
int clamd_post_init(struct ci_server_conf *server_conf);
|
||||
-void clamd_release();
|
||||
+void clamd_release(struct ci_server_conf *server_conf);
|
||||
|
||||
CI_DECLARE_MOD_DATA common_module_t module = {
|
||||
"clamd_mod",
|
||||
@@ -301,7 +301,7 @@ int clamd_post_init(struct ci_server_conf *server_conf)
|
||||
return CI_OK;
|
||||
}
|
||||
|
||||
-void clamd_release()
|
||||
+void clamd_release(struct ci_server_conf *server_conf)
|
||||
{
|
||||
}
|
||||
|
||||
--
|
||||
2.51.0
|
||||
|
||||
7
package/c-icap-modules/Config.in
Normal file
7
package/c-icap-modules/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_C_ICAP_MODULES
|
||||
bool "c-icap-modules"
|
||||
depends on BR2_PACKAGE_C_ICAP
|
||||
help
|
||||
Additional modules for c-icap server.
|
||||
|
||||
http://c-icap.sourceforge.net/
|
||||
7
package/c-icap-modules/c-icap-modules.hash
Normal file
7
package/c-icap-modules/c-icap-modules.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# From http://sourceforge.net/projects/c-icap/files/c-icap-modules/0.5.x/
|
||||
md5 08c4721a26840bb0ff95fcaa64b686c3 c_icap_modules-0.5.7.tar.gz
|
||||
sha1 839b79bc53e9048680309a7cd31ad3c1e2cf44b5 c_icap_modules-0.5.7.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 80bc0af10be171c0c73cd5886533a397c4d55211756fb6279f245ee7e5dd3814 c_icap_modules-0.5.7.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
25
package/c-icap-modules/c-icap-modules.mk
Normal file
25
package/c-icap-modules/c-icap-modules.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# c-icap-modules
|
||||
#
|
||||
################################################################################
|
||||
|
||||
C_ICAP_MODULES_VERSION = 0.5.7
|
||||
C_ICAP_MODULES_SOURCE = c_icap_modules-$(C_ICAP_MODULES_VERSION).tar.gz
|
||||
C_ICAP_MODULES_SITE = http://downloads.sourceforge.net/c-icap
|
||||
C_ICAP_MODULES_LICENSE = GPL-2.0+
|
||||
C_ICAP_MODULES_LICENSE_FILES = COPYING
|
||||
C_ICAP_MODULES_DEPENDENCIES = c-icap
|
||||
|
||||
C_ICAP_MODULES_CONF_OPTS = \
|
||||
--with-c-icap=$(STAGING_DIR)/usr/ \
|
||||
--without-clamav
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
||||
C_ICAP_MODULES_CONF_OPTS += --with-bdb
|
||||
C_ICAP_MODULES_DEPENDENCIES += berkeleydb
|
||||
else
|
||||
C_ICAP_MODULES_CONF_OPTS += --without-bdb
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user