This file is indexed.

/usr/bin/dpatch-list-patch is in dpatch 2.0.35.

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
#! /bin/sh
## dpatch-list-patch -- List available patches
## (C) 2003 Junichi Uekawa <dancer@debian.org>
##
## Released under the terms of the GNU GPLv2.

## Move to likely debian dir
while ! test -d ./debian -o "$(pwd)" = "/" ; do
	cd ..;
done

## Setup defaults
DPLP_SRCDIR=$(pwd)

## Parse commandline
dplp_usage ()
{
	echo "dpatch-list-patch, list available patches"
	echo "   usage: dpatch-list-patch [-s|--sourcedir s]"
}

TEMP=$(getopt -n dpatch-list-patch -l help,sourcedir: -- +hs: "$@")

eval set -- ${TEMP}

while test "$1" != "--"; do
	case $1 in
		-s|--sourcedir)
			shift
			DPLP_SRCDIR=$1
			;;
		-h|--help)
			dplp_usage
			exit 0
			;;
	esac
	shift
done

echo "Patches that would be applied:"

cd ${DPLP_SRCDIR}

dpatch cat-all

# arch-tag: fbd2892f-32fc-4a37-9a4d-8a0772ace95c