pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/lastpass-cli
Module Name: pkgsrc
Committed By: vins
Date: Mon Sep 8 08:09:18 UTC 2025
Modified Files:
pkgsrc/security/lastpass-cli: Makefile distinfo
Added Files:
pkgsrc/security/lastpass-cli/patches: patch-lpass.c
Log Message:
security/lastpass-cli: fix build on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/security/lastpass-cli/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/lastpass-cli/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/lastpass-cli/patches/patch-lpass.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/lastpass-cli/Makefile
diff -u pkgsrc/security/lastpass-cli/Makefile:1.39 pkgsrc/security/lastpass-cli/Makefile:1.40
--- pkgsrc/security/lastpass-cli/Makefile:1.39 Wed Aug 20 11:35:10 2025
+++ pkgsrc/security/lastpass-cli/Makefile Mon Sep 8 08:09:18 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2025/08/20 11:35:10 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2025/09/08 08:09:18 vins Exp $
DISTNAME= lastpass-cli-1.6.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=lastpass/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -16,6 +16,9 @@ TOOL_DEPENDS+= asciidoc>=0:../../textpro
USE_LANGUAGES= c c++
USE_TOOLS= bash:test pkg-config
+# Do not warn about deprecated declarations when using OpenSSL 3.x
+CFLAGS+= -Wno-deprecated-declarations
+
REPLACE_BASH+= test/askpass-wrong.sh test/askpass.sh \
test/assert.sh test/include.sh test/tests
Index: pkgsrc/security/lastpass-cli/distinfo
diff -u pkgsrc/security/lastpass-cli/distinfo:1.7 pkgsrc/security/lastpass-cli/distinfo:1.8
--- pkgsrc/security/lastpass-cli/distinfo:1.7 Mon Jan 13 19:27:14 2025
+++ pkgsrc/security/lastpass-cli/distinfo Mon Sep 8 08:09:18 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2025/01/13 19:27:14 vins Exp $
+$NetBSD: distinfo,v 1.8 2025/09/08 08:09:18 vins Exp $
BLAKE2s (lastpass-cli-1.6.1.tar.gz) = b7e5f2846500ac728127d6e8465e5b414b3e29f866100262528cdabb94c09faf
SHA512 (lastpass-cli-1.6.1.tar.gz) = 7accba731be1df29e40bab478b45a8e879e23ad041cf0df589d580b057eaff76b7929a4a8d65229aa76b8a74b758b368548b8304805252ab34232b8e1dd79d47
@@ -8,6 +8,7 @@ SHA1 (patch-agent.c) = 2e04b136da6116f80
SHA1 (patch-clipboard.c) = a184652b0626c340475f0f23825f24466e810e02
SHA1 (patch-cmake__extras_install__doc.cmake) = a0d80f60501ac283d66402ef036d6934ea644f17
SHA1 (patch-http.c) = 6027b06014d5f3c290f55a8086a493d30bdf9023
+SHA1 (patch-lpass.c) = 20a5e0297b8ab406226baec01dd7212cf06f3169
SHA1 (patch-password.c) = 6b73b4bdb1a3c54950e17fb2db2ebca10d6a44b0
SHA1 (patch-process.c) = 565a9d8ea4d08194c15e0e7898b1dd273b1b6f2f
SHA1 (patch-upload-queue.c) = a5340d96014c01517574275607f493ace212690d
Added files:
Index: pkgsrc/security/lastpass-cli/patches/patch-lpass.c
diff -u /dev/null pkgsrc/security/lastpass-cli/patches/patch-lpass.c:1.1
--- /dev/null Mon Sep 8 08:09:18 2025
+++ pkgsrc/security/lastpass-cli/patches/patch-lpass.c Mon Sep 8 08:09:18 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-lpass.c,v 1.1 2025/09/08 08:09:18 vins Exp $
+
+libgen.h is also needed on SunOS for basename().
+
+--- lpass.c.orig 2025-09-08 08:01:58.935555860 +0000
++++ lpass.c
+@@ -46,7 +46,7 @@
+ #include <getopt.h>
+ #include <unistd.h>
+
+-#if (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if (defined(__APPLE__) && defined(__MACH__)) || defined (__sun) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ #include <libgen.h>
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index