aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-04-17 14:55:13 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2018-04-17 14:55:13 +0200
commita2b74de60d4885e5b318de6e2c67f6a4bba8296f (patch)
treeda83e80cc90461fb4ddef2b6231e5c476f84e6c9
parent155bd0baa629b3ca26869353bdb251bb4f2a3e65 (diff)
downloadacmeman-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.PL8
-rwxr-xr-xacmeman17
-rw-r--r--lib/App/Acmeman/Source/Null.pm10
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
diff --git a/acmeman b/acmeman
index 932b5c5..99f158a 100755
--- a/acmeman
+++ b/acmeman
@@ -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
213Defines additional source of information. As of B<acmeman> version 2.00, 213Defines additional source of information. B<App::Acmeman> version 1.05
214only one I<ID> is supported: B<apache>. This source module scans apache 214is shipped with two sources: B<null> and B<apache>.
215configuration files as described in section B<APACHE>. The optional 215
216I<LAYOUT> argument defines the apache configuration layout. Allowed values 216The B<null> module is an empty source. Use it if all domains are described
217are: B<debian>, B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> 217in the configuration file.
218is absent, it will be autodetected. 218
219The B<apache> source module is the default. It scans B<httpd> configuration
220files as described in section B<APACHE>. The optional I<LAYOUT> argument
221defines the apache configuration layout. Allowed values are: B<debian>,
222B<slackware>, B<suse> and B<rh> (for Red Hat). If I<LAYOUT> is absent, it
223will 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 @@
1package App::Acmeman::Source::Null;
2
3use strict;
4use warnings;
5use Carp;
6
7sub configure { 1; }
8sub setup { 1; }
9
101;

Return to:

Send suggestions and report system problems to the System administrator.