net/libngtcp2: Update to 0.1.0

Changes:	https://github.com/ngtcp2/ngtcp2/releases
This commit is contained in:
Po-Chuan Hsieh 2022-01-29 07:18:27 +08:00
parent e5393aaa67
commit 7ac52f5e1d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 19 additions and 22 deletions

View File

@ -1,8 +1,9 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= ngtcp2
PORTVERSION= 0.1.0.g20211219
PORTVERSION= 0.1.0
CATEGORIES= net
MASTER_SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= lib
MAINTAINER= sunpoet@FreeBSD.org
@ -11,7 +12,7 @@ COMMENT= Implementation of QUIC protocol
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf compiler:c++17-lang libtool pathfix pkgconfig
USES= compiler:c++17-lang libtool pathfix pkgconfig ssl tar:xz
CONFIGURE_ARGS= --enable-lib-only --with-jemalloc
GNU_CONFIGURE= yes
@ -19,10 +20,4 @@ INSTALL_TARGET= install-strip
USE_CXXSTD= c++17
USE_LDCONFIG= yes
GH_TAGNAME= 20c710a
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/configure.ac
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1641045814
SHA256 (ngtcp2-ngtcp2-0.1.0.g20211219-20c710a_GH0.tar.gz) = c82843140c93a3b5df33487daeccf17e635dc596e916870e7447df0c3e660d8f
SIZE (ngtcp2-ngtcp2-0.1.0.g20211219-20c710a_GH0.tar.gz) = 3270784
TIMESTAMP = 1643382508
SHA256 (ngtcp2-0.1.0.tar.xz) = 7989b9cdcb3b36a3daf00bd7b759673ff626ef7d0fa92b8b944d1cc6243d4554
SIZE (ngtcp2-0.1.0.tar.xz) = 540132

View File

@ -0,0 +1,13 @@
--- Makefile.in.orig 2022-01-16 12:35:06 UTC
+++ Makefile.in
@@ -425,8 +425,8 @@ top_srcdir = @top_srcdir@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-SUBDIRS = lib tests doc $(am__append_1) $(am__append_2)
-dist_doc_DATA = README.rst
+SUBDIRS = lib $(am__append_1)
+dist_doc_DATA =
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
cmakeconfig.h.in \

View File

@ -1,11 +0,0 @@
--- configure.ac.orig 2021-07-31 08:13:05 UTC
+++ configure.ac
@@ -22,7 +22,7 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AC_PREREQ(2.61)
-AC_INIT([ngtcp2], [0.1.0-DEV], [t-tujikawa@users.sourceforge.net])
+AC_INIT([ngtcp2], [%%PORTVERSION%%], [t-tujikawa@users.sourceforge.net])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])