8f8d3e1add
Upstream changes: ================= Release 1.6.5. Changes: == Features == * Support Gpg4win alongside Cygwin == Bug Fixes == * Work around unit tests bug with GnuPG 2.1.0 and 2.1.1 * Manually migrate unit tests keys to GnuPG 2.1 series * Restore support GnuPG 2.0 series Release 1.6.4. Changes: == Features == * "add" is an alias of "insert" * `pass edit` will no longer make a commit if the password does not change * Symbolic links are now followed * Remove gpg agent check, due to the auto-starting gpg-agent in GnuPG 2.1 == Bug Fixes == * Avoid trailing slash in `pass grep` * Account for $CLIP_TIME in messages * revelation2pass, keepassx2pass, and other script improvements * Fix .gpg extension in tree listings, and preserve colors * Improved support for getopt on OSX * Updates for zsh and fish completion autoloading * Always preserve TTY for pinentry * Only use encryption subkeys * Better clip error messages * No longer use hidden recipients
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2015/02/15 18:58:40 gls Exp $
|
|
|
|
DISTNAME= password-store-1.6.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://git.zx2c4.com/password-store/snapshot/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= http://www.passwordstore.org/
|
|
COMMENT= Standard UNIX password manager
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= # none
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= gmake pax bash:run
|
|
|
|
DEPENDS+= getopt>=1.1.6:../../misc/getopt
|
|
DEPENDS+= gnupg2>=2.0.26:../../security/gnupg2
|
|
DEPENDS+= pwgen>=2.06:../../sysutils/pwgen
|
|
DEPENDS+= tree>=1.7.0:../../sysutils/tree
|
|
|
|
EGDIR= share/examples/password-store
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
INSTALLATION_DIRS+= ${EGDIR}/contrib ${EGDIR}/completion
|
|
|
|
REPLACE_BASH+= src/password-store.sh
|
|
|
|
SUBST_CLASSES+= fixsh
|
|
SUBST_STAGE.fixsh= post-patch
|
|
SUBST_MESSAGE.fixsh= Fixing shell script
|
|
SUBST_FILES.fixsh= src/password-store.sh
|
|
SUBST_SED.fixsh+= -e 's,GETOPT="getopt",GETOPT="${PREFIX}/bin/getopt",'
|
|
SUBST_SED.fixsh+= -e "s,SHRED=\"shred -f -z\",SHRED=\"${RM} -f -P\","
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh \
|
|
${DESTDIR}${PREFIX}/bin/pass
|
|
${INSTALL_SCRIPT} ${WRKSRC}/man/example-filter.sh \
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/man/pass.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pass.1
|
|
cd ${WRKSRC}/contrib && \
|
|
${PAX} -wr * ${DESTDIR}${PREFIX}/${EGDIR}/contrib
|
|
cd ${WRKSRC}/src/completion && \
|
|
${PAX} -wr * ${DESTDIR}${PREFIX}/${EGDIR}/completion
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|