From 5b2ca603968a12a670f485d72031504931527d75 Mon Sep 17 00:00:00 2001 From: kmos Date: Mon, 3 Oct 2022 21:03:36 +0000 Subject: [PATCH] The Networking and Cryptography (NaCl) library provides a high-level toolkit for building cryptographic systems and protocols. rbnacl provides a ruby interface to libsodium/NaCl. input and ok jeremy@ --- security/ruby-rbnacl/Makefile | 20 ++++++ security/ruby-rbnacl/distinfo | 2 + security/ruby-rbnacl/pkg/DESCR | 3 + security/ruby-rbnacl/pkg/PLIST | 118 +++++++++++++++++++++++++++++++++ 4 files changed, 143 insertions(+) create mode 100644 security/ruby-rbnacl/Makefile create mode 100644 security/ruby-rbnacl/distinfo create mode 100644 security/ruby-rbnacl/pkg/DESCR create mode 100644 security/ruby-rbnacl/pkg/PLIST diff --git a/security/ruby-rbnacl/Makefile b/security/ruby-rbnacl/Makefile new file mode 100644 index 00000000000..52ce26e7d82 --- /dev/null +++ b/security/ruby-rbnacl/Makefile @@ -0,0 +1,20 @@ +COMMENT = Ruby binding for libsodium/NaCl + +DISTNAME = rbnacl-7.1.1 + +CATEGORIES = security + +HOMEPAGE = https://github.com/RubyCrypto/rbnacl + +# MIT +PERMIT_PACKAGE = Yes + +MODULES = lang/ruby + +BUILD_DEPENDS = ${RUN_DEPENDS} +RUN_DEPENDS = devel/ruby-ffi,${MODRUBY_FLAVOR} \ + security/libsodium + +CONFIGURE_STYLE = ruby gem + +.include diff --git a/security/ruby-rbnacl/distinfo b/security/ruby-rbnacl/distinfo new file mode 100644 index 00000000000..f4c8660db5a --- /dev/null +++ b/security/ruby-rbnacl/distinfo @@ -0,0 +1,2 @@ +SHA256 (rbnacl-7.1.1.gem) = 829YsTMH9+gmdTKXe7rxoHoPKPIReby04YlNalX8Hnk= +SIZE (rbnacl-7.1.1.gem) = 226304 diff --git a/security/ruby-rbnacl/pkg/DESCR b/security/ruby-rbnacl/pkg/DESCR new file mode 100644 index 00000000000..ff0f35eed68 --- /dev/null +++ b/security/ruby-rbnacl/pkg/DESCR @@ -0,0 +1,3 @@ +The Networking and Cryptography (NaCl) library provides a high-level +toolkit for building cryptographic systems and protocols. rbnacl +provides a ruby interface to libsodium/NaCl. diff --git a/security/ruby-rbnacl/pkg/PLIST b/security/ruby-rbnacl/pkg/PLIST new file mode 100644 index 00000000000..241c01c9fec --- /dev/null +++ b/security/ruby-rbnacl/pkg/PLIST @@ -0,0 +1,118 @@ +${GEM_LIB}/cache/${DISTNAME}.gem +${GEM_LIB}/gems/${DISTNAME}/ +${GEM_LIB}/gems/${DISTNAME}/.coveralls.yml +@comment ${GEM_LIB}/gems/${DISTNAME}/.gitignore +${GEM_LIB}/gems/${DISTNAME}/.rspec +${GEM_LIB}/gems/${DISTNAME}/.rubocop.yml +${GEM_LIB}/gems/${DISTNAME}/.travis.yml +${GEM_LIB}/gems/${DISTNAME}/.yardopts +${GEM_LIB}/gems/${DISTNAME}/CHANGES.md +${GEM_LIB}/gems/${DISTNAME}/Gemfile +${GEM_LIB}/gems/${DISTNAME}/Guardfile +${GEM_LIB}/gems/${DISTNAME}/LICENSE.txt +${GEM_LIB}/gems/${DISTNAME}/README.md +${GEM_LIB}/gems/${DISTNAME}/Rakefile +${GEM_LIB}/gems/${DISTNAME}/images/ +${GEM_LIB}/gems/${DISTNAME}/images/dragons.png +${GEM_LIB}/gems/${DISTNAME}/images/ed25519.png +${GEM_LIB}/gems/${DISTNAME}/images/hash.png +${GEM_LIB}/gems/${DISTNAME}/images/logo.png +${GEM_LIB}/gems/${DISTNAME}/lib/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/aead/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/aead/base.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/aead/chacha20poly1305_ietf.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/aead/chacha20poly1305_legacy.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/aead/xchacha20poly1305_ietf.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/auth.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/curve25519xsalsa20poly1305/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/curve25519xsalsa20poly1305.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/curve25519xsalsa20poly1305/private_key.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/curve25519xsalsa20poly1305/public_key.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/boxes/sealed.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/group_elements/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/group_elements/curve25519.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hash/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hash.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hash/blake2b.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hash/sha256.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hash/sha512.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hmac/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hmac/sha256.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hmac/sha512.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/hmac/sha512256.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/init.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/key_comparator.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/one_time_auths/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/one_time_auths/poly1305.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/password_hash/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/password_hash.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/password_hash/argon2.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/password_hash/scrypt.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/random.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/secret_boxes/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/secret_boxes/xsalsa20poly1305.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/self_test.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/serializable.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/signatures/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/signatures/ed25519/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/signatures/ed25519.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/signatures/ed25519/signing_key.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/signatures/ed25519/verify_key.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/simple_box.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/sodium/ +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/sodium.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/sodium/version.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/test_vectors.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/util.rb +${GEM_LIB}/gems/${DISTNAME}/lib/rbnacl/version.rb +${GEM_LIB}/gems/${DISTNAME}/rbnacl.gemspec +${GEM_LIB}/gems/${DISTNAME}/spec/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/aead/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/aead/chacha20poly1305_legacy_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/authenticators/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/authenticators/poly1305_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/curve25519xsalsa20poly1305/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/curve25519xsalsa20poly1305/private_key_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/curve25519xsalsa20poly1305/public_key_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/curve25519xsalsa20poly1305_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/boxes/sealed_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/group_element_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hash/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hash/blake2b_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hash_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hmac/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hmac/sha256_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hmac/sha512256_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/hmac/sha512_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/password_hash/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/password_hash/argon2_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/password_hash/scrypt_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/random_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/secret_box_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/signatures/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/signatures/ed25519/ +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/signatures/ed25519/signing_key_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/signatures/ed25519/verify_key_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/simple_box_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/sodium_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/rbnacl/util_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/ +${GEM_LIB}/gems/${DISTNAME}/spec/shared/aead.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/authenticator.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/box.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/hmac.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/key_equality.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/sealed_box.rb +${GEM_LIB}/gems/${DISTNAME}/spec/shared/serializable.rb +${GEM_LIB}/gems/${DISTNAME}/spec/spec_helper.rb +${GEM_LIB}/gems/${DISTNAME}/tasks/ +${GEM_LIB}/gems/${DISTNAME}/tasks/rspec.rake +${GEM_LIB}/gems/${DISTNAME}/tasks/rubocop.rake +${GEM_LIB}/specifications/${DISTNAME}.gemspec