git: b0c02f3a2961 - main - sysutils/pass-secrets: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 01:00:57 UTC
The branch main has been updated by jbeich:

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

commit b0c02f3a29612bf2b7f872fb553e03870ed4765c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-09-30 18:50:31 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-21 01:00:53 +0000

    sysutils/pass-secrets: add new port
    
    CLI Application that provides the Freedesktop Secret Service using
    Pass as its backend!
    
    https://github.com/nullobsi/pass-secrets
---
 sysutils/Makefile               |  1 +
 sysutils/pass-secrets/Makefile  | 25 +++++++++++++++++++++++++
 sysutils/pass-secrets/distinfo  |  7 +++++++
 sysutils/pass-secrets/pkg-descr |  4 ++++
 4 files changed, 37 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 6eda45696250..391750bd7490 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -917,6 +917,7 @@
     SUBDIR += parallel
     SUBDIR += parkverbot
     SUBDIR += pass-otp
+    SUBDIR += pass-secrets
     SUBDIR += pass-update
     SUBDIR += password-store
     SUBDIR += passwordsafe
diff --git a/sysutils/pass-secrets/Makefile b/sysutils/pass-secrets/Makefile
new file mode 100644
index 000000000000..18b0ef1c9a12
--- /dev/null
+++ b/sysutils/pass-secrets/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	pass-secrets
+PORTVERSION=	s20210930
+CATEGORIES=	sysutils
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	1381a097ef34.patch:-p1 # https://github.com/nullobsi/pass-secrets/pull/3
+PATCHFILES+=	01cc706f52c8.patch:-p1 # https://github.com/nullobsi/pass-secrets/pull/3
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Freedesktop secrets provider that uses pass as a backend
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libsdbus-c++.so:devel/sdbus-cpp
+RUN_DEPENDS=	pass:sysutils/password-store
+
+USES=		cmake compiler:c++17-lang
+USE_GITHUB=	yes
+GH_ACCOUNT=	nullobsi
+GH_TAGNAME=	cee6b85
+CMAKE_OFF=	INSTALL_DBUS_SERVICE
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/pass-secrets/distinfo b/sysutils/pass-secrets/distinfo
new file mode 100644
index 000000000000..4dc7a61a9496
--- /dev/null
+++ b/sysutils/pass-secrets/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1633027831
+SHA256 (nullobsi-pass-secrets-s20210930-cee6b85_GH0.tar.gz) = 0523b042f6c1f685498bc02e6d8fed54e2701e88acf83f725ccf6f40bbab801f
+SIZE (nullobsi-pass-secrets-s20210930-cee6b85_GH0.tar.gz) = 170018
+SHA256 (1381a097ef34.patch) = b07757135ecf02587d3c2e816d654409a6c87d53c0847ae7d15a245708ac5a96
+SIZE (1381a097ef34.patch) = 1305
+SHA256 (01cc706f52c8.patch) = 9cf6584a8a17bd458248df7f32128c92733588c9d26d5bc11c0ef43c40ac69d9
+SIZE (01cc706f52c8.patch) = 1244
diff --git a/sysutils/pass-secrets/pkg-descr b/sysutils/pass-secrets/pkg-descr
new file mode 100644
index 000000000000..5c4371d089b6
--- /dev/null
+++ b/sysutils/pass-secrets/pkg-descr
@@ -0,0 +1,4 @@
+CLI Application that provides the Freedesktop Secret Service using
+Pass as its backend!
+
+WWW: https://github.com/nullobsi/pass-secrets