From 7ac52f5e1d5805581deeff80b30270c1b8090cc9 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 29 Jan 2022 07:18:27 +0800 Subject: [PATCH] net/libngtcp2: Update to 0.1.0 Changes: https://github.com/ngtcp2/ngtcp2/releases --- net/libngtcp2/Makefile | 11 +++-------- net/libngtcp2/distinfo | 6 +++--- net/libngtcp2/files/patch-Makefile.in | 13 +++++++++++++ net/libngtcp2/files/patch-configure.ac | 11 ----------- 4 files changed, 19 insertions(+), 22 deletions(-) create mode 100644 net/libngtcp2/files/patch-Makefile.in delete mode 100644 net/libngtcp2/files/patch-configure.ac diff --git a/net/libngtcp2/Makefile b/net/libngtcp2/Makefile index 22b81bd52934..72bcb0d03889 100644 --- a/net/libngtcp2/Makefile +++ b/net/libngtcp2/Makefile @@ -1,8 +1,9 @@ # Created by: Po-Chuan Hsieh 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 diff --git a/net/libngtcp2/distinfo b/net/libngtcp2/distinfo index e69ce4380a47..80ea19235a68 100644 --- a/net/libngtcp2/distinfo +++ b/net/libngtcp2/distinfo @@ -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 diff --git a/net/libngtcp2/files/patch-Makefile.in b/net/libngtcp2/files/patch-Makefile.in new file mode 100644 index 000000000000..afad6594b328 --- /dev/null +++ b/net/libngtcp2/files/patch-Makefile.in @@ -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 \ diff --git a/net/libngtcp2/files/patch-configure.ac b/net/libngtcp2/files/patch-configure.ac deleted file mode 100644 index 94f5f991bf30..000000000000 --- a/net/libngtcp2/files/patch-configure.ac +++ /dev/null @@ -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])