From nobody Tue Nov 14 17:18:04 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 4SVCg11ZxZz51YFt; Tue, 14 Nov 2023 17:18:05 +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 4SVCg10yjpz4SMv; Tue, 14 Nov 2023 17:18:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982285; 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=PNUhkHvukhujgj08GPm0K2myRwrc8bk2bcgR/OSAmic=; b=M84odQzNZ0sRYMp7liK6WNRycNlce+rjl9jLdp+QfX0Lm5QcrtN2Y3TFnX5KvvKiUnIhWn baP3ypG056BTb6JKGXKRO2OoVrtikx2Jrht9cSL0dFXJjhtTYJvI6qonWifFSJ6GlEYbJJ ARLLJ1q5XvzAbLVjqv7kJTdnQNCmLjoftwq97boQF69Jta3Gg5uDuuTApiAba5aiXFDuMy zYRnXSCnpr8IoT0q6hdrU0NhjKtOyyDxmDSSrcpSmqV4wEObx4OxKmfk0I6TqJxqreGkV2 6sxdlFUlsB2q1I1BzDrVSuD9jHRoYFv2gB4eA4qXm6q28TtiepQ56od5Br1/aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982285; 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=PNUhkHvukhujgj08GPm0K2myRwrc8bk2bcgR/OSAmic=; b=qVYLJapl8a4zhjSrkFSUzaBZiXxctOIFBnvaKy4OpKUIaPMHgchkjvbyfOSQEcCgN82yfn dMIt5PEn/GuNxUmcV2JiidtPG7O/+0d/NffT8Asz73fJPelIuk7kUE8/PqFnbcnYOF9G3J pTepUjAjDbAPeoQP0HvdOg0aKnsQm4Zv3K22w/J6xm+idJ46kTPfCesCAuqcj3GwXfQXwm slyGyZ0wWUggmPE1NfAc6JBITZ8Mra6sMCIsuHwn3ixlOBeeZYb/Skya+GI4uGmHdP2/nY LugSkDthU0eTHUd271t6+87I3e32DWIu7WifJfn/eFqSQGKmFys//JN5znQgcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699982285; a=rsa-sha256; cv=none; b=TCCI943lO2hk/60vrhcHEMQwLMVngBJ7Ja/kYqzoZMJIh3ESj2IH+MP/x4drd79zU/q54+ JcMjAocTHaxnyjFYX99qLBaDfqGLgFcpK7eZbE0+ENChUB4k+W2yW4fVkzvQcnKU5pdRt/ M0F7vQZrPH/DtduxqV1hJBFXUloexOACu9C4/DNOgOsCBk8xEsM6ZkRefYPuJjMeXFlwZ2 qlkkRljR2/p30qYJu13Rcm/ikiKOknNXh37c4E8EVMILcE5hHWgqWMLHBORnhRz9Bcpj/e wxlHNnibLeNeG6MIpg51+fcpXQJIO+flwX5lCKJdDFnkEl1NcO/YzF0zVOhdeA== 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 4SVCg100ttzx6t; Tue, 14 Nov 2023 17:18: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 3AEHI4Bt057761; Tue, 14 Nov 2023 17:18:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AEHI4QW057758; Tue, 14 Nov 2023 17:18:04 GMT (envelope-from git) Date: Tue, 14 Nov 2023 17:18:04 GMT Message-Id: <202311141718.3AEHI4QW057758@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: bc639905d1e4 - main - security/lastpass-cli: Update to 1.3.7 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bc639905d1e48f694a6ebd943fd510f58667cd7c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bc639905d1e48f694a6ebd943fd510f58667cd7c commit bc639905d1e48f694a6ebd943fd510f58667cd7c Author: Po-Chuan Hsieh AuthorDate: 2023-11-14 16:38:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-14 17:15:34 +0000 security/lastpass-cli: Update to 1.3.7 - Update MASTER_SITES: use upstream release tarball - Update WWW - Convert REINPLACE_CMD to patch files - Take maintainership Changes: https://github.com/lastpass/lastpass-cli/releases --- security/lastpass-cli/Makefile | 55 ++++++++++------------- security/lastpass-cli/distinfo | 6 +-- security/lastpass-cli/files/patch-CMakeLists.txt | 11 +++++ security/lastpass-cli/files/patch-process.h | 13 ------ security/lastpass-cli/files/patch-test-include.sh | 11 +++++ security/lastpass-cli/pkg-descr | 4 +- 6 files changed, 50 insertions(+), 50 deletions(-) diff --git a/security/lastpass-cli/Makefile b/security/lastpass-cli/Makefile index 2bc298d54abf..2dc403ae2782 100644 --- a/security/lastpass-cli/Makefile +++ b/security/lastpass-cli/Makefile @@ -1,55 +1,46 @@ PORTNAME= lastpass-cli -DISTVERSIONPREFIX= v -DISTVERSION= 1.3.6 +PORTVERSION= 1.3.7 CATEGORIES= security +MASTER_SITES= https://github.com/lastpass/lastpass-cli/releases/download/v${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= LastPass command line interface tool -WWW= https://lastpass.com/ +WWW= https://lastpass.com/ \ + https://github.com/lastpass/lastpass-cli LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl -USES= cmake:noninja gnome pkgconfig ssl +USES= cmake gnome pkgconfig shebangfix ssl USE_GNOME= libxml2 -USE_GITHUB= yes -GH_ACCOUNT= lastpass - +CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} TEST_TARGET= lpass-test test PLIST_FILES= bin/lpass -OPTIONS_DEFINE= BASH MANPAGES PINENTRY XCLIP XSEL -OPTIONS_DEFAULT= BASH MANPAGES -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 - +SHEBANG_FILES= test/tests + +OPTIONS_DEFINE= BASH MANPAGES PINENTRY XCLIP XSEL +OPTIONS_DEFAULT=BASH MANPAGES +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_PLIST_FILES= share/bash-completion/completions/lpass +BASH_RUN_DEPENDS= bash-completion>=0:shells/bash-completion +MANPAGES_ALL_TARGET= all doc-man +MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc +MANPAGES_INSTALL_TARGET=install install-doc +MANPAGES_PLIST_FILES= ${PREFIX}/share/man/man1/lpass.1.gz PINENTRY_RUN_DEPENDS= pinentry:security/pinentry XCLIP_RUN_DEPENDS= xclip:x11/xclip XSEL_RUN_DEPENDS= xsel:x11/xsel-conrad -CMAKE_ARGS+= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} - -post-extract: - @${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \ - ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -e 's/build\/lpass-test/lpass-test/' \ - ${WRKSRC}/test/include.sh - post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass .include diff --git a/security/lastpass-cli/distinfo b/security/lastpass-cli/distinfo index fb3c99c43d52..f94c2429cd0e 100644 --- a/security/lastpass-cli/distinfo +++ b/security/lastpass-cli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1693845538 -SHA256 (lastpass-lastpass-cli-v1.3.6_GH0.tar.gz) = 6573068abfda02426ba7374c03dde71d8870dcf44c8dc845bc53106be34bfedd -SIZE (lastpass-lastpass-cli-v1.3.6_GH0.tar.gz) = 117267 +TIMESTAMP = 1699774472 +SHA256 (lastpass-cli-1.3.7.tar.gz) = 448a53960602164456bbc9156d017540a1dac989a8cab7bc6a2a9781b52d47cb +SIZE (lastpass-cli-1.3.7.tar.gz) = 123983 diff --git a/security/lastpass-cli/files/patch-CMakeLists.txt b/security/lastpass-cli/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..d4d3c68702ad --- /dev/null +++ b/security/lastpass-cli/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-11-10 10:04:34 UTC ++++ CMakeLists.txt +@@ -56,7 +56,7 @@ file(GLOB PROJECT_SOURCES *.c) + + set(PROJECT_DEFINITIONS "_GNU_SOURCE") + +-set(PROJECT_FLAGS "-std=gnu99 -pedantic -Wall -Wextra -Wno-language-extension-token") ++set(PROJECT_FLAGS "-std=gnu99 -pedantic -Wall -Wextra") + if(APPLE) + set(PROJECT_FLAGS "${PROJECT_FLAGS} -Wno-deprecated-declarations") + endif() diff --git a/security/lastpass-cli/files/patch-process.h b/security/lastpass-cli/files/patch-process.h deleted file mode 100644 index 10a2f73f501e..000000000000 --- a/security/lastpass-cli/files/patch-process.h +++ /dev/null @@ -1,13 +0,0 @@ ---- 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); diff --git a/security/lastpass-cli/files/patch-test-include.sh b/security/lastpass-cli/files/patch-test-include.sh new file mode 100644 index 000000000000..7104ee35699a --- /dev/null +++ b/security/lastpass-cli/files/patch-test-include.sh @@ -0,0 +1,11 @@ +--- test/include.sh.orig 2023-11-10 10:04:34 UTC ++++ test/include.sh +@@ -8,7 +8,7 @@ function setup() + export TEST_USER="user@example.com" + export TEST_PASS="123456" + export TEST_WRONG_PASS="000000" +- export TEST_LPASS="../build/lpass-test" ++ export TEST_LPASS="../lpass-test" + export LPASS_HOME="./.lpass" + } + diff --git a/security/lastpass-cli/pkg-descr b/security/lastpass-cli/pkg-descr index c4d2ffb43a21..c7ed6471e03f 100644 --- a/security/lastpass-cli/pkg-descr +++ b/security/lastpass-cli/pkg-descr @@ -1,2 +1,2 @@ -lastpass-cli is an open-source command-line interface to the popular -LastPass password management service. +lastpass-cli is an open-source command-line interface to the popular LastPass +password management service.