]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
perl-Digest-HMAC: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2015 22:59:00 +0000 (22:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2015 22:59:00 +0000 (22:59 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-Digest-HMAC/perl-Digest-HMAC.nm [new file with mode: 0644]

diff --git a/perl-Digest-HMAC/perl-Digest-HMAC.nm b/perl-Digest-HMAC/perl-Digest-HMAC.nm
new file mode 100644 (file)
index 0000000..5f1ce5f
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Digest-HMAC
+version    = 1.03
+release    = 1
+arch       = noarch
+thisapp    = Digest-HMAC-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/Digest-HMAC/
+license    = GPL+ or Artistic
+summary    = Keyed-Hashing for Message Authentication
+
+description
+       HMAC is used for message integrity checks between two parties that
+       share a secret key, and works in combination with some other Digest
+       algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in
+       RFC 2104.
+end
+
+source_dl  = http://www.cpan.org/authors/id/G/GA/GAAS/
+
+build
+       requires
+               perl(Digest::MD5)
+               perl(Digest::SHA1)
+               perl(ExtUtils::MakeMaker)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+end
+
+packages
+       package %{name}
+end