svn commit: r372155 - in head/security: . lastpass-cli
John Marino
marino at FreeBSD.org
Tue Nov 4 17:11:07 UTC 2014
Author: marino
Date: Tue Nov 4 17:11:05 2014
New Revision: 372155
URL: https://svnweb.freebsd.org/changeset/ports/372155
QAT: https://qat.redports.org/buildarchive/r372155/
Log:
Add new port security/lastpass-cli
PR: 194594
Submitted by: Thomas Hurst
lastpass-cli is an open-source command-line interface to the popular
LastPass password management service.
Added:
head/security/lastpass-cli/
head/security/lastpass-cli/Makefile (contents, props changed)
head/security/lastpass-cli/distinfo (contents, props changed)
head/security/lastpass-cli/pkg-descr (contents, props changed)
head/security/lastpass-cli/pkg-message (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Tue Nov 4 16:57:20 2014 (r372154)
+++ head/security/Makefile Tue Nov 4 17:11:05 2014 (r372155)
@@ -256,6 +256,7 @@
SUBDIR += l0phtcrack
SUBDIR += l5
SUBDIR += lasso
+ SUBDIR += lastpass-cli
SUBDIR += libassuan
SUBDIR += libbeid
SUBDIR += libbf
Added: head/security/lastpass-cli/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/lastpass-cli/Makefile Tue Nov 4 17:11:05 2014 (r372155)
@@ -0,0 +1,49 @@
+# Created by: Thomas Hurst <tom at hur.st>
+# $FreeBSD$
+
+PORTNAME= lastpass-cli
+PORTVERSION= 0.3.0.20141031
+CATEGORIES= security
+MASTER_SITES= GH
+
+MAINTAINER= tom at hur.st
+COMMENT= LastPass command line interface tool
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+
+USES= gmake pkgconfig
+USE_GNOME= libxml2
+USE_OPENSSL= yes
+
+USE_GITHUB= YES
+GH_ACCOUNT= lastpass
+GH_PROJECT= lastpass-cli
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 8993a4e
+
+PLIST_FILES= bin/lpass
+MAKE_ENV+= MANDIR=${MANPREFIX}/man
+
+OPTIONS_DEFINE= MANPAGES PINENTRY XCLIP XSEL
+OPTIONS_DEFAULT= 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
+
+MANPAGES_BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
+ xmlto:${PORTSDIR}/textproc/xmlto
+MANPAGES_ALL_TARGET= all doc-man
+MANPAGES_INSTALL_TARGET=install install-doc
+MANPAGES_PLIST_FILES= ${MANPREFIX}/man/man1/lpass.1.gz
+
+PINENTRY_RUN_DEPENDS= pinentry:${PORTSDIR}/security/pinentry
+XCLIP_RUN_DEPENDS= xclip:${PORTSDIR}/x11/xclip
+XSEL_RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
Added: head/security/lastpass-cli/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/lastpass-cli/distinfo Tue Nov 4 17:11:05 2014 (r372155)
@@ -0,0 +1,2 @@
+SHA256 (lastpass-cli-0.3.0.20141031.tar.gz) = b7297875991857a36b7fbce46822c62836e91a4cb6f044ba6f123e576eb39e38
+SIZE (lastpass-cli-0.3.0.20141031.tar.gz) = 57243
Added: head/security/lastpass-cli/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/lastpass-cli/pkg-descr Tue Nov 4 17:11:05 2014 (r372155)
@@ -0,0 +1,4 @@
+lastpass-cli is an open-source command-line interface to the popular
+LastPass password management service.
+
+WWW: https://lastpass.com/
Added: head/security/lastpass-cli/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/lastpass-cli/pkg-message Tue Nov 4 17:11:05 2014 (r372155)
@@ -0,0 +1,33 @@
+===============================================================================
+Important security considerations
+===============================================================================
+
+Before using the 'edit' subcommand interactively, it's recommended to set the
+SECURE_TMPDIR environment variable to a location that isn't written to disk,
+such as a tmpfs mount, ideally using encrypted swap:
+
+ https://www.freebsd.org/doc/handbook/swap-encrypting.html
+
+Also keep in mind your editor may create temporary files and backups in other
+locations - consider disabling these features for files matching the pattern
+lpass.* or within your $SECURE_TMPDIR. For example, with vim:
+
+ autocmd BufRead lpass.* setlocal noundofile nowritebackup noswapfile
+
+
+===============================================================================
+Using OpenSSL from ports
+===============================================================================
+
+If you're using security/openssl, ensure ftp/curl is configured with the
+HEIMDAL_PORT option to avoid linking to two different OpenSSL libraries.
+
+
+===============================================================================
+Other steps
+===============================================================================
+
+lpass requires /proc to be mounted for correct operation. To enable it add
+the following to /etc/fstab and run 'mount /proc':
+
+ proc /proc procfs rw 0 0
More information about the svn-ports-all
mailing list