svn commit: r440498 - in head/sysutils/password-store: . files

Rene Ladan rene at FreeBSD.org
Tue May 9 13:27:40 UTC 2017


Author: rene
Date: Tue May  9 13:27:38 2017
New Revision: 440498
URL: https://svnweb.freebsd.org/changeset/ports/440498

Log:
  sysutils/password-store: update to 1.7.1
  
  This release adds new convertors and fixes quite some unit tests.
  
  PR:		218162
  Submitted by:	Joris Dedieu

Added:
  head/sysutils/password-store/files/
  head/sysutils/password-store/files/pass.in   (contents, props changed)
Modified:
  head/sysutils/password-store/Makefile
  head/sysutils/password-store/distinfo
  head/sysutils/password-store/pkg-plist

Modified: head/sysutils/password-store/Makefile
==============================================================================
--- head/sysutils/password-store/Makefile	Tue May  9 12:59:01 2017	(r440497)
+++ head/sysutils/password-store/Makefile	Tue May  9 13:27:38 2017	(r440498)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	password-store
-PORTVERSION=	1.6.5
-PORTREVISION=	2
+PORTVERSION=	1.7.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://git.zx2c4.com/password-store/snapshot/
 
@@ -21,30 +20,36 @@ RUN_DEPENDS=	bash:shells/bash \
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-OPTIONS_DEFINE=		CONTRIB EXAMPLES GIT XCLIP
+OPTIONS_DEFINE=		CONTRIB EXAMPLES GIT XCLIP QRENCODE
 OPTIONS_DEFAULT=	CONTRIB XCLIP
 OPTIONS_SUB=		yes
 
 GIT_DESC=		Enable git storage
 XCLIP_DESC=		Enable xclip feature
 CONTRIB_DESC=		Include shell completions, import scripts, related projects
+QRENCODE_DESC=		Enable QR code support
 
 GIT_RUN_DEPENDS=	git>=0:devel/git
 XCLIP_RUN_DEPENDS=	base64>=0:converters/base64 \
 			xclip>=0:x11/xclip
+QRENCODE_RUN_DEPENDS=	qrencode>=0:graphics/libqrencode
+
+SUB_FILES=		pass
 
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -Ee 's|GETOPT="getopt"|GETOPT="${LOCALBASE}/bin/getopt"|' ${WRKSRC}/src/password-store.sh
-	@${REINPLACE_CMD} -Ee 's|SHRED="shred -f -z"|SHRED="rm -P -f"|' ${WRKSRC}/src/password-store.sh
+	@${REINPLACE_CMD} -Ee 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/src/platform/freebsd.sh
 
 do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/pass ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh ${STAGEDIR}${PREFIX}/libexec/pass
-	${LN} -s ${PREFIX}/libexec/pass ${STAGEDIR}${PREFIX}/bin/pass
+	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/platform
+	${INSTALL_SCRIPT} ${WRKSRC}/src/platform/freebsd.sh ${STAGEDIR}${PREFIX}/libexec/platform/
 	${INSTALL_MAN} ${WRKSRC}/man/pass.1 ${STAGEDIR}${MANPREFIX}/man/man1/pass.1
 
 do-install-CONTRIB-on:
+	@${RM} ${WRKSRC}/contrib/emacs/.gitignore
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	(cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 	(cd ${WRKSRC}/src/completion && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})

Modified: head/sysutils/password-store/distinfo
==============================================================================
--- head/sysutils/password-store/distinfo	Tue May  9 12:59:01 2017	(r440497)
+++ head/sysutils/password-store/distinfo	Tue May  9 13:27:38 2017	(r440498)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464706588
-SHA256 (password-store-1.6.5.tar.gz) = 0b70e27babed42209544acafbfdaddc222933977883b1dcd9db2acb142045608
-SIZE (password-store-1.6.5.tar.gz) = 61020
+TIMESTAMP = 1494164140
+SHA256 (password-store-1.7.1.tar.gz) = 3f7eadf5032ad7f966b408000827251b79cd5f3cfc0a0ba0c9d012764d0c303d
+SIZE (password-store-1.7.1.tar.gz) = 70522

Added: head/sysutils/password-store/files/pass.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/password-store/files/pass.in	Tue May  9 13:27:38 2017	(r440498)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd %%PREFIX%%/libexec
+exec %%PREFIX%%/libexec/pass "$@"

Modified: head/sysutils/password-store/pkg-plist
==============================================================================
--- head/sysutils/password-store/pkg-plist	Tue May  9 12:59:01 2017	(r440497)
+++ head/sysutils/password-store/pkg-plist	Tue May  9 13:27:38 2017	(r440498)
@@ -1,3 +1,7 @@
+bin/pass
+libexec/pass
+libexec/platform/freebsd.sh
+man/man1/pass.1.gz
 %%CONTRIB%%%%DATADIR%%/dmenu/README.md
 %%CONTRIB%%%%DATADIR%%/dmenu/passmenu
 %%CONTRIB%%%%DATADIR%%/emacs/Cask
@@ -7,21 +11,22 @@
 %%CONTRIB%%%%DATADIR%%/importers/fpm2pass.pl
 %%CONTRIB%%%%DATADIR%%/importers/gorilla2pass.rb
 %%CONTRIB%%%%DATADIR%%/importers/kedpm2pass.py
+%%CONTRIB%%%%DATADIR%%/importers/keepass2csv2pass.py
 %%CONTRIB%%%%DATADIR%%/importers/keepass2pass.py
 %%CONTRIB%%%%DATADIR%%/importers/keepassx2pass.py
 %%CONTRIB%%%%DATADIR%%/importers/kwallet2pass.py
 %%CONTRIB%%%%DATADIR%%/importers/lastpass2pass.rb
+%%CONTRIB%%%%DATADIR%%/importers/password-exporter2pass.py
+%%CONTRIB%%%%DATADIR%%/importers/pwsafe2pass.py
 %%CONTRIB%%%%DATADIR%%/importers/pwsafe2pass.sh
 %%CONTRIB%%%%DATADIR%%/importers/revelation2pass.py
+%%CONTRIB%%%%DATADIR%%/importers/roboform2pass.rb
+%%CONTRIB%%%%DATADIR%%/pass.applescript
 %%CONTRIB%%%%DATADIR%%/pass.bash-completion
 %%CONTRIB%%%%DATADIR%%/pass.fish-completion
 %%CONTRIB%%%%DATADIR%%/pass.zsh-completion
-%%CONTRIB%%%%DATADIR%%/related-projects.txt
 %%CONTRIB%%%%DATADIR%%/vim/noplaintext.vim
 %%CONTRIB%%etc/bash_completion.d/password-store
 %%CONTRIB%%share/fish/completions/password-store.fish
 %%CONTRIB%%share/zsh/site-functions/_pass
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-filter.sh
-bin/pass
-libexec/pass
-man/man1/pass.1.gz


More information about the svn-ports-all mailing list