summaryrefslogtreecommitdiff
path: root/package/perl-mail-dkim
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-04-19 12:17:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-19 13:43:45 +0200
commitcbbc6e0b5ea25dae26f3cd2f9134ad1b2272c4f8 (patch)
tree68bd95c6e1cfbd84d161a64d6f08e40e863776d7 /package/perl-mail-dkim
parentbb81914e95dccc54141dc18122c053612b71e838 (diff)
package/perl-mail-dkim: new package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-mail-dkim')
-rw-r--r--package/perl-mail-dkim/Config.in13
-rw-r--r--package/perl-mail-dkim/perl-mail-dkim.hash3
-rw-r--r--package/perl-mail-dkim/perl-mail-dkim.mk12
3 files changed, 28 insertions, 0 deletions
diff --git a/package/perl-mail-dkim/Config.in b/package/perl-mail-dkim/Config.in
new file mode 100644
index 000000000..3db54f3c3
--- /dev/null
+++ b/package/perl-mail-dkim/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PERL_MAIL_DKIM
+ bool "perl-mail-dkim"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_PERL_CRYPT_OPENSSL_RSA
+ select BR2_PACKAGE_PERL_MAILTOOLS
+ select BR2_PACKAGE_PERL_NET_DNS
+ help
+ Signs/verifies Internet mail with DKIM/DomainKey signatures
+
+ https://metacpan.org/release/Mail-DKIM
+
+comment "perl-mail-dkim needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
diff --git a/package/perl-mail-dkim/perl-mail-dkim.hash b/package/perl-mail-dkim/perl-mail-dkim.hash
new file mode 100644
index 000000000..b6bb545ab
--- /dev/null
+++ b/package/perl-mail-dkim/perl-mail-dkim.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 9ceb8a0397aff83928e7a9760b1b190f Mail-DKIM-0.40.tar.gz
+sha256 3c5ea0c3a2028a5a2c3b64bbcd6bd9de6a5fa5ee4e16046dd8875c4796aaa6f1 Mail-DKIM-0.40.tar.gz
diff --git a/package/perl-mail-dkim/perl-mail-dkim.mk b/package/perl-mail-dkim/perl-mail-dkim.mk
new file mode 100644
index 000000000..7f002990e
--- /dev/null
+++ b/package/perl-mail-dkim/perl-mail-dkim.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# perl-mail-dkim
+#
+################################################################################
+
+PERL_MAIL_DKIM_VERSION = 0.40
+PERL_MAIL_DKIM_SOURCE = Mail-DKIM-$(PERL_MAIL_DKIM_VERSION).tar.gz
+PERL_MAIL_DKIM_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JA/JASLONG
+PERL_MAIL_DKIM_DEPENDENCIES = perl perl-crypt-openssl-rsa perl-mailtools perl-net-dns
+
+$(eval $(perl-package))