summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-23 11:32:59 +0200
committerYorhel <git@yorhel.nl>2019-09-23 14:39:31 +0200
commit20516593d730bebc46634ee748213151d6e10913 (patch)
treede8cf5863297bd11f326fcf8c00c4829d8f00d28
parent9ccafba60b8de37b0c2a202d22df5c3e25b78026 (diff)
Minor administrative fixes
The FCGI module is only required when running in FastCGI mode, which isn't how the container is configured. The AnyEvent::HTTP module, on the other hand, is required for many of the new Multi::* modules. They're not enabled by default but are still a significant part of Multi, so it's good to have the dependencies available.
-rw-r--r--Dockerfile2
-rw-r--r--README.md3
-rw-r--r--lib/VNWeb/Auth.pm2
-rw-r--r--lib/VNWeb/HTML.pm1
4 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 9b9dc5d3..2ceb9a1d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,11 +16,11 @@ RUN apt-get install -y tzdata \
graphviz \
imagemagick \
libalgorithm-diff-xs-perl \
+ libanyevent-http-perl \
libanyevent-irc-perl \
libanyevent-perl \
libcrypt-urandom-perl \
libdbd-pg-perl \
- libfcgi-perl \
libhttp-server-simple-perl \
libimage-magick-perl \
libjson-xs-perl \
diff --git a/README.md b/README.md
index 38bf4292..af86396d 100644
--- a/README.md
+++ b/README.md
@@ -69,8 +69,9 @@ util/vndb.pl (the web backend):
util/multi.pl (application server, optional):
- AnyEvent
-- AnyEvent::Pg
+- AnyEvent::HTTP
- AnyEvent::IRC
+- AnyEvent::Pg
- XML::Parser
- graphviz (/usr/bin/dot is used by default)
diff --git a/lib/VNWeb/Auth.pm b/lib/VNWeb/Auth.pm
index 493db3f4..a10fb256 100644
--- a/lib/VNWeb/Auth.pm
+++ b/lib/VNWeb/Auth.pm
@@ -1,4 +1,4 @@
-# This package provides a 'tuwf' function and a useful object for dealing with
+# This package provides an 'auth' function and a useful object for dealing with
# VNDB sessions. Usage:
#
# use VNWeb::Auth;
diff --git a/lib/VNWeb/HTML.pm b/lib/VNWeb/HTML.pm
index 1e237a78..66ab52d6 100644
--- a/lib/VNWeb/HTML.pm
+++ b/lib/VNWeb/HTML.pm
@@ -341,7 +341,6 @@ sub _revision_header_ {
}
-
sub _revision_fmtval_ {
my($opt, $val) = @_;
return i_ '[empty]' if !defined $val || !length $val;