mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
New port: security/sops: Editor of encrypted files that supports YAML, JSON and BINARY formats
PR: 225267 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D14111
This commit is contained in:
parent
c8ff74d22f
commit
164ee0ed7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460456
@ -1188,6 +1188,7 @@
|
||||
SUBDIR += softether-devel
|
||||
SUBDIR += softhsm
|
||||
SUBDIR += softhsm2
|
||||
SUBDIR += sops
|
||||
SUBDIR += spass
|
||||
SUBDIR += spike-proxy
|
||||
SUBDIR += spybye
|
||||
|
35
security/sops/Makefile
Normal file
35
security/sops/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sops
|
||||
DISTVERSION= 3.0.2
|
||||
CATEGORIES= security editors
|
||||
|
||||
MAINTAINER= dg@syrec.org
|
||||
COMMENT= Editor of encrypted files that supports YAML, JSON and BINARY formats
|
||||
|
||||
LICENSE= MPL20
|
||||
|
||||
BUILD_DEPENDS= go>=1.8:lang/go
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mozilla
|
||||
GH_SUBDIR= src/go.mozilla.org/${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/sops
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= README.rst CHANGELOG.rst
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/${GH_SUBDIR} && \
|
||||
${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ./cmd/sops
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/sops/distinfo
Normal file
3
security/sops/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1516534413
|
||||
SHA256 (mozilla-sops-3.0.2_GH0.tar.gz) = c370664e8d9892ea7a5cdde371b3a5e83df7b546b1b0ec0c8d549a109365312d
|
||||
SIZE (mozilla-sops-3.0.2_GH0.tar.gz) = 27517828
|
7
security/sops/pkg-descr
Normal file
7
security/sops/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
SOPS is a wrapper around a text editor that transparently takes care of the
|
||||
encryption and decryption. It supports YAML, JSON and BINARY formats and
|
||||
encrypts with AWS KMS and PGP. When encrypting YAML and JSON, the content of
|
||||
the file is manipulated as a tree where keys are stored in cleartext, and
|
||||
values are encrypted.
|
||||
|
||||
WWW: https://github.com/mozilla/sops
|
Loading…
Reference in New Issue
Block a user