summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2018-04-17 12:55:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2018-04-17 12:55:13 (GMT)
commita2b74de60d4885e5b318de6e2c67f6a4bba8296f (patch) (side-by-side diff)
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.
Diffstat (more/less context) (ignore whitespace changes)
-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 = (
'Crypt::Format' => 0.06,
'Crypt::OpenSSL::PKCS10' => 0.16,
'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,
'Pod::Man' => 2.25,
'Text::ParseWords' => 3.27,
'Data::Dumper' => 0,
- 'Net::DNS' => 1.06,
+ 'Net::DNS' => 0.68,
'Sys::Hostname' => 1.16
},
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.
=item B<source=>I<ID> [I<LAYOUT>]
-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.
=item B<files=>I<NAME>
diff --git a/lib/App/Acmeman/Source/Null.pm b/lib/App/Acmeman/Source/Null.pm
new file mode 100644
index 0000000..5b30e0c
--- a/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;

Return to:

Send suggestions and report system problems to the System administrator.