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 | |||
@@ -23,15 +23,15 @@ my %makefile_args = ( | |||
23 | 'Crypt::Format' => 0.06, | 23 | 'Crypt::Format' => 0.06, |
24 | 'Crypt::OpenSSL::PKCS10' => 0.16, | 24 | 'Crypt::OpenSSL::PKCS10' => 0.16, |
25 | 'Crypt::OpenSSL::RSA' => 0.28, | 25 | 'Crypt::OpenSSL::RSA' => 0.28, |
26 | 'Crypt::OpenSSL::X509' => 1.808, | 26 | 'Crypt::OpenSSL::X509' => 1.804, |
27 | 'DateTime::Format::Strptime' => 1.42, | 27 | 'DateTime::Format::Strptime' => 1.42, |
28 | 'LWP::UserAgent' => 6.13, | 28 | 'LWP::UserAgent' => 6.05, |
29 | 'LWP::Protocol::https' => 6.07, | 29 | 'LWP::Protocol::https' => 6.04, |
30 | 'Pod::Usage' => 1.51, | 30 | 'Pod::Usage' => 1.51, |
31 | 'Pod::Man' => 2.25, | 31 | 'Pod::Man' => 2.25, |
32 | 'Text::ParseWords' => 3.27, | 32 | 'Text::ParseWords' => 3.27, |
33 | 'Data::Dumper' => 0, | 33 | 'Data::Dumper' => 0, |
34 | 'Net::DNS' => 1.06, | 34 | 'Net::DNS' => 0.68, |
35 | 'Sys::Hostname' => 1.16 | 35 | 'Sys::Hostname' => 1.16 |
36 | }, | 36 | }, |
37 | 37 | ||
@@ -210,12 +210,17 @@ same order as they appeared in the configuration file. | |||
210 | 210 | ||
211 | =item B<source=>I<ID> [I<LAYOUT>] | 211 | =item B<source=>I<ID> [I<LAYOUT>] |
212 | 212 | ||
213 | Defines additional source of information. As of B<acmeman> version 2.00, | 213 | Defines additional source of information. B<App::Acmeman> version 1.05 |
214 | only one I<ID> is supported: B<apache>. This source module scans apache | 214 | is shipped with two sources: B<null> and B<apache>. |
215 | configuration files as described in section B<APACHE>. The optional | 215 | |
216 | I<LAYOUT> argument defines the apache configuration layout. Allowed values | 216 | The B<null> module is an empty source. Use it if all domains are described |
217 | are: B<debian>, B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> | 217 | in the configuration file. |
218 | is absent, it will be autodetected. | 218 | |
219 | The B<apache> source module is the default. It scans B<httpd> configuration | ||
220 | files as described in section B<APACHE>. The optional I<LAYOUT> argument | ||
221 | defines the apache configuration layout. Allowed values are: B<debian>, | ||
222 | B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> is absent, it | ||
223 | will be autodetected. | ||
219 | 224 | ||
220 | =item B<files=>I<NAME> | 225 | =item B<files=>I<NAME> |
221 | 226 | ||
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 @@ | |||
1 | package App::Acmeman::Source::Null; | ||
2 | |||
3 | use strict; | ||
4 | use warnings; | ||
5 | use Carp; | ||
6 | |||
7 | sub configure { 1; } | ||
8 | sub setup { 1; } | ||
9 | |||
10 | 1; | ||