package/siproxd: new package
PATCH 1/1 package/siproxd: new package
Siproxd is a masquerading SIP Proxy Server. We had a buildroot package for that in the fli4l Linux router distribution for years with different authors contributing.
---
Notes:
Actually what we had in fli4l was a package for 0.8.2. I revised it and covered all things check-packaged complained about. Tested on x86_64 with uclibc toolchain. Builds fine on all fli4l targets (x86, x86_64, rpi, sunxi). This is basically just upstreaming effort. I marked it as v1, because I expect some remarks and little things to be changed.
DEVELOPERS | 1 + package/Config.in | 1 + package/siproxd/Config.in | 16 ++++++++++++++++ package/siproxd/siproxd.hash | 11 +++++++++++ package/siproxd/siproxd.mk | 24 ++++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/siproxd/Config.in create mode 100644 package/siproxd/siproxd.hash create mode 100644 package/siproxd/siproxd.mk
DEVELOPERS +1 -0
@@ -70,6 +70,7 @@ F: package/odhcp6c/ N: Alexander Dahl <[email protected]> F: package/fastd/ F: package/libuecc/ +F: package/siproxd/ F: package/putty/ N: Alexander Egorenkov <[email protected]>
package/Config.in +1 -0
@@ -1828,6 +1828,7 @@ menu "Networking" source "package/resiprocate/Config.in" source "package/restclient-cpp/Config.in" source "package/rtmpdump/Config.in" + source "package/siproxd/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in"
package/siproxd/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_SIPROXD + bool "siproxd" + select BR2_PACKAGE_LIBOSIP2 + 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/
package/siproxd/siproxd.hash new file +11 -0
@@ -0,0 +1,11 @@ +# 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 +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa libltdl/COPYING.LIB
package/siproxd/siproxd.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# 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 sqlite + +ifeq ($(BR2_PACKAGE_LIBTOOL),y) +SIPROXD_CONF_OPTS += --without-included-ltdl +SIPROXD_DEPENDENCIES += libtool +else +SIPROXD_CONF_OPTS += --with-included-ltdl +SIPROXD_LICENSE += , LGPL-2.1+ +SIPROXD_LICENSE_FILES += libltdl/COPYING.LIB +endif + +$(eval $(autotools-package))
base-commit: da6cca38da1584fed17ffb40316cd7c2fdd5e754
Signature · 1 line
2.20.1
PATCH 1/1 package/siproxd: new package
Alexander, All,
On 2021-03-10 08:38 +0100, Alexander Dahl spake thusly:
Quoted 7 lines
Siproxd is a masquerading SIP Proxy Server. We had a buildroot package for that in the fli4l Linux router distribution for years with different authors contributing.
Co-authored-by Christoph Schulz <[email protected]>Co-authored-by Claas Hilbrecht <[email protected]>Signed-off-by Alexander Dahl <[email protected]>
Quoted 8 lines
---
Notes:
Actually what we had in fli4l was a package for 0.8.2. I revised it and covered all things check-packaged complained about. Tested onx86_64with uclibc toolchain. Builds fine on all fli4l targets (x86,x86_64, rpi, sunxi). This is basically just upstreaming effort. I marked it as v1, because I expect some remarks and little things to be changed.
I've made use of an external libtool unconditional, and applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 112 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/siproxd/Config.in | 16 ++++++++++++++++ package/siproxd/siproxd.hash | 11 +++++++++++ package/siproxd/siproxd.mk | 24 ++++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/siproxd/Config.in create mode 100644 package/siproxd/siproxd.hash create mode 100644 package/siproxd/siproxd.mkDEVELOPERS +1
-0@@ -70,6 +70,7 @@ F: package/odhcp6c/ N: Alexander Dahl <[email protected]> F: package/fastd/ F: package/libuecc/ +F: package/siproxd/ F: package/putty/ N: Alexander Egorenkov <[email protected]>package/Config.in +1
-0@@ -1828,6 +1828,7 @@ menu "Networking" source "package/resiprocate/Config.in" source "package/restclient-cpp/Config.in" source "package/rtmpdump/Config.in" + source "package/siproxd/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in"package/siproxd/Config.in new file +16
-0@@ -0,0 +1,16 @@ +config BR2_PACKAGE_SIPROXD + bool "siproxd" + select BR2_PACKAGE_LIBOSIP2 + 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/package/siproxd/siproxd.hash new file +11
-0@@ -0,0 +1,11 @@ +# 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 +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa libltdl/COPYING.LIBpackage/siproxd/siproxd.mk new file +24
-0@@ -0,0 +1,24 @@ +################################################################################ +# +# 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 sqlite + +ifeq ($(BR2_PACKAGE_LIBTOOL),y) +SIPROXD_CONF_OPTS += --without-included-ltdl +SIPROXD_DEPENDENCIES += libtool +else +SIPROXD_CONF_OPTS += --with-included-ltdl +SIPROXD_LICENSE += , LGPL-2.1+ +SIPROXD_LICENSE_FILES += libltdl/COPYING.LIB +endif + +$(eval $(autotools-package))base-commit:
da6cca38da1584fed17ffb40316cd7c2fdd5e754Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/siproxd: new package
Hei hei,
Quoted 17 lines · Yann E. MORIN
On 2021-03-10 08:38 +0100, Alexander Dahl spake thusly:
Quoted 7 lines
Siproxd is a masquerading SIP Proxy Server. We had a buildroot package for that in the fli4l Linux router distribution for years with different authors contributing.
Co-authored-by Christoph Schulz <[email protected]>Co-authored-by Claas Hilbrecht <[email protected]>Signed-off-by Alexander Dahl <[email protected]>Quoted 8 lines
---
Notes:
Actually what we had in fli4l was a package for 0.8.2. I revised it and covered all things check-packaged complained about. Tested onx86_64with uclibc toolchain. Builds fine on all fli4l targets (x86,x86_64, rpi, sunxi). This is basically just upstreaming effort. I marked it as v1, because I expect some remarks and little things to be changed.
Quoted 2 lines
I've made use of an external libtool unconditional, and applied to master, thanks.
Thanks Yann. A question though: siproxd uses ltdl for loading .so files (its own plugins) at runtime. Would that be possible with static-only builds at all? Asking because I stumbled over bff7b75552ad ("package/nut: disable libltdl (and nut-scanner) for static-only") and because I'm currently investigating how squid uses libltdl.
Greets
Alex
Quoted 128 lines
Regards,
Yann E. MORIN.Quoted 112 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/siproxd/Config.in | 16 ++++++++++++++++ package/siproxd/siproxd.hash | 11 +++++++++++ package/siproxd/siproxd.mk | 24 ++++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/siproxd/Config.in create mode 100644 package/siproxd/siproxd.hash create mode 100644 package/siproxd/siproxd.mkDEVELOPERS +1
-0@@ -70,6 +70,7 @@ F: package/odhcp6c/ N: Alexander Dahl <[email protected]> F: package/fastd/ F: package/libuecc/ +F: package/siproxd/ F: package/putty/ N: Alexander Egorenkov <[email protected]>package/Config.in +1
-0@@ -1828,6 +1828,7 @@ menu "Networking" source "package/resiprocate/Config.in" source "package/restclient-cpp/Config.in" source "package/rtmpdump/Config.in" + source "package/siproxd/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in"package/siproxd/Config.in new file +16
-0@@ -0,0 +1,16 @@ +config BR2_PACKAGE_SIPROXD + bool "siproxd" + select BR2_PACKAGE_LIBOSIP2 + 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/package/siproxd/siproxd.hash new file +11
-0@@ -0,0 +1,11 @@ +# 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 +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa libltdl/COPYING.LIBpackage/siproxd/siproxd.mk new file +24
-0@@ -0,0 +1,24 @@ +################################################################################ +# +# 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 sqlite + +ifeq ($(BR2_PACKAGE_LIBTOOL),y) +SIPROXD_CONF_OPTS += --without-included-ltdl +SIPROXD_DEPENDENCIES += libtool +else +SIPROXD_CONF_OPTS += --with-included-ltdl +SIPROXD_LICENSE += , LGPL-2.1+ +SIPROXD_LICENSE_FILES += libltdl/COPYING.LIB +endif + +$(eval $(autotools-package))base-commit:
da6cca38da1584fed17ffb40316cd7c2fdd5e754Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildrootSignature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 11 lines
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first \ / CAMPAIGN | speech censured, the first thought forbidden, the X AGAINST | first freedom denied, chains us all irrevocably.? / \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210315/7992a1a5/attachment.asc>
PATCH 1/1 package/siproxd: new package
In reply to Yann E. MORINHello,
Quoted 17 lines · Yann E. MORIN
On 2021-03-10 08:38 +0100, Alexander Dahl spake thusly:
Quoted 7 lines
Siproxd is a masquerading SIP Proxy Server. We had a buildroot package for that in the fli4l Linux router distribution for years with different authors contributing.
Co-authored-by Christoph Schulz <[email protected]>Co-authored-by Claas Hilbrecht <[email protected]>Signed-off-by Alexander Dahl <[email protected]>Quoted 8 lines
---
Notes:
Actually what we had in fli4l was a package for 0.8.2. I revised it and covered all things check-packaged complained about. Tested onx86_64with uclibc toolchain. Builds fine on all fli4l targets (x86,x86_64, rpi, sunxi). This is basically just upstreaming effort. I marked it as v1, because I expect some remarks and little things to be changed.
Quoted 2 lines
I've made use of an external libtool unconditional, and applied to master, thanks.
That has an implication, which came to my mind, see below.
Quoted 69 lines
Regards,
Yann E. MORIN.Quoted 65 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/siproxd/Config.in | 16 ++++++++++++++++ package/siproxd/siproxd.hash | 11 +++++++++++ package/siproxd/siproxd.mk | 24 ++++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/siproxd/Config.in create mode 100644 package/siproxd/siproxd.hash create mode 100644 package/siproxd/siproxd.mkDEVELOPERS +1
-0@@ -70,6 +70,7 @@ F: package/odhcp6c/ N: Alexander Dahl <[email protected]> F: package/fastd/ F: package/libuecc/ +F: package/siproxd/ F: package/putty/ N: Alexander Egorenkov <[email protected]>package/Config.in +1
-0@@ -1828,6 +1828,7 @@ menu "Networking" source "package/resiprocate/Config.in" source "package/restclient-cpp/Config.in" source "package/rtmpdump/Config.in" + source "package/siproxd/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in"package/siproxd/Config.in new file +16
-0@@ -0,0 +1,16 @@ +config BR2_PACKAGE_SIPROXD + bool "siproxd" + select BR2_PACKAGE_LIBOSIP2 + 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/package/siproxd/siproxd.hash new file +3
-0@@ -0,0 +1,11 @@ +# 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
Quoted 8 lines
package/siproxd/siproxd.hash line 11
Quoted 8 lines
package/siproxd/siproxd.hash new file +8
-0+ +# 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 +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa libltdl/COPYING.LIB
If libltdl is external, that line can be dropped, right?
Greets
Alex
Quoted 51 lines
Quoted 39 lines
package/siproxd/siproxd.mk new file +24
-0@@ -0,0 +1,24 @@ +################################################################################ +# +# 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 sqlite + +ifeq ($(BR2_PACKAGE_LIBTOOL),y) +SIPROXD_CONF_OPTS += --without-included-ltdl +SIPROXD_DEPENDENCIES += libtool +else +SIPROXD_CONF_OPTS += --with-included-ltdl +SIPROXD_LICENSE += , LGPL-2.1+ +SIPROXD_LICENSE_FILES += libltdl/COPYING.LIB +endif + +$(eval $(autotools-package))base-commit:
da6cca38da1584fed17ffb40316cd7c2fdd5e754Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildrootSignature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 11 lines
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first \ / CAMPAIGN | speech censured, the first thought forbidden, the X AGAINST | first freedom denied, chains us all irrevocably.? / \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210315/f4d37e41/attachment.asc>
PATCH 1/1 package/siproxd: Remove license file hash for internal libltdl
In a first draft of what ended up in commit 3efc5a250c1c ("package/siproxd: new package") libltdl was optionally built from an internal copy of siproxd. Now external libltdl is selected unconditionally, thus the license file of the internal copy of libtool does not apply anymore.
--- package/siproxd/siproxd.hash | 1 - 1 file changed, 1 deletion(-)
package/siproxd/siproxd.hash +0 -1
@@ -8,4 +8,3 @@ md5 9a9d2c89e5f0c59fdde9444a66d8372c siproxd-0.8.3.tar.gz # Hash for license files: sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING -sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa libltdl/COPYING.LIB
base-commit: 54d3d94b6e3846447b5796ef8587b08b537cd348
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/siproxd: Remove license file hash for internal libltdl
Quoted 10 lines · On Wed, 17 Mar 2021 07:11:33 +0100 Alexander Dahl <[email protected]> wrote:
In a first draft of what ended up in commit
3efc5a250c1c("package/siproxd: new package") libltdl was optionally built from an internal copy of siproxd. Now external libltdl is selected unconditionally, thus the license file of the internal copy of libtool does not apply anymore.Signed-off-by Alexander Dahl <[email protected]>--- package/siproxd/siproxd.hash | 1 - 1 file changed, 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com