From nobody Sat Aug 24 20:25:16 2024 X-Original-To: dev-commits-ports-main@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 4WrpMw3tzbz5TmZc; Sat, 24 Aug 2024 20:25:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WrpMw3BPcz4m1S; Sat, 24 Aug 2024 20:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724531116; 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=AtruNPPOvbMLmOodSXRgM8iCo2U757KA5YJkIFX1RTY=; b=QTFKzQWybNWU3NC6Z+fz7CveMRB1/hq5dnVSqLoUgDitDEZsoTh39NRmnzUC3/qV0I7gfn uih7rT7P5CZmuelZ+EELgfKGQ4rGAnDJeCPFcuKKhSKoVEJyqNV1SlsQAGMPyPlF3HBolT FT5fwTTxH1MhBJJzvoj/dc71bq5wLg+ZOtdLttVVVZb0r0wce8VqJkRq0aT4AX6PEDZOIN IATRPe+ej7AU6eRBQAygw87rUJmb2SDic+I3OoW9mPbP4NV7SINTmtAzvk6HIqPRq0dn7q 3hQF/SmT8zPXF9CX+zPHgJhJC0+KK737jK0c4FxJW/MUnQdDdECF0MMiTHyX5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724531116; a=rsa-sha256; cv=none; b=h6Y4fgPOoUuGNBS/k/uEM+ybQToq+E2mS4rzxIsnnjQnD66OBruDDjnIedQE3R6+FagmT3 mDOYNRi/BkZFvSQQeBSvvHyrfJuKpLRBh7nVBBEo1BMIDxOPpJsV7IIs2uHIIt8Tsc+GHW Jnh+m8Glxf5/DU1NV2Mx/AkXxVAI8GHWSSUadONM1jZrTKRvEjfFY3Fq1EX6E1ZQ+mvY04 eDh8oYILD+in2aZU21og+Q69aoqgYwBA8JmgeZeIMSx7JAvsk/Njn3nuL/X72xIHPNH9JQ qcoOVCv2ENAyWdppDcgG0fbhhIpGGcUaPahG0LGooIhtBK1Rpsh7xU8ELjdZMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724531116; 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=AtruNPPOvbMLmOodSXRgM8iCo2U757KA5YJkIFX1RTY=; b=KrnLoK4Ly9eV8lzd1PFm78y27782I7zCSnQiFi1nBzLb9HD0KS+LucDCql7JO3hFX8+BjJ 9DnExzlybmTziTk40osTODrWYJ00lmAAFXo4D3ASvpwGEUUBgRlDkJ0oK/jm6gC/DCnSZB SgH0r7Rb0i4nvMVzV8feS9X1TETxMVDeF9sRuvqtpwKDX9h8mtrTybjEu9656EVkHagWRu Vq8taX6p20R7wf5ySx5b4SzdMtv/ajrFf/71pOyN03oKfxmr2+gFBcjOvmD+F9TZJ48z6m ZB8VHACKse0y1HtWY5mH4XZ5vekTKcwkcDnan8/yejcmhqkVGpAIu8QVoSNFiQ== 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 4WrpMw2gzyz183h; Sat, 24 Aug 2024 20:25:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47OKPGPu095541; Sat, 24 Aug 2024 20:25:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47OKPG1c095538; Sat, 24 Aug 2024 20:25:16 GMT (envelope-from git) Date: Sat, 24 Aug 2024 20:25:16 GMT Message-Id: <202408242025.47OKPG1c095538@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: 6e0810c6b23d - main - sysutils/pass-coffing: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 6e0810c6b23d02ce52b1deda57dfbaefa081ee06 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e0810c6b23d02ce52b1deda57dfbaefa081ee06 commit 6e0810c6b23d02ce52b1deda57dfbaefa081ee06 Author: Nicola Vitale AuthorDate: 2024-08-24 20:23:37 +0000 Commit: Nicola Vitale CommitDate: 2024-08-24 20:24:48 +0000 sysutils/pass-coffing: Add new port pass-coffin is a pass extension that hides password store data inside a GPG encrypted file, which we'll call a coffin. Because of how pass works, directory and file names aren't encrypted by default and anyone who has access to your computer can see which websites you use and your usernames on those websites. This is different from how password managers like keepassxc work by keeping your entire password store database inside an encrypted file and can also automatically lock access to the application itself after a certain amount of time. pass-coffin has been created to provide these missing features to pass. https://github.com/ayushnix/pass-coffin --- sysutils/Makefile | 1 + sysutils/pass-coffin/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++ sysutils/pass-coffin/distinfo | 3 +++ sysutils/pass-coffin/pkg-descr | 10 +++++++++ sysutils/pass-coffin/pkg-message | 20 ++++++++++++++++++ sysutils/pass-coffin/pkg-plist | 6 ++++++ 6 files changed, 84 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 58fdec40ae7c..6ee668d98969 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -977,6 +977,7 @@ SUBDIR += parafly SUBDIR += parallel SUBDIR += parkverbot + SUBDIR += pass-coffin SUBDIR += pass-otp SUBDIR += pass-secrets SUBDIR += pass-update diff --git a/sysutils/pass-coffin/Makefile b/sysutils/pass-coffin/Makefile new file mode 100644 index 000000000000..681e8fb48983 --- /dev/null +++ b/sysutils/pass-coffin/Makefile @@ -0,0 +1,44 @@ +PORTNAME= pass-coffin +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.1 +CATEGORIES= sysutils + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Password store extension to hide data inside an encrypted coffin +WWW= https://github.com/ayushnix/pass-coffin + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash \ + pass:sysutils/password-store + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= ayushnix +SHEBANG_FILES= *.bash + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= md2roff:textproc/md2roff + +do-build: + ${DO_NADA} + +post-build-DOCS-on: + ${LOCALBASE}/bin/md2roff ${WRKSRC}/README.md + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/password-store/extensions + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions + ${INSTALL_SCRIPT} ${WRKSRC}/*.bash \ + ${STAGEDIR}${PREFIX}/libexec/password-store/extensions + ${INSTALL_DATA} ${WRKSRC}/completion/pass-coffin.bash-completion \ + ${STAGEDIR}${PREFIX}/share/bash-completion/completions + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/ + +.include diff --git a/sysutils/pass-coffin/distinfo b/sysutils/pass-coffin/distinfo new file mode 100644 index 000000000000..2228b8d2237a --- /dev/null +++ b/sysutils/pass-coffin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707729432 +SHA256 (ayushnix-pass-coffin-v1.2.1_GH0.tar.gz) = bca41b9c9dc3525ddfccef31baef2c61366a968c43ee841c3b6c6934e3263fbe +SIZE (ayushnix-pass-coffin-v1.2.1_GH0.tar.gz) = 20242 diff --git a/sysutils/pass-coffin/pkg-descr b/sysutils/pass-coffin/pkg-descr new file mode 100644 index 000000000000..3559ac6ff539 --- /dev/null +++ b/sysutils/pass-coffin/pkg-descr @@ -0,0 +1,10 @@ +pass-coffin is a pass extension that hides password store data inside a GPG +encrypted file, which we'll call a coffin. + +Because of how pass works, directory and file names aren't encrypted by default +and anyone who has access to your computer can see which websites you use and +your usernames on those websites. This is different from how password managers +like keepassxc work by keeping your entire password store database inside an +encrypted file and can also automatically lock access to the application itself +after a certain amount of time. pass-coffin has been created to provide these +missing features to pass. diff --git a/sysutils/pass-coffin/pkg-message b/sysutils/pass-coffin/pkg-message new file mode 100644 index 000000000000..de55558b937f --- /dev/null +++ b/sysutils/pass-coffin/pkg-message @@ -0,0 +1,20 @@ +[ +{ type: install + message: <ʼ. +For more details, please read the "EXTENDED GIT EXAMPLE" section of the man +page of pass. +EOM +} +] diff --git a/sysutils/pass-coffin/pkg-plist b/sysutils/pass-coffin/pkg-plist new file mode 100644 index 000000000000..47b80e51379a --- /dev/null +++ b/sysutils/pass-coffin/pkg-plist @@ -0,0 +1,6 @@ +libexec/password-store/extensions/close.bash +libexec/password-store/extensions/coffin.bash +libexec/password-store/extensions/open.bash +libexec/password-store/extensions/timer.bash +share/bash-completion/completions/pass-coffin.bash-completion +%%PORTDOCS%%%%DOCSDIR%%/README.html