diff options
author | wiz <wiz@pkgsrc.org> | 2018-04-02 08:45:24 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-04-02 08:45:24 +0000 |
commit | 6136419d86b4bd3be610fb017ed5aa80da180415 (patch) | |
tree | 77b14e2a25562540b2aeb75279c76823cf97f893 /security/keepassxc | |
parent | 6f5fe03f6b173e2394a7db9aac8541394ca59a4b (diff) | |
download | pkgsrc-6136419d86b4bd3be610fb017ed5aa80da180415.tar.gz |
security/keepassxc: import keepassxc-2.3.0
Based on the wip package by myself with fixes from rillig.
KeePassXC can store your passwords safely and auto-type them into
your everyday websites and applications.
Diffstat (limited to 'security/keepassxc')
-rw-r--r-- | security/keepassxc/DESCR | 2 | ||||
-rw-r--r-- | security/keepassxc/Makefile | 38 | ||||
-rw-r--r-- | security/keepassxc/PLIST | 249 | ||||
-rw-r--r-- | security/keepassxc/distinfo | 7 | ||||
-rw-r--r-- | security/keepassxc/hacks.mk | 7 | ||||
-rw-r--r-- | security/keepassxc/patches/patch-src_CMakeLists.txt | 16 |
6 files changed, 319 insertions, 0 deletions
diff --git a/security/keepassxc/DESCR b/security/keepassxc/DESCR new file mode 100644 index 00000000000..938c128e82c --- /dev/null +++ b/security/keepassxc/DESCR @@ -0,0 +1,2 @@ +KeePassXC can store your passwords safely and auto-type them into +your everyday websites and applications. diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile new file mode 100644 index 00000000000..88c3fc82fb2 --- /dev/null +++ b/security/keepassxc/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1 2018/04/02 08:45:24 wiz Exp $ + +DISTNAME= keepassxc-2.3.0 +CATEGORIES= security x11 +MASTER_SITES= ${MASTER_SITE_GITHUB:=keepassxreboot/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://keepassxc.org/ +COMMENT= Password generator and manager +LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 AND gnu-lgpl-v2 AND gnu-lgpl-v3 AND mit AND cc0-1.0-universal + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +CMAKE_ARG_PATH= .. +CMAKE_ARGS+= -DKEEPASSXC_BUILD_TYPE=Release +CONFIGURE_DIRS= build + +# various issues with symbols such at qt_plugin_instance not being visible. +BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden + +.PHONY: qmake-bin-add +pre-configure: qmake-bin-add + +qmake-bin-add: + ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ + +pre-configure: + ${MKDIR} ${WRKSRC}/build + +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../security/argon2/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qttools/buildlink3.mk" +.include "../../x11/qt5-qtx11extras/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/keepassxc/PLIST b/security/keepassxc/PLIST new file mode 100644 index 00000000000..0ccf8fd50b5 --- /dev/null +++ b/security/keepassxc/PLIST @@ -0,0 +1,249 @@ +@comment $NetBSD: PLIST,v 1.1 2018/04/02 08:45:24 wiz Exp $ +bin/keepassxc +bin/keepassxc-cli +lib/keepassxc/libkeepassx-autotype-xcb.so +man/man1/keepassxc-cli.1 +share/applications/org.keepassxc.KeePassXC.desktop +share/icons/hicolor/128x128/apps/keepassxc-dark.png +share/icons/hicolor/128x128/apps/keepassxc-locked.png +share/icons/hicolor/128x128/apps/keepassxc-unlocked.png +share/icons/hicolor/128x128/apps/keepassxc.png +share/icons/hicolor/128x128/mimetypes/application-x-keepassxc.png +share/icons/hicolor/16x16/apps/keepassxc-dark.png +share/icons/hicolor/16x16/apps/keepassxc-locked.png +share/icons/hicolor/16x16/apps/keepassxc-unlocked.png +share/icons/hicolor/16x16/apps/keepassxc.png +share/icons/hicolor/16x16/mimetypes/application-x-keepassxc.png +share/icons/hicolor/22x22/mimetypes/application-x-keepassxc.png +share/icons/hicolor/24x24/apps/keepassxc-dark.png +share/icons/hicolor/24x24/apps/keepassxc-locked.png +share/icons/hicolor/24x24/apps/keepassxc-unlocked.png +share/icons/hicolor/24x24/apps/keepassxc.png +share/icons/hicolor/256x256/apps/keepassxc-dark.png +share/icons/hicolor/256x256/apps/keepassxc-locked.png +share/icons/hicolor/256x256/apps/keepassxc-unlocked.png +share/icons/hicolor/256x256/apps/keepassxc.png +share/icons/hicolor/32x32/apps/keepassxc-dark.png +share/icons/hicolor/32x32/apps/keepassxc-locked.png +share/icons/hicolor/32x32/apps/keepassxc-unlocked.png +share/icons/hicolor/32x32/apps/keepassxc.png +share/icons/hicolor/32x32/mimetypes/application-x-keepassxc.png +share/icons/hicolor/48x48/apps/keepassxc-dark.png +share/icons/hicolor/48x48/apps/keepassxc-locked.png +share/icons/hicolor/48x48/apps/keepassxc-unlocked.png +share/icons/hicolor/48x48/apps/keepassxc.png +share/icons/hicolor/64x64/apps/keepassxc-dark.png +share/icons/hicolor/64x64/apps/keepassxc-locked.png +share/icons/hicolor/64x64/apps/keepassxc-unlocked.png +share/icons/hicolor/64x64/apps/keepassxc.png +share/icons/hicolor/64x64/mimetypes/application-x-keepassxc.png +share/icons/hicolor/scalable/apps/keepassxc-dark.svgz +share/icons/hicolor/scalable/apps/keepassxc-locked.svgz +share/icons/hicolor/scalable/apps/keepassxc-unlocked.svgz +share/icons/hicolor/scalable/apps/keepassxc.svgz +share/icons/hicolor/scalable/mimetypes/application-x-keepassxc.svgz +share/keepassxc/icons/application/128x128/apps/keepassxc-dark.png +share/keepassxc/icons/application/128x128/apps/keepassxc-locked.png +share/keepassxc/icons/application/128x128/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/128x128/apps/keepassxc.png +share/keepassxc/icons/application/128x128/mimetypes/application-x-keepassxc.png +share/keepassxc/icons/application/16x16/actions/application-exit.png +share/keepassxc/icons/application/16x16/actions/auto-type.png +share/keepassxc/icons/application/16x16/actions/configure.png +share/keepassxc/icons/application/16x16/actions/database-change-key.png +share/keepassxc/icons/application/16x16/actions/document-close.png +share/keepassxc/icons/application/16x16/actions/document-edit.png +share/keepassxc/icons/application/16x16/actions/document-encrypt.png +share/keepassxc/icons/application/16x16/actions/document-new.png +share/keepassxc/icons/application/16x16/actions/document-open.png +share/keepassxc/icons/application/16x16/actions/document-save-as.png +share/keepassxc/icons/application/16x16/actions/document-save.png +share/keepassxc/icons/application/16x16/actions/edit-clear-locationbar-ltr.png +share/keepassxc/icons/application/16x16/actions/edit-clear-locationbar-rtl.png +share/keepassxc/icons/application/16x16/actions/entry-clone.png +share/keepassxc/icons/application/16x16/actions/entry-delete.png +share/keepassxc/icons/application/16x16/actions/entry-edit.png +share/keepassxc/icons/application/16x16/actions/entry-new.png +share/keepassxc/icons/application/16x16/actions/group-delete.png +share/keepassxc/icons/application/16x16/actions/group-edit.png +share/keepassxc/icons/application/16x16/actions/group-empty-trash.png +share/keepassxc/icons/application/16x16/actions/group-new.png +share/keepassxc/icons/application/16x16/actions/help-about.png +share/keepassxc/icons/application/16x16/actions/message-close.png +share/keepassxc/icons/application/16x16/actions/paperclip.png +share/keepassxc/icons/application/16x16/actions/password-copy.png +share/keepassxc/icons/application/16x16/actions/password-generate.png +share/keepassxc/icons/application/16x16/actions/password-generator.png +share/keepassxc/icons/application/16x16/actions/password-show-off.png +share/keepassxc/icons/application/16x16/actions/password-show-on.png +share/keepassxc/icons/application/16x16/actions/system-search.png +share/keepassxc/icons/application/16x16/actions/url-copy.png +share/keepassxc/icons/application/16x16/actions/username-copy.png +share/keepassxc/icons/application/16x16/apps/keepassxc-dark.png +share/keepassxc/icons/application/16x16/apps/keepassxc-locked.png +share/keepassxc/icons/application/16x16/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/16x16/apps/keepassxc.png +share/keepassxc/icons/application/16x16/mimetypes/application-x-keepassxc.png +share/keepassxc/icons/application/22x22/actions/chronometer.png +share/keepassxc/icons/application/22x22/actions/dialog-close.png +share/keepassxc/icons/application/22x22/actions/dialog-ok.png +share/keepassxc/icons/application/22x22/actions/document-encrypt.png +share/keepassxc/icons/application/22x22/actions/document-new.png +share/keepassxc/icons/application/22x22/actions/document-open.png +share/keepassxc/icons/application/22x22/actions/document-save.png +share/keepassxc/icons/application/22x22/actions/entry-delete.png +share/keepassxc/icons/application/22x22/actions/entry-edit.png +share/keepassxc/icons/application/22x22/actions/entry-new.png +share/keepassxc/icons/application/22x22/actions/message-close.png +share/keepassxc/icons/application/22x22/actions/paperclip.png +share/keepassxc/icons/application/22x22/actions/password-copy.png +share/keepassxc/icons/application/22x22/actions/password-generator.png +share/keepassxc/icons/application/22x22/actions/system-search.png +share/keepassxc/icons/application/22x22/actions/url-copy.png +share/keepassxc/icons/application/22x22/actions/username-copy.png +share/keepassxc/icons/application/22x22/mimetypes/application-x-keepassxc.png +share/keepassxc/icons/application/22x22/status/dialog-error.png +share/keepassxc/icons/application/22x22/status/dialog-information.png +share/keepassxc/icons/application/22x22/status/dialog-warning.png +share/keepassxc/icons/application/24x24/apps/keepassxc-dark.png +share/keepassxc/icons/application/24x24/apps/keepassxc-locked.png +share/keepassxc/icons/application/24x24/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/24x24/apps/keepassxc.png +share/keepassxc/icons/application/256x256/apps/keepassxc-dark.png +share/keepassxc/icons/application/256x256/apps/keepassxc-locked.png +share/keepassxc/icons/application/256x256/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/256x256/apps/keepassxc.png +share/keepassxc/icons/application/32x32/actions/document-edit.png +share/keepassxc/icons/application/32x32/actions/document-encrypt.png +share/keepassxc/icons/application/32x32/actions/document-properties.png +share/keepassxc/icons/application/32x32/actions/key-enter.png +share/keepassxc/icons/application/32x32/actions/paperclip.png +share/keepassxc/icons/application/32x32/actions/view-history.png +share/keepassxc/icons/application/32x32/apps/internet-web-browser.png +share/keepassxc/icons/application/32x32/apps/keepassxc-dark.png +share/keepassxc/icons/application/32x32/apps/keepassxc-locked.png +share/keepassxc/icons/application/32x32/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/32x32/apps/keepassxc.png +share/keepassxc/icons/application/32x32/apps/preferences-desktop-icons.png +share/keepassxc/icons/application/32x32/apps/utilities-terminal.png +share/keepassxc/icons/application/32x32/categories/preferences-other.png +share/keepassxc/icons/application/32x32/mimetypes/application-x-keepassxc.png +share/keepassxc/icons/application/32x32/status/security-high.png +share/keepassxc/icons/application/48x48/apps/keepassxc-dark.png +share/keepassxc/icons/application/48x48/apps/keepassxc-locked.png +share/keepassxc/icons/application/48x48/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/48x48/apps/keepassxc.png +share/keepassxc/icons/application/64x64/apps/keepassxc-dark.png +share/keepassxc/icons/application/64x64/apps/keepassxc-locked.png +share/keepassxc/icons/application/64x64/apps/keepassxc-unlocked.png +share/keepassxc/icons/application/64x64/apps/keepassxc.png +share/keepassxc/icons/application/64x64/mimetypes/application-x-keepassxc.png +share/keepassxc/icons/application/scalable/apps/keepassxc-dark.svgz +share/keepassxc/icons/application/scalable/apps/keepassxc-locked.svgz +share/keepassxc/icons/application/scalable/apps/keepassxc-unlocked.svgz +share/keepassxc/icons/application/scalable/apps/keepassxc.svgz +share/keepassxc/icons/application/scalable/mimetypes/application-x-keepassxc.svgz +share/keepassxc/icons/database/C00_Password.png +share/keepassxc/icons/database/C01_Package_Network.png +share/keepassxc/icons/database/C02_MessageBox_Warning.png +share/keepassxc/icons/database/C03_Server.png +share/keepassxc/icons/database/C04_Klipper.png +share/keepassxc/icons/database/C05_Edu_Languages.png +share/keepassxc/icons/database/C06_KCMDF.png +share/keepassxc/icons/database/C07_Kate.png +share/keepassxc/icons/database/C08_Socket.png +share/keepassxc/icons/database/C09_Identity.png +share/keepassxc/icons/database/C10_Kontact.png +share/keepassxc/icons/database/C11_Camera.png +share/keepassxc/icons/database/C12_IRKickFlash.png +share/keepassxc/icons/database/C13_KGPG_Key3.png +share/keepassxc/icons/database/C14_Laptop_Power.png +share/keepassxc/icons/database/C15_Scanner.png +share/keepassxc/icons/database/C16_Mozilla_Firebird.png +share/keepassxc/icons/database/C17_CDROM_Unmount.png +share/keepassxc/icons/database/C18_Display.png +share/keepassxc/icons/database/C19_Mail_Generic.png +share/keepassxc/icons/database/C20_Misc.png +share/keepassxc/icons/database/C21_KOrganizer.png +share/keepassxc/icons/database/C22_ASCII.png +share/keepassxc/icons/database/C23_Icons.png +share/keepassxc/icons/database/C24_Connect_Established.png +share/keepassxc/icons/database/C25_Folder_Mail.png +share/keepassxc/icons/database/C26_FileSave.png +share/keepassxc/icons/database/C27_NFS_Unmount.png +share/keepassxc/icons/database/C28_QuickTime.png +share/keepassxc/icons/database/C29_KGPG_Term.png +share/keepassxc/icons/database/C30_Konsole.png +share/keepassxc/icons/database/C31_FilePrint.png +share/keepassxc/icons/database/C32_FSView.png +share/keepassxc/icons/database/C33_Run.png +share/keepassxc/icons/database/C34_Configure.png +share/keepassxc/icons/database/C35_KRFB.png +share/keepassxc/icons/database/C36_Ark.png +share/keepassxc/icons/database/C37_KPercentage.png +share/keepassxc/icons/database/C38_Samba_Unmount.png +share/keepassxc/icons/database/C39_History.png +share/keepassxc/icons/database/C40_Mail_Find.png +share/keepassxc/icons/database/C41_VectorGfx.png +share/keepassxc/icons/database/C42_KCMMemory.png +share/keepassxc/icons/database/C43_EditTrash.png +share/keepassxc/icons/database/C44_KNotes.png +share/keepassxc/icons/database/C45_Cancel.png +share/keepassxc/icons/database/C46_Help.png +share/keepassxc/icons/database/C47_KPackage.png +share/keepassxc/icons/database/C48_Folder.png +share/keepassxc/icons/database/C49_Folder_Blue_Open.png +share/keepassxc/icons/database/C50_Folder_Tar.png +share/keepassxc/icons/database/C51_Decrypted.png +share/keepassxc/icons/database/C52_Encrypted.png +share/keepassxc/icons/database/C53_Apply.png +share/keepassxc/icons/database/C54_Signature.png +share/keepassxc/icons/database/C55_Thumbnail.png +share/keepassxc/icons/database/C56_KAddressBook.png +share/keepassxc/icons/database/C57_View_Text.png +share/keepassxc/icons/database/C58_KGPG.png +share/keepassxc/icons/database/C59_Package_Development.png +share/keepassxc/icons/database/C60_KFM_Home.png +share/keepassxc/icons/database/C61_Services.png +share/keepassxc/icons/database/C62_Tux.png +share/keepassxc/icons/database/C63_Feather.png +share/keepassxc/icons/database/C64_Apple.png +share/keepassxc/icons/database/C65_W.png +share/keepassxc/icons/database/C66_Money.png +share/keepassxc/icons/database/C67_Certificate.png +share/keepassxc/icons/database/C68_BlackBerry.png +share/keepassxc/translations/keepassx_ar.qm +share/keepassxc/translations/keepassx_ca.qm +share/keepassxc/translations/keepassx_cs.qm +share/keepassxc/translations/keepassx_da.qm +share/keepassxc/translations/keepassx_de.qm +share/keepassxc/translations/keepassx_el.qm +share/keepassxc/translations/keepassx_en_US.qm +share/keepassxc/translations/keepassx_es.qm +share/keepassxc/translations/keepassx_eu.qm +share/keepassxc/translations/keepassx_fi.qm +share/keepassxc/translations/keepassx_fr.qm +share/keepassxc/translations/keepassx_hu.qm +share/keepassxc/translations/keepassx_id.qm +share/keepassxc/translations/keepassx_it.qm +share/keepassxc/translations/keepassx_ja.qm +share/keepassxc/translations/keepassx_kk.qm +share/keepassxc/translations/keepassx_ko.qm +share/keepassxc/translations/keepassx_lt.qm +share/keepassxc/translations/keepassx_nl_NL.qm +share/keepassxc/translations/keepassx_pl.qm +share/keepassxc/translations/keepassx_pt_BR.qm +share/keepassxc/translations/keepassx_pt_PT.qm +share/keepassxc/translations/keepassx_ro.qm +share/keepassxc/translations/keepassx_ru.qm +share/keepassxc/translations/keepassx_sl_SI.qm +share/keepassxc/translations/keepassx_sr.qm +share/keepassxc/translations/keepassx_sv.qm +share/keepassxc/translations/keepassx_th.qm +share/keepassxc/translations/keepassx_tr.qm +share/keepassxc/translations/keepassx_uk.qm +share/keepassxc/translations/keepassx_zh_CN.qm +share/keepassxc/translations/keepassx_zh_TW.qm +share/keepassxc/wordlists/eff_large.wordlist +share/metainfo/org.keepassxc.KeePassXC.appdata.xml +share/mime/packages/keepassxc.xml diff --git a/security/keepassxc/distinfo b/security/keepassxc/distinfo new file mode 100644 index 00000000000..0a2c0d9c0bb --- /dev/null +++ b/security/keepassxc/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2018/04/02 08:45:24 wiz Exp $ + +SHA1 (keepassxc-2.3.0.tar.gz) = e7b5b9bcd98406cbc495c3e72a134692c32b828d +RMD160 (keepassxc-2.3.0.tar.gz) = 538ef14052960a11b0f93d897a19f354fed1cb7b +SHA512 (keepassxc-2.3.0.tar.gz) = 5fa49d44fb821ab131955999aada7f7c3901a98973aca4db7f3884b5c2e3fe31f64178fa36c931a3da9fa833d65dd5e602c101d55bd0b5b15927b55bafd86938 +Size (keepassxc-2.3.0.tar.gz) = 4730464 bytes +SHA1 (patch-src_CMakeLists.txt) = b49b2f8648d82fb8618ebd8f1f15afd5344bf460 diff --git a/security/keepassxc/hacks.mk b/security/keepassxc/hacks.mk new file mode 100644 index 00000000000..a78e1fb173c --- /dev/null +++ b/security/keepassxc/hacks.mk @@ -0,0 +1,7 @@ +# $NetBSD: hacks.mk,v 1.1 2018/04/02 08:45:24 wiz Exp $ + +# linking -lQt5Widgets on NetBSD with gcc produces +# ld: BFD (NetBSD Binutils nb1) 2.27 assertion fail +# /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2694 +# unless -lexecinfo preceeds -lQt5Widgets +BUILDLINK_TRANSFORM.NetBSD+= l:Qt5Widgets:execinfo:Qt5Widgets diff --git a/security/keepassxc/patches/patch-src_CMakeLists.txt b/security/keepassxc/patches/patch-src_CMakeLists.txt new file mode 100644 index 00000000000..63f97904d74 --- /dev/null +++ b/security/keepassxc/patches/patch-src_CMakeLists.txt @@ -0,0 +1,16 @@ +$NetBSD: patch-src_CMakeLists.txt,v 1.1 2018/04/02 08:45:25 wiz Exp $ + +Fix build on NetBSD. +https://github.com/keepassxreboot/keepassxc/pull/1557 + +--- src/CMakeLists.txt.orig 2018-02-27 21:38:05.000000000 +0000 ++++ src/CMakeLists.txt +@@ -175,7 +175,7 @@ if(APPLE) + core/MacPasteboard.cpp + ) + endif() +-if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") ++if(UNIX AND NOT APPLE) + set(keepassx_SOURCES ${keepassx_SOURCES} + core/ScreenLockListenerDBus.h + core/ScreenLockListenerDBus.cpp |