diff options
-rw-r--r-- | security/keepassx0/DESCR | 9 | ||||
-rw-r--r-- | security/keepassx0/Makefile | 31 | ||||
-rw-r--r-- | security/keepassx0/PLIST | 99 | ||||
-rw-r--r-- | security/keepassx0/distinfo | 9 | ||||
-rw-r--r-- | security/keepassx0/patches/patch-src_crypto_aes__endian.h | 15 | ||||
-rw-r--r-- | security/keepassx0/patches/patch-src_lib_AutoTypeX11.cpp | 14 | ||||
-rw-r--r-- | security/keepassx0/patches/patch-src_lib_random.cpp | 14 |
7 files changed, 191 insertions, 0 deletions
diff --git a/security/keepassx0/DESCR b/security/keepassx0/DESCR new file mode 100644 index 00000000000..da1712420f9 --- /dev/null +++ b/security/keepassx0/DESCR @@ -0,0 +1,9 @@ +KeePass is a free/open-source password manager or safe 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-disk. So you only have +to remember one single master password or insert the key-disk to unlock the +whole database. The databases are encrypted using the best and most secure +encryption algorithms currently known (AES and Twofish). + +This package contains v0.4.x of the program with KeePass v1 database +format (kdb) support. diff --git a/security/keepassx0/Makefile b/security/keepassx0/Makefile new file mode 100644 index 00000000000..f12e6604057 --- /dev/null +++ b/security/keepassx0/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2015/12/11 13:35:04 wiz Exp $ + +DISTNAME= keepassx-0.4.4 +CATEGORIES= security +MASTER_SITES= https://www.keepassx.org/releases/${PKGVERSION_NOREV}/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.keepassx.org/ +COMMENT= Password manager or safe v0.4 (kdb support) +LICENSE= gnu-gpl-v2 + +USE_LANGUAGES= c c++ +USE_LIBTOOL= YES + +QMAKE= ${QTDIR}/bin/qmake +CONFIGURE_ARGS+= QMAKE=${QMAKE:Q} PREFIX=${PREFIX:Q} PRECOMPILED=0 +MAKE_ENV+= QTDIR=${QTDIR} PREFIX=${PREFIX} +INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} + +do-configure: + cd ${WRKSRC} && \ + ${QMAKE} -unix -o Makefile ${CONFIGURE_ARGS} keepassx.pro + +pre-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/keepassx ${WRKSRC}/src + +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/libXtst/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/keepassx0/PLIST b/security/keepassx0/PLIST new file mode 100644 index 00000000000..04ee461c6a6 --- /dev/null +++ b/security/keepassx0/PLIST @@ -0,0 +1,99 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/11 13:35:04 wiz Exp $ +bin/keepassx +share/applications/keepassx.desktop +share/keepassx/i18n/keepassx-de_DE.qm +share/keepassx/i18n/keepassx-es_ES.qm +share/keepassx/i18n/keepassx-fi_FI.qm +share/keepassx/i18n/keepassx-fr_FR.qm +share/keepassx/i18n/keepassx-gl_ES.qm +share/keepassx/i18n/keepassx-hu_HU.qm +share/keepassx/i18n/keepassx-it_IT.qm +share/keepassx/i18n/keepassx-ja_JP.qm +share/keepassx/i18n/keepassx-nb_NO.qm +share/keepassx/i18n/keepassx-nl_NL.qm +share/keepassx/i18n/keepassx-pl_PL.qm +share/keepassx/i18n/keepassx-pt_PT.qm +share/keepassx/i18n/keepassx-ru_RU.qm +share/keepassx/i18n/keepassx-sk_SK.qm +share/keepassx/i18n/keepassx-sr_RS.qm +share/keepassx/i18n/keepassx-tr_TR.qm +share/keepassx/i18n/keepassx-uk_UA.qm +share/keepassx/i18n/keepassx-zh_CN.qm +share/keepassx/i18n/qt_fi.qm +share/keepassx/i18n/qt_gl_ES.qm +share/keepassx/i18n/qt_hu.qm +share/keepassx/i18n/qt_it.qm +share/keepassx/i18n/qt_nl.qm +share/keepassx/i18n/qt_sr.qm +share/keepassx/i18n/qt_tr.qm +share/keepassx/icons/alarmclock.png +share/keepassx/icons/appsettings.png +share/keepassx/icons/autotype.png +share/keepassx/icons/bookmark.png +share/keepassx/icons/bookmark_add.png +share/keepassx/icons/bookmark_del.png +share/keepassx/icons/bookmark_edit.png +share/keepassx/icons/bookmark_folder.png +share/keepassx/icons/bookmark_this.png +share/keepassx/icons/clientic.png +share/keepassx/icons/clock.png +share/keepassx/icons/cloneentry.png +share/keepassx/icons/copypwd.png +share/keepassx/icons/copyusername.png +share/keepassx/icons/dbsearch.png +share/keepassx/icons/dbsettings.png +share/keepassx/icons/delete.png +share/keepassx/icons/deleteentry.png +share/keepassx/icons/deletegroup.png +share/keepassx/icons/dice.png +share/keepassx/icons/document.png +share/keepassx/icons/down.png +share/keepassx/icons/editentry.png +share/keepassx/icons/editgroup.png +share/keepassx/icons/exit.png +share/keepassx/icons/expired.png +share/keepassx/icons/fileclose.png +share/keepassx/icons/filedelete.png +share/keepassx/icons/filenew.png +share/keepassx/icons/fileopen.png +share/keepassx/icons/filesave.png +share/keepassx/icons/filesaveas.png +share/keepassx/icons/filesavedisabled.png +share/keepassx/icons/generator.png +share/keepassx/icons/go-home.png +share/keepassx/icons/go-next.png +share/keepassx/icons/go-previous.png +share/keepassx/icons/groupsearch.png +share/keepassx/icons/help.png +share/keepassx/icons/help_about.png +share/keepassx/icons/i18n.png +share/keepassx/icons/keepassx.png +share/keepassx/icons/keepassx_large.png +share/keepassx/icons/keepassx_locked.png +share/keepassx/icons/keepassx_small.png +share/keepassx/icons/key.png +share/keepassx/icons/lock.png +share/keepassx/icons/manual.png +share/keepassx/icons/newentry.png +share/keepassx/icons/newgroup.png +share/keepassx/icons/ok.png +share/keepassx/icons/openurl.png +share/keepassx/icons/pwd_hide.png +share/keepassx/icons/pwd_show.png +share/keepassx/icons/restore.png +share/keepassx/icons/search.png +share/keepassx/icons/swap.png +share/keepassx/icons/templates.png +share/keepassx/icons/text_block.png +share/keepassx/icons/text_bold.png +share/keepassx/icons/text_center.png +share/keepassx/icons/text_italic.png +share/keepassx/icons/text_left.png +share/keepassx/icons/text_right.png +share/keepassx/icons/text_under.png +share/keepassx/icons/trashcan.png +share/keepassx/icons/up.png +share/keepassx/license.html +share/mime/packages/keepassx.xml +share/mimelnk/application/x-keepass.desktop +share/pixmaps/keepassx.xpm diff --git a/security/keepassx0/distinfo b/security/keepassx0/distinfo new file mode 100644 index 00000000000..5b0c254a18e --- /dev/null +++ b/security/keepassx0/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1 2015/12/11 13:35:04 wiz Exp $ + +SHA1 (keepassx-0.4.4.tar.gz) = a6e7f779df0156d4419dae50bfa12df7a04f6aeb +RMD160 (keepassx-0.4.4.tar.gz) = c7ce5954707760aafab6291d160dc3e538201bc2 +SHA512 (keepassx-0.4.4.tar.gz) = 2fc93d77f5576a0cce6514b39ee9b319efaa72b475762438eed5601c5e3edb7693a5fbb9c1e741be1e5d3a08849bc54b0cff90fe3a86cf240129febc0cc703d8 +Size (keepassx-0.4.4.tar.gz) = 1371560 bytes +SHA1 (patch-src_crypto_aes__endian.h) = 3a88c3ebf2ccaa2229aa7e0600b4f0e976b21772 +SHA1 (patch-src_lib_AutoTypeX11.cpp) = 3bd8421804ec549ba4a7a42907516534d7bbf6f3 +SHA1 (patch-src_lib_random.cpp) = dd50e9cb5a95f5db780aab727dfd4b0dcceac9ef diff --git a/security/keepassx0/patches/patch-src_crypto_aes__endian.h b/security/keepassx0/patches/patch-src_crypto_aes__endian.h new file mode 100644 index 00000000000..a7fe11ac252 --- /dev/null +++ b/security/keepassx0/patches/patch-src_crypto_aes__endian.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_crypto_aes__endian.h,v 1.1 2015/12/11 13:35:04 wiz Exp $ + +Fix build on DragonFly. + +--- src/crypto/aes_endian.h.orig 2008-08-01 19:03:05.000000000 +0000 ++++ src/crypto/aes_endian.h +@@ -34,7 +34,7 @@ + /* Include files where endian defines and byteswap functions may reside */
+ #if defined( __sun )
+ # include <sys/isa_defs.h>
+-#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
++#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ ) || defined( __DragonFly__ )
+ # include <sys/endian.h>
+ #elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \
+ defined( __CYGWIN32__ ) || defined( __DJGPP__ ) || defined( __osf__ )
diff --git a/security/keepassx0/patches/patch-src_lib_AutoTypeX11.cpp b/security/keepassx0/patches/patch-src_lib_AutoTypeX11.cpp new file mode 100644 index 00000000000..e4711cc1d69 --- /dev/null +++ b/security/keepassx0/patches/patch-src_lib_AutoTypeX11.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_lib_AutoTypeX11.cpp,v 1.1 2015/12/11 13:35:04 wiz Exp $ + +Add a bunch of missing includes hidden by libstdc++ namespace pollution. + +--- src/lib/AutoTypeX11.cpp.orig 2013-05-04 00:34:27.000000000 +0000 ++++ src/lib/AutoTypeX11.cpp +@@ -23,6 +23,7 @@ + #include "mainwindow.h" + #include "lib/HelperX11.h" + #include <QX11Info> ++#include <ctime> + + #ifndef GLOBAL_AUTOTYPE + AutoType* autoType = NULL; diff --git a/security/keepassx0/patches/patch-src_lib_random.cpp b/security/keepassx0/patches/patch-src_lib_random.cpp new file mode 100644 index 00000000000..ad13493d299 --- /dev/null +++ b/security/keepassx0/patches/patch-src_lib_random.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_lib_random.cpp,v 1.1 2015/12/11 13:35:04 wiz Exp $ + +Add a bunch of missing includes hidden by libstdc++ namespace pollution. + +--- src/lib/random.cpp.orig 2013-05-04 00:33:31.000000000 +0000 ++++ src/lib/random.cpp +@@ -23,6 +23,7 @@ + + #if defined(Q_WS_X11) || defined(Q_WS_MAC) + #include <QFile> ++ #include <unistd.h> + #elif defined(Q_WS_WIN) + #include <windows.h> + #include <wincrypt.h> |