Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
smradius
smradius
Commits
c9319d25
Commit
c9319d25
authored
Sep 14, 2016
by
Nigel Kukard
Browse files
BUGFIX: Added additional modules we need to run the server
parent
32333d46
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/smradius/daemon.pm
View file @
c9319d25
...
...
@@ -42,9 +42,33 @@ if (!eval {require DateTime; 1;}) {
exit
1
;
}
# Check Crypt::DES is installed
if
(
!
eval
{
require
Crypt::
DES
;
1
;})
{
print
STDERR
"
You're missing DateTime, try 'apt-get install libcrypt-des-perl'
\n
";
exit
1
;
}
# Check Crypt::RC4 is installed
if
(
!
eval
{
require
Crypt::
RC4
;
1
;})
{
print
STDERR
"
You're missing Crypt::RC4, try 'apt-get install libcrypt-rc4-perl'
\n
";
exit
1
;
}
# Check Digest::MD4 is installed
if
(
!
eval
{
require
Digest::
MD4
;
1
;})
{
print
STDERR
"
You're missing Digest::MD4, try 'apt-get install libdigest-md4-perl'
\n
";
exit
1
;
}
# Check Digest::SHA is installed
if
(
!
eval
{
require
Digest::
SHA
;
1
;})
{
print
STDERR
"
You're missing Digest::SHA, try 'apt-get install libdigest-sha-perl'
\n
";
exit
1
;
}
# Check Date::Parse is installed
if
(
!
eval
{
require
Date::
Parse
;
1
;})
{
print
STDERR
"
You're missing
DateTim
e, try 'apt-get install libtimedate-perl'
\n
";
print
STDERR
"
You're missing
TimeDat
e, try 'apt-get install libtimedate-perl'
\n
";
exit
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment