From nobody Wed Aug 09 13:04:33 2023 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 4RLVdF5RDfz4px7c; Wed, 9 Aug 2023 13:04:33 +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 4RLVdF4h8Dz4FND; Wed, 9 Aug 2023 13:04:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586273; 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=ccLZBUXXvMmZcQKaFY1tCudZuwTwjgI04kPo0YOGeo0=; b=qq71zkT6fvywqYtTf0nnZLjGZKCcEa8MAIR63nxp4FtsuK2E+HjpoDLJqrwIgn6Hy/7WV4 eVb8SlcQA5DvfHZtj0YvbJLfvygM/LAHA/IXr5Sk2gaM8lZHnCXYofAPkPFLmfF0GmgXcr u+GonIdaVIWYbDgXweSlNNorRNloBFv/uUDNM1nAA/aldbUQf+ZfQR6rWuKwr+0Q3EQ78w 6DGKqsppi2HYRwTYhFirMmvG+g/UiC7cldQPji8dmQLYLAVRpIN1ZpykBGZxJJqU88V8c1 4qqgIPeLZyA0N536k+LfXjNIQsAMYX3Cy34M3aU3UikkcWBAQGDhLPcvVMVlNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586273; 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=ccLZBUXXvMmZcQKaFY1tCudZuwTwjgI04kPo0YOGeo0=; b=Y4hKjlcJ5joRKfbYEuq3cUirBGuspjnlpCkQAQVEq0NCaWclHtZv8RdVUqiW2pNwoy3U/f vvuGWbgYMhTZk0oFl/nqsoExdOX1/4WK4+lCTWIV1EooL+y0L3/NA6tAsXSPd43i17XI69 wo4MSjabHHbWERbCUiyzL3UbjOKGibeEM0j9n/aYmYWfkM97fKC9/iL8WwGRnuvGxDnyLW zMHjwUdHuisEU39Izpp9WSe71p7PJyGDQ3KtELRE10eZhzpcCaUqFM4EAoQPQ4pgg5zfX6 sLkts7SpOwncRC+AXd2T6+CWJ0JK5RhvevgmORf6t+RWdTQ9NkQ870PVNztJNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586273; a=rsa-sha256; cv=none; b=mVRn/my84Du1XTKZPuAuFqm702I/Ys7S+jsyPzMe658ywHOFW2bbMZHnalOw3zuzuBA+eU LMPI4bruiyCz2/aeu/uCMqxXprhnPM2/sA4hAgqNuT/90OcLF77JFAQNRybHvYVFMf8i1g IvJ4XE4zekaEVKvsq0aysTrZabpa/odikYS51AG4JRUyZuBY3U8Qlw48inuAM64ZQL6K8g pS82StTEBpCT+doc1fGNShQz29A8l18pTTi7r0pCKtXILLFWniDyMqQwrPq5cmCVpjRk6Q pFtqDN6AwekqIQyXfDJhrSckNydblLrxaRl7Xf+8AYrzqhsu1beuoZvmPRJI2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RLVdF3mSGz2SD; Wed, 9 Aug 2023 13:04:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 379D4Xdt090041; Wed, 9 Aug 2023 13:04:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4XUY090038; Wed, 9 Aug 2023 13:04:33 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:33 GMT Message-Id: <202308091304.379D4XUY090038@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 41d2ade1eb63 - main - www/angie-module-brotli: Angie Brotli dynamic module 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41d2ade1eb634232d92ab60d4c5e0904ddced9db Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=41d2ade1eb634232d92ab60d4c5e0904ddced9db commit 41d2ade1eb634232d92ab60d4c5e0904ddced9db Author: Oleg A. Mamontov AuthorDate: 2023-08-07 18:24:32 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:15 +0000 www/angie-module-brotli: Angie Brotli dynamic module Module adds Brotli compression support to Angie. Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. PR: 272999 --- www/Makefile | 1 + www/angie-module-brotli/Makefile | 28 ++++++++++++++++++++++++++++ www/angie-module-brotli/files/pkg-message.in | 17 +++++++++++++++++ www/angie-module-brotli/pkg-descr | 5 +++++ www/angie-module-brotli/pkg-plist | 6 ++++++ 5 files changed, 57 insertions(+) diff --git a/www/Makefile b/www/Makefile index a419f6d8811c..1c8c6400140a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -28,6 +28,7 @@ SUBDIR += analog SUBDIR += angie SUBDIR += angie-module-auth-jwt + SUBDIR += angie-module-brotli SUBDIR += angie-module-geoip2 SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-brotli/Makefile b/www/angie-module-brotli/Makefile new file mode 100644 index 000000000000..2ec4cb655895 --- /dev/null +++ b/www/angie-module-brotli/Makefile @@ -0,0 +1,28 @@ +PORTNAME= angie-module-brotli +GH_TUPLE= google:ngx_brotli:v1.0.0rc:module + +COMMENT= Angie Brotli dynamic module + +LIB_DEPENDS= libbrotlienc.so:archivers/brotli + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + +.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module + ${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR} +.endfor + +.for i in CONTRIBUTING README + ${INSTALL_MAN} ${WRKSRC_module}/${i}.md ${STAGEDIR}${DOCSDIR} +.endfor + +do-install-DEBUG-on: +.for i in ngx_http_brotli_filter_module ngx_http_brotli_static_module + ${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \ + ${STAGEDIR}${MODDIR}/${i}-debug.so +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-brotli/files/pkg-message.in b/www/angie-module-brotli/files/pkg-message.in new file mode 100644 index 000000000000..8860feaf7fc4 --- /dev/null +++ b/www/angie-module-brotli/files/pkg-message.in @@ -0,0 +1,17 @@ +[ +{ type: install + message: <