aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2018-01-23 18:34:21 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2018-01-23 18:34:21 +0800
commit6f1a6e15cf036fea2580ec7b7129421e8c279a02 (patch)
treead0336e7ee6c8f85895c597d0b837d6932fa366b
parent1b0decaa20ffae16a1a7e5a686f5675cc95e170f (diff)
downloadfreebsd-ports-gnome-6f1a6e15cf036fea2580ec7b7129421e8c279a02.tar.gz
freebsd-ports-gnome-6f1a6e15cf036fea2580ec7b7129421e8c279a02.tar.zst
freebsd-ports-gnome-6f1a6e15cf036fea2580ec7b7129421e8c279a02.zip
Add new port security/keepass-plugin-keepassrpc
KeePassRPC is a KeePass plugin that allows applications to transfer passwords to and from KeePass. One such application is the Kee plugin for Firefox, which adds free, secure and easy to use password management features to your web browser which save you time and keep your private data more secure. WWW: https://www.kee.pm/
-rw-r--r--security/Makefile1
-rw-r--r--security/keepass-plugin-keepassrpc/Makefile40
-rw-r--r--security/keepass-plugin-keepassrpc/distinfo3
-rw-r--r--security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj18
-rw-r--r--security/keepass-plugin-keepassrpc/pkg-descr8
-rw-r--r--security/keepass-plugin-keepassrpc/pkg-plist6
6 files changed, 76 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 7777dc069017..6b882513b308 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -294,6 +294,7 @@
SUBDIR += kdbx-viewer
SUBDIR += kedpm
SUBDIR += keepass
+ SUBDIR += keepass-plugin-keepassrpc
SUBDIR += keepassx
SUBDIR += keepassx-devel
SUBDIR += keepassx2
diff --git a/security/keepass-plugin-keepassrpc/Makefile b/security/keepass-plugin-keepassrpc/Makefile
new file mode 100644
index 000000000000..356696ce5af4
--- /dev/null
+++ b/security/keepass-plugin-keepassrpc/Makefile
@@ -0,0 +1,40 @@
+# Created by: Ben Woods <woodsb02@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= keepassrpc
+PORTVERSION= 1.7.3.1
+DISTVERSIONPREFIX=v
+CATEGORIES= security
+PKGNAMEPREFIX= keepass-plugin-
+
+MAINTAINER= woodsb02@FreeBSD.org
+COMMENT= KeePass plugin which facilitates the Kee Firefox plugin
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= keepass>0:security/keepass
+LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus
+
+USES= mono
+USE_GITHUB= yes
+GH_ACCOUNT= kee-org
+
+NO_ARCH= yes
+DATADIR= ${PREFIX}/share/keepass/Plugins
+
+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})
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC}/KeePassRPC/bin/${CONFIG} && \
+ ${RM} ./KeePass.exe && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
+
+.include <bsd.port.mk>
diff --git a/security/keepass-plugin-keepassrpc/distinfo b/security/keepass-plugin-keepassrpc/distinfo
new file mode 100644
index 000000000000..5d4d237ceb25
--- /dev/null
+++ b/security/keepass-plugin-keepassrpc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513463878
+SHA256 (kee-org-keepassrpc-v1.7.3.1_GH0.tar.gz) = 40c67c8290d7cbbc6c951eb9bccd197454f4323e1194b082437507d206eac029
+SIZE (kee-org-keepassrpc-v1.7.3.1_GH0.tar.gz) = 3973388
diff --git a/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj b/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj
new file mode 100644
index 000000000000..bd75a37d91b6
--- /dev/null
+++ b/security/keepass-plugin-keepassrpc/files/patch-KeePassRPC_KeePassRPC.csproj
@@ -0,0 +1,18 @@
+--- KeePassRPC/KeePassRPC.csproj.orig 2017-12-16 23:19:07 UTC
++++ KeePassRPC/KeePassRPC.csproj
+@@ -105,7 +105,7 @@
+ <Reference Include="KeePass, Version=2.1.8.29009, Culture=neutral, PublicKeyToken=7952fc8ece49a093, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <ExecutableExtension>.exe</ExecutableExtension>
+- <HintPath>..\..\..\..\Program Files (x86)\KeePass Password Safe 2 DEV\KeePass.exe</HintPath>
++ <HintPath>/usr/local/share/keepass/KeePass.exe</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Configuration" />
+@@ -385,4 +385,4 @@
+ :BuildEventOK
+ echo POSTBUILDSTEP for $(ProjectName) COMPLETED OK</PostBuildEvent>
+ </PropertyGroup>
+-</Project>
+\ No newline at end of file
++</Project>
diff --git a/security/keepass-plugin-keepassrpc/pkg-descr b/security/keepass-plugin-keepassrpc/pkg-descr
new file mode 100644
index 000000000000..2c2b9b3c1138
--- /dev/null
+++ b/security/keepass-plugin-keepassrpc/pkg-descr
@@ -0,0 +1,8 @@
+KeePassRPC is a KeePass plugin that allows applications to transfer passwords to
+and from KeePass.
+
+One such application is the Kee plugin for Firefox, which adds free, secure and
+easy to use password management features to your web browser which save you time
+and keep your private data more secure.
+
+WWW: https://www.kee.pm/
diff --git a/security/keepass-plugin-keepassrpc/pkg-plist b/security/keepass-plugin-keepassrpc/pkg-plist
new file mode 100644
index 000000000000..0ee1afc1fcb8
--- /dev/null
+++ b/security/keepass-plugin-keepassrpc/pkg-plist
@@ -0,0 +1,6 @@
+%%DATADIR%%/DomainPublicSuffix.dll
+%%DATADIR%%/Fleck2.dll
+%%DATADIR%%/Jayrock.Json.dll
+%%DATADIR%%/Jayrock.dll
+%%DATADIR%%/KeePassRPC.dll
+%%DATADIR%%/KeePassRPC.dll.mdb