pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/keepassxc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Feb 10 20:03:36 UTC 2025

Modified Files:
        pkgsrc/security/keepassxc: Makefile options.mk

Log Message:
keepassxc: add more options

>From Joel Carnat on pkgsrc-users.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/security/keepassxc/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/keepassxc/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/keepassxc/Makefile
diff -u pkgsrc/security/keepassxc/Makefile:1.81 pkgsrc/security/keepassxc/Makefile:1.82
--- pkgsrc/security/keepassxc/Makefile:1.81     Sun Dec 29 15:09:58 2024
+++ pkgsrc/security/keepassxc/Makefile  Mon Feb 10 20:03:36 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.81 2024/12/29 15:09:58 adam Exp $
+# $NetBSD: Makefile,v 1.82 2025/02/10 20:03:36 wiz Exp $
 
 DISTNAME=      keepassxc-2.7.9-src
 PKGNAME=       ${DISTNAME:S/-src//}
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=keepassxreboot/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -21,10 +21,9 @@ GCC_REQD+=   11
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/-src//}
 
-USE_LANGUAGES= c c++
+USE_LANGUAGES=         c c++
 CMAKE_CONFIGURE_ARGS+= -DKEEPASSXC_BUILD_TYPE=Release
 CMAKE_CONFIGURE_ARGS+= -DWITH_XC_DOCS=OFF
-CMAKE_CONFIGURE_ARGS+= -DWITH_XC_BROWSER=ON
 
 NOT_PAX_MPROTECT_SAFE+=        bin/keepassxc
 

Index: pkgsrc/security/keepassxc/options.mk
diff -u pkgsrc/security/keepassxc/options.mk:1.2 pkgsrc/security/keepassxc/options.mk:1.3
--- pkgsrc/security/keepassxc/options.mk:1.2    Sun Aug 25 06:19:11 2024
+++ pkgsrc/security/keepassxc/options.mk        Mon Feb 10 20:03:36 2025
@@ -1,12 +1,58 @@
-# $NetBSD: options.mk,v 1.2 2024/08/25 06:19:11 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2025/02/10 20:03:36 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.keepassxc
-PKG_SUPPORTED_OPTIONS=         yubikey
-PKG_SUGGESTED_OPTIONS=         #
+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"
 
-.if !empty(PKG_OPTIONS:Myubikey)
+# Enable/Disable KeePassXC-Browser extension support
+.if !empty(PKG_OPTIONS:Mkeepassxc-browser)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_BROWSER=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_BROWSER=OFF
+.endif
+
+# Enable/Disable Passkeys support for browser integration
+.if !empty(PKG_OPTIONS:Mkeepassxc-browser-passkey)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_BROWSER_PASSKEYS=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_BROWSER_PASSKEYS=OFF
+.endif
+
+# Enable/Disable Freedesktop.org Secrets Service support
+.if !empty(PKG_OPTIONS:Mkeepassxc-fdosecrets)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_FDOSECRETS=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_FDOSECRETS=OFF
+.endif
+
+# Enable/Disable KeeShare group synchronization extension
+.if !empty(PKG_OPTIONS:Mkeepassxc-keeshare)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_KEESHARE==ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_KEESHARE==OFF
+.endif
+
+# Enable/Disable Networking support
+.if !empty(PKG_OPTIONS:Mkeepassxc-networking)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_NETWORKING=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_NETWORKING=OFF
+.endif
+
+# Enable/Disable SSHAgent support
+.if !empty(PKG_OPTIONS:Mkeepassxc-sshagent)
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_SSHAGENT=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_XC_SSHAGENT=OFF
+.endif
+
+# Enable/Disable YubiKey HMAC-SHA1 authentication support
+.if !empty(PKG_OPTIONS:Mkeepassxc-yubikey)
 CMAKE_CONFIGURE_ARGS+= -DWITH_XC_YUBIKEY=ON
 .include "../../devel/libusb1/buildlink3.mk"
 .include "../../security/pcsc-lite/buildlink3.mk"



Home | Main Index | Thread Index | Old Index