From nobody Sun Sep 10 16:13:52 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 4RkFJw6TZ8z4s29r; Sun, 10 Sep 2023 16:13:52 +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 4RkFJw5HQlz3QCn; Sun, 10 Sep 2023 16:13:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694362432; 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=SfHwvMhC/1/iS9K234PHxOGAjO7pSYdRQuRgjJ/coU0=; b=m64jhYhhMAcvG90GOWji6G8Gqcbkqwl/6go38YbH7oM0BO0stZfTixBWpVeJwVJZqAscW5 R2V9KR+ZSPULHNbUVNXzz4pfA95K+i4F1IuM161qG/kQSoeNKhNBR2EgKtKmRAPldR+cCu DC/IlmAr+vtRogOlfo86qjuxFVFKKZONHrkcYvvWUod8xjl1AdnulEd9eCuzLv6FEByUSQ BVwPE1HAorHQ6ALGA28pYyqxyqd8r9vhnV11uLQQ76ZtE6c097lM4KyzLNHvmGYW0OVlfl vvuBOCL0JTmgqwGEapkFcMl7EhS9IwNlBkJ0IEPOhZZAzmmeCZn5ZpEJwR5vDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694362432; a=rsa-sha256; cv=none; b=tpFbYO9Tuw6GtKxOuAHKIThxKGzOcESV2o9hpbSzTG6oq4opSLxrHDewbe9+nQ189Tu7rZ PkOJ+gYKQWYVYXvbA2RlbUmt4lEt6NE6Sh6nUeOr4hoXirTm6Wzy82c1EfOR/KgNLnTvav ze7lOplw0nst59aGsGhlEDaY8UIouTTtkNgObJaiPjK6HeLGxE+5v99ndXeff6mhePAp4m V4u9REkV+7buK3F0qlxr7yEGqolBmceiCzgtGuWRHV3aJGOLJxzkT6OeZay6LVJrGYeIGQ 8TbTxBknsI81rqe2o8n0VhkJ8OCNK6ooIRVU6fKZLbPG5cCy15eFDr+BYL9+Qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694362432; 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=SfHwvMhC/1/iS9K234PHxOGAjO7pSYdRQuRgjJ/coU0=; b=gVx3ab2Ttb5HASUJd/z5MwXuLvH+psaojFoaivtvzArr8bVVy/vIeY+3YDp2jgLiQo5GPu 7CjxQgxazAyfYNA76+wKCuftLe77t99eCKFqfJSHG3JsF7iuHY1p/2ZsdWj2NFeoxDgQAU Vr5UoeEa7giToBgvz+otUu7klVscw/bSR5HMb94gIhWfQC7BQJkQHGEFsxcECiRNAxi2lU ZHsaWv3BvqUj0UY4qhruE0z3Y3XgNCrxrasMRxObosRizhtuMtVzsHnU/IOiuyU7mWMhKv x1h17FaRQLRrZzjEbqwZAaggOuqxD3yJxhgtf0fnkSFMgXoQqfnMqklj2tEBEg== 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 4RkFJw4P0yz1Cch; Sun, 10 Sep 2023 16:13:52 +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 38AGDqFv025345; Sun, 10 Sep 2023 16:13:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AGDqfL025342; Sun, 10 Sep 2023 16:13:52 GMT (envelope-from git) Date: Sun, 10 Sep 2023 16:13:52 GMT Message-Id: <202309101613.38AGDqfL025342@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: 42c6d0e54ad9 - main - www/angie-module-upload: Angie upload 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: 42c6d0e54ad9bd941e0b805cab7f70af83139806 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=42c6d0e54ad9bd941e0b805cab7f70af83139806 commit 42c6d0e54ad9bd941e0b805cab7f70af83139806 Author: Oleg A. Mamontov AuthorDate: 2023-08-30 21:01:36 +0000 Commit: Robert Clausecker CommitDate: 2023-09-10 16:13:02 +0000 www/angie-module-upload: Angie upload dynamic module Module parses request body storing all files being uploaded to a directory. The files are then being stripped from body and altered request is then passed to a location specified by upload_pass directive, thus allowing arbitrary handling of uploaded files. PR: 273462 --- www/Makefile | 1 + www/angie-module-upload/Makefile | 24 ++++++++++++++++++++++++ www/angie-module-upload/files/pkg-message.in | 15 +++++++++++++++ www/angie-module-upload/pkg-descr | 4 ++++ www/angie-module-upload/pkg-plist | 3 +++ 5 files changed, 47 insertions(+) diff --git a/www/Makefile b/www/Makefile index 2b2c1f87d6a0..5033ea3047ad 100644 --- a/www/Makefile +++ b/www/Makefile @@ -47,6 +47,7 @@ SUBDIR += angie-module-rtmp SUBDIR += angie-module-set-misc SUBDIR += angie-module-subs + SUBDIR += angie-module-upload SUBDIR += angie-module-xslt SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-upload/Makefile b/www/angie-module-upload/Makefile new file mode 100644 index 000000000000..11edfbe73956 --- /dev/null +++ b/www/angie-module-upload/Makefile @@ -0,0 +1,24 @@ +PORTNAME= angie-module-upload +GH_TUPLE= fdintino:nginx-upload-module:2.3.0:module + +COMMENT= Angie upload dynamic module + +LICENSE_FILE= ${WRKSRC_module}/LICENCE + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_upload_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_http_upload_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_upload_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-upload/files/pkg-message.in b/www/angie-module-upload/files/pkg-message.in new file mode 100644 index 000000000000..486a315b8560 --- /dev/null +++ b/www/angie-module-upload/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <