diff --git a/.gitignore b/.gitignore index 77f12ae..4e4a043 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,19 @@ +*~ docs/ +Makefile +Makefile.old +Build +Build.bat +META.* +MYMETA.* +.build/ +_build/ +cover_db/ +blib/ +inc/ +.lwpcookies +.last_cover_stats +nytprof.out +pod2htm*.tmp +pm_to_blib +Webperl*.tar.gz diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..df03b0e --- /dev/null +++ b/MANIFEST @@ -0,0 +1,31 @@ +Makefile.PL +MANIFEST This list of files +README.md +t/00-load.t +lib/Webperl/System.pm +lib/Webperl/Modules.pm +lib/Webperl/SystemModule.pm +lib/Webperl/AuthMethods.pm +lib/Webperl/Template.pm +lib/Webperl/BlockSelector.pm +lib/Webperl/Block.pm +lib/Webperl/Auth.pm +lib/Webperl/HTMLValidator.pm +lib/Webperl/ConfigMicro.pm +lib/Webperl/AppUser.pm +lib/Webperl/AuthMethod.pm +lib/Webperl/Application.pm +lib/Webperl/Utils.pm +lib/Webperl/Message/Queue.pm +lib/Webperl/Message/Transport/Local.pm +lib/Webperl/Message/Transport/Email.pm +lib/Webperl/Message/Transport.pm +lib/Webperl/Daemon.pm +lib/Webperl/SessionHandler.pm +lib/Webperl/AuthMethod/Database.pm +lib/Webperl/AuthMethod/LDAP.pm +lib/Webperl/AuthMethod/SSH.pm +lib/Webperl/AuthMethod/LDAPS.pm +lib/Webperl/Logger.pm +lib/Webperl/Message.pm +lib/Webperl.pm diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..c27d7dc --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,26 @@ +use 5.006; +use strict; +use warnings FATAL => 'all'; +use ExtUtils::MakeMaker; + +WriteMakefile( + NAME => 'Webperl', + AUTHOR => q{Chris }, + VERSION_FROM => 'lib/Webperl.pm', + ABSTRACT_FROM => 'lib/Webperl.pm', + LICENSE => 'GPL v3', + PL_FILES => {}, + MIN_PERL_VERSION => 5.006, + CONFIGURE_REQUIRES => { + 'ExtUtils::MakeMaker' => 0, + }, + BUILD_REQUIRES => { + 'Test::More' => 0, + }, + PREREQ_PM => { + #'ABC' => 1.6, + #'Foo::Bar::Module' => 5.0401, + }, + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'Webperl*' }, +); diff --git a/ignore.txt b/ignore.txt new file mode 100644 index 0000000..ed252b4 --- /dev/null +++ b/ignore.txt @@ -0,0 +1,17 @@ +Makefile +Makefile.old +Build +Build.bat +META.* +MYMETA.* +.build/ +_build/ +cover_db/ +blib/ +inc/ +.lwpcookies +.last_cover_stats +nytprof.out +pod2htm*.tmp +pm_to_blib +Webperl*.tar.gz diff --git a/lib/Webperl.pm b/lib/Webperl.pm index 9ee2b0e..a79c01f 100644 --- a/lib/Webperl.pm +++ b/lib/Webperl.pm @@ -24,6 +24,8 @@ package Webperl; use strict; use Webperl::Application; +our $VERSION = "3.11"; + # ============================================================================ # Constructor diff --git a/t/00-load.t b/t/00-load.t new file mode 100644 index 0000000..0e0691c --- /dev/null +++ b/t/00-load.t @@ -0,0 +1,17 @@ +#!perl -T +use 5.006; +use strict; +use warnings FATAL => 'all'; +use Test::More; + +plan tests => 1; + +BEGIN { + use_ok( 'Webperl::Application' ) || print "Bail out!\n"; + use_ok( 'Webperl::Block' ) || print "Bail out!\n"; + use_ok( 'Webperl::AppUser' ) || print "Bail out!\n"; + use_ok( 'Webperl::BlockSelector' ) || print "Bail out!\n"; + use_ok( 'Webperl::System' ) || print "Bail out!\n"; +} + +diag( "Testing Webperl $Webperl::VERSION, Perl $], $^X" );