This file is indexed.

/usr/bin/dpt is in pkg-perl-tools 0.42.

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
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#!/bin/sh

set -e
set -u

# documentation is at the end

DPT__SCRIPTS="/usr/share/pkg-perl-tools"

help() {
    perldoc "$0"
}

usage() {
    perl -MPod::Usage=pod2usage -e"pod2usage(-input => '$0', -verbose=>99, -sections=>[qw(SYNOPSIS DESCRIPTION COMMANDS)])"
}

for f in ~/.dpt.conf ~/.config/dpt.conf; do
    if [ -r "$f" ]; then
        . "$f"
    fi
done

for v in `set | egrep ^DPT_ | sed 's/=.*//'`; do
    export $v
done

CMD="${1:-}"

if [ -z "$CMD" ]; then
    usage
    exit 1
fi

if [ "$CMD" = "--help" -o "$CMD" = "-h" ]; then
    help
    exit 0
fi

shift

if [ "$CMD" = "co" ]; then
    CMD=checkout
fi

if [ ! -x "$DPT__SCRIPTS/$CMD" ]; then
    echo "Subcommand $CMD not found. Try --help."
    exit 1
else
    exec "$DPT__SCRIPTS/$CMD" "$@"
fi

DOC=<<EOF
=encoding utf8

=head1 NAME

dpt - Debian Perl module packaging Tool

=head1 SYNOPSIS

 dpt [I<global option>...] I<command> [I<command option...>]
 dpt --help

=head1 DESCRIPTION

B<dpt> is a helper tool for maintaining Perl module packages in Debian. All of
the functions are implemented as sub-commands.

=head1 GLOBAL OPTIONS

=over

=item B<--help|-h>

Show this documentation.

=back

=head1 COMMANDS

=over

=item B<alioth-repo> - clone newly created repository to alioth.debian.org

Removed. Please use "dpt salsa pushrepo" as a successor.
See L<dpt-salsa(1)>.

=item B<cd> - change directory to a package working directory

See L<dpt-cd(1)>

=item B<checkout> - work on pkg-perl package

=item (also available as B<co>)

See L<dpt-checkout(1)>.

=item B<dch-note> - add notes/TODO items to F<debian/changelog>

See L<dpt-dch-note(1)>.

=item B<debian-upstream> - create debian/upstream/metadata file from META.{json,yml}

See L<dpt-debian-upstream(1)>.

=item B<forward> - forward a bug or a patch upstream

See L<dpt-forward(1)>.

=item B<gc> - swipe pkg-perl working directories

See L<dpt-gc(1)>.

=item B<gen-itp> - aid for creating ITP bug reports

See L<dpt-gen-itp(1)>.

=item B<get-ubuntu-packages> - list Ubuntu packages maintained by the group

See L<dpt-get-ubuntu-packages(1)>.

=item B<import-orig> - "gbp import-orig" wrapper with upstream tracking support

See L<dpt-import-orig(1)>.

=item B<invite-github> - Invite someone to GitHub team

See L<dpt-invite-github(1)>.

=item B<lp-mass-subscribe> - subscribes the Ubuntu group to a list of packages

See L<dpt-lp-mass-subscribe(1)>.

=item B<missing-pristine-tar> - remedy missing pristine-tar information

See L<dpt-missing-pristine-tar(1)>.

=item B<missing-upstream> - remedy missing upstream branch/tags

See L<dpt-missing-upstream(1)>.

=item B<packagecheck> - various package consistency checks

See L<dpt-packagecheck(1)>.

=item B<push> - push relevant refs to C<origin> remote

See L<dpt-push(1)>.

=item B<rename-uploader> - mass-change of uploaded name/email

See L<dpt-rename-uploader(1)>.

=item B<repack.sh> - repackaging helper

See L<dpt-repack.sh(1)>.

=item B<salsa> - manage repositories and members on salsa.debian.org

See L<dpt-salsa(1)>.

=item B<shell-lib> - shell integration

See L<dpt-shell-lib(1)>

=item B<takeover> - take over package maintenance

See L<dpt-takeover(1)>.

=item B<upstream-repo> - add upstream Git repository as git remote upstream-repo

See L<dpt-upstream-repo(1)>.

=back

For each command, see its manual page for more details.

=head1 COPYRIGHT AND LICENSE

Copyright (c) 2013 Damyan Ivanov <dmn@debian.org>

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=cut
EOF