diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-17 14:55:13 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-17 14:55:13 +0200 |
commit | a2b74de60d4885e5b318de6e2c67f6a4bba8296f (patch) | |
tree | da83e80cc90461fb4ddef2b6231e5c476f84e6c9 | |
parent | 155bd0baa629b3ca26869353bdb251bb4f2a3e65 (diff) | |
download | acmeman-a2b74de60d4885e5b318de6e2c67f6a4bba8296f.tar.gz acmeman-a2b74de60d4885e5b318de6e2c67f6a4bba8296f.tar.bz2 |
Add null domain source.
* Makefile.PL: Lower some prerequisite requirements.
* acmeman: Document the null source.
* lib/App/Acmeman/Source/Null.pm: New file.
-rw-r--r-- | Makefile.PL | 8 | ||||
-rwxr-xr-x | acmeman | 17 | ||||
-rw-r--r-- | lib/App/Acmeman/Source/Null.pm | 10 |
3 files changed, 25 insertions, 10 deletions
diff --git a/Makefile.PL b/Makefile.PL index 32fb598..53ed39a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -25,6 +25,6 @@ my %makefile_args = ( 'Crypt::OpenSSL::RSA' => 0.28, - 'Crypt::OpenSSL::X509' => 1.808, + 'Crypt::OpenSSL::X509' => 1.804, 'DateTime::Format::Strptime' => 1.42, - 'LWP::UserAgent' => 6.13, - 'LWP::Protocol::https' => 6.07, + 'LWP::UserAgent' => 6.05, + 'LWP::Protocol::https' => 6.04, 'Pod::Usage' => 1.51, @@ -33,3 +33,3 @@ my %makefile_args = ( 'Data::Dumper' => 0, - 'Net::DNS' => 1.06, + 'Net::DNS' => 0.68, 'Sys::Hostname' => 1.16 @@ -212,8 +212,13 @@ same order as they appeared in the configuration file. -Defines additional source of information. As of B<acmeman> version 2.00, -only one I<ID> is supported: B<apache>. This source module scans apache -configuration files as described in section B<APACHE>. The optional -I<LAYOUT> argument defines the apache configuration layout. Allowed values -are: B<debian>, B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> -is absent, it will be autodetected. +Defines additional source of information. B<App::Acmeman> version 1.05 +is shipped with two sources: B<null> and B<apache>. + +The B<null> module is an empty source. Use it if all domains are described +in the configuration file. + +The B<apache> source module is the default. It scans B<httpd> configuration +files as described in section B<APACHE>. The optional I<LAYOUT> argument +defines the apache configuration layout. Allowed values are: B<debian>, +B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> is absent, it +will be autodetected. diff --git a/lib/App/Acmeman/Source/Null.pm b/lib/App/Acmeman/Source/Null.pm new file mode 100644 index 0000000..5b30e0c --- /dev/null +++ b/lib/App/Acmeman/Source/Null.pm @@ -0,0 +1,10 @@ +package App::Acmeman::Source::Null; + +use strict; +use warnings; +use Carp; + +sub configure { 1; } +sub setup { 1; } + +1; |