0
  "   ˆl–Ðz¾”Jj"TÒ�zàœ¸”Å£ÁƒM‹À¿ 	”    #!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/patch_mail_spamassassin_compiledregexps_body_0
#                                                  Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

BEGIN {
    if ( $ARGV[0] && -d $ARGV[0] ) {
        unshift @INC, $ARGV[0];
    }
}

eval 'local $SIG{__DIE__}; use Mail::SpamAssassin::CompiledRegexps::body_0;';
use Cpanel::SafeFile        ();
use Cpanel::LoadFile        ();
use Cpanel::SafeRun::Simple ();
use Cpanel::Logger          ();

my $module_path = $INC{'Mail/SpamAssassin/CompiledRegexps/body_0.pm'};
if ( !$module_path ) {
    print "Mail::SpamAssassin::CompiledRegexps::body_0 not used. No patch needed.\n";
    exit;
}

my $logger = Cpanel::Logger->new();

my $txt = Cpanel::LoadFile::loadfile($module_path);
if ( !$txt ) {
    $logger->die("Unable to load $module_path");
}
if ( $txt !~ m/(?:require|use)\s+DynaLoader/ ) { exit; }
if ( $txt =~ m/XSLoader/ )                     { exit; }

print "Removing bloated DynaLoader Dep from Mail::SpamAssassin::CompiledRegexps::body_0.\n";

my $mod_fh = Cpanel::SafeFile::safeopen( \*ER, '+<', $module_path );
if ( !$mod_fh ) {
    $logger->die("Could not edit $module_path");
}
my @EN = <ER>;
seek( ER, 0, 0 );
my $inconfig = 0;
foreach (@EN) {
    s/require\s+DynaLoader/use XSLoader/g;
    s/use\s+DynaLoader/use XSLoader/g;
    s/DynaLoader/XSLoader/g;
    s/^bootstrap.*/XSLoader::load 'Mail::SpamAssassin::CompiledRegexps::body_0', \$VERSION\;/g;
    s/^(\s*)(Mail::SpamAssassin::CompiledRegexps::body_0|__PACKAGE__)->bootstrap.*/$1XSLoader::load 'Mail::SpamAssassin::CompiledRegexps::body_0', \$VERSION\;/g;
    print ER $_;
}
truncate( ER, tell(ER) );
Cpanel::SafeFile::safeclose( \*ER, $mod_fh );

my $is_ok = Cpanel::SafeRun::Simple::saferun( '/usr/local/cpanel/scripts/check_mail_spamassassin_compiledregexps_body_0', $ARGV[0] );
chomp $is_ok;
if ( !$is_ok || $is_ok ne 'ok' ) {
    print "Patching Failed, restoring previous Mail::SpamAssassin::CompiledRegexps::body_0!\n";
    my $mod_fh2 = Cpanel::SafeFile::safeopen( \*ER, '>', $module_path );
    if ( !$mod_fh2 ) {
        $logger->die("Could not edit $module_path");
    }
    print ER $txt;
    Cpanel::SafeFile::safeclose( \*ER, $mod_fh2 );
}
  9   ˆl–Ãa¾”*j"Tâ�rà¸ËJbÑ¿Âƒh¹a–Ãa¾”*j"Tâ�rà¸ËJbÑ¿Á      1
  "   ˆl–Ðz¾”TÜZÔâ‚À¿p.©‹FÿÄƒi±9¿Â ®    #! /bin/sh

# Copyright (c) The Exim Maintainers 2023
# Copyright (c) University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
# SPDX-License-Identifier: GPL-2.0-or-later

# Except when they appear in comments, the following placeholders in this
# source are replaced when it is turned into a runnable script:
#
# CONFIGURE_FILE_USE_NODE
# CONFIGURE_FILE
# BIN_DIRECTORY
# EXIWHAT_PS_CMD
# EXIWHAT_PS_ARG
# EXIWHAT_KILL_SIGNAL
# EXIWHAT_EGREP_ARG
# EXIWHAT_MULTIKILL_CMD
# EXIWHAT_MULTIKILL_ARG
# RM_COMMAND

# This file has been so processed.

# Shell script for seeing what the exim processes are doing. It gets rid
# of the old process log, then sends SIGUSR1 to all exim processes to get
# them to write their state to the log. Then it displays the contents of
# the log.

# The following lines are generated from Exim's configuration file when
# this source is built into a script, but you can subsequently edit them
# without rebuilding things, as long are you are careful not to overwrite
# the script in the next Exim rebuild/install. However, it's best to
# arrange your build-time configuration file to get the correct values.

rm=/bin/rm

# Some operating systems have a command that finds processes that match
# certain conditions (by default usually those running specific commands)
# and sends them signals. If such a command is defined for your OS, the
# following variables are set and used.

multikill_