summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-11 11:36:31 +0000
committernia <nia@pkgsrc.org>2019-09-11 11:36:31 +0000
commit204f0fcb0bab4878e1690f1ce0c4031d8947cda6 (patch)
tree68a88fcbf8a720712b4bdcbcd37173aa86c2a2e4 /security
parentd56194d8734c10f09b5d8a03ccb6f2bfc8d3ad80 (diff)
downloadpkgsrc-204f0fcb0bab4878e1690f1ce0c4031d8947cda6.tar.gz
KeePass: Update to 2.43
Switch away from mono2 and install a desktop file.
Diffstat (limited to 'security')
-rw-r--r--security/KeePass/Makefile13
-rw-r--r--security/KeePass/PLIST14
-rw-r--r--security/KeePass/distinfo10
-rw-r--r--security/KeePass/files/keepass.desktop12
4 files changed, 31 insertions, 18 deletions
diff --git a/security/KeePass/Makefile b/security/KeePass/Makefile
index 8869a7a1aa7..e3d7883acf9 100644
--- a/security/KeePass/Makefile
+++ b/security/KeePass/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2018/11/14 22:22:20 kleink Exp $
+# $NetBSD: Makefile,v 1.18 2019/09/11 11:36:31 nia Exp $
-DISTNAME= KeePass-2.23
-PKGREVISION= 6
+DISTNAME= KeePass-2.43
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=keepass/}
EXTRACT_SUFX= .zip
@@ -11,12 +10,12 @@ HOMEPAGE= https://keepass.info/
COMMENT= Free, open source, light-weight and easy-to-use password manager
LICENSE= gnu-gpl-v2
-DEPENDS+= mono>=2.6<3:../../lang/mono2
-
-WRKSRC= ${WRKDIR}
+WRKSRC= ${WRKDIR}/keepass
+EXTRACT_DIR= ${WRKDIR}/keepass
USE_LANGUAGES= # none
INSTALLATION_DIRS= bin libexec/KeePass/XSL
+INSTALLATION_DIRS+= share/applications
do-build:
${ECHO} '#!/bin/sh' > ${WRKSRC}/KeePass
@@ -26,6 +25,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/KeePass ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/libexec/KeePass
${INSTALL_DATA} ${WRKSRC}/XSL/* ${DESTDIR}${PREFIX}/libexec/KeePass/XSL
+ ${INSTALL_DATA} ${FILESDIR}/keepass.desktop ${DESTDIR}${PREFIX}/share/applications
.include "../../graphics/libgdiplus/buildlink3.mk"
+.include "../../lang/mono/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/KeePass/PLIST b/security/KeePass/PLIST
index c9d468d51a7..0fa8ae350cf 100644
--- a/security/KeePass/PLIST
+++ b/security/KeePass/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/10/27 22:18:50 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/09/11 11:36:31 nia Exp $
bin/KeePass
libexec/KeePass/KeePass.XmlSerializers.dll
libexec/KeePass/KeePass.chm
@@ -8,9 +8,9 @@ libexec/KeePass/KeePassLibC32.dll
libexec/KeePass/KeePassLibC64.dll
libexec/KeePass/License.txt
libexec/KeePass/ShInstUtil.exe
-libexec/KeePass/XSL/KDBX_DetailsFull.xsl
-libexec/KeePass/XSL/KDBX_DetailsLite.xsl
-libexec/KeePass/XSL/KDBX_PasswordsOnly.xsl
-libexec/KeePass/XSL/KDBX_Styles.css
-libexec/KeePass/XSL/KDBX_Tabular.xsl
-libexec/KeePass/XSL/TableHeader.gif
+libexec/KeePass/XSL/KDBX_Common.xsl
+libexec/KeePass/XSL/KDBX_DetailsFull_HTML.xsl
+libexec/KeePass/XSL/KDBX_DetailsLight_HTML.xsl
+libexec/KeePass/XSL/KDBX_PasswordsOnly_TXT.xsl
+libexec/KeePass/XSL/KDBX_Tabular_HTML.xsl
+share/applications/keepass.desktop
diff --git a/security/KeePass/distinfo b/security/KeePass/distinfo
index 3d682d9e937..e8e7940d55a 100644
--- a/security/KeePass/distinfo
+++ b/security/KeePass/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 01:17:40 agc Exp $
+$NetBSD: distinfo,v 1.5 2019/09/11 11:36:31 nia Exp $
-SHA1 (KeePass-2.23.zip) = f9537fc49136d2a0166b0ba0020ddc4bca941bf2
-RMD160 (KeePass-2.23.zip) = eb34f3a5b38dd0dec8cace65ad3a7be830eea18d
-SHA512 (KeePass-2.23.zip) = 0f6559d279dcff22edd5bdf57eeef9448481585d14764d45c671e96c7fa5cb40d4d70a950b4e695e6b2f0e72027a22e3066aba53e78285b6bae0246103156c0a
-Size (KeePass-2.23.zip) = 2281387 bytes
+SHA1 (KeePass-2.43.zip) = 3808fce7ec21c5fa9ee11c9f573c7865d1b83228
+RMD160 (KeePass-2.43.zip) = ed0eff06697a2822f97d3e4eb02aa19b5b9e4f7c
+SHA512 (KeePass-2.43.zip) = b0430b8f26b7eea2bf55e564a7e205f75049be87025dda03bf60eb25acdd840c0d19c2231d4ea13b997e91dffff0b294b2196c7ad831d31964501d713ff7d2b2
+Size (KeePass-2.43.zip) = 3210221 bytes
diff --git a/security/KeePass/files/keepass.desktop b/security/KeePass/files/keepass.desktop
new file mode 100644
index 00000000000..907bf788d47
--- /dev/null
+++ b/security/KeePass/files/keepass.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Name=KeePass Password Safe
+GenericName=Cross-platform password manager
+Comment=The free, open source, light-weight and easy-to-use password manager
+Exec=KeePass
+Icon=keepass
+MimeType=application/x-keepass2;
+Terminal=false
+StartupNotify=false
+Categories=Utility;
+StartupWMClass=KeePass2