From nobody Sat May 27 06:50:09 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QSsqP6Qblz4WbsD; Sat, 27 May 2023 06:50:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QSsqP3rzTz57Pl; Sat, 27 May 2023 06:50:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685170209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pKrnFrsasfeYM5t8VkI9hdT7MopjCEki6mpGpBBvOA4=; b=lmTGK+wFjLtoMflMIg8YjTAwRQtmEJ1L2QAjBQhTp/KGoLcrr/4S1X10iUVp9xjvNvGBi+ om7ck981Vnc7SqwdBNRTxps0hq2ErouN1TBNjJ1WX2lfY+9MEJks7w6KbFLKn3fshwTJM+ Yy7m12/qj76Q22WHajWQaTXWQtbpws2ybN0iZdSLJZ2qBxVlJ4QTjiowgdv4Fu12fwkBD2 j8qo4nDtKzWp3kYGhvjfzfw+bsC8CDIlIs2fHPbapFKy4SDLBdbF/G57bgM4AaHr1dsrpS A+Yrwu8H35UoIYjWO3JF+Fbo3g+ItJdcxKCwTwju8alTDpSEfdXa1p/Ay6Fcrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685170209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pKrnFrsasfeYM5t8VkI9hdT7MopjCEki6mpGpBBvOA4=; b=denotTJMGPEtos2NKDdi7JFbfKTLQGAOdwfmMKpsKB06onhJfQbfgfArywS1vKrW83XFnM 6EKUOli7WIO+hu1N0x8dCR0AcAHeKOcQwALLSQQK5q4dLT54BOVlVr+UtM/NIeLb4L1YlC jgrbQy2j9h/01Xs0Kgr/mhTS0JMCo3byopw8CLcHlboRgrXwAOQPMWaSajS0GrJ7mf9iLT STi07ButfRqFHOT1Z0qze7Nwpp07Sw51GZW+/lTA6K8bCbhCnwDjdMGGCf6/cVeqTL5U+M jtuFDjY+IskVAm4d7NZDwHiQE5nw0IES7yC0IWxBpq1Z+AeHqBrT4K/bSTYOYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685170209; a=rsa-sha256; cv=none; b=jHXFN4eNRD/KkjgSJQBvY5WA/bZTd9Kw/gewmoNFPoRUYRpBR4A2vM9TaGir/j3RrglCF5 HRQBxEE2Rpov3B7kz/L5fcT03ZDGsJhkFbXbFaUQ/YRBgEpGrqzAP/X2SLcgie4a+dKLEV pXtV2K3kw1iPE5o01JLHI/qWKn0VoznPNwugrSFmt7rf3UjjBG/TexmlSD4UbJjZoiinIT jAaczLmXap/gNLb17AOS1DxRK8iVu4Rod8I9X5AgY2Z6Xu+0VQqfiV72taDXGfwqmkCoMM aNxP+qPOrabsSrN5vP5Vd2ASlgu8TJe32DfrD37nRuzHHMdkzHToLlD0T/kvUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QSsqP2xbSzf6n; Sat, 27 May 2023 06:50:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34R6o9LZ065043; Sat, 27 May 2023 06:50:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34R6o9GZ065040; Sat, 27 May 2023 06:50:09 GMT (envelope-from git) Date: Sat, 27 May 2023 06:50:09 GMT Message-Id: <202305270650.34R6o9GZ065040@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: ea3df3353c6f - main - security/transcrypt: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ea3df3353c6f21fb569693df3ba2c3a5974f64c4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea3df3353c6f21fb569693df3ba2c3a5974f64c4 commit ea3df3353c6f21fb569693df3ba2c3a5974f64c4 Author: Nicola Vitale AuthorDate: 2023-05-27 04:46:37 +0000 Commit: Nicola Vitale CommitDate: 2023-05-27 04:48:54 +0000 security/transcrypt: Add new port A script to configure transparent encryption of sensitive files stored in a Git repository. Files that you choose will be automatically encrypted when you commit them, and automatically decrypted when you check them out. The process will degrade gracefully, so even people without your encryption password can safely commit changes to the repository's non-encrypted files. Transcrypt protects your data when it's pushed to remotes that you may not directly control (e.g., GitHub, Dropbox clones, etc.), while still allowing you to work normally on your local working copy. You can conveniently store things like passwords and private keys within your repository and not have to share them with your entire team or complicate your workflow. https://github.com/elasticdog/transcrypt --- security/Makefile | 1 + security/transcrypt/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ security/transcrypt/distinfo | 3 +++ security/transcrypt/pkg-descr | 11 +++++++++++ 4 files changed, 58 insertions(+) diff --git a/security/Makefile b/security/Makefile index 3de8d80b0643..44c3c08a807f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1305,6 +1305,7 @@ SUBDIR += tpm2-abrmd SUBDIR += tpm2-tools SUBDIR += tpm2-tss + SUBDIR += transcrypt SUBDIR += trezord SUBDIR += tripwire SUBDIR += trousers diff --git a/security/transcrypt/Makefile b/security/transcrypt/Makefile new file mode 100644 index 000000000000..23df736d1066 --- /dev/null +++ b/security/transcrypt/Makefile @@ -0,0 +1,43 @@ +PORTNAME= transcrypt +DISTVERSIONPREFIX= v +DISTVERSION= 2.2.3 +CATEGORIES= security + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Transparently encrypt files within a git repository +WWW= https://github.com/elasticdog/transcrypt + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash \ + git:devel/git \ + gpg2:security/gnupg \ + xxd:editors/vim +TEST_DEPENDS= bats:devel/bats-core + +USE_GITHUB= yes +GH_ACCOUNT= elasticdog + +NO_BUILD= yes + +PLIST_FILES= bin/transcrypt \ + man/man1/transcrypt.1.gz \ + share/bash-completion/completions/transcrypt \ + share/zsh/site-functions/_transcrypt + +post-patch: + ${REINPLACE_CMD} -e 's/\(darwin\*\))/\1|${OSTYPE}\*)/1' ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/contrib/bash/${PORTNAME} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions && \ + ${INSTALL_DATA} ${WRKSRC}/contrib/zsh/_${PORTNAME} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +# 53 tests, 0 failures +do-test: + ${LOCALBASE}/bin/bats ${WRKSRC}/tests + +.include diff --git a/security/transcrypt/distinfo b/security/transcrypt/distinfo new file mode 100644 index 000000000000..7f901f9d5eed --- /dev/null +++ b/security/transcrypt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685121651 +SHA256 (elasticdog-transcrypt-v2.2.3_GH0.tar.gz) = 69cf95b2a4d7e89c1f5c84bc4c32aa35f78d08b8f457a003ab9e8be7361a24e5 +SIZE (elasticdog-transcrypt-v2.2.3_GH0.tar.gz) = 32592 diff --git a/security/transcrypt/pkg-descr b/security/transcrypt/pkg-descr new file mode 100644 index 000000000000..e92460e1222f --- /dev/null +++ b/security/transcrypt/pkg-descr @@ -0,0 +1,11 @@ +A script to configure transparent encryption of sensitive files stored in a Git +repository. Files that you choose will be automatically encrypted when you +commit them, and automatically decrypted when you check them out. The process +will degrade gracefully, so even people without your encryption password can +safely commit changes to the repository's non-encrypted files. + +Transcrypt protects your data when it's pushed to remotes that you may not +directly control (e.g., GitHub, Dropbox clones, etc.), while still allowing you +to work normally on your local working copy. You can conveniently store things +like passwords and private keys within your repository and not have to share +them with your entire team or complicate your workflow.