Commit cd600986 authored by Yadd's avatar Yadd
Browse files

* Apache-1.3 is not supported in all Debian architectures

* CGI must not require Sys::Syslog to be installed
parent ec15f539
......@@ -29,7 +29,7 @@ Description: Lemonldap::NG Web-SSO system documentation
Package: liblemonldap-ng-handler-perl
Architecture: all
Depends: ${misc:Depends}, libapache-session-perl, libwww-perl, libcache-cache-perl, liblemonldap-ng-conf-perl (= ${binary:Version}), libapache2-mod-perl2 | libapache-mod-perl, liburi-perl
Depends: ${misc:Depends}, libapache-session-perl, libwww-perl, libcache-cache-perl, liblemonldap-ng-conf-perl (= ${binary:Version}), libapache2-mod-perl2, liburi-perl
Suggests: liblemonldap-ng-portal-perl
Description: Lemonldap::NG Apache module part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
......
......@@ -220,7 +220,8 @@ sub startSyslog {
my $self = shift;
return if ( $self->{_syslog} );
eval {
use Sys::Syslog;
require Sys::Syslog;
Sys::Syslog->import(':standard');
openlog( 'lemonldap-ng', 'ndelay', $self->{syslog} );
};
$self->abort( "Unable to use syslog", $@ ) if ($@);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment