summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-03-12 08:47:51 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-12 13:09:32 +0100
commit354711478199cde27fbb13e48acf54f13f2d0944 (patch)
tree912b53d6815ccf75671b91d7cb9ef694e456cacc /dev-ruby/openssl-cmac
parentdev-util/maturin: add 1.0.0_beta5, drop 1.0.0_beta4 (diff)
downloadgentoo-354711478199cde27fbb13e48acf54f13f2d0944.tar.gz
gentoo-354711478199cde27fbb13e48acf54f13f2d0944.tar.bz2
gentoo-354711478199cde27fbb13e48acf54f13f2d0944.zip
dev-ruby/openssl-cmac: new package, add 2.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/openssl-cmac')
-rw-r--r--dev-ruby/openssl-cmac/Manifest1
-rw-r--r--dev-ruby/openssl-cmac/metadata.xml12
-rw-r--r--dev-ruby/openssl-cmac/openssl-cmac-2.0.2.ebuild20
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/openssl-cmac/Manifest b/dev-ruby/openssl-cmac/Manifest
new file mode 100644
index 000000000000..5cf7c654150c
--- /dev/null
+++ b/dev-ruby/openssl-cmac/Manifest
@@ -0,0 +1 @@
+DIST openssl-cmac-2.0.2.gem 9728 BLAKE2B 0113459326d6d42f256848cee682607a3d7a03778bd6963eaf86519d263c8295726acd462600bf047cca0c92704c8dfa6e0edd34b93dcb1673c232bb73c9331f SHA512 dbe4083ee3e1f2d1254a035d7d6c46a927e4dcde69d466ae9af5fa53ded89519f58c30095019fc5fa258f0c14493870e05c2b32cfba0921c451c6709710be3b4
diff --git a/dev-ruby/openssl-cmac/metadata.xml b/dev-ruby/openssl-cmac/metadata.xml
new file mode 100644
index 000000000000..ba63e44acdc2
--- /dev/null
+++ b/dev-ruby/openssl-cmac/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">SmallLars/openssl-cmac</remote-id>
+ <remote-id type="rubygems">openssl-cmac</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/openssl-cmac/openssl-cmac-2.0.2.ebuild b/dev-ruby/openssl-cmac/openssl-cmac-2.0.2.ebuild
new file mode 100644
index 000000000000..0f1bb49a0473
--- /dev/null
+++ b/dev-ruby/openssl-cmac/openssl-cmac-2.0.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Gem for RFC 4493, 4494, 4615 - The AES-CMAC Algorithm"
+HOMEPAGE="https://github.com/SmallLars/openssl-cmac"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+ sed -i -e '/coverall/I s:^:#:' test/test_cmac.rb || die
+}