summaryrefslogtreecommitdiffstats
path: root/package
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
parentbb81914e95dccc54141dc18122c053612b71e838 (diff)
downloadbuildroot-cbbc6e0b5ea25dae26f3cd2f9134ad1b2272c4f8.tar.gz
buildroot-cbbc6e0b5ea25dae26f3cd2f9134ad1b2272c4f8.zip
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')
-rw-r--r--package/Config.in1
-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
4 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index b80eb19af2..f75815565a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -525,6 +525,7 @@ menu "Perl libraries/modules"
source "package/perl-json-tiny/Config.in"
source "package/perl-libwww/Config.in"
source "package/perl-lwp-mediatypes/Config.in"
+ source "package/perl-mail-dkim/Config.in"
source "package/perl-mailtools/Config.in"
source "package/perl-mime-base64/Config.in"
source "package/perl-mojolicious/Config.in"
diff --git a/package/perl-mail-dkim/Config.in b/package/perl-mail-dkim/Config.in
new file mode 100644
index 0000000000..3db54f3c39
--- /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 0000000000..b6bb545abe
--- /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 0000000000..7f002990e5
--- /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))
OpenPOWER on IntegriCloud