Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 13:33:32 GMT
From:      "Gabriel M. Dutra" <dutra@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cb123ca68540 - main - security/enc: Add new port
Message-ID:  <202403141333.42EDXWcs030970@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dutra:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb123ca6854048d150d6e4cc66cfc4aacb4985e3

commit cb123ca6854048d150d6e4cc66cfc4aacb4985e3
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-03-14 13:29:47 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2024-03-14 13:32:51 +0000

    security/enc: Add new port
    
    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
---
 security/Makefile        |  1 +
 security/enc/Makefile    | 32 ++++++++++++++++++++++++++++++++
 security/enc/distinfo    | 29 +++++++++++++++++++++++++++++
 security/enc/pkg-descr   |  7 +++++++
 security/enc/pkg-message |  7 +++++++
 5 files changed, 76 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 74f65b885b42..0c1714e1709a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -147,6 +147,7 @@
     SUBDIR += duo
     SUBDIR += duo_openvpn
     SUBDIR += easy-rsa
+    SUBDIR += enc
     SUBDIR += enchive
     SUBDIR += eschalot
     SUBDIR += expiretable
diff --git a/security/enc/Makefile b/security/enc/Makefile
new file mode 100644
index 000000000000..153aea788d05
--- /dev/null
+++ b/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>
diff --git a/security/enc/distinfo b/security/enc/distinfo
new file mode 100644
index 000000000000..4fb56a16c5c2
--- /dev/null
+++ b/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
diff --git a/security/enc/pkg-descr b/security/enc/pkg-descr
new file mode 100644
index 000000000000..099e7bf58415
--- /dev/null
+++ b/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.
diff --git a/security/enc/pkg-message b/security/enc/pkg-message
new file mode 100644
index 000000000000..d33447075190
--- /dev/null
+++ b/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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403141333.42EDXWcs030970>