summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2019-08-09 19:02:20 +0000
committerbrook <brook@pkgsrc.org>2019-08-09 19:02:20 +0000
commitc1541a52f0b43931b0b157656fe036480cf4452f (patch)
treeef8ff39af9f7746541c069bc9c1f6a7533e4db12 /security
parent935580c78f430dabc7596d7aee1b1bd62c5d0f9d (diff)
downloadpkgsrc-c1541a52f0b43931b0b157656fe036480cf4452f.tar.gz
R-askpass: initial commit
Cross-platform utilities for prompting the user for credentials or a passphrase, for example to authenticate with a server or read a protected key. Includes native programs for MacOS and Windows, hence no 'tcltk' is required. Password entry can be invoked in two different ways: directly from R via the askpass() function, or indirectly as password-entry back-end for 'ssh-agent' or 'git-credential' via the SSH_ASKPASS and GIT_ASKPASS environment variables. Thereby the user can be prompted for credentials or a passphrase if needed when R calls out to git or ssh.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/R-askpass/DESCR9
-rw-r--r--security/R-askpass/Makefile21
-rw-r--r--security/R-askpass/distinfo6
4 files changed, 38 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index 29d9249dc05..006c043cec3 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.705 2019/07/02 12:02:51 adam Exp $
+# $NetBSD: Makefile,v 1.706 2019/08/09 19:02:20 brook Exp $
#
COMMENT= Security tools
@@ -12,6 +12,7 @@ SUBDIR+= HElib
SUBDIR+= KeePass
SUBDIR+= PACK
SUBDIR+= PortableSigner
+SUBDIR+= R-askpass
SUBDIR+= R-digest
SUBDIR+= TweetNaCl
SUBDIR+= acmesh
diff --git a/security/R-askpass/DESCR b/security/R-askpass/DESCR
new file mode 100644
index 00000000000..ca562676ebd
--- /dev/null
+++ b/security/R-askpass/DESCR
@@ -0,0 +1,9 @@
+Cross-platform utilities for prompting the user for credentials or a
+passphrase, for example to authenticate with a server or read a
+protected key. Includes native programs for MacOS and Windows, hence
+no 'tcltk' is required. Password entry can be invoked in two different
+ways: directly from R via the askpass() function, or indirectly as
+password-entry back-end for 'ssh-agent' or 'git-credential' via the
+SSH_ASKPASS and GIT_ASKPASS environment variables. Thereby the user
+can be prompted for credentials or a passphrase if needed when R calls
+out to git or ssh.
diff --git a/security/R-askpass/Makefile b/security/R-askpass/Makefile
new file mode 100644
index 00000000000..1ae67fbbba4
--- /dev/null
+++ b/security/R-askpass/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/08/09 19:02:20 brook Exp $
+
+R_PKGNAME= askpass
+R_PKGVER= 1.1
+CATEGORIES= security
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Safe password entry for R, Git, and SSH
+LICENSE= mit
+
+DEPENDS+= R-sys>=2.1:../../sysutils/R-sys
+
+USE_LANGUAGES= c
+
+REPLACE_INTERPRETER+= osascript
+REPLACE.osascript.old= [^[:space:]]*env osascript
+REPLACE.osascript.new= /usr/bin/osascript
+REPLACE_FILES.osascript= inst/mac-askpass inst/mac-simplepass
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/R-askpass/distinfo b/security/R-askpass/distinfo
new file mode 100644
index 00000000000..69c47f1f7f8
--- /dev/null
+++ b/security/R-askpass/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/08/09 19:02:20 brook Exp $
+
+SHA1 (R/askpass_1.1.tar.gz) = 76db571cbbc61436661a0a3ed3ce2080281e8b06
+RMD160 (R/askpass_1.1.tar.gz) = 4220bcba606be6adc2d96469a4ba3360b4debc0c
+SHA512 (R/askpass_1.1.tar.gz) = eac868a7bf63d5aa204889157acc4bd39ed0c358c824a376b5adbfd1125bc557d081b7c2717799ddf7ccda4e23b16854a2e68dbf1c8c54b0c5535511cad4da83
+Size (R/askpass_1.1.tar.gz) = 5730 bytes