From nobody Wed Jan 12 18:12:22 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2F768195F533; Wed, 12 Jan 2022 18:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYwdL6NFpz3n0S; Wed, 12 Jan 2022 18:12:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BB60911D8B; Wed, 12 Jan 2022 18:12:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20CICMjg050718; Wed, 12 Jan 2022 18:12:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20CICMQx050717; Wed, 12 Jan 2022 18:12:22 GMT (envelope-from git) Date: Wed, 12 Jan 2022 18:12:22 GMT Message-Id: <202201121812.20CICMQx050717@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ka Ho Ng Subject: git: 8d0e3b1638e8 - main - net/libnatpmp: Update to 20211229 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d0e3b1638e848770e19bca6b9f30c5142640a2f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642011142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tox0/ginWx7JenLdHLFA1Odpar47hvrM9iARlecPVHg=; b=l4hd2WsidbDh6Vch34spn4XqkN+6/9lOFKMYX04wSmgw2lWCC5ulJi3Io+e5Zv7kqufJI5 i+4EH1ACB8NUWP9EqaJFK9DkRFLeQ4W/2TMzSrWAWEgCKXbCH8yOCc1vX4ZjRt8HDQ4z7z Lh9hJ8wD/K05BzzF8UIzYZhF4pt2Kw5nfRVAdOopeE5Q8GwzD8CzPzIOCVLCWJ2HYfVL24 S0Jkhx33zn3JmWATYB5qmimf+O4tGW1/YRT2Kw/MpoPXxNndlrs6bEkMeOSi1M+COaOtVX RrQT53ge/eORBgFu+Ij1QYacXOEAgxAOd1RtspbMwcOh2BwXgqgYpY4hlHdeyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642011142; a=rsa-sha256; cv=none; b=FGkXHqfqRB3lJU5ml9yXqlMGC9nRkQh1ngWbXlpbRcbWgevjCL1eOLf4+tQLBgej9bAsLK 3hML2cwR6G2ysX2Ua603lBEE7mM375EFATrFNfo7f+C1QF+ep02yESyuB7vbOpqRfB9eMj RNL8z5cVPg7ZVNHY2cVY+1C7pnbseTPjgGzJZXzh6NssoAZlFcW/wFsfDE4/gcuYsZ7pr9 yti9OT/OOAxNmRsasI1h+Xh1ZD2uLLP++BuCjR8yMgbFR6UP0MMfpEUBJv7HWflGPg670+ TR6pnFsARIEeGOH96bJLGd9XIkvEkm6SFJIdbl/is2NEdcXkLXEimvBney2LtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by khng (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=8d0e3b1638e848770e19bca6b9f30c5142640a2f commit 8d0e3b1638e848770e19bca6b9f30c5142640a2f Author: Hung-Yi Chen AuthorDate: 2022-01-12 03:28:58 +0000 Commit: Ka Ho Ng CommitDate: 2022-01-12 18:11:09 +0000 net/libnatpmp: Update to 20211229 WWW is updated as well. PR: 261126 Approved by: vanilla --- net/libnatpmp/Makefile | 18 +++++++++++------- net/libnatpmp/distinfo | 12 +++++++++--- net/libnatpmp/pkg-descr | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/net/libnatpmp/Makefile b/net/libnatpmp/Makefile index 2b7f707f3d14..c49aeb62d3d6 100644 --- a/net/libnatpmp/Makefile +++ b/net/libnatpmp/Makefile @@ -1,9 +1,13 @@ # Created by: Hung-Yi Chen PORTNAME= libnatpmp -PORTVERSION= 20150609 +PORTVERSION= 20211229 CATEGORIES= net -MASTER_SITES= http://miniupnp.free.fr/files/ + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 39ad4b34b967.patch:-p1 # https://github.com/miniupnp/libnatpmp/pull/20 +PATCHFILES+= 16ae5af7b7c5.patch:-p1 # https://github.com/miniupnp/libnatpmp/pull/21 +PATCHFILES+= 5f4a7c65837a.patch:-p1 # https://github.com/miniupnp/libnatpmp/pull/22 MAINTAINER= gaod@hychen.org COMMENT= NAT-PMP lightweight library @@ -13,20 +17,20 @@ LICENSE= BSD3CLAUSE USES= gmake USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= miniupnp +GH_TAGNAME= 4b8b447 + MAKE_ARGS+= CC="${CC}" MAKE_ENV+= INSTALLPREFIX=${STAGEDIR}${PREFIX} PLIST_FILES= bin/natpmpc \ include/natpmp.h \ + include/natpmp_declspec.h \ lib/libnatpmp.a \ lib/libnatpmp.so \ lib/libnatpmp.so.1 -post-patch: - @${REINPLACE_CMD} -e 's/^LIBSPEC //' \ - -e '/declspec\.h/d' \ - ${WRKSRC}/natpmp.h - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \ ${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1 diff --git a/net/libnatpmp/distinfo b/net/libnatpmp/distinfo index 7219a862b0d0..52289422c28e 100644 --- a/net/libnatpmp/distinfo +++ b/net/libnatpmp/distinfo @@ -1,3 +1,9 @@ -TIMESTAMP = 1489487575 -SHA256 (libnatpmp-20150609.tar.gz) = e1aa9c4c4219bc06943d6b2130f664daee213fb262fcb94dd355815b8f4536b0 -SIZE (libnatpmp-20150609.tar.gz) = 24392 +TIMESTAMP = 1641963039 +SHA256 (miniupnp-libnatpmp-20211229-4b8b447_GH0.tar.gz) = c66ae17652c5c8b7625a64123bcbe73cc6d2cd897b87e1931c387a3bf6d80798 +SIZE (miniupnp-libnatpmp-20211229-4b8b447_GH0.tar.gz) = 26742 +SHA256 (39ad4b34b967.patch) = ee59bb5ee6c9cc597d6fd7dd1ca0ab2816207f8573017524f46b39397f0e9230 +SIZE (39ad4b34b967.patch) = 806 +SHA256 (16ae5af7b7c5.patch) = bf32f9746951fece16e1c5ae9def1e1aa47a579db7dcc8cd14b7a5f7c8d90ff3 +SIZE (16ae5af7b7c5.patch) = 665 +SHA256 (5f4a7c65837a.patch) = 65182f1dd723b7ec9720a44aca62ecb7c07757a1a13dd16f09aeab8a5629af99 +SIZE (5f4a7c65837a.patch) = 576 diff --git a/net/libnatpmp/pkg-descr b/net/libnatpmp/pkg-descr index fe8797890363..4820b09fceee 100644 --- a/net/libnatpmp/pkg-descr +++ b/net/libnatpmp/pkg-descr @@ -3,4 +3,4 @@ of the protocol for the client side. It is based on non blocking sockets and all calls of the API are asynchronous. It is therefore very easy to integrate the NAT-PMP code to any event driven code. -WWW: http://miniupnp.free.fr/ +WWW: https://github.com/miniupnp/libnatpmp