* [gentoo-commits] repo/gentoo:master commit in: net-libs/usrsctp/files/, net-libs/usrsctp/
@ 2021-04-13 10:55 Joonas Niilola
0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2021-04-13 10:55 UTC (permalink / raw
To: gentoo-commits
commit: 9e248e8ebdbb46699427023f949d267f14559fc1
Author: Sergey Ilinykh <rion4ik <AT> gmail <DOT> com>
AuthorDate: Thu Apr 8 07:42:52 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 10:54:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e248e8e
net-libs/usrsctp: added version 0.9.5.0
Closes: https://bugs.gentoo.org/774369
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergey Ilinykh <rion4ik <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20301
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-libs/usrsctp/Manifest | 1 +
.../files/usrsctp-0.9.5.0-pc-inc-path.patch | 22 ++++++++++++++++++
net-libs/usrsctp/usrsctp-0.9.5.0.ebuild | 26 ++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/net-libs/usrsctp/Manifest b/net-libs/usrsctp/Manifest
index 15767869457..53b04499513 100644
--- a/net-libs/usrsctp/Manifest
+++ b/net-libs/usrsctp/Manifest
@@ -1 +1,2 @@
DIST usrsctp-0.9.3.0_p20201102.tar.gz 770742 BLAKE2B 94c7b0417a076d627065c625726eb214ec58be90d0965748610f63c076f1c172cb114dc8162af5604751cfe5e86ebf5444f002d07e43c94e461e21f6a3a4819a SHA512 a4bb4dd0ec81b2314e8590cfe5386179697e64d82915a0ef7e8f7a0baf67f88e3da89329ea73b38e8c417668f971f6580e120ed5be8588761b4b334a65ab4120
+DIST usrsctp-0.9.5.0.tar.gz 771701 BLAKE2B 279394aecea61795360db3b57140c55dc2801f55471fb97754e054ccd5d99c87e17dc637cdcb347be258034175b96efbc18d75a114f47e1957cacef897822df3 SHA512 7b28706449f9365ba9750fd39925e7171516a1e3145d123ec69a12486637ae2393ad4c587b056403298dc13c149f0b01a262cbe4852abca42e425d7680c77ee3
diff --git a/net-libs/usrsctp/files/usrsctp-0.9.5.0-pc-inc-path.patch b/net-libs/usrsctp/files/usrsctp-0.9.5.0-pc-inc-path.patch
new file mode 100644
index 00000000000..668f522a09e
--- /dev/null
+++ b/net-libs/usrsctp/files/usrsctp-0.9.5.0-pc-inc-path.patch
@@ -0,0 +1,22 @@
+From 70d42ae95a1de83bd317c8cc9503f894671d1392 Mon Sep 17 00:00:00 2001
+From: Michael Tuexen <tuexen@fh-muenster.de>
+Date: Mon, 29 Mar 2021 13:36:32 +0200
+Subject: [PATCH] Fix https://github.com/sctplab/usrsctp/issues/574
+
+---
+ usrsctplib/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/usrsctplib/CMakeLists.txt b/usrsctplib/CMakeLists.txt
+index aa99cf2f..84bdee2e 100644
+--- a/usrsctplib/CMakeLists.txt
++++ b/usrsctplib/CMakeLists.txt
+@@ -45,7 +45,7 @@ include(GNUInstallDirs)
+ set(prefix ${CMAKE_INSTALL_PREFIX})
+ set(exec_prefix ${prefix})
+ set(libdir ${exec_prefix}/${CMAKE_INSTALL_LIBDIR})
+-set(includedir ${prefix}/${CMAKE_INSTALL_INCLUDEDIR}/usrsctp)
++set(includedir ${prefix}/${CMAKE_INSTALL_INCLUDEDIR})
+
+ set(CMAKE_REQUIRED_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR})
+ set(CMAKE_MACOSX_RPATH 1)
diff --git a/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild b/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild
new file mode 100644
index 00000000000..b90c995a89d
--- /dev/null
+++ b/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A cross-platform userland SCTP stack"
+HOMEPAGE="https://github.com/sctplab/usrsctp"
+SRC_URI="https://github.com/sctplab/usrsctp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( LICENSE.md Manual.md README.md )
+PATCHES=( "${FILESDIR}/${P}-pc-inc-path.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -Dsctp_werror=0
+ -Dsctp_build_programs=0
+ -Dsctp_build_shared_lib=1
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/usrsctp/files/, net-libs/usrsctp/
@ 2025-06-22 15:37 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-06-22 15:37 UTC (permalink / raw
To: gentoo-commits
commit: 9e762ca5b53a6b4b3dd3037ebbd6f2319f850267
Author: Sergei Ilinykh <rion4ik <AT> gmail <DOT> com>
AuthorDate: Sat May 24 23:19:09 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 15:36:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e762ca5
net-libs/usrsctp: Fix cmake-4 compatibility + added 20250331 version
Closes: https://bugs.gentoo.org/952805
Signed-off-by: Sergei Ilinykh <rion4ik <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42245
Closes: https://github.com/gentoo/gentoo/pull/42245
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/usrsctp/Manifest | 1 +
.../usrsctp/files/usrsctp-0.9.5.0-cmake-4.patch | 28 ++++++++++++++++++++++
net-libs/usrsctp/usrsctp-0.9.5.0_p20250331.ebuild | 28 ++++++++++++++++++++++
3 files changed, 57 insertions(+)
diff --git a/net-libs/usrsctp/Manifest b/net-libs/usrsctp/Manifest
index a2ef0fa4495a..0b635c3b1629 100644
--- a/net-libs/usrsctp/Manifest
+++ b/net-libs/usrsctp/Manifest
@@ -1 +1,2 @@
DIST usrsctp-0.9.5.0.tar.gz 771701 BLAKE2B 279394aecea61795360db3b57140c55dc2801f55471fb97754e054ccd5d99c87e17dc637cdcb347be258034175b96efbc18d75a114f47e1957cacef897822df3 SHA512 7b28706449f9365ba9750fd39925e7171516a1e3145d123ec69a12486637ae2393ad4c587b056403298dc13c149f0b01a262cbe4852abca42e425d7680c77ee3
+DIST usrsctp-0.9.5.0_p20250331.tar.gz 773857 BLAKE2B a36c1329990455282b064b183084cc817384fd01422fc6f5b7800bfcceffb79e6b5e0e16db7ffdfdc4c4e4ef4f87de3fd28fe4e47062e79223690ac8408e6aeb SHA512 dc768db06bebfa0de4726f094bde3187b8d7987b6c56fb2edeb53048d67ee69ffe3341ab3b36f0b7bfda95b7816bdb00d62467e26436787d233a84975fed874d
diff --git a/net-libs/usrsctp/files/usrsctp-0.9.5.0-cmake-4.patch b/net-libs/usrsctp/files/usrsctp-0.9.5.0-cmake-4.patch
new file mode 100644
index 000000000000..fab5e249b77c
--- /dev/null
+++ b/net-libs/usrsctp/files/usrsctp-0.9.5.0-cmake-4.patch
@@ -0,0 +1,28 @@
+From 58d03a4a12da04bbd168578d13c8d16c7c5eb7ab Mon Sep 17 00:00:00 2001
+From: Paul-Louis Ageneau <paul-louis@ageneau.org>
+Date: Thu, 17 Apr 2025 12:46:26 +0200
+Subject: [PATCH] Fix minimum required version to configure with CMake 4
+
+---
+ CMakeLists.txt | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3fc4ec6ac..a112c37df 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -30,7 +30,13 @@
+ #
+
+ project(usrsctplib C)
+-cmake_minimum_required(VERSION 3.0)
++if(${CMAKE_VERSION} VERSION_LESS 3.27.0)
++ cmake_minimum_required(VERSION 3.0)
++elseif(${CMAKE_VERSION} VERSION_LESS 3.31.0)
++ cmake_minimum_required(VERSION 3.5)
++else()
++ cmake_minimum_required(VERSION 3.10)
++endif()
+
+ # Debug build type as default
+ if (NOT CMAKE_BUILD_TYPE)
diff --git a/net-libs/usrsctp/usrsctp-0.9.5.0_p20250331.ebuild b/net-libs/usrsctp/usrsctp-0.9.5.0_p20250331.ebuild
new file mode 100644
index 000000000000..1c5cc0445609
--- /dev/null
+++ b/net-libs/usrsctp/usrsctp-0.9.5.0_p20250331.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A cross-platform userland SCTP stack"
+HOMEPAGE="https://github.com/sctplab/usrsctp"
+GIT_REV=881513ab3fc75b4c53ffce7b22b08e7b07fcc67a
+SRC_URI="https://github.com/sctplab/usrsctp/archive/${GIT_REV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${GIT_REV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+DOCS=( LICENSE.md Manual.md README.md )
+PATCHES=( "${FILESDIR}/${PN}-0.9.5.0-cmake-4.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -Dsctp_werror=0
+ -Dsctp_build_programs=0
+ -Dsctp_build_shared_lib=1
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-22 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-22 15:37 [gentoo-commits] repo/gentoo:master commit in: net-libs/usrsctp/files/, net-libs/usrsctp/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2021-04-13 10:55 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox