logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 0eed1bffe3e4ed0bb7032ac18e425db885c75bd1
parent 45f9395aae78d763c43dad5ab0f7f8432fd8df44
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 27 May 2023 08:19:25 +0200

dev-libs/libkqueue: add 2.6.1, drop 2.5.0

Diffstat:

Mdev-libs/libkqueue/Manifest2+-
Ddev-libs/libkqueue/files/libkqueue-2.5.0-soversion.patch25-------------------------
Ddev-libs/libkqueue/libkqueue-2.5.0.ebuild27---------------------------
Adev-libs/libkqueue/libkqueue-2.6.1.ebuild23+++++++++++++++++++++++
4 files changed, 24 insertions(+), 53 deletions(-)

diff --git a/dev-libs/libkqueue/Manifest b/dev-libs/libkqueue/Manifest @@ -1 +1 @@ -DIST libkqueue-2.5.0.tar.gz 178456 BLAKE2B 1cc390b74d525b24deb574cc5dea42fa0d302f195057e3c8fa4ba9565df10ac6d1f8864696803134823902181ca15064d99c2946004d0fa7b872eb3052fe8d8b SHA512 c041618833cc29a0ec14b15e55f0926c14e559d559b7f59f4225dfe4b300851bc2d8d2f24c9bda6f1d3859368837d738d78ef15edd85daf317ad65565aafc9b8 +DIST libkqueue-2.6.1.tar.gz 180738 BLAKE2B 577893703c27ae79e7dec187b5b8499a274391e8076100876aa68ca72728f8a531d8a7b1f310482b9ea94b71b1c755b6258da8b863a7af943bea77be0d78de38 SHA512 d9ff708bc2da60b424ffc07d4e65ec0e5c71dc5dfcbba167096cca16cdc34a367becad641bb41817237dd935fc3d1db010472a2af8ae9e8baa023e774e801b82 diff --git a/dev-libs/libkqueue/files/libkqueue-2.5.0-soversion.patch b/dev-libs/libkqueue/files/libkqueue-2.5.0-soversion.patch @@ -1,25 +0,0 @@ -From 742f1c3e763e291df70c4c551c4bdbc303394138 Mon Sep 17 00:00:00 2001 -From: Arran Cudbard-Bell <a.cudbardb@freeradius.org> -Date: Thu, 21 Oct 2021 21:32:20 -0400 -Subject: [PATCH] Set SOVERSION to 0 Closes #100 - ---- - CMakeLists.txt | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index cbb76267..1b6e5d1d 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -212,7 +212,10 @@ else() - endif() - - add_library(kqueue ${LIBRARY_TYPE} ${LIBKQUEUE_SOURCES} ${LIBKQUEUE_HEADERS}) --set_target_properties(kqueue PROPERTIES SOVERSION ${PROJECT_VERSION}) -+ -+# We should have absolute ABI compatibility between versions as none -+# of the public function signatures of variables will change. -+set_target_properties(kqueue PROPERTIES SOVERSION 0) - - if(WIN32) - target_compile_definitions(kqueue PRIVATE _USRDLL;_WINDLL) diff --git a/dev-libs/libkqueue/libkqueue-2.5.0.ebuild b/dev-libs/libkqueue/libkqueue-2.5.0.ebuild @@ -1,27 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="kqueue(2) compatibility library" -HOMEPAGE="https://github.com/mheily/libkqueue" -SRC_URI="https://github.com/mheily/libkqueue/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ISC BSD-2" -SLOT="0/0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/libkqueue-2.5.0-soversion.patch" -) - -src_configure() { - local mycmakeargs=( - -DENABLE_TESTING=$(usex test ON OFF) - ) - cmake_src_configure -} diff --git a/dev-libs/libkqueue/libkqueue-2.6.1.ebuild b/dev-libs/libkqueue/libkqueue-2.6.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="kqueue(2) compatibility library" +HOMEPAGE="https://github.com/mheily/libkqueue" +SRC_URI="https://github.com/mheily/libkqueue/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC BSD-2" +SLOT="0/0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTING=$(usex test ON OFF) + ) + cmake_src_configure +}