aboutsummaryrefslogtreecommitdiff
path: root/security/keepassx
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2010-05-06 10:17:43 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2010-05-06 10:17:43 +0000
commit7bf01fe1fb45d02e2a231ddfc41a909860d8efa3 (patch)
tree6659d2d911a65869fa9365528f2ca96a3fe71c7b /security/keepassx
parent8d24dbbcfb7dc6208c6c8f967ee533e3cda9696b (diff)
downloadports-7bf01fe1fb45d02e2a231ddfc41a909860d8efa3.tar.gz
ports-7bf01fe1fb45d02e2a231ddfc41a909860d8efa3.zip
Notes
Diffstat (limited to 'security/keepassx')
-rw-r--r--security/keepassx/Makefile5
-rw-r--r--security/keepassx/distinfo6
-rw-r--r--security/keepassx/files/patch-from-trunk77
-rw-r--r--security/keepassx/pkg-plist11
4 files changed, 14 insertions, 85 deletions
diff --git a/security/keepassx/Makefile b/security/keepassx/Makefile
index 83417eaa31ec..7b86c3156b39 100644
--- a/security/keepassx/Makefile
+++ b/security/keepassx/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= KeePassX
-PORTVERSION= 0.4.1
-PORTREVISION= 2
+PORTVERSION= 0.4.3
CATEGORIES= security
-MASTER_SITES= SF/${PORTNAME:L}
+MASTER_SITES= SF/${PORTNAME:L}/KeePassX/${PORTVERSION}/
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
MAINTAINER= skv@FreeBSD.org
diff --git a/security/keepassx/distinfo b/security/keepassx/distinfo
index 6ba1e5da67c3..9963f1432a76 100644
--- a/security/keepassx/distinfo
+++ b/security/keepassx/distinfo
@@ -1,3 +1,3 @@
-MD5 (keepassx-0.4.1.tar.gz) = 96efdf5855703e3d2817973d5e2b0fcf
-SHA256 (keepassx-0.4.1.tar.gz) = f9c1b17505430f68524ecc2be11930afa5d454097536c7a286355e1764b31429
-SIZE (keepassx-0.4.1.tar.gz) = 1050175
+MD5 (keepassx-0.4.3.tar.gz) = 1df67bb22b2e08df49f09e61d156f508
+SHA256 (keepassx-0.4.3.tar.gz) = cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
+SIZE (keepassx-0.4.3.tar.gz) = 1368766
diff --git a/security/keepassx/files/patch-from-trunk b/security/keepassx/files/patch-from-trunk
deleted file mode 100644
index 9ef99865fb5d..000000000000
--- a/security/keepassx/files/patch-from-trunk
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -urN --exclude=.svn ./CMakeLists.txt ./CMakeLists.txt
---- ./CMakeLists.txt 2009-03-20 06:54:20.000000000 +1000
-+++ ./CMakeLists.txt 2009-12-15 20:50:23.915416903 +1000
-@@ -70,8 +70,8 @@
- find_package(X11)
-
- IF( X11_XTest_FOUND )
-- INCLUDE_DIRECTORIES( ${X11_XTest_INCLUDE_PATH} )
-- SET(AUTOTYPE_LIBRARIES ${X11_XTest_LIB})
-+ INCLUDE_DIRECTORIES( ${X11_X11_INCLUDE_PATH} ${X11_XTest_INCLUDE_PATH} )
-+ SET(AUTOTYPE_LIBRARIES ${X11_X11_LIB} ${X11_XTest_LIB})
- ADD_DEFINITIONS(-DAUTOTYPE -DGLOBAL_AUTOTYPE)
- ELSE( X11_XTest_FOUND )
- SET(AUTOTYPE FALSE)
-diff -urN --exclude=.svn ./src/Database.h ./src/Database.h
---- ./src/Database.h 2009-03-18 22:09:20.000000000 +1000
-+++ ./src/Database.h 2009-12-15 20:50:22.627407114 +1000
-@@ -233,7 +233,7 @@
- /*!
- This is the common base interface for databases. Every database class must implement this interface necessarily.
- */
--class IDatabase:public QObject{
-+class IDatabase{
- public:
- virtual ~IDatabase(){};
-
-diff -urN --exclude=.svn ./src/Kdb3Database.cpp ./src/Kdb3Database.cpp
---- ./src/Kdb3Database.cpp 2009-08-29 03:22:44.000000000 +1100
-+++ ./src/Kdb3Database.cpp 2009-12-15 20:50:22.627407114 +1000
-@@ -609,6 +609,7 @@
-
- if ((crypto_size > 2147483446) || (!crypto_size && NumGroups)){
- error=tr("Decryption failed.\nThe key is wrong or the file is damaged.");
-+ KeyError=true;
- LOAD_RETURN_CLEANUP
- }
- SHA256::hashBuffer(buffer+DB_HEADER_SIZE,FinalKey,crypto_size);
-diff -urN --exclude=.svn ./src/lib/FileDialogs.cpp ./src/lib/FileDialogs.cpp
---- ./src/lib/FileDialogs.cpp 2008-03-13 06:37:54.000000000 +1000
-+++ ./src/lib/FileDialogs.cpp 2009-12-15 20:50:19.906387263 +1000
-@@ -18,6 +18,9 @@
- ***************************************************************************/
-
- #include <QFileDialog>
-+#if QT_VERSION >= 0x040400
-+ #include <QDesktopServices>
-+#endif
-
- IFileDialog* KpxFileDialogs::iFileDialog=NULL;
- QtStandardFileDialogs DefaultQtDlgs;
-@@ -146,8 +149,13 @@
-
- QString FileDlgHistory::getDir(const QString& name){
- Entry e=History.value(name);
-- if(e.isNull())
-+ if(e.isNull()) {
-+#if QT_VERSION >= 0x040400
-+ return QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation);
-+#else
- return QDir::homePath();
-+#endif
-+ }
- else
- return e.Dir;
- }
-diff -urN --exclude=.svn ./src/src.pro ./src/src.pro
---- ./src/src.pro 2009-09-14 01:54:12.000000000 +1100
-+++ ./src/src.pro 2009-12-15 20:50:22.624407012 +1000
-@@ -63,7 +63,7 @@
- INSTALLS += shareapp shararemime sharemimelnk sharepixmaps
-
- contains(DEFINES,AUTOTYPE){
-- LIBS += -lXtst
-+ LIBS += -lX11 -lXtst
- SOURCES += lib/HelperX11.cpp lib/AutoTypeX11.cpp
- HEADERS += lib/HelperX11.h lib/AutoTypeX11.h
- }
diff --git a/security/keepassx/pkg-plist b/security/keepassx/pkg-plist
index 1a68f1591a4b..520ca08e19c1 100644
--- a/security/keepassx/pkg-plist
+++ b/security/keepassx/pkg-plist
@@ -7,16 +7,23 @@ share/applications/keepassx.desktop
%%DATADIR%%/i18n/keepassx-gl_ES.qm
%%DATADIR%%/i18n/keepassx-hu_HU.qm
%%DATADIR%%/i18n/keepassx-it_IT.qm
+%%DATADIR%%/i18n/keepassx-ja_JP.qm
%%DATADIR%%/i18n/keepassx-nb_NO.qm
%%DATADIR%%/i18n/keepassx-nl_NL.qm
%%DATADIR%%/i18n/keepassx-pl_PL.qm
+%%DATADIR%%/i18n/keepassx-pt_PT.qm
%%DATADIR%%/i18n/keepassx-ru_RU.qm
+%%DATADIR%%/i18n/keepassx-sk_SK.qm
+%%DATADIR%%/i18n/keepassx-sr_RS.qm
%%DATADIR%%/i18n/keepassx-tr_TR.qm
+%%DATADIR%%/i18n/keepassx-uk_UA.qm
%%DATADIR%%/i18n/keepassx-zh_CN.qm
%%DATADIR%%/i18n/qt_fi.qm
+%%DATADIR%%/i18n/qt_gl_ES.qm
%%DATADIR%%/i18n/qt_hu.qm
%%DATADIR%%/i18n/qt_it.qm
%%DATADIR%%/i18n/qt_nl.qm
+%%DATADIR%%/i18n/qt_sr.qm
%%DATADIR%%/i18n/qt_tr.qm
%%DATADIR%%/icons/alarmclock.png
%%DATADIR%%/icons/appsettings.png
@@ -86,7 +93,6 @@ share/applications/keepassx.desktop
%%DATADIR%%/icons/trashcan.png
%%DATADIR%%/icons/up.png
%%DATADIR%%/license.html
-share/mime/application/x-keepass.xml
share/mime/packages/keepassx.xml
share/mimelnk/application/x-keepass.desktop
share/pixmaps/keepassx.xpm
@@ -97,6 +103,7 @@ share/pixmaps/keepassx.xpm
@dirrmtry share/mimelnk
@dirrmtry share/mime/packages
@dirrmtry share/mime
-@dirrmtry share/applications
+@dirrmtry share/pixmaps
+@dirrmtry share/application
@comment @exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
@comment @unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime