svn commit: r460456 - in head/security: . sops
Yuri Victorovich
yuri at FreeBSD.org
Wed Jan 31 04:19:04 UTC 2018
Author: yuri
Date: Wed Jan 31 04:19:02 2018
New Revision: 460456
URL: https://svnweb.freebsd.org/changeset/ports/460456
Log:
New port: security/sops: Editor of encrypted files that supports YAML, JSON and BINARY formats
PR: 225267
Submitted by: Dmitri Goutnik <dg at syrec.org>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D14111
Added:
head/security/sops/
head/security/sops/Makefile (contents, props changed)
head/security/sops/distinfo (contents, props changed)
head/security/sops/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Wed Jan 31 03:14:22 2018 (r460455)
+++ head/security/Makefile Wed Jan 31 04:19:02 2018 (r460456)
@@ -1188,6 +1188,7 @@
SUBDIR += softether-devel
SUBDIR += softhsm
SUBDIR += softhsm2
+ SUBDIR += sops
SUBDIR += spass
SUBDIR += spike-proxy
SUBDIR += spybye
Added: head/security/sops/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/sops/Makefile Wed Jan 31 04:19:02 2018 (r460456)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= sops
+DISTVERSION= 3.0.2
+CATEGORIES= security editors
+
+MAINTAINER= dg at 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>
Added: head/security/sops/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/sops/distinfo Wed Jan 31 04:19:02 2018 (r460456)
@@ -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
Added: head/security/sops/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/sops/pkg-descr Wed Jan 31 04:19:02 2018 (r460456)
@@ -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
More information about the svn-ports-all
mailing list