pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
security/ChiPass: Add ChiPass version 2026.09.0
Module Name: pkgsrc-wip
Committed By: Gourd753 <gourd753%xenos5.net@localhost>
Pushed By: gourd753
Date: Tue Oct 13 23:54:09 2026 +0000
Changeset: 7fd664d5326fdd859c5723e832d3becbd120f517
Added Files:
chipass/COMMIT_MSG
chipass/DESCR
chipass/Makefile
chipass/PLIST
chipass/TODO
chipass/distinfo
chipass/options.mk
chipass/patches/patch-src_CMakeLists.txt
Log Message:
security/ChiPass: Add ChiPass version 2026.09.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7fd664d5326fdd859c5723e832d3becbd120f517
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chipass/COMMIT_MSG | 2 +
chipass/DESCR | 2 +
chipass/Makefile | 72 ++++++++++++++++++++++++++++++++
chipass/PLIST | 16 +++++++
chipass/TODO | 4 ++
chipass/distinfo | 6 +++
chipass/options.mk | 60 ++++++++++++++++++++++++++
chipass/patches/patch-src_CMakeLists.txt | 20 +++++++++
8 files changed, 182 insertions(+)
diffs:
diff --git a/chipass/COMMIT_MSG b/chipass/COMMIT_MSG
new file mode 100644
index 0000000000..3709598099
--- /dev/null
+++ b/chipass/COMMIT_MSG
@@ -0,0 +1,2 @@
+security/ChiPass: Add ChiPass version 2026.09.0
+
diff --git a/chipass/DESCR b/chipass/DESCR
new file mode 100644
index 0000000000..b6d9a1439c
--- /dev/null
+++ b/chipass/DESCR
@@ -0,0 +1,2 @@
+ChiPass can store your passwords safely and auto-type them into
+your everyday websites and applications.
diff --git a/chipass/Makefile b/chipass/Makefile
new file mode 100644
index 0000000000..35da5eb6cc
--- /dev/null
+++ b/chipass/Makefile
@@ -0,0 +1,72 @@
+# $NetBSD: Makefile,v 1.95 2026/09/02 19:04:15 wiz Exp $
+
+DISTNAME= ChiPass
+VERSION= 2026.09.0
+PKGNAME= ${DISTNAME}-${VERSION}
+PKGREVISION= 1
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_CODEBERG:=ChiPass/}
+CODEBERG_TAG= v${VERSION}
+
+DIST_SUBDIR= chipass-${PKGVERSION_NOREV}
+
+MAINTAINER= gourd753+netbsd%xenos5.net@localhost
+HOMEPAGE= https://codeberg.org/ChiPass/ChiPass
+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
+
+SUPERSEDES+= keepassx-[0-9]*
+SUPERSEDES+= keepassx0-[0-9]*
+SUPERSEDES+= keepassxc-[0-9]*
+
+USE_TOOLS+= cmake pkg-config
+
+# botan3
+GCC_REQD+= 11
+
+WRKSRC= ${WRKDIR}/chipass
+
+USE_LANGUAGES= c c++
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_BUILD_TYPE=Release
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_ENABLE_MANUAL=OFF
+
+DEPENDS+= qt6-qttranslations-[0-9]*:../../x11/qt6-qttranslations
+BUILD_DEPENDS+= qt6-qttranslations-[0-9]*:../../x11/qt6-qttranslations
+DEPENDS+= qt6-qttools-[0-9]*:../../devel/qt6-qttools
+BUILD_DEPENDS+= qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= src/CMakeLists.txt
+SUBST_VARS.prefix= PREFIX
+
+#NOT_PAX_MPROTECT_SAFE+= bin/ChiPass
+
+.PHONY: qmake-bin-add
+pre-configure: qmake-bin-add
+
+qmake-bin-add:
+ ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
+
+.include "options.mk"
+
+.include "../../archivers/minizip/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../converters/qrencode/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../security/argon2/buildlink3.mk"
+.include "../../security/botan3/buildlink3.mk"
+.include "../../security/zxcvbn-c/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../graphics/qt6-qtsvg/buildlink3.mk"
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../devel/qt6-qt5compat/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../devel/appstream/buildlink3.mk"
+#.include "../../x11/qt6-qttranslations/buildlink3.mk"
+# does not support editline
+.include "../../devel/readline/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chipass/PLIST b/chipass/PLIST
new file mode 100644
index 0000000000..a3585eba76
--- /dev/null
+++ b/chipass/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+bin/ChiPass
+bin/ChiPass-cli
+bin/ChiPass-proxy
+share/applications/org.chipass.ChiPass.desktop
+share/icons/hicolor/256x256/apps/org.chipass.ChiPass.png
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-locked.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-monochrome-dark-locked.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-monochrome-dark.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-monochrome-light-locked.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-monochrome-light.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass-unlocked.svg
+share/icons/hicolor/scalable/apps/org.chipass.ChiPass-chipass.svg
+share/icons/hicolor/scalable/mimetypes/org.chipass.ChiPass-application-x-chipass.svg
+share/metainfo/org.chipass.ChiPass.metainfo.xml
+share/mime/packages/org.chipass.ChiPass-application-x-chipass.xml
diff --git a/chipass/TODO b/chipass/TODO
new file mode 100644
index 0000000000..1ecc508844
--- /dev/null
+++ b/chipass/TODO
@@ -0,0 +1,4 @@
+The way I've edited in a fix for it not finding qt6-qttranslations is kinda ugly.
+
+Fix upstream or find a better solution in the Makefile.
+
diff --git a/chipass/distinfo b/chipass/distinfo
new file mode 100644
index 0000000000..4a5555e2f0
--- /dev/null
+++ b/chipass/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1 2026/10/12 gourd Exp $
+
+BLAKE2s (chipass-2026.09.0/ChiPass.tar.gz) = 587ffc5ccd44f465f250532a36110405f6c19e00385e0beac6b29ed09e4bf014
+SHA512 (chipass-2026.09.0/ChiPass.tar.gz) = 618dc6a8ca4fc4e1ea3f6863213050182661355911776eb5e37bc336023b33a646943632c708cb2c696ced051dd527c8c52026bde9ec37b51d2829acadb8e07a
+Size (chipass-2026.09.0/ChiPass.tar.gz) = 12835830 bytes
+SHA1 (patch-src_CMakeLists.txt) = 831869f10c193ef0bdbf078267e72e0b8e634e01
diff --git a/chipass/options.mk b/chipass/options.mk
new file mode 100644
index 0000000000..524bdc4f79
--- /dev/null
+++ b/chipass/options.mk
@@ -0,0 +1,60 @@
+# $NetBSD: options.mk,v 1.3 2025/02/10 20:03:36 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.keepassxc
+PKG_SUPPORTED_OPTIONS= keepassxc-browser keepassxc-browser-passkey \
+ keepassxc-fdosecrets keepassxc-keeshare \
+ keepassxc-networking keepassxc-sshagent \
+ keepassxc-yubikey
+PKG_SUGGESTED_OPTIONS= keepassxc-browser
+
+.include "../../mk/bsd.options.mk"
+
+# Enable/Disable KeepassXC-Browser extension support
+.if !empty(PKG_OPTIONS:Mkeepassxc-browser)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_BROWSER=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_BROWSER=OFF
+.endif
+
+# Enable/Disable Passkeys support for browser integration
+.if !empty(PKG_OPTIONS:Mkeepassxc-browser-passkey)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_BROWSER_PASSKEYS=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_BROWSER_PASSKEYS=OFF
+.endif
+
+# Enable/Disable Freedesktop.org Secrets Service support
+.if !empty(PKG_OPTIONS:Mkeepassxc-fdosecrets)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_FDOSECRETS=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_FDOSECRETS=OFF
+.endif
+
+# Enable/Disable KeeShare group synchronization extension
+.if !empty(PKG_OPTIONS:Mkeepassxc-keeshare)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_KEESHARE==ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_KEESHARE==OFF
+.endif
+
+# Enable/Disable Networking support
+.if !empty(PKG_OPTIONS:Mkeepassxc-networking)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_NETWORKING=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_WITH_NETWORKING=OFF
+.endif
+
+# Enable/Disable SSHAgent support
+.if !empty(PKG_OPTIONS:Mkeepassxc-sshagent)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_ENABLE_SSHAGENT=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_ENABLE_SSHAGENT=OFF
+.endif
+
+# Enable/Disable YubiKey HMAC-SHA1 authentication support
+.if !empty(PKG_OPTIONS:Mkeepassxc-yubikey)
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_ENABLE_YUBIKEY=ON
+.include "../../security/pcsc-lite/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+= -DCHIPASS_ENABLE_YUBIKEY=OFF
+.endif
diff --git a/chipass/patches/patch-src_CMakeLists.txt b/chipass/patches/patch-src_CMakeLists.txt
new file mode 100644
index 0000000000..aca07c0777
--- /dev/null
+++ b/chipass/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,20 @@
+$NetBSD$
+
+* Patch to fix reference to QT6 translation directory on NetBSD.
+
+--- src/CMakeLists.txt.orig 2026-09-10 23:25:09.000000000 +0000
++++ src/CMakeLists.txt
+@@ -223,11 +223,11 @@ cmake_path(ABSOLUTE_PATH QT6_INSTALL_TRA
+ BASE_DIRECTORY ${QT6_INSTALL_PREFIX}
+ OUTPUT_VARIABLE qt_translations_dir
+ )
+-message(VERBOSE "Using Qt6 translations: ${qt_translations_dir}")
+-file(GLOB qtbase_qm_files ${qt_translations_dir}/qtbase_*.qm)
++message(VERBOSE "Using Qt6 translations: @PREFIX@/qt6/translations")
++file(GLOB qtbase_qm_files @PREFIX@/qt6/translations/qtbase_*.qm)
+ qt6_add_resources(ChiPass_all "i18n_qtbase"
+ PREFIX /i18n
+- BASE ${qt_translations_dir}
++ BASE @PREFIX@/qt6/translations
+ FILES ${qtbase_qm_files}
+ )
Home |
Main Index |
Thread Index |
Old Index