This file is indexed.

/usr/share/doc/gimp-dcraw/examples/getsource is in gimp-dcraw 1.31-1.1.

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

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
#!/bin/bash

PATH=/usr/bin:/bin

set -x
set -u
set -e

DCRAWHOME=http://www.cybercom.net/~dcoffin/dcraw/
WGET=wget

http_proxy=
export http_proxy

TMPFILE=rawphoto.c_new
TEMPLATEDIR=dcraw-template

# Get the new source
${WGET} -O ${TMPFILE} ${DCRAWHOME}rawphoto.c

# grep for the current version
NEWVERSION=$(grep -i '\$Revision: [0-9][.][0-9][0-9] \$' ${TMPFILE} | sed -e 's/^.*Revision:.*\([0-9][.][0-9][0-9]\).*$/\1/')

# Build a working directory
WORKDIR=gimp-dcraw-${NEWVERSION}
if [ -d ${WORKDIR} ]
then
  echo "Working directory for current version already exists. stop"
  exit 0
fi

rm -rf ${WORKDIR}
mkdir ${WORKDIR}
mv ${TMPFILE} ${WORKDIR}/rawphoto.c

# Build the .orig tar file
rm -rf ${WORKDIR}.orig
cp -a ${WORKDIR} ${WORKDIR}.orig

#tar -cvzf ${WORKDIR}.orig.tar.gz ${WORKDIR}.orig
#rm -rf ${WORKDIR}.orig

# Build a template directory with apt-get source
rm -rf ${TEMPLATEDIR}
mkdir ${TEMPLATEDIR}
cd ${TEMPLATEDIR}
apt-get source gimp-dcraw
cd ..

# Copy in the template debian bits and pieces
cp -a ${TEMPLATEDIR}/gimp-dcraw-*/debian ${WORKDIR}
cp -a ${TEMPLATEDIR}/gimp-dcraw-*/Makefile ${WORKDIR}

# Prep the changelog
cd ${WORKDIR}
dch --newversion=${NEWVERSION}-1
egrep '\$Date: [0-9]{4}/[0-9]+/[0-9]+ [0-9]+:[0-9]+:[0-9]+.*\$$' rawphoto.c >> debian/README.Debian

vi debian/README.Debian

dpkg-buildpackage -rfakeroot