Skip to content

Commit

Permalink
security/enc: Add new port
Browse files Browse the repository at this point in the history
Enc is a CLI tool for encryption. A modern and friendly alternative
to GnuPG

PR:		277637
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D44336
  • Loading branch information
DtxdF authored and dmdutra committed Mar 14, 2024
1 parent d85a66d commit cb123ca
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Expand Up @@ -147,6 +147,7 @@
SUBDIR += duo
SUBDIR += duo_openvpn
SUBDIR += easy-rsa
SUBDIR += enc
SUBDIR += enchive
SUBDIR += eschalot
SUBDIR += expiretable
Expand Down
32 changes: 32 additions & 0 deletions security/enc/Makefile
@@ -0,0 +1,32 @@
PORTNAME= enc
DISTVERSION= 1.1.3
CATEGORIES= security

MAINTAINER= DtxdF@disroot.org
COMMENT= Modern and friendly CLI alternative to GnuPG
WWW= https://github.com/life4/enc

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= life4

GH_TUPLE= ProtonMail:go-crypto:afb1ddc0824c:protonmail_go_crypto/vendor/github.com/ProtonMail/go-crypto \
ProtonMail:go-mime:7d82a3887f2f:protonmail_go_mime/vendor/github.com/ProtonMail/go-mime \
ProtonMail:gopenpgp:v2.7.4:protonmail_gopenpgp_v2/vendor/github.com/ProtonMail/gopenpgp/v2 \
cloudflare:circl:v1.3.7:cloudflare_circl/vendor/github.com/cloudflare/circl \
golang:crypto:v0.18.0:golang_crypto/vendor/golang.org/x/crypto \
golang:sync:v0.6.0:golang_sync/vendor/golang.org/x/sync \
golang:sys:v0.16.0:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \
inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
matryer:is:v1.4.0:matryer_is/vendor/github.com/matryer/is \
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
spf13:cobra:v1.8.0:spf13_cobra/vendor/github.com/spf13/cobra \
spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag

PLIST_FILES= bin/enc

.include <bsd.port.mk>
29 changes: 29 additions & 0 deletions security/enc/distinfo
@@ -0,0 +1,29 @@
TIMESTAMP = 1710163954
SHA256 (life4-enc-1.1.3_GH0.tar.gz) = 31c3a8917564b052c20ae0008a08cfccced515184d9f1de776b08e53672160f4
SIZE (life4-enc-1.1.3_GH0.tar.gz) = 22271
SHA256 (ProtonMail-go-crypto-afb1ddc0824c_GH0.tar.gz) = 95aab7fe6431960f4c6d6bee0932839183b79d06110d13c0324add1ec39fd774
SIZE (ProtonMail-go-crypto-afb1ddc0824c_GH0.tar.gz) = 333545
SHA256 (ProtonMail-go-mime-7d82a3887f2f_GH0.tar.gz) = e13843b1f6bec5b89023a4e7c9acba58a3d60015e38e929d1a19796136cfcd75
SIZE (ProtonMail-go-mime-7d82a3887f2f_GH0.tar.gz) = 24720
SHA256 (ProtonMail-gopenpgp-v2.7.4_GH0.tar.gz) = 140225529b15d62a3e0ac7e85c15ce90eb05980c5ba272e2cb309fd7e733dd89
SIZE (ProtonMail-gopenpgp-v2.7.4_GH0.tar.gz) = 163985
SHA256 (cloudflare-circl-v1.3.7_GH0.tar.gz) = e1db989f921eeec80fd853cbf376c0e7893796fee96d8183fc5a29e01464a585
SIZE (cloudflare-circl-v1.3.7_GH0.tar.gz) = 4938649
SHA256 (golang-crypto-v0.18.0_GH0.tar.gz) = 65cc44408170afc3f58d242ec1bf5c2ded68ae9d0847652eb3dca51a86ff7c34
SIZE (golang-crypto-v0.18.0_GH0.tar.gz) = 1809280
SHA256 (golang-sync-v0.6.0_GH0.tar.gz) = 23b8fca95397b2293e64e58d333633051ec942b46318ad8f630318e801658b67
SIZE (golang-sync-v0.6.0_GH0.tar.gz) = 17605
SHA256 (golang-sys-v0.16.0_GH0.tar.gz) = 9c17b728aa75f4fc4743c3f5c0dccdc3b7f9ac7c12b3124b666672cc571f657e
SIZE (golang-sys-v0.16.0_GH0.tar.gz) = 1444155
SHA256 (golang-text-v0.14.0_GH0.tar.gz) = c80295e75bda599d17ccf74038139b0957b9915fae4e60d8b46f89454ef171a0
SIZE (golang-text-v0.14.0_GH0.tar.gz) = 8974094
SHA256 (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = ab23e7c5cbf42564eb0190ee051b7217c04fd2599d2f26e9ebe205db75963141
SIZE (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = 5338
SHA256 (matryer-is-v1.4.0_GH0.tar.gz) = 9fdffa00496e767c2585c2fd7dbb018bee65b6f65f95aaeb96966719fbdd3ddc
SIZE (matryer-is-v1.4.0_GH0.tar.gz) = 89607
SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
SHA256 (spf13-cobra-v1.8.0_GH0.tar.gz) = 66605a6a2297d819e3f92fa38fa6d7771fb8a4adb00e9aa7cb34021bd8389602
SIZE (spf13-cobra-v1.8.0_GH0.tar.gz) = 189706
SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
7 changes: 7 additions & 0 deletions security/enc/pkg-descr
@@ -0,0 +1,7 @@
Enc is a CLI tool for encryption, a modern and friendly alternative
to GnuPG. It is easy to use, secure by default and can encrypt and
decrypt files using password or encryption keys, manage and download
keys, and sign data. Our goal was to make encryption available to
all engineers without the need to learn a lot of new words, concepts,
and commands. It is the most beginner-friendly CLI tool for encryption,
and keeping it that way is our top priority.
7 changes: 7 additions & 0 deletions security/enc/pkg-message
@@ -0,0 +1,7 @@
[
{ type: install
message: <<EOM
If you want to work with GnuPG keyring, please install security/gnupg
EOM
}
]

0 comments on commit cb123ca

Please sign in to comment.