pkgsrc-WIP-changes archive

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

scm-blackbox: Import scm-blackbox-1.20180618 as wip/scm-blackbox



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Tue Dec 18 13:37:36 2018 +0800
Changeset:	01fcc88d162814b4b90ff93d8b56047a02352216

Modified Files:
	Makefile
Added Files:
	scm-blackbox/DESCR
	scm-blackbox/Makefile
	scm-blackbox/PLIST
	scm-blackbox/distinfo

Log Message:
scm-blackbox: Import scm-blackbox-1.20180618 as wip/scm-blackbox

blackbox is a collection of scripts for managing GPG encrypted files within a
source control repository such as git.

This package has been named scm-blackbox to avoid a conflict with wm/blackbox.

NetBSD and SmartOS support have been merged upstream but are not yet included
in this package.

https://github.com/StackExchange/blackbox/pull/277

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

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

diffstat:
 Makefile              |  1 +
 scm-blackbox/DESCR    |  6 ++++++
 scm-blackbox/Makefile | 30 ++++++++++++++++++++++++++++++
 scm-blackbox/PLIST    | 23 +++++++++++++++++++++++
 scm-blackbox/distinfo |  6 ++++++
 5 files changed, 66 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ee481ea153..15d6174a56 100644
--- a/Makefile
+++ b/Makefile
@@ -4252,6 +4252,7 @@ SUBDIR+=	scimark
 SUBDIR+=	scintilla
 SUBDIR+=	scite
 SUBDIR+=	scm
+SUBDIR+=	scm-blackbox
 SUBDIR+=	scmail
 SUBDIR+=	scorched3d
 SUBDIR+=	scourge
diff --git a/scm-blackbox/DESCR b/scm-blackbox/DESCR
new file mode 100644
index 0000000000..daee939e93
--- /dev/null
+++ b/scm-blackbox/DESCR
@@ -0,0 +1,6 @@
+Safely store secrets in a VCS repo (i.e. Git, Mercurial, Subversion or
+Perforce). These commands make it easy for you to Gnu Privacy Guard (GPG)
+encrypt specific files in a repo so they are "encrypted at rest" in your
+repository. However, the scripts make it easy to decrypt them when you need
+to view or edit them, and decrypt them for use in production. Originally
+written for Puppet, BlackBox now works with any Git or Mercurial repository.
diff --git a/scm-blackbox/Makefile b/scm-blackbox/Makefile
new file mode 100644
index 0000000000..0170657d5e
--- /dev/null
+++ b/scm-blackbox/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+PKGNAME=	scm-blackbox-1.20180618
+DISTNAME=	blackbox-1.20180618
+CATEGORIES=	wip
+MASTER_SITES=	${MASTER_SITE_GITHUB:=StackExchange/}
+GITHUB_TAG=     v${PKGVERSION_NOREV}
+
+MAINTAINER=	tpaul%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/StackExchange/blackbox
+COMMENT=	Safely store secrets in Git/Mercurial/Subversion
+LICENSE=	mit
+
+USE_TOOLS+=	bash
+
+DEPENDS+=	bash-[0-9]*:../../shells/bash
+DEPENDS+=	gnupg2-[0-9]*:../../security/gnupg2
+DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils
+
+REPLACE_BASH+=	bin/*blackbox*
+
+INSTALLATION_DIRS+= bin
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/bin/_stack_lib.sh ${DESTDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/*blackbox* ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/scm-blackbox/PLIST b/scm-blackbox/PLIST
new file mode 100644
index 0000000000..48a7a1f521
--- /dev/null
+++ b/scm-blackbox/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+bin/_blackbox_common.sh
+bin/_blackbox_common_test.sh
+bin/_stack_lib.sh
+bin/blackbox_addadmin
+bin/blackbox_cat
+bin/blackbox_decrypt_all_files
+bin/blackbox_deregister_file
+bin/blackbox_diff
+bin/blackbox_edit
+bin/blackbox_edit_end
+bin/blackbox_edit_start
+bin/blackbox_initialize
+bin/blackbox_list_admins
+bin/blackbox_list_files
+bin/blackbox_listadmins
+bin/blackbox_postdeploy
+bin/blackbox_recurse
+bin/blackbox_register_new_file
+bin/blackbox_removeadmin
+bin/blackbox_shred_all_files
+bin/blackbox_update_all_files
+bin/blackbox_whatsnew
diff --git a/scm-blackbox/distinfo b/scm-blackbox/distinfo
new file mode 100644
index 0000000000..facf4ff954
--- /dev/null
+++ b/scm-blackbox/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (blackbox-1.20180618.tar.gz) = ad2e00bb014e143011dd0aa303e2b72cca4ce0da
+RMD160 (blackbox-1.20180618.tar.gz) = 6e90f0ee8e9e568769ded7450f66720ccf896b0e
+SHA512 (blackbox-1.20180618.tar.gz) = 8179468e5f5c19b4e646fc4b93f6220e3986535a036f8d7c6fd3a8c2a630c5f39d56be32cf9981482742d9c272d54d8ab3e937f4027ded7d94798ce324bd9c55
+Size (blackbox-1.20180618.tar.gz) = 41914 bytes


Home | Main Index | Thread Index | Old Index