mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
sysutils/pass-coffing: Add new port
pass-coffin is a pass extension that hides password store data inside a GPG encrypted file, which we'll call a coffin. Because of how pass works, directory and file names aren't encrypted by default and anyone who has access to your computer can see which websites you use and your usernames on those websites. This is different from how password managers like keepassxc work by keeping your entire password store database inside an encrypted file and can also automatically lock access to the application itself after a certain amount of time. pass-coffin has been created to provide these missing features to pass. https://github.com/ayushnix/pass-coffin
This commit is contained in:
parent
edda5a64b6
commit
6e0810c6b2
@ -977,6 +977,7 @@
|
||||
SUBDIR += parafly
|
||||
SUBDIR += parallel
|
||||
SUBDIR += parkverbot
|
||||
SUBDIR += pass-coffin
|
||||
SUBDIR += pass-otp
|
||||
SUBDIR += pass-secrets
|
||||
SUBDIR += pass-update
|
||||
|
44
sysutils/pass-coffin/Makefile
Normal file
44
sysutils/pass-coffin/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
PORTNAME= pass-coffin
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.2.1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Password store extension to hide data inside an encrypted coffin
|
||||
WWW= https://github.com/ayushnix/pass-coffin
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= bash:shells/bash \
|
||||
pass:sysutils/password-store
|
||||
|
||||
USES= shebangfix
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ayushnix
|
||||
SHEBANG_FILES= *.bash
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_BUILD_DEPENDS= md2roff:textproc/md2roff
|
||||
|
||||
do-build:
|
||||
${DO_NADA}
|
||||
|
||||
post-build-DOCS-on:
|
||||
${LOCALBASE}/bin/md2roff ${WRKSRC}/README.md
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/password-store/extensions
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/*.bash \
|
||||
${STAGEDIR}${PREFIX}/libexec/password-store/extensions
|
||||
${INSTALL_DATA} ${WRKSRC}/completion/pass-coffin.bash-completion \
|
||||
${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/pass-coffin/distinfo
Normal file
3
sysutils/pass-coffin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1707729432
|
||||
SHA256 (ayushnix-pass-coffin-v1.2.1_GH0.tar.gz) = bca41b9c9dc3525ddfccef31baef2c61366a968c43ee841c3b6c6934e3263fbe
|
||||
SIZE (ayushnix-pass-coffin-v1.2.1_GH0.tar.gz) = 20242
|
10
sysutils/pass-coffin/pkg-descr
Normal file
10
sysutils/pass-coffin/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
pass-coffin is a pass extension that hides password store data inside a GPG
|
||||
encrypted file, which we'll call a coffin.
|
||||
|
||||
Because of how pass works, directory and file names aren't encrypted by default
|
||||
and anyone who has access to your computer can see which websites you use and
|
||||
your usernames on those websites. This is different from how password managers
|
||||
like keepassxc work by keeping your entire password store database inside an
|
||||
encrypted file and can also automatically lock access to the application itself
|
||||
after a certain amount of time. pass-coffin has been created to provide these
|
||||
missing features to pass.
|
20
sysutils/pass-coffin/pkg-message
Normal file
20
sysutils/pass-coffin/pkg-message
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
*** Please Create Backups or Use Git ***
|
||||
|
||||
Before using this extension or any other password store extension, It is highly
|
||||
recommend that you check in your password store in a local git repository and
|
||||
sync it with a remote git repository (doesn't have to be an online remote repo)
|
||||
or make regular backups of your password store using tools like borgbackup. You
|
||||
don't want to lose your password store data because of an unintentional bug in
|
||||
this, or any other, pass extension.
|
||||
|
||||
Use `pass git initʼ to initialize a local git repository in your password store
|
||||
and add a remote git repository using `pass git remote add backup <location>ʼ.
|
||||
For more details, please read the "EXTENDED GIT EXAMPLE" section of the man
|
||||
page of pass.
|
||||
EOM
|
||||
}
|
||||
]
|
6
sysutils/pass-coffin/pkg-plist
Normal file
6
sysutils/pass-coffin/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
libexec/password-store/extensions/close.bash
|
||||
libexec/password-store/extensions/coffin.bash
|
||||
libexec/password-store/extensions/open.bash
|
||||
libexec/password-store/extensions/timer.bash
|
||||
share/bash-completion/completions/pass-coffin.bash-completion
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.html
|
Loading…
x
Reference in New Issue
Block a user