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,40 +1,41 @@ 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 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 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/"