From owner-svn-ports-head@FreeBSD.ORG Tue Nov 4 17:11:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2AD7D1C; Tue, 4 Nov 2014 17:11:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3491F9F; Tue, 4 Nov 2014 17:11:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA4HB686091176; Tue, 4 Nov 2014 17:11:06 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA4HB5YL091169; Tue, 4 Nov 2014 17:11:05 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201411041711.sA4HB5YL091169@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 4 Nov 2014 17:11:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372155 - in head/security: . lastpass-cli X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2014 17:11:07 -0000 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 +# $FreeBSD$ + +PORTNAME= lastpass-cli +PORTVERSION= 0.3.0.20141031 +CATEGORIES= security +MASTER_SITES= GH + +MAINTAINER= tom@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 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