diff --git a/sysutils/qtpass/Makefile b/sysutils/qtpass/Makefile index f57cc78dec51..130b0cce436f 100644 --- a/sysutils/qtpass/Makefile +++ b/sysutils/qtpass/Makefile @@ -1,41 +1,38 @@ PORTNAME= qtpass DISTVERSIONPREFIX= v -DISTVERSION= 1.4.0 +DISTVERSION= 1.8.0 CATEGORIES= sysutils MAINTAINER= brouwer@annejan.com COMMENT= Qt GUI for pass, the standard unix password manager WWW= https://qtpass.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= pass:sysutils/password-store -USES= compiler:c++11-lang cpe gl qmake:outsource qt:5 xorg +USES= compiler:c++17-lang cpe gl qmake:outsource qt:6 +CPE_VENDOR= ijhack USE_GITHUB= yes -GH_ACCOUNT= IJhack +GH_ACCOUNT= IJHack GH_PROJECT= QtPass -USE_GL= gl -USE_QT= core gui network testlib widgets buildtools:build linguisttools:build -CPE_VENDOR= ijhack - -# Create a desktop entry for the port. -DESKTOP_ENTRIES= "QtPass" "" \ - "${PREFIX}/share/pixmaps/qtpass.png" \ - "${PREFIX}/bin/qtpass" \ - "Security;Utility;" true +USE_GL= opengl +USE_QT= base tools:build svg:run translations:run PLIST_FILES= bin/qtpass \ + share/applications/qtpass.desktop \ share/pixmaps/qtpass.png -# Fix build with Qt 5.13 -pre-build: - cd ${WRKSRC}/localization && ${LRELEASE} *ts +post-patch: + @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/qtpass.desktop -# Install the icon of the port. +# Install the icon and desktop file of the port. post-install: ${INSTALL_DATA} ${WRKSRC}/artwork/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/qtpass.png + ${INSTALL_DATA} ${WRKSRC}/qtpass.desktop \ + ${STAGEDIR}${DESKTOPDIR} .include diff --git a/sysutils/qtpass/distinfo b/sysutils/qtpass/distinfo index 894f8c60ccd5..79583407785e 100644 --- a/sysutils/qtpass/distinfo +++ b/sysutils/qtpass/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1699037711 -SHA256 (IJhack-QtPass-v1.4.0_GH0.tar.gz) = 9abe9cde35a412b26b6376a5e8996dfeeeb5910fe6a723b78bcf954656fca0e6 -SIZE (IJhack-QtPass-v1.4.0_GH0.tar.gz) = 581368 +TIMESTAMP = 1789340036 +SHA256 (IJHack-QtPass-v1.8.0_GH0.tar.gz) = 0907e2a7d362dac0c45989aee88afc811eb3777e4007f4a0fdcbd7292b9a98c1 +SIZE (IJHack-QtPass-v1.8.0_GH0.tar.gz) = 1697091 diff --git a/sysutils/qtpass/files/patch-qtpass.desktop b/sysutils/qtpass/files/patch-qtpass.desktop new file mode 100644 index 000000000000..eee79389ca2c --- /dev/null +++ b/sysutils/qtpass/files/patch-qtpass.desktop @@ -0,0 +1,13 @@ +--- qtpass.desktop.orig 2026-09-13 20:19:54 UTC ++++ qtpass.desktop +@@ -32,8 +32,8 @@ Comment[zh_CN]=标准 Unix 密码存储的图形界面 + Comment[ru]=Графический интерфейс для стандартного Unix-хранилища паролей + Comment[sv]=Grafiskt gränssnitt för det standardiserade Unix-lösenordslagret + Comment[zh_CN]=标准 Unix 密码存储的图形界面 +-Exec=qtpass +-Icon=qtpass-icon ++Exec=%%PREFIX%%/bin/qtpass ++Icon=%%PREFIX%%/share/pixmaps/qtpass.png + Terminal=false + Categories=Security;Utility; + Keywords=Password;Manager;Qt; diff --git a/sysutils/qtpass/pkg-descr b/sysutils/qtpass/pkg-descr index 3f8b331c6c80..7e0e350bdf84 100644 --- a/sysutils/qtpass/pkg-descr +++ b/sysutils/qtpass/pkg-descr @@ -1 +1,10 @@ -GUI for pass, the standard UNIX password manager. +QtPass is a multi-platform GUI for pass, the standard Unix password manager. +Each password lives in its own GnuPG-encrypted file in ~/.password-store, so +QtPass shares the store with the pass command line and with every other pass +client, and keeps history and synchronisation in git. + +QtPass can drive the pass script or talk to gpg and git directly, supports +multi-key and multi-recipient encryption with per-folder recipients, OpenPGP +smartcards and other external tokens, generates passwords with pwgen or its +own generator, shows QR codes for entries, and generates TOTP one-time codes +from otpauth:// entries without extra tools.