From nobody Thu Nov 11 17:02:23 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 44B7B184E4D1; Thu, 11 Nov 2021 17:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hqp1D1P1Kz4p13; Thu, 11 Nov 2021 17:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 105637D2F; Thu, 11 Nov 2021 17:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ABH2Npf060790; Thu, 11 Nov 2021 17:02:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ABH2NL9060789; Thu, 11 Nov 2021 17:02:23 GMT (envelope-from git) Date: Thu, 11 Nov 2021 17:02:23 GMT Message-Id: <202111111702.1ABH2NL9060789@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e3ff5e341324 - main - security/libxcrypt: New port: Extended crypt library for descrypt, md5crypt, bcrypt, and others List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3ff5e341324ba4e9f2da13185dee112aea35025 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3ff5e341324ba4e9f2da13185dee112aea35025 commit e3ff5e341324ba4e9f2da13185dee112aea35025 Author: Yuri Victorovich AuthorDate: 2021-11-11 17:01:39 +0000 Commit: Yuri Victorovich CommitDate: 2021-11-11 17:02:21 +0000 security/libxcrypt: New port: Extended crypt library for descrypt, md5crypt, bcrypt, and others --- security/Makefile | 1 + security/libxcrypt/Makefile | 20 ++++++++++++++++++++ security/libxcrypt/distinfo | 3 +++ security/libxcrypt/pkg-descr | 17 +++++++++++++++++ security/libxcrypt/pkg-plist | 17 +++++++++++++++++ 5 files changed, 58 insertions(+) diff --git a/security/Makefile b/security/Makefile index 106d04725e72..4c63bed128ec 100644 --- a/security/Makefile +++ b/security/Makefile @@ -337,6 +337,7 @@ SUBDIR += libu2f-host SUBDIR += libuecc SUBDIR += libwhisker + SUBDIR += libxcrypt SUBDIR += libyubikey SUBDIR += libzrtpcppcore SUBDIR += linux-bitwarden-cli diff --git a/security/libxcrypt/Makefile b/security/libxcrypt/Makefile new file mode 100644 index 000000000000..1f6185e61c01 --- /dev/null +++ b/security/libxcrypt/Makefile @@ -0,0 +1,20 @@ +PORTNAME= libxcrypt +DISTVERSIONPREFIX= v +DISTVERSION= 4.4.26 +CATEGORIES= security + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Extended crypt library for descrypt, md5crypt, bcrypt, and others + +LICENSE= LGPL21 + +USES= autoreconf gmake libtool + +USE_GITHUB= yes +GH_ACCOUNT= besser82 + +GNU_CONFIGURE= yes + +USE_LDCONFIG= yes + +.include diff --git a/security/libxcrypt/distinfo b/security/libxcrypt/distinfo new file mode 100644 index 000000000000..02baa268ed10 --- /dev/null +++ b/security/libxcrypt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1636649663 +SHA256 (besser82-libxcrypt-v4.4.26_GH0.tar.gz) = e8a544dd19171c1e6191a6044c96cc31496d781ba08b5a00f53310d001d58114 +SIZE (besser82-libxcrypt-v4.4.26_GH0.tar.gz) = 525004 diff --git a/security/libxcrypt/pkg-descr b/security/libxcrypt/pkg-descr new file mode 100644 index 000000000000..383601e77914 --- /dev/null +++ b/security/libxcrypt/pkg-descr @@ -0,0 +1,17 @@ +libxcrypt is a modern library for one-way hashing of passwords. It supports a +wide variety of both modern and historical hashing methods: yescrypt, +gost-yescrypt, scrypt, bcrypt, sha512crypt, sha256crypt, md5crypt, SunMD5, +sha1crypt, NT, bsdicrypt, bigcrypt, and descrypt. It provides the traditional +Unix crypt and crypt_r interfaces, as well as a set of extended interfaces +pioneered by Openwall Linux, crypt_rn, crypt_ra, crypt_gensalt, +crypt_gensalt_rn, and crypt_gensalt_ra. + +libxcrypt is intended to be used by login(1), passwd(1), and other similar +programs; that is, to hash a small number of passwords during an interactive +authentication dialogue with a human. It is not suitable for use in bulk +password-cracking applications, or in any other situation where speed is more +important than careful handling of sensitive data. However, it is intended to be +fast and lightweight enough for use in servers that must field thousands of +login attempts per minute. + +WWW: https://github.com/besser82/libxcrypt diff --git a/security/libxcrypt/pkg-plist b/security/libxcrypt/pkg-plist new file mode 100644 index 000000000000..be5de7b3c85a --- /dev/null +++ b/security/libxcrypt/pkg-plist @@ -0,0 +1,17 @@ +include/crypt.h +lib/libcrypt.a +lib/libcrypt.so +lib/libcrypt.so.2 +lib/libcrypt.so.2.0.0 +libdata/pkgconfig/libcrypt.pc +libdata/pkgconfig/libxcrypt.pc +man/man3/crypt.3.gz +man/man3/crypt_checksalt.3.gz +man/man3/crypt_gensalt.3.gz +man/man3/crypt_gensalt_ra.3.gz +man/man3/crypt_gensalt_rn.3.gz +man/man3/crypt_preferred_method.3.gz +man/man3/crypt_r.3.gz +man/man3/crypt_ra.3.gz +man/man3/crypt_rn.3.gz +man/man5/crypt.5.gz