Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
6 changed files
with
50 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |