--- /dev/null +++ b/security/git-secret/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= git-secret +DISTVERSION= 0.2.5 +CATEGORIES= security + +MAINTAINER= mail@sobolevn.me +COMMENT= Bash tool to store your private data inside a git repository + +LICENSE= MIT +#MASTER_SITES= https://github.com/sobolevn/git-secret/archive/ + +RUN_DEPENDS= gawk:lang/gawk git:devel/git gpg2:security/gnupg bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= sobolevn +GH_PROJECT= git-secret +GH_TAGNAME= 94d5ae4 + +SCRIPTS= git-secret +ALL_TARGET= git-secret + +post-extract: + @cd ${WRKSRC} && ${CAT} src/version.sh src/_utils/*.sh src/commands/*.sh src/main.sh > git-secret + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/git-secret ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/man7/*.7 ${STAGEDIR}${PREFIX}/man/man7/ + +.include --- /dev/null +++ b/security/git-secret/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1547673384 +SHA256 (sobolevn-git-secret-0.2.5-94d5ae4_GH0.tar.gz) = 7be13bb5710c8f6e77a53153957e6352b67886432b35dbf10c8d0b92fbe29bea +SIZE (sobolevn-git-secret-0.2.5-94d5ae4_GH0.tar.gz) = 73704 --- /dev/null +++ b/security/git-secret/pkg-descr @@ -0,0 +1,11 @@ +git-secret is a bash tool which stores private data inside a git repo. +git-secret encrypts tracked files with public keys for users whom you +trust using gpg, allowing permitted users to access encrypted data +using their secret keys. With git-secret, changes to access rights are +made easy and private-public key issues are handled for you. Passwords +do not need to be changed with git-secret when someone's permission +is revoked - just remove their key from the keychain using git secret +killperson their@email.com, and re-encrypt the files, and they won't +be able to decrypt secrets anymore. + +WWW: https://git-secret.io/ --- /dev/null +++ b/security/git-secret/pkg-plist @@ -0,0 +1,15 @@ +@(root,root,555) bin/git-secret +@(root,root,444) man/man7/git-secret.7.gz +@(root,root,444) man/man1/git-secret-add.1.gz +@(root,root,444) man/man1/git-secret-clean.1.gz +@(root,root,444) man/man1/git-secret-changes.1.gz +@(root,root,444) man/man1/git-secret-hide.1.gz +@(root,root,444) man/man1/git-secret-usage.1.gz +@(root,root,444) man/man1/git-secret-cat.1.gz +@(root,root,444) man/man1/git-secret-whoknows.1.gz +@(root,root,444) man/man1/git-secret-init.1.gz +@(root,root,444) man/man1/git-secret-reveal.1.gz +@(root,root,444) man/man1/git-secret-killperson.1.gz +@(root,root,444) man/man1/git-secret-remove.1.gz +@(root,root,444) man/man1/git-secret-list.1.gz +@(root,root,444) man/man1/git-secret-tell.1.gz