usrsctp: drop receipe
PATCH 1/1 usrsctp: drop receipe
The only receipe that depends on this lib are the gstreamer1.0-plugins-bad. An internal copy of the usrsctp lib is provided in gstreamer1.0-plugins-bad-1.18. So it is not used by anyone in OE-core as well as in meta-openembedded.
No sane distro would package libusrsctp and Debian definitely does not.
Also e.g. Firefox and Chrome are bundling the code too. There's probably also no
API stability guarantee at all for it, and by bundling the code we would also get around some of the problems with the library: global state shared between different users of the library
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/870
--- .../packagegroup-meta-networking.bb | 1 - .../recipes-protocols/usrsctp/usrsctp_git.bb | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +0 -1
@@ -166,7 +166,6 @@ RDEPENDS_packagegroup-meta-networking-protocols = "\ zeroconf \ pptp-linux \ rp-pppoe \ - usrsctp \ xl2tpd \ "
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0 -25
@@ -1,25 +0,0 @@ -DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5" - -SRCREV = "a10cd498d964508c0e6ec6bd2be9dd4afcbb4d86" -SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \ - " - -S = "${WORKDIR}/git" - -UPSTREAM_CHECK_COMMITS = "1" - -inherit autotools pkgconfig - -DEPENDS += "openssl" - -CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC" -LDFLAGS += "-lssl -lcrypto" - -PACKAGECONFIG ?= "disablewarnings inet inet6" -PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," -PACKAGECONFIG[inet] = "--enable-inet,--disable-inet," -PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6," - -EXTRA_OECONF += "--disable-debug"
Signature · 1 line
2.30.2
Quoted 11 lines · Jose Quaresma
The only receipe that depends on this lib are the gstreamer1.0-plugins-bad. An internal copy of the usrsctp lib is provided in gstreamer1.0-plugins-bad-1.18. So it is not used by anyone in OE-core as well as in meta-openembedded.
No sane distro would package libusrsctp and Debian definitely does not.
Also e.g. Firefox and Chrome are bundling the code too. There's probably also no
API stability guarantee at all for it, and by bundling the code we would also get around some of the problems with the library: global state shared between different users of the library
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/870
while I would like to remove recipes from meta-openembeded repo. this is a library which might be used by some internal products by some users.
Quoted 56 lines
Signed-off-by Jose Quaresma <[email protected]>--- .../packagegroup-meta-networking.bb | 1 - .../recipes-protocols/usrsctp/usrsctp_git.bb | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bbmeta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +0
-1@@ -166,7 +166,6 @@ RDEPENDS_packagegroup-meta-networking-protocols = "\ zeroconf \ pptp-linux \ rp-pppoe \ - usrsctp \ xl2tpd \ "meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0
-26@@ -1,25 +0,0 @@ -DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5" - -SRCREV = "a10cd498d964508c0e6ec6bd2be9dd4afcbb4d86" -SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \ - " - -S = "${WORKDIR}/git" - -UPSTREAM_CHECK_COMMITS = "1" - -inherit autotools pkgconfig - -DEPENDS += "openssl" - -CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC" -LDFLAGS += "-lssl -lcrypto" - -PACKAGECONFIG ?= "disablewarnings inet inet6" -PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," -PACKAGECONFIG[inet] = "--enable-inet,--disable-inet," -PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6," - -EXTRA_OECONF += "--disable-debug" --2.30.2
Hi Khen.
You are right. I have only look at the oe-core and meta-openembedded and forget that exist many layers and products around that can use this. Sorry for this and you can drop this patch.
Khem Raj <[email protected]> escreveu no dia sábado, 20/03/2021 à(s) 23:30:
Quoted 90 lines
Quoted 2 lines · Jose Quaresma
The only receipe that depends on this lib are the
gstreamer1.0-plugins-bad.
Quoted 1 line
An internal copy of the usrsctp lib is provided in
gstreamer1.0-plugins-bad-1.18.
Quoted 4 lines
So it is not used by anyone in OE-core as well as in meta-openembedded.
No sane distro would package libusrsctp and Debian definitely does not. Also e.g. Firefox and Chrome are bundling the code too. There's probably
also no
Quoted 1 line
API stability guarantee at all for it, and by bundling the code we would
also get
Quoted 1 line
around some of the problems with the library: global state shared
between different users of the library
while I would like to remove recipes from meta-openembeded repo. this is a library which might be used by some internal products by some users.
Quoted 6 lines
Signed-off-by Jose Quaresma <[email protected]>--- .../packagegroup-meta-networking.bb | 1 - .../recipes-protocols/usrsctp/usrsctp_git.bb | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
Review
Quoted 2 lines
(quoted diff) +0
-0packagegroup-meta-networking.bb
b/meta-networking/recipes-core/packagegroups/
packagegroup-meta-networking.bbQuoted 2 lines
index
231d8d4da..1979d32cb100644
--- a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
Quoted 1 line
+++ b/meta-networking/recipes-core/packagegroups/
packagegroup-meta-networking.bb
Review
Quoted 9 lines
meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +0
-1@@ -166,7 +166,6 @@ RDEPENDS_packagegroup-meta-networking-protocols = "\ zeroconf \ pptp-linux \ rp-pppoe \ - usrsctp \ xl2tpd \ "(quoted diff) +0
-0b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb line 1
Quoted 6 lines
deleted file mode 100644
index 4f8e4d428..000000000meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0
-1@@ -1,25 +0,0 @@ -DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux,Mac OS X and Windows."
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb line 3
Quoted 2 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0
-2-LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM ="file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
Quoted 3 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0
-3- -SRCREV = "a10cd498d964508c0e6ec6bd2be9dd4afcbb4d86" -SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \
Quoted 25 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb deleted +0
-20- " - -S = "${WORKDIR}/git" - -UPSTREAM_CHECK_COMMITS = "1" - -inherit autotools pkgconfig - -DEPENDS += "openssl" - -CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC" -LDFLAGS += "-lssl -lcrypto" - -PACKAGECONFIG ?= "disablewarnings inet inet6" -PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," -PACKAGECONFIG[inet] = "--enable-inet,--disable-inet," -PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6," - -EXTRA_OECONF += "--disable-debug" --2.30.2
Signature · 3 lines
Best regards, José Quaresma