Skip to content

Commit

Permalink
www/libnghttp2: Update to 1.55.1
Browse files Browse the repository at this point in the history
* Switch back to CMake for consistency with www/nghttp2
* Refresh CMake args

Changelog: https://github.com/nghttp2/nghttp2/releases/tag/v1.55.1

PR:		272214
Approved by:	portmgr (maintainer timeout, 2+ weeks)
Sponsored by:	Blinkinblox
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Jul 27, 2023
1 parent 1b00949 commit 9c85dbf
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 28 deletions.
26 changes: 18 additions & 8 deletions www/libnghttp2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nghttp2
PORTVERSION= 1.54.0
DISTVERSION= 1.55.1
CATEGORIES= www net
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= lib

MAINTAINER= sunpoet@FreeBSD.org
Expand All @@ -11,12 +11,22 @@ WWW= https://nghttp2.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING

USES= compiler:c++14-lang cpe libtool pathfix pkgconfig tar:xz

CONFIGURE_ARGS= --enable-lib-only
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_CXXSTD= c++14
USES= cmake compiler:c++14-lang cpe pathfix pkgconfig tar:xz
USE_LDCONFIG= yes

CMAKE_OFF= ENABLE_DOC \
ENABLE_FAILMALLOC \
ENABLE_HTTP3
CMAKE_ON= ENABLE_LIB_ONLY \
ENABLE_STATIC_LIB \
CMAKE_DISABLE_FIND_PACKAGE_Jansson \
CMAKE_DISABLE_FIND_PACKAGE_Jemalloc \
CMAKE_DISABLE_FIND_PACKAGE_Libcares \
CMAKE_DISABLE_FIND_PACKAGE_Libev \
CMAKE_DISABLE_FIND_PACKAGE_Libevent \
CMAKE_DISABLE_FIND_PACKAGE_Libnghttp3 \
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2 \
CMAKE_DISABLE_FIND_PACKAGE_Libngtcp2_crypto_openssl \
CMAKE_DISABLE_FIND_PACKAGE_LibXml2

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/libnghttp2/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1688166092
SHA256 (nghttp2-1.54.0.tar.xz) = 20533c9354fbb6aa689b6aa0ddb77f91da1d242587444502832e1864308152df
SIZE (nghttp2-1.54.0.tar.xz) = 1541460
TIMESTAMP = 1689456353
SHA256 (nghttp2-1.55.1.tar.xz) = 19490b7c8c2ded1cf7c3e3a54ef4304e3a7876ae2d950d60a81d0dc6053be419
SIZE (nghttp2-1.55.1.tar.xz) = 1541884
20 changes: 20 additions & 0 deletions www/libnghttp2/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
--- CMakeLists.txt.orig 2022-12-24 08:18:29 UTC
+++ CMakeLists.txt
@@ -503,7 +503,7 @@ include_directories(
set(PKGDATADIR "${CMAKE_INSTALL_FULL_DATADIR}/${CMAKE_PROJECT_NAME}")
set(PKGLIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PROJECT_NAME}")

-install(FILES README.rst DESTINATION "${CMAKE_INSTALL_DOCDIR}")
+#install(FILES README.rst DESTINATION "${CMAKE_INSTALL_DOCDIR}")

add_subdirectory(lib)
#add_subdirectory(lib/includes)
@@ -519,7 +519,7 @@ if(ENABLE_DOC)
add_subdirectory(doc)
endif()
add_subdirectory(contrib)
-add_subdirectory(script)
+#add_subdirectory(script)
add_subdirectory(bpf)


16 changes: 0 additions & 16 deletions www/libnghttp2/files/patch-Makefile.in

This file was deleted.

2 changes: 1 addition & 1 deletion www/libnghttp2/pkg-plist
Expand Up @@ -3,5 +3,5 @@ include/nghttp2/nghttp2ver.h
lib/libnghttp2.a
lib/libnghttp2.so
lib/libnghttp2.so.14
lib/libnghttp2.so.14.24.2
lib/libnghttp2.so.14.24.3
libdata/pkgconfig/libnghttp2.pc

0 comments on commit 9c85dbf

Please sign in to comment.