Date: Sat, 16 May 2015 16:39:15 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386557 - in head/security: . keepass keepass/files Message-ID: <201505161639.t4GGdF9B066157@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Sat May 16 16:39:14 2015 New Revision: 386557 URL: https://svnweb.freebsd.org/changeset/ports/386557 Log: Add security/keepass, the official KeePass client. KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish). This is the official KeePass application, which was originally only available for Windows, but has now been re-written with .Net and able to be run on BSD, Linux and Mac OS X with Mono. WWW: http://keepass.info/ PR: 200062 Submitted by: Ben Woods Added: head/security/keepass/ head/security/keepass/Makefile (contents, props changed) head/security/keepass/distinfo (contents, props changed) head/security/keepass/files/ head/security/keepass/files/keepass.sh.in (contents, props changed) head/security/keepass/pkg-descr (contents, props changed) head/security/keepass/pkg-plist (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Sat May 16 16:37:12 2015 (r386556) +++ head/security/Makefile Sat May 16 16:39:14 2015 (r386557) @@ -241,6 +241,7 @@ SUBDIR += john SUBDIR += kc SUBDIR += kedpm + SUBDIR += keepass SUBDIR += keepassx SUBDIR += keepassx2 SUBDIR += keybase Added: head/security/keepass/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepass/Makefile Sat May 16 16:39:14 2015 (r386557) @@ -0,0 +1,56 @@ +# Created by: Ben Woods <woodsb02@gmail.com> +# $FreeBSD$ + +PORTNAME= keepass +PORTVERSION= 2.29 +CATEGORIES= security +MASTER_SITES= SF/${PORTNAME}/KeePass%202.x/${PORTVERSION} +DISTNAME= KeePass-${PORTVERSION}-Source + +MAINTAINER= woodsb02@gmail.com +COMMENT= Light-weight and easy-to-use password manager + +LICENSE= GPLv2 # or later + +BUILD_DEPENDS= icotool:${PORTSDIR}/graphics/icoutils +LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ + libgdiplus.so:${PORTSDIR}/x11-toolkits/libgdiplus +RUN_DEPENDS= xdotool:${PORTSDIR}/x11/xdotool \ + xsel:${PORTSDIR}/x11/xsel + +EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} + +USES= mono zip +INSTALLS_ICONS= yes +SUB_FILES= ${PORTNAME}.sh + +DESKTOP_ENTRIES="KeePass" \ + "${COMMENT}" \ + "${PORTNAME}" \ + "keepass.sh" \ + "Utility;" \ + true + +do-build: + # Extract icons + (cd ${WRKSRC} && ${LOCALBASE}/bin/icotool -x KeePass/KeePass.ico) + # Prepare build + (cd ${WRKSRC}/Build && ${SH} PrepMonoDev.sh) + # Do build + (cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:KeePass /p:Configuration=Release) + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/Build/KeePass/Release/KeePass.exe ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/Ext/KeePass.config.xml ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/Ext/KeePass.exe.config ${STAGEDIR}${DATADIR} + @(cd ${WRKSRC}/Ext && ${COPYTREE_SHARE} XSL ${STAGEDIR}${DATADIR}) +.for size in 16 32 48 256 + @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/${size}x${size}/apps + ${INSTALL_DATA} ${WRKSRC}/KeePass_*_${size}x${size}x32.png \ + ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/${size}x${size}/apps/keepass.png +.endfor + +.include <bsd.port.mk> Added: head/security/keepass/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepass/distinfo Sat May 16 16:39:14 2015 (r386557) @@ -0,0 +1,2 @@ +SHA256 (KeePass-2.29-Source.zip) = b5582eb96611726a70b523c156c89dfb83ae80ce051a4f57bb0b7a6fbf023a14 +SIZE (KeePass-2.29-Source.zip) = 4762221 Added: head/security/keepass/files/keepass.sh.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepass/files/keepass.sh.in Sat May 16 16:39:14 2015 (r386557) @@ -0,0 +1,3 @@ +#!/bin/sh + +exec %%PREFIX%%/bin/mono %%PREFIX%%/share/keepass/KeePass.exe "$@" Added: head/security/keepass/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepass/pkg-descr Sat May 16 16:39:14 2015 (r386557) @@ -0,0 +1,12 @@ +KeePass is a free open source password manager, which helps you to manage your +passwords in a secure way. You can put all your passwords in one database, which +is locked with one master key or a key file. So you only have to remember one +single master password or select the key file to unlock the whole database. The +databases are encrypted using the best and most secure encryption algorithms +currently known (AES and Twofish). + +This is the official KeePass application, which was originally only available +for Windows, but has now been re-written with .Net and able to be run on BSD, +Linux and Mac OS X with Mono. + +WWW: http://keepass.info/ Added: head/security/keepass/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keepass/pkg-plist Sat May 16 16:39:14 2015 (r386557) @@ -0,0 +1,14 @@ +bin/keepass.sh +share/icons/hicolor/16x16/apps/keepass.png +share/icons/hicolor/256x256/apps/keepass.png +share/icons/hicolor/32x32/apps/keepass.png +share/icons/hicolor/48x48/apps/keepass.png +%%DATADIR%%/KeePass.config.xml +%%DATADIR%%/KeePass.exe +%%DATADIR%%/KeePass.exe.config +%%DATADIR%%/XSL/KDBX_DetailsFull.xsl +%%DATADIR%%/XSL/KDBX_DetailsLite.xsl +%%DATADIR%%/XSL/KDBX_PasswordsOnly.xsl +%%DATADIR%%/XSL/KDBX_Styles.css +%%DATADIR%%/XSL/KDBX_Tabular.xsl +%%DATADIR%%/XSL/TableHeader.gif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505161639.t4GGdF9B066157>