Initial Commit
- initial default booting image
This commit is contained in:
50
package/siproxd/0001-Fix-compilation-on-gcc-14.patch
Normal file
50
package/siproxd/0001-Fix-compilation-on-gcc-14.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
From 985c2cd198213b250c61d8c6621af52e318c4c12 Mon Sep 17 00:00:00 2001
|
||||
From: crumpled-acronym <60061744+crumpled-acronym@users.noreply.github.com>
|
||||
Date: Mon, 30 Jun 2025 12:32:02 +0200
|
||||
Subject: [PATCH] Fix compilation on gcc >= 14
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
`./configure` fails for gcc >= 14 with the following error
|
||||
|
||||
```
|
||||
checking "libosip prefix"...
|
||||
checking for osip_init in -losip2... yes
|
||||
checking for parser_init in -losipparser2... yes
|
||||
checking libosip2 version > 3.0.0... *** ERROR: libosip2-3.x.x is required!
|
||||
```
|
||||
|
||||
which in fact is caused by the test program in `ACX_CHECK_LIBOSIP_VERSION` function in `acinclude.m4` due to
|
||||
|
||||
```
|
||||
conftest.c:4:3: error: return type defaults to ‘int’ [-Wimplicit-int]
|
||||
4 | main() {
|
||||
| ^~~~
|
||||
```
|
||||
|
||||
This patch fixes the issue!
|
||||
|
||||
Upstream: https://github.com/hb9xar/siproxd/commit/985c2cd198213b250c61d8c6621af52e318c4c12
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
acinclude.m4 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index 6fa4828..8164246 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -340,7 +340,7 @@ dnl pointer to the structure (bad)
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_SOURCE([
|
||||
#include <osipparser2/osip_parser.h>
|
||||
- main() {
|
||||
+ int main() {
|
||||
osip_message_t t;
|
||||
int e;
|
||||
e=t.contacts.nb_elt;
|
||||
--
|
||||
2.47.3
|
||||
|
||||
23
package/siproxd/Config.in
Normal file
23
package/siproxd/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_SIPROXD
|
||||
bool "siproxd"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBOSIP2
|
||||
select BR2_PACKAGE_LIBTOOL
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Siproxd is a proxy/masquerading daemon for SIP (Session
|
||||
Initiation Protocol), which is used in IP telephony. It
|
||||
handles registrations of SIP clients on a private IP network
|
||||
and performs rewriting of the SIP message bodies to make SIP
|
||||
connections work via a masquerading firewall (NAT). It allows
|
||||
SIP software clients (like kphone, linphone) or SIP hardware
|
||||
clients (Voice over IP phones which are SIP-compatible, such
|
||||
as those from Cisco, Grandstream or Snom) to work behind an IP
|
||||
masquerading firewall or NAT router.
|
||||
|
||||
http://siproxd.sourceforge.net/
|
||||
|
||||
comment "siproxd needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
10
package/siproxd/siproxd.hash
Normal file
10
package/siproxd/siproxd.hash
Normal file
@@ -0,0 +1,10 @@
|
||||
# Locally calculated after checking pgp signature from:
|
||||
# https://downloads.sourceforge.net/project/siproxd/siproxd/0.8.3/siproxd-0.8.3.tar.gz.asc
|
||||
sha256 9a6d7a6bb6fff162775b1e1fb7018de9c69642cbf8626185dc6ffceeeba07736 siproxd-0.8.3.tar.gz
|
||||
|
||||
# https://sourceforge.net/projects/siproxd/files/siproxd/0.8.3/
|
||||
sha1 d13d4a05b8a16dbe20d04b99b535610e49050d9d siproxd-0.8.3.tar.gz
|
||||
md5 9a9d2c89e5f0c59fdde9444a66d8372c siproxd-0.8.3.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
19
package/siproxd/siproxd.mk
Normal file
19
package/siproxd/siproxd.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# siproxd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SIPROXD_VERSION = 0.8.3
|
||||
SIPROXD_SITE = https://downloads.sourceforge.net/project/siproxd/siproxd/$(SIPROXD_VERSION)
|
||||
|
||||
SIPROXD_LICENSE = GPL-2.0+
|
||||
SIPROXD_LICENSE_FILES = COPYING
|
||||
|
||||
SIPROXD_DEPENDENCIES = libosip2 libtool sqlite
|
||||
|
||||
# 0001-Fix-compilation-on-gcc-14.patch
|
||||
SIPROXD_AUTORECONF = YES
|
||||
SIPROXD_CONF_OPTS = --without-included-ltdl
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user