Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/bin/X11/ |
Upload File : |
#!/usr/bin/perl
=head1 NAME
dh_update_autotools_config - Update autotools config files
=cut
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib;
our $VERSION = DH_BUILTIN_VERSION;
=head1 SYNOPSIS
B<dh_update_autotools_config> [S<I<debhelper options>>]
=head1 DESCRIPTION
B<dh_update_autotools_config> replaces all occurrences of B<config.sub>
and B<config.guess> in the source tree by the up-to-date versions
found in the autotools-dev package. The original files are backed up
and restored by B<dh_clean>.
=cut
init();
for my $basename (qw(config.guess config.sub)) {
my $new_version = "/usr/share/misc/$basename";
open(my $fd, '-|', 'find', '-mindepth', '1',
'(', '-type', 'd', '-name', '.*', '-prune', ')',
'-o', '-type', 'f', '-name', $basename, '-print')
or error("Cannot run find -type f -name $basename: $!");
while (my $filename = <$fd>) {
chomp($filename);
next if not is_autotools_config_file($filename);
restore_file_on_clean($filename);
doit('cp', '-f', $new_version, $filename);
}
close($fd);
}
sub is_autotools_config_file {
my ($file) = @_;
my ($is_autoconf_file);
open(my $fd, '<', $file) or error("open $file for reading failed: $!");
while (my $line = <$fd>) {
chomp($line);
# This is the test lintian uses.
if ($line =~ m{^timestamp=['"]\d{4}-\d{2}-\d{2}['"]\s*$}) {
$is_autoconf_file = 1;
last;
}
$line =~ s/\s++$//;
if ($line eq q{# Attempt to guess a canonical system name.}
or $line =~ q{^# Configuration validation subroutine script}) {
# Very old scripts do not have that timestamp line, but
# they do have these headers (which even new files also
# have).
$is_autoconf_file = 1;
last;
}
last if $. >= 10;
}
close($fd);
return $is_autoconf_file;
}
=head1 SEE ALSO
L<debhelper(7)>
This program is a part of debhelper.
=head1 AUTHOR
Niels Thykier <niels@thykier.net>
=cut