This file is indexed.

/usr/bin/roarify is in libroar-compat-tools 1.0~beta11-7.

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

usage() {
 echo "Usage: $0 program ..."
 echo "or:"
 echo "Usage: $0 [OPTIONS] -- program ..."
 echo "or:"
 echo "Usage: $0 --help"
 echo
 echo "Options:"
 echo " --help               - This help"
 echo " --print-env-bash     - Print needed ENVs in bash mode"
 echo " --server SERVER      - Sets server to SERVER"
 echo " --load   MODULE      - Force loading of MODULE"
 echo " --no-load-roar       - Do not preload libroar"
 echo " --no-load-oss        - Do not preload libroaross (OSS Emulation)"
}

CMD=false

print_env=false
print_mode=none

preload_libroar='/usr/lib/x86_64-linux-gnu/libroar.so.2 '
preload_libroaross='/usr/lib/x86_64-linux-gnu/libroaross.so.2 '

while [ "$1" != '' ]
do
 k="$1"
 shift;

 case "$k" in
  '--')
   CMD="$1"
   shift;
   break;
  ;;
  '--server')
   export ROAR_SERVER="$1"
   shift;
  ;;
  '--load')
   LD_PRELOAD="/usr/lib/x86_64-linux-gnu/roaraudio/complibs//lib$1.so $LD_PRELOAD"
   shift;
  ;;
  '--no-load-roar')
   preload_libroar=''
  ;;
  '--no-load-oss')
   preload_libroaross=''
  ;;
  '--help'|'-h')
   usage;
   exit 0;
  ;;
  '--print-env-bash')
   print_env=true
   print_mode=bash
  ;;
  '-'*)
   echo "$0: Error: Unknown option: $k" >&2
   usage >&2;
   exit 1
  ;;
  *)
   CMD="$k"
   break;
  ;;
 esac
done

# spaces are included in $preload_*
LD_PRELOAD="$preload_libroar$preload_libroaross$LD_PRELOAD"

if [ "$LD_PRELOAD" = '' ]
then
 unset LD_PRELOAD
else
 export LD_PRELOAD
fi

if [ "$LD_LIBRARY_PATH" = '' ]
then
 export LD_LIBRARY_PATH='/usr/lib/x86_64-linux-gnu/roaraudio/complibs/'
else
 export LD_LIBRARY_PATH='/usr/lib/x86_64-linux-gnu/roaraudio/complibs/'":$LD_LIBRARY_PATH"
fi
export PATH='/usr/lib/x86_64-linux-gnu/roaraudio/compbins/'":$PATH"

if $print_env
then
 case "$print_mode" in
  'bash')
   [ "$ROAR_SERVER" != '' ] && echo "ROAR_SERVER='$ROAR_SERVER'; export ROAR_SERVER;"
   [ "$LD_PRELOAD"  != '' ] && echo "LD_PRELOAD='$LD_PRELOAD'; export LD_PRELOAD;"
   echo "LD_LIBRARY_PATH='$LD_LIBRARY_PATH'; export LD_LIBRARY_PATH;"
   echo "PATH='$PATH'; export PATH;"
  ;;
  *)
   echo "Error: unknown print env mode: $print_mode" >&2
   exit 1;
  ;;
 esac
 exit 0;
fi

exec $(exec -- echo -- 2>/dev/null) "$CMD" "$@"

#ll