Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 18:02:54 GMT
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9a0dd3f3c994 - main - security/rubygem-unix-crypt: new port
Message-ID:  <202109211802.18LI2sQh083851@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a0dd3f3c994bbc7fb08bc405af2a0f9022fb86e

commit 9a0dd3f3c994bbc7fb08bc405af2a0f9022fb86e
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2021-09-21 18:01:33 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2021-09-21 18:01:33 +0000

    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
---
 security/Makefile                     |  1 +
 security/rubygem-unix-crypt/Makefile  | 18 ++++++++++++++++++
 security/rubygem-unix-crypt/distinfo  |  3 +++
 security/rubygem-unix-crypt/pkg-descr |  5 +++++
 4 files changed, 27 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109211802.18LI2sQh083851>