summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortpaul <tpaul@pkgsrc.org>2019-01-18 04:44:28 +0000
committertpaul <tpaul@pkgsrc.org>2019-01-18 04:44:28 +0000
commit60ef67ea9234c74e16a65ab8acc5e9e731442f0f (patch)
tree085f66d3b36962f7f097a80f98c3ef680d6e8e4f /security
parentb08b2308311c8bd5c64e9a50242866fdc908e817 (diff)
downloadpkgsrc-60ef67ea9234c74e16a65ab8acc5e9e731442f0f.tar.gz
security/scm-blackbox: Import version 1.20181219
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.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/scm-blackbox/DESCR6
-rw-r--r--security/scm-blackbox/Makefile29
-rw-r--r--security/scm-blackbox/PLIST25
-rw-r--r--security/scm-blackbox/distinfo6
5 files changed, 68 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index 9ef50f189fc..04468aba0c4 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.693 2019/01/15 12:08:46 triaxx Exp $
+# $NetBSD: Makefile,v 1.694 2019/01/18 04:44:28 tpaul Exp $
#
COMMENT= Security tools
@@ -538,6 +538,7 @@ SUBDIR+= ruby-tcpwrap
SUBDIR+= ruby-twitter_oauth
SUBDIR+= sbd
SUBDIR+= scanssh
+SUBDIR+= scm-blackbox
SUBDIR+= scrypt
SUBDIR+= seahorse
SUBDIR+= seahorse-plugins
diff --git a/security/scm-blackbox/DESCR b/security/scm-blackbox/DESCR
new file mode 100644
index 00000000000..daee939e935
--- /dev/null
+++ b/security/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/security/scm-blackbox/Makefile b/security/scm-blackbox/Makefile
new file mode 100644
index 00000000000..8be790114a6
--- /dev/null
+++ b/security/scm-blackbox/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/01/18 04:44:28 tpaul Exp $
+
+DISTNAME= blackbox-1.20181219
+PKGNAME= scm-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=StackExchange/}
+GITHUB_PROJECT= blackbox
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= tpaul@NetBSD.org
+HOMEPAGE= https://github.com/StackExchange/blackbox
+COMMENT= Safely store secrets in Git/Mercurial/Subversion
+LICENSE= mit
+
+USE_TOOLS+= bash:run
+
+DEPENDS+= gnupg2-[0-9]*:../../security/gnupg2
+DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
+
+REPLACE_BASH+= bin/*blackbox*
+
+INSTALLATION_DIRS+= bin
+NO_BUILD= yes
+
+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/security/scm-blackbox/PLIST b/security/scm-blackbox/PLIST
new file mode 100644
index 00000000000..1d0de093ca5
--- /dev/null
+++ b/security/scm-blackbox/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/18 04:44:28 tpaul Exp $
+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_decrypt_file
+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_view
+bin/blackbox_whatsnew
diff --git a/security/scm-blackbox/distinfo b/security/scm-blackbox/distinfo
new file mode 100644
index 00000000000..7f21084b36b
--- /dev/null
+++ b/security/scm-blackbox/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/18 04:44:28 tpaul Exp $
+
+SHA1 (blackbox-1.20181219.tar.gz) = 6ca2671f33799918f26546c628c1bed3f4e6321a
+RMD160 (blackbox-1.20181219.tar.gz) = 04ed5f0d107a080ed28dd73ade8621695b4e9736
+SHA512 (blackbox-1.20181219.tar.gz) = aa3b74e62cbd52e2526e397ddee5ebf3d0151a23967bab189166fe9e0bfd99e70996c8cc303ac906d28bfaf626ca6f49768e59c7d16b017e3984957e1fab45c1
+Size (blackbox-1.20181219.tar.gz) = 42691 bytes