pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import git-secret, needs fixing for NetBSD etc



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Mon Dec 5 23:18:23 2022 +0100
Changeset:	c59603798a9635873a26dd679d74858bc08d6f60

Added Files:
	git-secret/DESCR
	git-secret/Makefile
	git-secret/PLIST
	git-secret/distinfo

Log Message:
import git-secret, needs fixing for NetBSD etc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c59603798a9635873a26dd679d74858bc08d6f60

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 git-secret/DESCR    | 13 ++++++++++++
 git-secret/Makefile | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 git-secret/PLIST    | 16 +++++++++++++++
 git-secret/distinfo |  5 +++++
 4 files changed, 91 insertions(+)

diffs:
diff --git a/git-secret/DESCR b/git-secret/DESCR
new file mode 100644
index 0000000000..a37f12f515
--- /dev/null
+++ b/git-secret/DESCR
@@ -0,0 +1,13 @@
+git-secret is a bash tool which stores private data inside a git repo.
+git-secret encrypts files with permitted users' public keys, allowing
+users you trust to access encrypted data using pgp and their secret keys.
+
+With git-secret, changes to access rights are simplified, and
+private-public key issues are handled for you.
+
+When someone's permission is revoked, secrets do not need to be changed
+with git-secret - just remove their key from the repo's keyring using
+"git secret removeperson their%email.com@localhost", re-encrypt the files, and they
+won't be able to decrypt secrets anymore.
+If you think the user might have copied the secrets or keys when they had
+access, then you should also change the secrets.
diff --git a/git-secret/Makefile b/git-secret/Makefile
new file mode 100644
index 0000000000..cd1e29a884
--- /dev/null
+++ b/git-secret/Makefile
@@ -0,0 +1,57 @@
+# $NetBSD$
+
+DISTNAME=	git-secret-0.5.0
+MASTER_SITES=	${MASTER_SITE_GITHUB:=sobolevn/}
+CATEGORIES=	security
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://git-secret.io/
+COMMENT=	Git subcommand to store your private data inside a git repository
+LICENSE=	mit
+
+USE_TOOLS+=	bash:run
+DEPENDS+=	gawk-[0-9]*:../../lang/gawk
+DEPENDS+=	git-base-[0-9]*:../../devel/git-base
+DEPENDS+=	gnupg2-[0-9]*:../../security/gnupg2
+
+SUBST_CLASSES+=		bash
+SUBST_STAGE.bash=	pre-configure
+SUBST_MESSAGE.bash=	Fixing misc command paths 
+SUBST_SED.bash+=	-e 's,/usr/bin/env bash,${PREFIX}/bin/bash,'
+SUBST_SED.bash+=	-e 's,SECRETS_GPG_COMMAND:="gpg",SECRETS_GPG_COMMAND:="${PREFIX}/bin/gpg2",'
+SUBST_FILES.bash=	src/version.sh
+SUBST_FILES.bash+=	src/main.sh
+SUBST_FILES.bash+=	src/commands/git_secret_add.sh
+SUBST_FILES.bash+=	src/commands/git_secret_cat.sh
+SUBST_FILES.bash+=	src/commands/git_secret_changes.sh
+SUBST_FILES.bash+=	src/commands/git_secret_clean.sh
+SUBST_FILES.bash+=	src/commands/git_secret_hide.sh
+SUBST_FILES.bash+=	src/commands/git_secret_init.sh
+SUBST_FILES.bash+=	src/commands/git_secret_list.sh
+SUBST_FILES.bash+=	src/commands/git_secret_remove.sh
+SUBST_FILES.bash+=	src/commands/git_secret_removeperson.sh
+SUBST_FILES.bash+=	src/commands/git_secret_reveal.sh
+SUBST_FILES.bash+=	src/commands/git_secret_tell.sh
+SUBST_FILES.bash+=	src/commands/git_secret_usage.sh
+SUBST_FILES.bash+=	src/commands/git_secret_whoknows.sh
+SUBST_FILES.bash+=	src/_utils/_git_secret_tools.sh
+SUBST_FILES.bash+=	src/_utils/_git_secret_tools_freebsd.sh
+SUBST_FILES.bash+=	src/_utils/_git_secret_tools_linux.sh
+SUBST_FILES.bash+=	src/_utils/_git_secret_tools_osx.sh
+SUBST_FILES.bash+=	utils/build-utils.sh
+SUBST_FILES.bash+=	utils/install.sh
+SUBST_FILES.bash+=	utils/tests.sh
+SUBST_FILES.bash+=	utils/uninstall.sh
+
+SUBST_CLASSES+=		fixman
+SUBST_STAGE.fixman=	pre-configure
+SUBST_MESSAGE.fixman=	Fixing paths for man pages
+SUBST_SED.fixman+=	-e 's,/share,,'
+SUBST_SED.fixman+=	-e 's,/usr/man,/man,'
+SUBST_SED.fixman+=	-e 's,PREFIX"/share,PREFIX",'
+SUBST_FILES.fixman=	utils/install.sh
+SUBST_FILES.fixman+=	utils/uninstall.sh
+SUBST_FILES.fixman+=	utils/build-utils.sh
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/git-secret/PLIST b/git-secret/PLIST
new file mode 100644
index 0000000000..3a0aa5d85d
--- /dev/null
+++ b/git-secret/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+bin/git-secret
+man/man1/git-secret-add.1
+man/man1/git-secret-cat.1
+man/man1/git-secret-changes.1
+man/man1/git-secret-clean.1
+man/man1/git-secret-hide.1
+man/man1/git-secret-init.1
+man/man1/git-secret-list.1
+man/man1/git-secret-remove.1
+man/man1/git-secret-removeperson.1
+man/man1/git-secret-reveal.1
+man/man1/git-secret-tell.1
+man/man1/git-secret-usage.1
+man/man1/git-secret-whoknows.1
+man/man7/git-secret.7
diff --git a/git-secret/distinfo b/git-secret/distinfo
new file mode 100644
index 0000000000..ea74b2e8ef
--- /dev/null
+++ b/git-secret/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (git-secret-0.5.0.tar.gz) = b8af730df4d49306c562b17314ff1fae29b27588a05679a3446436d765c61512
+SHA512 (git-secret-0.5.0.tar.gz) = c685ee4d7b7d247c37805fc3a16c431eff7f6740899d65f9178514b99e84ff83cb59330e6fb73da627f00bb60d0cca76da8b31004fcc3926dcee3fed15d65b85
+Size (git-secret-0.5.0.tar.gz) = 854497 bytes


Home | Main Index | Thread Index | Old Index