1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

www/ls-qpack: Update to 2.5.5

Changes:	https://github.com/litespeedtech/ls-qpack/releases
This commit is contained in:
Po-Chuan Hsieh 2024-09-18 13:56:08 +08:00
parent 6a7c9466e1
commit a45b8911bc
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
6 changed files with 14 additions and 56 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= ls-qpack
PORTVERSION= 2.5.4
PORTVERSION= 2.5.5
DISTVERSIONPREFIX= v
CATEGORIES= www
@ -12,10 +12,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libxxhash.so:devel/xxhash
USES= cmake compiler:c11
USES= cmake compiler:c11 pathfix pkgconfig
CMAKE_OFF= LSQPACK_TESTS
CMAKE_ON= BUILD_SHARED_LIBS LSQPACK_BIN LSQPACK_XXH
CMAKE_OFF= LSQPACK_TESTS LSQPACK_XXH
CMAKE_ON= BUILD_SHARED_LIBS LSQPACK_BIN
GH_ACCOUNT= litespeedtech
USE_GITHUB= yes
@ -24,14 +24,7 @@ post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/deps/
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/encode-int ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/fuzz-decode ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/interop-decode ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/interop-encode ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/huff-tables.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/lsqpack.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/lsxpack_header.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_LIB} ${INSTALL_WRKSRC}/libls-qpack.so ${STAGEDIR}${PREFIX}/lib/
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1703227824
SHA256 (litespeedtech-ls-qpack-v2.5.4_GH0.tar.gz) = 56b96190a1943d75ef8d384b13cd4592a72e3e2d84284f78d7f8adabbc717f3e
SIZE (litespeedtech-ls-qpack-v2.5.4_GH0.tar.gz) = 708563
TIMESTAMP = 1726487326
SHA256 (litespeedtech-ls-qpack-v2.5.5_GH0.tar.gz) = 71c95067e99bb5e889119bd6208fe2b03a0b9b8f386ef5f3bbcb9e3765bcf0cb
SIZE (litespeedtech-ls-qpack-v2.5.5_GH0.tar.gz) = 709160

View File

@ -1,16 +0,0 @@
--- CMakeLists.txt.orig 2020-05-28 18:23:09 UTC
+++ CMakeLists.txt
@@ -20,9 +20,11 @@ add_library(ls-qpack "")
target_include_directories(ls-qpack PUBLIC .)
target_sources(ls-qpack PRIVATE lsqpack.c)
-target_include_directories(ls-qpack PRIVATE deps/xxhash/)
if(LSQPACK_XXH)
- target_sources(ls-qpack PRIVATE deps/xxhash/xxhash.c)
+ find_path(XXHASH_INCLUDE_DIR xxhash.h)
+ find_library(XXHASH_LIBRARY xxhash)
+ include_directories(${XXHASH_INCLUDE_DIR})
+ link_libraries(${XXHASH_LIBRARY})
endif()
if(MSVC)

View File

@ -1,12 +0,0 @@
--- bin/CMakeLists.txt.orig 2020-05-28 18:23:09 UTC
+++ bin/CMakeLists.txt
@@ -2,8 +2,7 @@ function(lsqpack_add_executable TARGET)
add_executable(${TARGET} "")
target_link_libraries(${TARGET} PRIVATE ls-qpack)
- target_sources(${TARGET} PRIVATE ${TARGET}.c ../deps/xxhash/xxhash.c)
- target_include_directories(${TARGET} PRIVATE ../deps/xxhash)
+ target_sources(${TARGET} PRIVATE ${TARGET}.c)
if(MSVC)
target_include_directories(${TARGET} PRIVATE ../wincompat)

View File

@ -1,11 +0,0 @@
--- bin/interop-decode.c.orig 2020-05-28 18:23:09 UTC
+++ bin/interop-decode.c
@@ -41,7 +41,7 @@
#include "lsqpack.h"
#include "lsxpack_header.h"
-#include "xxhash.h"
+#include <xxhash.h>
#ifndef DEBUG
#include "lsqpack-test.h"
#endif

View File

@ -2,7 +2,11 @@ bin/encode-int
bin/fuzz-decode
bin/interop-decode
bin/interop-encode
include/huff-tables.h
include/lsqpack.h
include/lsxpack_header.h
lib/cmake/ls-qpack/ls-qpack-config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ls-qpack/ls-qpack-config.cmake
lib/libls-qpack.so
lib/libls-qpack.so.2
lib/libls-qpack.so.2.5.3
libdata/pkgconfig/lsqpack.pc