This file is indexed.

/usr/bin/dh_uwsgi is in uwsgi-dev 2.0.15-10.2ubuntu2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/perl -w

=head1 NAME

dh_uwsgi - Add dependency on the ABI version of uWSGI

When writing a package that builds an uWSGI plugin
and is not built with uWSGI itself
(and hence depends on the exact binary version),
add ${uwsgi:Depends} to the package's Depends: field in debian control
and run dh_uwsgi.

If you use dh, you can run dh_uwsgi using:

  dh --with uwsgi

Otherwise run it in debian/rules after installing the plugins.

=cut

use strict;
use Debian::Debhelper::Dh_Lib;
use Digest::MD5 qw(md5_hex);

=head1 SYNOPSIS

B<dh_uwsgi> [S<I<debhelper options>>] [S<B<-V>[I<version>]>] [S<B<--> I<file>>]

=head1 DESCRIPTION

dh_uwsgi is a debhelper program
that is responsible for correctly setting the dependency
on uwsgi-abi-I<uwsgi-ABI-version> for a package.

=head1 OPTIONS

No special options of its own. Use standard debhelper options.

=head1 NOTES

Note that this command is not idempotent.
L<dh_prep(1)> should be called between invocations of this command.
Otherwise, it may cause multiple instances of the same text
to be added to maintainer scripts.

=cut

init();

my $RELEVANT_CONTENT = '/usr/lib/uwsgi/plugins/*.so';

my $abi;

sub get_abi_name() {
	$abi ||= md5_hex( `uwsgi-core --dot-h` );
	return 'uwsgi-abi-' . $abi;
}

foreach my $package ( @{ $dh{DOPACKAGES} } ) {
	#next if is_udeb($package);
	next unless glob( tmpdir($package) . $RELEVANT_CONTENT );
	addsubstvar($package, "uwsgi:Depends", get_abi_name() );
}

=head1 SEE ALSO

L<debhelper(1)>

This program is part of the Debian uWSGI package.

L<uwsgi(8)>

=head1 AUTHOR

Jonas Smedegaard <dr@jones.dk>

=cut