mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
updated
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# $Id$
|
||||
#
|
||||
PORTNAME= nghttp2
|
||||
PORTVERSION= 1.46.0
|
||||
PORTVERSION= 1.65.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= www net
|
||||
PKGNAMEPREFIX= lib
|
||||
@@ -15,74 +15,41 @@ BUILD_DEPENDS+= automake:devel/automake
|
||||
BUILD_DEPENDS+= libtool:devel/libtool
|
||||
|
||||
|
||||
BUILD_DEPENDS+= libev>=4.15:devel/libev
|
||||
BUILD_DEPENDS+= libevent>=2.0.8:devel/libevent
|
||||
#BUILD_DEPENDS+= libev>=4.15:devel/libev
|
||||
#BUILD_DEPENDS+= libevent>=2.0.8:devel/libevent
|
||||
|
||||
#BUILD_DEPENDS+= libspdylay>=1.3.0:net/libspdylay
|
||||
|
||||
#LIB_DEPENDS+= libev.so:devel/libev
|
||||
#LIB_DEPENDS+= libevent_openssl.so:devel/libevent
|
||||
LIB_DEPENDS+= libspdylay.so:net/libspdylay
|
||||
|
||||
LIB_DEPENDS+= libcares.so:net/libcares
|
||||
LIB_DEPENDS+= libjansson.so:devel/libjansson
|
||||
LIB_DEPENDS+= libxml2.so:text/libxml2
|
||||
#LIB_DEPENDS+= libspdylay.so:net/libspdylay
|
||||
#LIB_DEPENDS+= libcares.so:net/libcares
|
||||
#LIB_DEPENDS+= libjansson.so:devel/libjansson
|
||||
#LIB_DEPENDS+= libxml2.so:text/libxml2
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
USES= autoreconf compiler:c++14-lang libtool pkgconfig
|
||||
USES= autoreconf gmake compiler:c++14-lang libtool pkgconfig tar:xz
|
||||
|
||||
CONFIGURE_ARGS= --enable-lib-only
|
||||
CONFIGURE_ARGS= --enable-lib-only
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
#USE_GITHUB= yes
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= --disable-python-bindings
|
||||
CONFIGURE_ARGS+= --without-libnghttp3
|
||||
CONFIGURE_ARGS+= --with-jemalloc
|
||||
|
||||
#CONFIGURE_ARGS+= --enable-app
|
||||
#CONFIGURE_ARGS+= --enable-examples
|
||||
#CONFIGURE_ARGS+= --with-spdylay
|
||||
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I/usr/include"
|
||||
CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -lcrypto -lssl"
|
||||
CONFIGURE_ENV+= ZLIB_CFLAGS="-I/usr/include"
|
||||
CONFIGURE_ENV+= ZLIB_LIBS="-L/usr/lib -lz"
|
||||
|
||||
#GNU_CONFIGURE= yes
|
||||
#INSTALL_TARGET= install-strip
|
||||
#PATHFIX_MAKEFILEIN= Makefile.am
|
||||
#USE_CXXSTD= c++11
|
||||
#USE_LDCONFIG= yes
|
||||
#USES= compiler:c++11-lib gmake localbase pathfix pkgconfig
|
||||
|
||||
#CONFIGURE_ARGS+= --enable-hpack-tools
|
||||
|
||||
|
||||
|
||||
#PLIST= ${PKGDIR}/pkg-plist.${ARCH}
|
||||
|
||||
#plist-echo:
|
||||
# echo ${PLIST}
|
||||
|
||||
#.if ${OSVERSION} <= 1000000
|
||||
#CPPFLAGS+= -D_GLIBCXX_USE_C99
|
||||
#.endif
|
||||
|
||||
#.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
|
||||
#CONFIGURE_ARGS+=--with-jemalloc
|
||||
#.endif
|
||||
|
||||
post-patch:
|
||||
# cd ${WRKSRC} && autoreconf -i -v -I./m4
|
||||
${REINPLACE_CMD} 's,libxml-2.0,libxml2,g' ${WRKSRC}/configure.ac
|
||||
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libnghttp2.la ${STAGEDIR}${PREFIX}/lib/
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1643685688
|
||||
SHA256 (nghttp2-nghttp2-v1.46.0_GH0.tar.gz) = 0875a638d319cd28b06dcc410e6dc2add1a52f7cab6f62b26025c448f8ae8f43
|
||||
SIZE (nghttp2-nghttp2-v1.46.0_GH0.tar.gz) = 3846314
|
||||
TIMESTAMP = 1756356669
|
||||
SHA256 (nghttp2-nghttp2-v1.65.0_GH0.tar.gz) = bcf08112bd583f8543776d086dcdede159b87e1261a36e6ae1d931c812a3ca70
|
||||
SIZE (nghttp2-nghttp2-v1.65.0_GH0.tar.gz) = 1046616
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
--- script/fetch-ocsp-response.orig 2021-10-19 09:31:47 UTC
|
||||
+++ script/fetch-ocsp-response
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# nghttp2 - HTTP/2 C Library
|
||||
@@ -1,11 +0,0 @@
|
||||
--- ./configure.ac.orig 2022-02-01 05:24:48.158283000 +0200
|
||||
+++ ./configure.ac 2022-02-01 05:26:00.421211000 +0200
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
dnl See versioning rule:
|
||||
dnl https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
||||
-AC_SUBST(LT_CURRENT, 35)
|
||||
+AC_SUBST(LT_CURRENT, 31)
|
||||
AC_SUBST(LT_REVISION, 1)
|
||||
AC_SUBST(LT_AGE, 21)
|
||||
|
||||
@@ -2,6 +2,10 @@ include/nghttp2/nghttp2.h
|
||||
include/nghttp2/nghttp2ver.h
|
||||
lib/libnghttp2.a
|
||||
lib/libnghttp2.so
|
||||
lib/libnghttp2.so.31
|
||||
lib/libnghttp2.so.42
|
||||
lib/pkgconfig/libnghttp2.pc
|
||||
man/man1/h2load.1.gz
|
||||
man/man1/nghttp.1.gz
|
||||
man/man1/nghttpd.1.gz
|
||||
man/man1/nghttpx.1.gz
|
||||
@dir include/nghttp2
|
||||
|
||||
Reference in New Issue
Block a user