This file is indexed.

/usr/bin/dh_xsf_substvars is in xserver-xorg-dev-lts-utopic 2:1.16.0-1ubuntu1.2~trusty2.

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
#!/bin/sh
# © 2011 Cyril Brulebois <kibi@debian.org>
#
# Usage:
#   Call this script from debian/rules, before dh_gencontrol is run,
#   to get all needed variables computed in debian/$p.substvars for
#   each package $p found through dh_listpackages.
#   .
#   This script has support for udebs.
set -e

# Sanity check. All drivers build-depend on debhelper:
if ! which dh_listpackages >/dev/null 2>&1; then
  echo "E: dh_listpackages not found, debhelper package missing?"
  exit 1
fi

# Read the dependencies once:
INPUTDEP=$(cat /usr/share/xserver-xorg/xinputdep 2>/dev/null)
VIDEODEP=$(cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)

# Iterate on the packages:
for package in $(dh_listpackages); do
  case $package in
    *-udeb-lts-utopic)
      # udebs depend on udebs, tweak the dependency on the server:
      inputdep=$(echo "$INPUTDEP"|sed 's/xserver-xorg-core-lts-utopic/&-udeb-lts-utopic/')
      videodep=$(echo "$VIDEODEP"|sed 's/xserver-xorg-core-lts-utopic/&-udeb-lts-utopic/')
    ;;
    *)
      # just copy the dependencies read previously:
      inputdep="$INPUTDEP"
      videodep="$VIDEODEP"
  esac

  # To avoid having "unused substitution variable" warnings from
  # dpkg-gencontrol, only set variables which make sense:
  case $package in
    *-dbg|*-dev-lts-utopic|*-all-lts-utopic)
      # debug, devel, or meta package, no need for Depends/Provides.
      :
    ;;
    xserver-xorg-input-*)
      # input driver:
      echo "xinpdriver:Depends=$inputdep" >> debian/$package.substvars
      echo "xinpdriver:Provides=xorg-driver-input" >> debian/$package.substvars
    ;;
    xserver-xorg-video-*)
      # video driver:
      echo "xviddriver:Depends=$videodep" >> debian/$package.substvars
      echo "xviddriver:Provides=xorg-driver-video" >> debian/$package.substvars
  esac
done