package Cpanel::Easy::Apache::SlowRestartPatch;

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

# This is the parent module that we're using to temporarily patch Apache with their
# TRUNK version of Bug 54852.  This should not be used when a newer version of
# Apache comes out, and contains this fix.
#
# Also note, this is only available with Apache version 2.2.26.  When newer
# versions come out, check for this fix, then remove the optmods.

use strict;
use warnings;

our $easyconfig = {
    'skip' => 0,
    'step' => {
        '0' => {
            'name'    => q{Apply patch},
            'command' => sub {
                my ($self) = @_;
                return $self->apply_patch( '../cppatch/apache_2.2_bug_54852.patch', $self->{'_'}{'apache_src_path'} );
            },
        },
    },
};

1;
