aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-09-21 18:01:33 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-09-21 18:01:33 +0000
commit9a0dd3f3c994bbc7fb08bc405af2a0f9022fb86e (patch)
treecacd2d8c8075a99b40488fc853600ba66016700a
parent81708b87a7dec4d79eb174ad5d511274ec9f655c (diff)
downloadports-9a0dd3f3c994bbc7fb08bc405af2a0f9022fb86e.tar.gz
ports-9a0dd3f3c994bbc7fb08bc405af2a0f9022fb86e.zip
security/rubygem-unix-crypt: new port
Performs the UNIX crypt(3) algorithm using DES (standard 13 character passwords), MD5 (starting with $1$), SHA256 (starting with $5$) and SHA512 (starting with $6$) WWW: https://github.com/mogest/unix-crypt
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-unix-crypt/Makefile18
-rw-r--r--security/rubygem-unix-crypt/distinfo3
-rw-r--r--security/rubygem-unix-crypt/pkg-descr5
4 files changed, 27 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 0f0a6fbc577e..83a126c69363 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1173,6 +1173,7 @@
SUBDIR += rubygem-timfel-krb5
SUBDIR += rubygem-tpm-key_attestation
SUBDIR += rubygem-twitter_oauth
+ SUBDIR += rubygem-unix-crypt
SUBDIR += rubygem-webauthn
SUBDIR += rubygem-webpush
SUBDIR += rustscan
diff --git a/security/rubygem-unix-crypt/Makefile b/security/rubygem-unix-crypt/Makefile
new file mode 100644
index 000000000000..d8ac554dc4cf
--- /dev/null
+++ b/security/rubygem-unix-crypt/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= unix-crypt
+PORTVERSION= 1.3.0
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= UNIX crypt(3) algorithm using DES, MD5, SHA256 and SHA512
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+USES= gem
+USE_RUBY= yes
+
+PLIST_FILES= bin/mkunixcrypt
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-unix-crypt/distinfo b/security/rubygem-unix-crypt/distinfo
new file mode 100644
index 000000000000..52dc9c776dd4
--- /dev/null
+++ b/security/rubygem-unix-crypt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632171065
+SHA256 (rubygem/unix-crypt-1.3.0.gem) = b83d51bec0f3fe8c7f7ed25c03e71963a5d009ad375d1af17e95c55af58dd4f1
+SIZE (rubygem/unix-crypt-1.3.0.gem) = 12800
diff --git a/security/rubygem-unix-crypt/pkg-descr b/security/rubygem-unix-crypt/pkg-descr
new file mode 100644
index 000000000000..81ee98f1d74d
--- /dev/null
+++ b/security/rubygem-unix-crypt/pkg-descr
@@ -0,0 +1,5 @@
+Performs the UNIX crypt(3) algorithm using DES (standard 13 character
+passwords), MD5 (starting with $1$), SHA256 (starting with $5$) and
+SHA512 (starting with $6$)
+
+WWW: https://github.com/mogest/unix-crypt