about summary refs log tree commit
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2014-06-04 13:59:56 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2014-06-04 13:59:56 +0100
commitaf0e9fb706ab2c04ed3c02b1f2316ff7485d1ccb (patch)
treed4e1696d5ce12aa2be4306e0c8a857cfc719e147
parent80223cb0cdbd78a457cfe82124e9231790c6722a (diff)
downloadperl-libnet-af0e9fb706ab2c04ed3c02b1f2316ff7485d1ccb.tar.gz
Note requirements for optional SSL and IPv6 support
-rw-r--r--Makefile.PL23
-rw-r--r--lib/Net/libnetFAQ.pod10
2 files changed, 31 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 66c3df1..fe35c56 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -92,6 +92,29 @@ MAIN: {
                             }
                         }
                     }
+                },
+
+                SSL => {
+                    description => 'SSL support',
+                    prereqs => {
+                        runtime => {
+                            requires => {
+                                'IO::Socket::SSL' => '1.968'
+                            }
+                        }
+                    }
+                },
+
+                IPv6 => {
+                    description => 'IPv6 support',
+                    prereqs => {
+                        runtime => {
+                            requires => {
+                                'IO::Socket::IP' => '0.20'
+                            # or IO::Socket::INET6 2.62
+                            }
+                        }
+                    }
                 }
             }
         },
diff --git a/lib/Net/libnetFAQ.pod b/lib/Net/libnetFAQ.pod
index d5a4603..e90c24a 100644
--- a/lib/Net/libnetFAQ.pod
+++ b/lib/Net/libnetFAQ.pod
@@ -50,8 +50,14 @@ This version of libnet requires Perl 5.8.1 or higher.
 =head2 What other modules do I need ?
 
 No non-core modules are required for normal use, except on os390,
-which requires Convert::EBCDIC.  Authen::SASL is required for AUTH
-support.
+which requires Convert::EBCDIC.
+
+Authen::SASL is required for AUTH support.
+
+IO::Socket::SSL version 1.968 or higher is required for SSL support.
+
+IO::Socket::IP version 0.20 or IO::Socket::INET6 version 2.62 is
+required for IPv6 support.
 
 =head2 What machines support libnet ?