From nobody Sun Sep 10 17:08:05 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkGWV0Vc1z4sWNq; Sun, 10 Sep 2023 17:08:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkGWV03NJz4FVm; Sun, 10 Sep 2023 17:08:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694365686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dICnAm1FTPUKLHZbf7laeED9awyTRrmkEDAG2buZQa4=; b=rn3jVC+wwN2N2Hq3i+lmDHmRFrKABzcL+4aZRbljkQ2sPjBT9gproAHzJUlMrenEFC2Jz0 1LX2klnE2R2qdYM5b1JWenVtIPX8iZwTc4fYBTa+kvA1+dU/Q7mmyjp9+ERwsuCLuTzYwx ZJMkD4RyTB+eH/NYANMFMRItbmQIIQgNHmLGKWheN4p89cJO0t15w6hFYPTeFq0Lc5ZuSn TWvhvf8MFY9F6Eq42CkH7sWzUKtFS2CofttodFi8JKfENo3uIu4PAHteCUXqEsqSSflw77 ei0+fIvQqUQ8qBxwIHWlIwTXKim4giUGhzJJNY9+nyxFIfmVANwEt4qrZWuM7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694365686; a=rsa-sha256; cv=none; b=tit6FSVQ9TefdoIPAoYx9E3SMCXWy2J060x96TbRZPvpN7krZTxQopAIq+IOgS9lgCBASr RFnCJxdyZQixeVgtmXtUZk37hyacJhoLt0NZDmDUfAMeRTUTCKO6oYgli35CM10C+W06tU WTDuv1eoZVdEYDe30iz+2PFXM7dzhQj668xp96D82ogp3rOFIhjs+0HzHIE9kY3aLkOxtf TIkNHOOIm8iGZgRD398KtLDLtsqdm9jpCYZwCu3yoj7IjvixdKCsyfSdyfalyyPtngejhN R1d1JeWybOh7nqzGFGl6NmeHuIWagqvKWgLMFBvYyW3wH0H5rUwgs42vJrhcdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694365686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dICnAm1FTPUKLHZbf7laeED9awyTRrmkEDAG2buZQa4=; b=E5zlcneyZ3vY9QgHROLCC0ycXxQ9QSR1acE2/2GQ4nom99g5zaQ8FTFsr/X8+iH/+dUH4L PN4olyCvkC+yd5hOLYGCoVhqZuz5Tzp9k0rbzxEAUQ5OyRNIl9XdbmM60cdaOia8BvgbU8 9SgAMiheA0KE5DkVRNlp6rqzWqkho3hFplmi4kvCdXXyji81iqL6LQ1oL/pb3wmpO2gAMb LdlXfYkHxOvQ8VZCLqkpUdA8MsnANmUrJglazT8/nX09nniYIkoPTvHrKbXK2/KW18q/QU +bmtfqeSxCHVclRZrsienpo1Z336BV7o8m1zIP3IqhELSJAdsrQreBbVULwLaQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RkGWT6D8xzKC; Sun, 10 Sep 2023 17:08:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38AH85AS010623; Sun, 10 Sep 2023 17:08:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AH85Vg010620; Sun, 10 Sep 2023 17:08:05 GMT (envelope-from git) Date: Sun, 10 Sep 2023 17:08:05 GMT Message-Id: <202309101708.38AH85Vg010620@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: 3292079e696d - 2023Q3 - security/lastpass-cli: Update to 1.3.6 and drop maintainership List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q3 X-Git-Reftype: branch X-Git-Commit: 3292079e696d5e79fa82dd3954c7a81e03d0dd06 Auto-Submitted: auto-generated The branch 2023Q3 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3292079e696d5e79fa82dd3954c7a81e03d0dd06 commit 3292079e696d5e79fa82dd3954c7a81e03d0dd06 Author: Thomas Hurst AuthorDate: 2023-09-01 14:49:31 +0000 Commit: Robert Clausecker CommitDate: 2023-09-10 17:05:08 +0000 security/lastpass-cli: Update to 1.3.6 and drop maintainership - Patch for upstream issue #532 has been refreshed to appease portlint - MFH as update contains new pinned CA hashes - Drop maintainership - I no longer use LastPass Changelog: https://github.com/lastpass/lastpass-cli/releases/tag/v1.3.5 PR: 273498 MFH: 2023Q3 (cherry picked from commit ea7907c1057bc2741a23fd24c01537aa083b51d2) --- security/lastpass-cli/Makefile | 21 ++++---- security/lastpass-cli/distinfo | 6 +-- security/lastpass-cli/files/patch-fno-common.patch | 61 ---------------------- security/lastpass-cli/files/patch-process.c | 11 ++++ security/lastpass-cli/files/patch-process.h | 13 +++++ 5 files changed, 37 insertions(+), 75 deletions(-) diff --git a/security/lastpass-cli/Makefile b/security/lastpass-cli/Makefile index 54faf59b5665..211483000b59 100644 --- a/security/lastpass-cli/Makefile +++ b/security/lastpass-cli/Makefile @@ -1,10 +1,9 @@ PORTNAME= lastpass-cli -PORTVERSION= 1.3.3 -PORTREVISION= 2 DISTVERSIONPREFIX= v +DISTVERSION= 1.3.6 CATEGORIES= security -MAINTAINER= tom@hur.st +MAINTAINER= ports@FreeBSD.org COMMENT= LastPass command line interface tool WWW= https://lastpass.com/ @@ -29,14 +28,14 @@ PINENTRY_DESC= Use pinentry for password entry XCLIP_DESC= Use xclip for interacting with X11 clipboard XSEL_DESC= Use xsel for interacting with X11 clipboard -BASH_BUILD_DEPENDS= bash-completion>=0:shells/bash-completion -BASH_RUN_DEPENDS= bash-completion>=0:shells/bash-completion -BASH_PLIST_FILES= share/bash-completion/completions/lpass -MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ - xmlto:textproc/xmlto -MANPAGES_ALL_TARGET= all doc-man -MANPAGES_INSTALL_TARGET=install install-doc -MANPAGES_PLIST_FILES= ${MANPREFIX}/share/man/man1/lpass.1.gz +BASH_BUILD_DEPENDS= bash-completion>=0:shells/bash-completion +BASH_RUN_DEPENDS= bash-completion>=0:shells/bash-completion +BASH_PLIST_FILES= share/bash-completion/completions/lpass +MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ + xmlto:textproc/xmlto +MANPAGES_ALL_TARGET= all doc-man +MANPAGES_INSTALL_TARGET= install install-doc +MANPAGES_PLIST_FILES= ${MANPREFIX}/share/man/man1/lpass.1.gz PINENTRY_RUN_DEPENDS= pinentry:security/pinentry XCLIP_RUN_DEPENDS= xclip:x11/xclip diff --git a/security/lastpass-cli/distinfo b/security/lastpass-cli/distinfo index aeea64d4a999..fb3c99c43d52 100644 --- a/security/lastpass-cli/distinfo +++ b/security/lastpass-cli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1562505317 -SHA256 (lastpass-lastpass-cli-v1.3.3_GH0.tar.gz) = f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73 -SIZE (lastpass-lastpass-cli-v1.3.3_GH0.tar.gz) = 116434 +TIMESTAMP = 1693845538 +SHA256 (lastpass-lastpass-cli-v1.3.6_GH0.tar.gz) = 6573068abfda02426ba7374c03dde71d8870dcf44c8dc845bc53106be34bfedd +SIZE (lastpass-lastpass-cli-v1.3.6_GH0.tar.gz) = 117267 diff --git a/security/lastpass-cli/files/patch-fno-common.patch b/security/lastpass-cli/files/patch-fno-common.patch deleted file mode 100644 index f538b2f80e0a..000000000000 --- a/security/lastpass-cli/files/patch-fno-common.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff --git a/globals.c b/globals.c -new file mode 100644 -index 0000000..59e9c30 ---- /dev/null -+++ globals.c -@@ -0,0 +1,40 @@ -+/* -+ * -+ * Copyright (C) 2014-2018 LastPass. -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License along -+ * with this program; if not, write to the Free Software Foundation, Inc., -+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -+ * -+ * In addition, as a special exception, the copyright holders give -+ * permission to link the code of portions of this program with the -+ * OpenSSL library under certain conditions as described in each -+ * individual source file, and distribute linked combinations -+ * including the two. -+ * -+ * You must obey the GNU General Public License in all respects -+ * for all of the code used other than OpenSSL. If you modify -+ * file(s) with this exception, you may extend this exception to your -+ * version of the file(s), but you are not obligated to do so. If you -+ * do not wish to do so, delete this exception statement from your -+ * version. If you delete this exception statement from all source -+ * files in the program, then also delete it here. -+ * -+ * See LICENSE.OpenSSL for more details regarding this exception. -+ */ -+ -+#include "process.h" -+ -+/* Globals */ -+int ARGC; -+char **ARGV; -diff --git a/process.h b/process.h -index 58c2480..4cc2cf4 100644 ---- process.h -+++ process.h -@@ -4,8 +4,8 @@ - #include - #include - --int ARGC; --char **ARGV; -+extern int ARGC; -+extern char **ARGV; - - void process_set_name(const char *name); - void process_disable_ptrace(void); diff --git a/security/lastpass-cli/files/patch-process.c b/security/lastpass-cli/files/patch-process.c new file mode 100644 index 000000000000..5ef35b62e9ac --- /dev/null +++ b/security/lastpass-cli/files/patch-process.c @@ -0,0 +1,11 @@ +--- process.c.orig 2023-09-01 07:49:12 UTC ++++ process.c +@@ -75,6 +75,8 @@ static void ptrace(__attribute__((unused)) int x, + __attribute__((unused)) int w) {} + #endif + ++int ARGC; ++char **ARGV; + + #if defined(__linux__) || defined(__CYGWIN__) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME)) + static int pid_to_cmd(pid_t pid, char *cmd, size_t cmd_size) diff --git a/security/lastpass-cli/files/patch-process.h b/security/lastpass-cli/files/patch-process.h new file mode 100644 index 000000000000..10a2f73f501e --- /dev/null +++ b/security/lastpass-cli/files/patch-process.h @@ -0,0 +1,13 @@ +--- process.h.orig 2023-09-01 07:49:45 UTC ++++ process.h +@@ -4,8 +4,8 @@ + #include + #include + +-int ARGC; +-char **ARGV; ++extern int ARGC; ++extern char **ARGV; + + void process_set_name(const char *name); + void process_disable_ptrace(void);