1use 5.010;
2use ExtUtils::MakeMaker;
3
4my $version = qx{svnversion 2>/dev/null};
5$version = sprintf("%d", (q$Revision: 114 $ =~ /\d+/g)[0])
6    unless $version;
7$version /= 1000;
8$version += 1;
9
10# See lib/ExtUtils/MakeMaker.pm for details of how to influence
11# the contents of the Makefile that is written.
12WriteMakefile
13    (
14     NAME              => 'Net::Radius::Server',
15     VERSION           => $version,
16     PREREQ_PM         =>
17     {
18	 'Class::Accessor'		=> 0.27,
19	 'NetAddr::IP'			=> 4,
20	 # PAM and LDAP are required if you intend to use them in your
21	 # RADIUS processing
22	 'Authen::PAM'			=> 0,
23	 'BerkeleyDB'                   => 0,
24	 'Net::LDAP'			=> 0,
25	 # Net::Radius - We need dynamic packet types
26	 # and other recent niceties
27	 'Net::Radius::Packet'		=> 1.51,
28	 'Net::Radius::Dictionary'	=> 1.51,
29	 # We use Net::Server as our server's engine
30	 'Net::Server'			=> 0.94,
31	 # Utilities and tests use this
32	 'IO::Async'			=> 0,
33	 'IO::Prompt'			=> 0,
34         'File::Find::Rule'             => 0,
35         'Test::File::Contents'         => 0,
36	 'Time::HiRes'                  => 0,
37	 'Time::Stopwatch'              => 0,
38	 'Statistics::Descriptive'      => 0,
39	 'YAML::Syck'                   => 0,
40	 'MLDBM::Sync'                  => 0,
41     },
42     EXE_FILES        => [ qw!
43			   bin/nrsd
44                           bin/nrsdbtoyaml
45			   bin/rad-client
46			   bin/pam-client
47                           bin/rad-bulk
48			   bin/rad-bulk-make
49			   !],
50     ($] >= 5.005 ?
51      (ABSTRACT_FROM  => 'lib/Net/Radius/Server.pm',
52       AUTHOR         => 'Luis E. Muñoz <luismunoz@cpan.org>') : ()),
53     );
54