From nobody Fri Jul 19 01:31:38 2024 X-Original-To: dev-commits-ports-all@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 4WQBwV2Rw9z5QpBr; Fri, 19 Jul 2024 01:31:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQBwV1yT4z4Vnj; Fri, 19 Jul 2024 01:31:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721352698; 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=VV0L4S7Kx9knQO3oNRa2i/L4rD/E4wdizvYWsyZ5ZtU=; b=JVPlO7zkhxzqUkgOM5hcN2q07QPxLc1njuDHsjz5IAZCLCZZ7NZbOPaXRi5IstUPD6d5+H ObKmWbOWO2ks2gcYSNVGE+Byon4+NX+oBZ/Vh/a+Q5S1eaewLC2BXzGRyh+7Z/yWN/ylG8 l5QJnMOQMwyJLQfTPF8zoNQ3qJpqHa7Z8/A1G8RRDz6yg+JhQ9HJK+ezKqQy4aOiy3flra xsT6iJUlr0t8XWUBgftq2R2TCPg0Tq8bE5n51rgN8xojyk/S3ZCXa0YhhgDHa7nbD5xSbt Alau5nUQagzh4r3CVFsSrAi89AoG7VeaHoll8WY+dYgX73igKkN/Y4N7Y3fItQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721352698; a=rsa-sha256; cv=none; b=LFvF0X92SiK4E1QxGZVv/2bjIRMFiWI1fhtXiJToeHXl+OaDyEULNSnQXBFBksFMpw5ors yW8f/1x6jq1z3sFItYRrtzjNYXN45x3inLtQh1g+Z7f8yQHX9lczll8Kg2XEAvoWs73sS8 I5XWOXeRkPCzDRnFmB/Ybx1S2IoEakMMj7Ji8wslOM4bQAXNmivtaOWEwJiiuYl8oOdXEP tS/d4lJ4khZp0awYgUOsX1DhWcxb+QOeuwefopGA+0LmjO6C7EI634FyKRClGdcAFSVaNm Uph9QQx80eNi3EyHLeuxm1IqQZacZos3qJ4B0+hibbIRLKidy9EGcpLgL28TrQ== 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=1721352698; 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=VV0L4S7Kx9knQO3oNRa2i/L4rD/E4wdizvYWsyZ5ZtU=; b=wE5PQ3+25r3o02Pu9ja64a1OD6pWpmOcu738/Ar9bz7vLoU1dK14QH4X/o4SMOgOOWmn+v zcPCskDQzAXKg5Ybo5QFIYRR8RpEvTYamnE/ULtymhgdU+QCPdYRtJKQpVdurKGdCslFaV +3zHMZhuHK/UiGL4EXb8yEyCrB2K01jdTJqAU58UU/masH1ysT8uySfHdDU+ow+Rpkfkdu CEBNVzYgzRjlXtWvChaHdbSp/Q1D3x7f3JKpq/orPcSfc2eRl8EwEy5EhURBxMZ33qcZgq 1diSs8yIvOu190e3CQuiaSXPPdkTW0zHe9dfP7bxkYY5gZUPKzeZz3mdTI19Jw== 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 4WQBwV1Yz8z1Bmh; Fri, 19 Jul 2024 01:31:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46J1Vc57007713; Fri, 19 Jul 2024 01:31:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46J1VcJi007710; Fri, 19 Jul 2024 01:31:38 GMT (envelope-from git) Date: Fri, 19 Jul 2024 01:31:38 GMT Message-Id: <202407190131.46J1VcJi007710@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: e34f6550a701 - main - security/keepass-plugin-keepassrpc: update 1.8.0 =?utf-8?Q?=E2=86=92?= 2.0.2 (CVE-2020-16271) and take maintainership List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e34f6550a701b73f476a8f75d400df323620253b Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e34f6550a701b73f476a8f75d400df323620253b commit e34f6550a701b73f476a8f75d400df323620253b Author: gatekeeper AuthorDate: 2024-07-19 01:22:15 +0000 Commit: Vladimir Druzenko CommitDate: 2024-07-19 01:22:15 +0000 security/keepass-plugin-keepassrpc: update 1.8.0 → 2.0.2 (CVE-2020-16271) and take maintainership Changelogs: https://forum.kee.pm/t/release-notes-keepassrpc-1-9-0/2345 https://github.com/kee-org/keepassrpc/releases/tag/v1.10.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.11.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.12.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.12.1 https://github.com/kee-org/keepassrpc/releases/tag/v1.13.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.14.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.15.0 https://github.com/kee-org/keepassrpc/releases/tag/v1.15.1 https://github.com/kee-org/keepassrpc/releases/tag/v1.16.0 https://github.com/kee-org/keepassrpc/releases/tag/v2.0.0 https://github.com/kee-org/keepassrpc/releases/tag/v2.0.1 https://github.com/kee-org/keepassrpc/releases/tag/v2.0.2 Security: https://forum.kee.pm/t/a-critical-security-update-for-keepassrpc-is-available/3040 https://forum.kee.pm/t/cve-2020-16271-warning-message/3143 PR: 280357 MFH: 2024Q3 --- security/keepass-plugin-keepassrpc/Makefile | 13 +++-- security/keepass-plugin-keepassrpc/distinfo | 6 +- .../files/patch-KeePassRPC_KeePassRPC.csproj | 65 +++++++++++++++++----- 3 files changed, 60 insertions(+), 24 deletions(-) diff --git a/security/keepass-plugin-keepassrpc/Makefile b/security/keepass-plugin-keepassrpc/Makefile index 6ba09441668e..4b1b44503c1a 100644 --- a/security/keepass-plugin-keepassrpc/Makefile +++ b/security/keepass-plugin-keepassrpc/Makefile @@ -1,18 +1,18 @@ PORTNAME= keepassrpc -PORTVERSION= 1.8.0 +PORTVERSION= 2.0.2 DISTVERSIONPREFIX=v -PORTREVISION= 2 CATEGORIES= security PKGNAMEPREFIX= keepass-plugin- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tiago.gasiba@gmail.com COMMENT= KeePass plugin which facilitates the Kee Firefox plugin WWW= https://www.kee.pm/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= keepass>0:security/keepass +BUILD_DEPENDS= keepass>0:security/keepass \ + msbuild:devel/msbuild LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus USES= cpe mono @@ -20,8 +20,8 @@ CPE_VENDOR= kee USE_GITHUB= yes GH_ACCOUNT= kee-org -NO_ARCH= yes DATADIR= ${PREFIX}/share/keepass/Plugins +NO_ARCH= yes OPTIONS_DEFINE= DEBUG DEBUG_VARS= config=Debug @@ -29,12 +29,13 @@ DEBUG_VARS_OFF= config=Release do-build: (cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:KeePassRPC /p:Configuration=${CONFIG}) + ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/msbuild /t:KeePassRPC /p:Configuration=${CONFIG}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/KeePassRPC/bin/${CONFIG} && \ ${RM} ./KeePass.exe && \ + ${RM} ./KeePass.exe.config && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/security/keepass-plugin-keepassrpc/distinfo b/security/keepass-plugin-keepassrpc/distinfo index 3eaedd8e6f9e..eb6b02ca6c68 100644 --- a/security/keepass-plugin-keepassrpc/distinfo +++ b/security/keepass-plugin-keepassrpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549286066 -SHA256 (kee-org-keepassrpc-v1.8.0_GH0.tar.gz) = aaa91cb93f89c32d92e26fecc379db9b5604db82350f75ec33ec5fe97a0c8686 -SIZE (kee-org-keepassrpc-v1.8.0_GH0.tar.gz) = 3986474 +TIMESTAMP = 1721341251 +SHA256 (kee-org-keepassrpc-v2.0.2_GH0.tar.gz) = 49e009dd20291a11ef53417329d018ef833eaee290c3e7ca0dc38e9900d6d925 +SIZE (kee-org-keepassrpc-v2.0.2_GH0.tar.gz) = 3869344 diff --git a/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj b/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj index bd75a37d91b6..a24b6cd7155d 100644 --- a/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj +++ b/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj @@ -1,18 +1,53 @@ ---- KeePassRPC/KeePassRPC.csproj.orig 2017-12-16 23:19:07 UTC +--- KeePassRPC/KeePassRPC.csproj.orig 2024-06-12 18:29:35 UTC +++ KeePassRPC/KeePassRPC.csproj -@@ -105,7 +105,7 @@ - - False - .exe -- ..\..\..\..\Program Files (x86)\KeePass Password Safe 2 DEV\KeePass.exe -+ /usr/local/share/keepass/KeePass.exe +@@ -113,7 +113,7 @@ + + + $(USERPROFILE)\KeePassDEV\KeePass.exe +- $(home)/keepass-dev/KeePass.exe ++ /usr/local/share/keepass/KeePass.exe - - -@@ -385,4 +385,4 @@ - :BuildEventOK - echo POSTBUILDSTEP for $(ProjectName) COMPLETED OK + + +@@ -478,38 +478,12 @@ -- -\ No newline at end of file -+ + + +- #!/bin/bash +- echo POSTBUILDSTEP for $(ProjectName) +- +- export KPDir="${HOME}/keepass-dev/" +- export KPPDir=${KPDir}Plugins/ +- export KPPTempDir="${KPPDir}$(ProjectName)" +- +- # delete the PLGX from any previous ReleasePLGX build +- rm -f "${KPPDir}$(ProjectName).plgx" +- if [ $? = 1 ]; then echo POSTBUILDSTEP for $(ProjectName) FAILED; exit 1; fi +- echo Release plgx deleted +- +- # copy output DLLs to KeePass plugins directory +- cp "$(ProjectName).dll" "${KPPDir}$(ProjectName).dll" +- cp "$(ProjectName).pdb" "${KPPDir}$(ProjectName).pdb" +- +- if [ $? = 1 ]; then echo POSTBUILDSTEP for $(ProjectName) FAILED; exit 1; fi +- +- cp "Jayrock.dll" "${KPPDir}Jayrock.dll" +- cp "Jayrock.Json.dll" "${KPPDir}Jayrock.Json.dll" +- cp "Fleck2.dll" "${KPPDir}Fleck2.dll" +- cp "DomainPublicSuffix.dll" "${KPPDir}DomainPublicSuffix.dll" +- +- if [ $? = 1 ]; then echo POSTBUILDSTEP for $(ProjectName) FAILED; exit 1; fi +- +- echo Debug DLLs copied to plugins directory +- +- echo POSTBUILDSTEP for $(ProjectName) COMPLETED OK ++ #!/bin/sh ++ echo POSTBUILDSTEP for $(ProjectName): COMPLETED OK + + + +- #!/bin/bash ++ #!/usr/local/bin/bash + echo POSTBUILDSTEP for $(ProjectName) + + export KPDir="${HOME}/keepass-dev/"