package Cpanel::Easy::Apache::LDAP;

# cpanel - Cpanel/Easy/Apache/LDAP.pm             Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name'      => 'LDAP',
    'ensurepkg' => [ 'openldap-devel', 'openldap-client', 'openldap23-client' ],
    'url'       => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/mod_ldap.html',
    'step'      => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--enable-ldap' => '', '--with-ldap' => '' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
