diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2023-07-02 13:33:14 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2023-07-02 14:11:15 +0200 |
commit | 639a8db9b113179e86958249db5a9f49ed18e4f7 (patch) | |
tree | 5c70e8ccff91334c62c0dea5693035e16c4617c2 /dev-libs/lsquic | |
parent | x11-misc/i3status-rust: fix incorrect path variable (diff) | |
download | guru-639a8db9b113179e86958249db5a9f49ed18e4f7.tar.gz guru-639a8db9b113179e86958249db5a9f49ed18e4f7.tar.bz2 guru-639a8db9b113179e86958249db5a9f49ed18e4f7.zip |
dev-libs/lsquic: treeclean
* Depends on to-be-removed dev-libs/boringssl
* Could be reintroduced after this issue gets resolved:
https://github.com/litespeedtech/lsquic/issues/113
* Gentoo dev has acknowledged this change on IRC:
[12:31] colores: I'd like to fix the VisibleVcsPkg in dev-libs/* but I'm unsure about how to proceed
with dev-libs/boringssl-fips. The authors explicitly discourage you from installing
it system-wide (see
https://github.com/gentoo/guru/commit/a45331733cf318e1e81901bc64a64540afe2ad59#commitcomment-120138949).
Do I remove this package and it's revdeps?
[12:58] + sam_: yes, it shouldn't even be packaged, really
[12:58] + sam_: doe something depend on it, colores?
Closes: https://bugs.gentoo.org/909502
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'dev-libs/lsquic')
-rw-r--r-- | dev-libs/lsquic/files/disable-lsquic-build-deps-libs.patch | 34 | ||||
-rw-r--r-- | dev-libs/lsquic/files/fix-lsquic-boringssl-not-found.patch | 30 | ||||
-rw-r--r-- | dev-libs/lsquic/lsquic-3.2.0.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/lsquic/metadata.xml | 11 |
4 files changed, 0 insertions, 119 deletions
diff --git a/dev-libs/lsquic/files/disable-lsquic-build-deps-libs.patch b/dev-libs/lsquic/files/disable-lsquic-build-deps-libs.patch deleted file mode 100644 index 9a9a14c95..000000000 --- a/dev-libs/lsquic/files/disable-lsquic-build-deps-libs.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/src/liblsquic/CMakeLists.txt -+++ b/src/liblsquic/CMakeLists.txt -@@ -1,6 +1,6 @@ - # Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc. See LICENSE. - SET(lsquic_STAT_SRCS -- ls-qpack/lsqpack.c -+# ls-qpack/lsqpack.c - lsquic_adaptive_cc.c - lsquic_alarmset.c - lsquic_arr.c -@@ -100,10 +100,10 @@ IF(PROJECT_NAME STREQUAL "openlitespeed") - INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/spdy) - ELSE() - INCLUDE_DIRECTORIES(../lshpack) -- SET(lsquic_STAT_SRCS ${lsquic_STAT_SRCS} -- lsquic_xxhash.c -- ../lshpack/lshpack.c -- ) -+# SET(lsquic_STAT_SRCS ${lsquic_STAT_SRCS} -+# lsquic_xxhash.c -+# ../lshpack/lshpack.c -+# ) - ENDIF() - - ADD_CUSTOM_COMMAND( -@@ -119,6 +119,8 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXXH_HEADER_NAME=\\\"lsquic_xxhash.h\\\"") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLSQPACK_ENC_LOGGER_HEADER=\\\"lsquic_qpack_enc_logger.h\\\"") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLSQPACK_DEC_LOGGER_HEADER=\\\"lsquic_qpack_dec_logger.h\\\"") - -+link_libraries(ls-qpack ls-hpack) -+ - if(NEED_LIBRT_FOR_clock_getres) - target_link_libraries(lsquic PRIVATE ${RT_LIBRARY}) - endif() diff --git a/dev-libs/lsquic/files/fix-lsquic-boringssl-not-found.patch b/dev-libs/lsquic/files/fix-lsquic-boringssl-not-found.patch deleted file mode 100644 index 691edf238..000000000 --- a/dev-libs/lsquic/files/fix-lsquic-boringssl-not-found.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -154,7 +154,7 @@ ENDIF() - - IF (NOT DEFINED BORINGSSL_INCLUDE AND DEFINED BORINGSSL_DIR) - FIND_PATH(BORINGSSL_INCLUDE NAMES openssl/ssl.h -- PATHS ${BORINGSSL_DIR}/include -+ PATHS ${BORINGSSL_DIR}/include/boringssl - NO_DEFAULT_PATH) - ENDIF() - # This must be done before adding other include directories to take ---- a/bin/CMakeLists.txt -+++ b/bin/CMakeLists.txt -@@ -1,5 +1,6 @@ - # Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc. See LICENSE. - -+link_directories("/usr/lib64/boringssl") - include_directories(${CMAKE_CURRENT_BINARY_DIR}) - LIST(APPEND LIBS ${EVENT_LIB}) - ---- a/src/liblsquic/CMakeLists.txt -+++ b/src/liblsquic/CMakeLists.txt -@@ -94,6 +94,7 @@ IF(NOT MSVC) - set_source_files_properties(ls-qpack/lsqpack.c PROPERTIES COMPILE_FLAGS ${QPACK_FLAGS}) - ENDIF() - -+link_directories(/usr/lib64/boringssl) - include_directories(ls-qpack) - - IF(PROJECT_NAME STREQUAL "openlitespeed") diff --git a/dev-libs/lsquic/lsquic-3.2.0.ebuild b/dev-libs/lsquic/lsquic-3.2.0.ebuild deleted file mode 100644 index 2035dab73..000000000 --- a/dev-libs/lsquic/lsquic-3.2.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake git-r3 - -DESCRIPTION="LiteSpeed QUIC (LSQUIC) Library" -HOMEPAGE="https://github.com/litespeedtech/lsquic/" -EGIT_REPO_URI="https://github.com/litespeedtech/lsquic/" -EGIT_COMMIT="3bbf683f25ab84826951350c57ae226c88c54422" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="static-libs" - -DEPEND=" - dev-libs/boringssl-fips:=[static-libs=] - dev-libs/ls-hpack:=[static-libs=] - dev-libs/ls-qpack:=[static-libs=] -" - -PATCHES=( - "${FILESDIR}"/disable-${PN}-build-deps-libs.patch - "${FILESDIR}"/fix-${PN}-boringssl-not-found.patch -) - -src_configure() { - local mycmakeargs=( - -DLSQUIC_SHARED_LIB=$(usex !static-libs) - -DBORINGSSL_DIR=/usr - -DBORINGSSL_LIB_ssl=ssl - -DBORINGSSL_LIB_crypto=crypto - ) - cmake_src_configure -} - -pkg_preinst() { - mkdir -p ${D}/usr/include/liblsquic/ - cp -a ${S}/src/liblsquic/lsquic_logger.h ${D}/usr/include/liblsquic/ - cp -a ${S}/src/liblsquic/lsquic_stock_shi.h ${D}/usr/include/liblsquic/ - cp -a ${S}/src/liblsquic/lsquic_shared_support.h ${D}/usr/include/ -} diff --git a/dev-libs/lsquic/metadata.xml b/dev-libs/lsquic/metadata.xml deleted file mode 100644 index 5813d666a..000000000 --- a/dev-libs/lsquic/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>trakrailysurely@danceylove.net</email> - <name>Okamura Kazuya</name> - </maintainer> - <upstream> - <remote-id type="github">litespeedtech/lsquic</remote-id> - </upstream> -</pkgmetadata> |