perl-io-socket-ssl: new package
authorFrancois Perrad <fperrad@gmail.com>
Thu, 17 Jul 2014 16:32:59 +0000 (18:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Jul 2014 18:51:16 +0000 (20:51 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-io-socket-ssl/Config.in [new file with mode: 0644]
package/perl-io-socket-ssl/perl-io-socket-ssl.mk [new file with mode: 0644]

index 4b7ccd9795f861a3b004d24ae958babc8ebff3b7..b52d3476e0e2a7bdc224064681da0a97b05d6ba2 100644 (file)
@@ -429,6 +429,7 @@ endif
        source "package/perl/Config.in"
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
+       source "package/perl-io-socket-ssl/Config.in"
        source "package/perl-mojolicious/Config.in"
        source "package/perl-net-ssleay/Config.in"
        source "package/perl-xml-libxml/Config.in"
diff --git a/package/perl-io-socket-ssl/Config.in b/package/perl-io-socket-ssl/Config.in
new file mode 100644 (file)
index 0000000..c8d038a
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_IO_SOCKET_SSL
+       bool "perl-io-socket-ssl"
+       depends on !BR2_PREFER_STATIC_LIB
+       select BR2_PACKAGE_PERL_NET_SSLEAY
+       help
+         Nearly transparent SSL encapsulation for IO::Socket::INET.
+
+         https://github.com/noxxi/p5-io-socket-ssl
+
+comment "perl-io-socket-ssl needs a toolchain w/ dynamic library"
+       depends on BR2_PREFER_STATIC_LIB
diff --git a/package/perl-io-socket-ssl/perl-io-socket-ssl.mk b/package/perl-io-socket-ssl/perl-io-socket-ssl.mk
new file mode 100644 (file)
index 0000000..103a160
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-io-socket-ssl
+#
+################################################################################
+
+PERL_IO_SOCKET_SSL_VERSION = 1.997
+PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz
+PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR/
+PERL_IO_SOCKET_SSL_DEPENDENCIES = perl perl-net-ssleay
+PERL_IO_SOCKET_SSL_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))