This file is indexed.

/usr/lib/X11/config/sunLib.tmpl is in xutils-dev 1:7.7+3ubuntu2.

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
 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
XCOMM $Xorg: sunLib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
XCOMM $XdotOrg: xc/config/cf/sunLib.tmpl,v 1.6 2004/09/02 01:10:28 kem Exp $





XCOMM $XFree86: xc/config/cf/sunLib.tmpl,v 3.12tsi Exp $

/*
 * SunOS shared library template
 */

#if OSMajorVersion <= 4

# if SunPost411FCSLd
#  define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
#  define SharedXrenderReqs $(LDPRELIB) $(XLIB)
# endif

#ifndef SharedX11Rev
#define SharedX11Rev 4.30
#endif
#ifndef SharedOldXRev
#define SharedOldXRev 4.20
#endif
#ifndef SharedXtRev
#define SharedXtRev 4.20
#endif
#ifndef SharedXawRev
#define SharedXawRev 6.10
#endif
#ifndef SharedXmuRev
#define SharedXmuRev 4.20
#endif
#ifndef SharedXextRev
#define SharedXextRev 4.50
#endif
#ifndef SharedXiRev
#define SharedXiRev 4.20
#endif
#ifndef SharedXtstRev
#define SharedXtstRev 1.20
#endif

#else				/* else it's Solaris */

/* Solaris uses single digit library versions, and versions of libraries
 * defined in SVID specs should match the versions specified there.
 */

#ifndef SharedX11Rev
# define SharedX11Rev 4
#endif
#ifndef SharedOldXRev
# define SharedOldXRev 6
#endif
#ifndef SharedXextRev
# define SharedXextRev 0
#endif
#ifndef SharedXauRev
# define SharedXauRev 6
#endif
#ifndef SharedXdmcpRev
# define SharedXdmcpRev 6
#endif
#ifndef SharedXmuRev
# define SharedXmuRev 4
#endif
#ifndef SharedXmuuRev
# define SharedXmuuRev 1
#endif
#ifndef SharedXpRev
# define SharedXpRev 1
#endif
#ifndef SharedXpmRev
# define SharedXpmRev 4
#endif
#ifndef SharedXtRev
# define SharedXtRev 4
#endif
#ifndef SharedXaw6Rev
# define SharedXaw6Rev 5
#endif
#ifndef SharedXiRev
# define SharedXiRev 5
#endif
#ifndef SharedXtstRev
# define SharedXtstRev 1
#endif
#ifndef SharedFSRev
# define SharedFSRev 5
#endif
#ifndef SharedICERev
# define SharedICERev 6
#endif
#ifndef SharedSMRev
# define SharedSMRev 6
#endif
#ifndef SharedXcursor
# define SharedXcursorRev 1
#endif
#ifndef SharedXdamageRev
# define SharedXdamageRev 1
#endif
#ifndef SharedXevieRev
# define SharedXevieRev 1
#endif
#ifndef SharedXfixesRev
# define SharedXfixesRev 1
#endif
#ifndef SharedXftRev
# define SharedXftRev 2
#endif
#ifndef SharedXineramaRev
# define SharedXineramaRev 1
#endif
#ifndef SharedXrenderRev
# define SharedXrenderRev 1
#endif
#ifndef SharedXResRev
# define SharedXResRev 1
#endif
#ifndef SharedXvRev
# define SharedXvRev 1
#endif
#ifndef SharedXvMCRev
# define SharedXvMCRev 1
#endif
#ifndef SharedXrandrRev
# define SharedXrandrRev 2
#endif
#ifndef SharedXssRev
# define SharedXssRev 1
#endif
#ifndef SharedFontconfigRev
# define SharedFontconfigRev 1
#endif
#ifndef SharedGlxRev
# define SharedGlxRev 1
#endif
#ifndef SharedGluRev
# define SharedGluRev 1
#endif
#ifndef SharedGLwRev
# define SharedGLwRev 1
#endif
#ifndef SharedOSMesaRev
# define SharedOSMesaRev 4
#endif
#ifndef SharedxkbfileRev
# define SharedxkbfileRev 5
#endif
#ifndef SharedXxf86miscRev
# define SharedXxf86miscRev 1
#endif
#ifndef SharedXxf86vmRev
# define SharedXxf86vmRev 1
#endif

# if ThreadedX
#  if OSMinorVersion > 3
#   define SharedThreadReqs /**/
#  endif
# endif

# define SharedX11Reqs $(LDPRELIB) SharedThreadReqs $(EXTRA_LIBRARIES) -lc DlLibrary
# define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedOldXReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) -lc
# define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB) -lc
# define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB) -lc
# define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lc
# define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB) -lnsl -lc
# define SharedXmuuReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedXextReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedXiReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXtstReqs $(LDPRELIB) $(XLIB) -lc
# define SharedFSReqs $(EXTRA_LIBRARIES) -lc
# define SharedICEReqs $(EXTRA_LIBRARIES) -lc
# define SharedSMReqs $(LDPRELIB) $(ICELIB) $(EXTRA_LIBRARIES) -lc
# define SharedXineramaReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXpReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXpmReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedXResReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXrenderReqs $(LDPRELIB) $(XLIBONLY) -lc
# define SharedXrandrReqs  $(LDPRELIB) $(XRENDERLIB) $(XLIB) -lc
# define SharedXssReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXvReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXvMCReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXfontReqs $(LDPRELIB) $(FREETYPE2LIB) GzipLibrary -lsocket MathLibrary -lc
# define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
# define SharedFontencReqs $(LDPRELIB) GzipLibrary -lc
# define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXxf86miscReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXxf86vmReqs $(LDPRELIB) $(XLIB) -lc
# define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIBONLY) $(EXTRA_LIBRARIES) -lc
# define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIBONLY) -lc
# define SharedPSResReqs -lc
# define SharedGLReqs $(LDPRELIB) $(XLIB) -lc
# define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB) $(CXXLIB) MathLibrary -lc
# define SharedGLwReqs $(LDPRELIBS) $(MOTIFLIB) $(GLXLIB) $(XTOOLLIB) $(XLIB)
# define SharedOSMesaReqs $(LDPRELIB) $(XLIB) $(GLXLIB) MathLibrary -lc
# define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB) -lc
# define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB) MathLibrary -lc
# define SharedXfixesReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXdamageReqs $(LDPRELIB) $(XLIB) -lc
# define SharedXauReqs -lc
# define SharedXdmcpReqs -lsocket -lc
# define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB) -lc
# define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XONLYLIB) -lc
# define SharedXevieReqs $(LDPRELIB) $(XLIB)

# define FixupLibReferences() /**/

# define SharedPamReqs DlLibrary
# define SharedPamUnixReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lnsl -lmp -lcmd SharedThreadReqs
# define SharedPamSampleReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs
# define SharedPamDialAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs
# define SharedPamRhostsAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lsocket SharedThreadReqs
# define SharedPamDceAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -ldce -lnsl -lsocket SharedThreadReqs
# define SharedTtReqs -lnsl -lsocket -lintl DlLibrary -lc -lw
# define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl DlLibrary
# define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl DlLibrary
# define SharedDtSearchReqs -lm -lc
# define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc
# define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lgen -lm -lc
# define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc
# define SharedDtTermReqs SharedDtHelpReqs DlLibrary -lgen
# define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lsocket -lnsl -lc
# define SharedDtMailReqs $(LDPRELIBS) -lw $(CXXLIB) -lm DlLibrary
# define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXmReqs

# define DtClientExtraLibs -lintl

/* The inbuf paramter to iconv(3) is "const char**", not "char **" */
ICONV_INBUF_DEFINE = -DICONV_INBUF_CONST=const

# if HasCplusplus
#  if HasGcc2ForCplusplus
UNSHARED_CXXLIB = -static -lC
#  elif HasSunCplusplus
#   if CplusplusCompilerMajorVersion > 3
#    ifdef CplusplusWhatdir
UNSHARED_CXXLIB = -Bstatic -L`CplusplusWhatdir CC`/../lib -lC -Bdynamic
#    else
UNSHARED_CXXLIB = -Bstatic -L/opt/SUNWspro/SC4.0/lib -lC -Bdynamic
#    endif
#   else
UNSHARED_CXXLIB = -Bstatic -lC -Bdynamic -lm -lc -Bstatic
#   endif
#  endif
# endif

# define IafSysLib	/**/
# include <sv4Lib.tmpl>

#endif