Debian Codegraph @

tests/kdc/Makefile.am

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 include $(top_srcdir)/Makefile.am.common
2
3 noinst_DATA = \
4 an2ln-db.txt \
5 kdc-tester4.json \
6 krb5.conf \
7 krb5-authz.conf \
8 krb5-authz2.conf \
9 krb5-canon.conf \
10 krb5-canon2.conf \
11 krb5-hdb-mitdb.conf \
12 krb5-weak.conf \
13 krb5-pkinit.conf \
14 krb5-pkinit-win.conf \
15 krb5-slave2.conf \
16 krb5-slave.conf
17
18 check_SCRIPTS = $(SCRIPT_TESTS)
19
20 SCRIPT_TESTS = \
21 check-authz \
22 check-canon \
23 check-cc \
24 check-delegation \
25 check-des \
26 check-digest \
27 check-fast \
28 check-kadmin \
29 check-hdb-mitdb \
30 check-kdc \
31 check-kdc-weak \
32 check-keys \
33 check-kpasswdd \
34 check-pkinit \
35 check-iprop \
36 check-referral \
37 check-tester \
38 check-uu
39
40 TESTS = $(SCRIPT_TESTS)
41
42 port = 49188
43 admport = 49189
44 pwport = 49190
45
46 if HAVE_DLOPEN
47 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
48 else
49 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
50 endif
51
52 do_subst = $(heim_verbose)sed $(do_dlopen) \
53 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
54 -e 's,[@]top_srcdir[@],$(top_srcdir),g' \
55 -e 's,[@]srcdir[@],$(srcdir),g' \
56 -e 's,[@]port[@],$(port),g' \
57 -e 's,[@]admport[@],$(admport),g' \
58 -e 's,[@]pwport[@],$(pwport),g' \
59 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
60 -e 's,[@]top_builddir[@],$(top_builddir),g' \
61 -e 's,[@]db_type[@],$(db_type),g' \
62 -e 's,[@]ENABLE_AFS_STRING_TO_KEY[@],$(ENABLE_AFS_STRING_TO_KEY),' \
63 -e 's,[@]EGREP[@],$(EGREP),g'
64
65 chmod = chmod
66
67 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
68
69 check-authz: check-authz.in Makefile krb5-authz.conf krb5-authz2.conf
70 $(do_subst) < $(srcdir)/check-authz.in > check-authz.tmp && \
71 $(chmod) +x check-authz.tmp && \
72 mv check-authz.tmp check-authz
73
74 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
75 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp && \
76 $(chmod) +x check-canon.tmp && \
77 mv check-canon.tmp check-canon
78
79 check-cc: check-cc.in Makefile
80 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp && \
81 $(chmod) +x check-cc.tmp && \
82 mv check-cc.tmp check-cc
83
84 check-delegation: check-delegation.in Makefile
85 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp && \
86 $(chmod) +x check-delegation.tmp && \
87 mv check-delegation.tmp check-delegation
88
89 check-des: check-des.in Makefile krb5.conf
90 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp && \
91 $(chmod) +x check-des.tmp && \
92 mv check-des.tmp check-des
93
94 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
95 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp && \
96 $(chmod) +x check-hdb-mitdb.tmp && \
97 mv check-hdb-mitdb.tmp check-hdb-mitdb
98
99 check-fast: check-fast.in Makefile
100 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp && \
101 $(chmod) +x check-fast.tmp && \
102 mv check-fast.tmp check-fast
103
104 check-kdc: check-kdc.in Makefile
105 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp && \
106 $(chmod) +x check-kdc.tmp && \
107 mv check-kdc.tmp check-kdc
108
109 check-kdc-weak: check-kdc-weak.in Makefile
110 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp && \
111 $(chmod) +x check-kdc-weak.tmp && \
112 mv check-kdc-weak.tmp check-kdc-weak
113
114 check-tester: check-tester.in kdc-tester4.json Makefile
115 $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp && \
116 $(chmod) +x check-tester.tmp && \
117 mv check-tester.tmp check-tester
118
119 check-keys: check-keys.in Makefile
120 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp && \
121 $(chmod) +x check-keys.tmp && \
122 mv check-keys.tmp check-keys
123
124 check-kinit: check-kinit.in Makefile
125 $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp && \
126 $(chmod) +x check-kinit.tmp && \
127 mv check-kinit.tmp check-kinit
128
129 check-kadmin: check-kadmin.in Makefile
130 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp && \
131 $(chmod) +x check-kadmin.tmp && \
132 mv check-kadmin.tmp check-kadmin
133
134 check-uu: check-uu.in Makefile
135 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp && \
136 $(chmod) +x check-uu.tmp && \
137 mv check-uu.tmp check-uu
138
139 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
140 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp && \
141 $(chmod) +x check-pkinit.tmp && \
142 mv check-pkinit.tmp check-pkinit
143
144 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf krb5-slave2.conf
145 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp && \
146 $(chmod) +x check-iprop.tmp && \
147 mv check-iprop.tmp check-iprop
148
149 check-digest: check-digest.in Makefile
150 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp && \
151 $(chmod) +x check-digest.tmp && \
152 mv check-digest.tmp check-digest
153
154 check-referral: check-referral.in Makefile
155 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp && \
156 $(chmod) +x check-referral.tmp && \
157 mv check-referral.tmp check-referral
158
159 check-kpasswdd: check-kpasswdd.in Makefile
160 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp && \
161 $(chmod) +x check-kpasswdd.tmp && \
162 mv check-kpasswdd.tmp check-kpasswdd
163
164 kdc-tester4.json: kdc-tester4.json.in Makefile
165 $(do_subst) < $(srcdir)/kdc-tester4.json.in > kdc-tester4.json.tmp && \
166 mv kdc-tester4.json.tmp kdc-tester4.json
167
168 krb5.conf: krb5.conf.in Makefile
169 $(do_subst) \
170 -e 's,[@]WEAK[@],false,g' \
171 -e 's,[@]dk[@],,g' \
172 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
173 mv krb5.conf.tmp krb5.conf
174
175 krb5-authz.conf: krb5-authz.conf.in Makefile
176 $(do_subst) < $(srcdir)/krb5-authz.conf.in > krb5-authz.conf.tmp && \
177 mv krb5-authz.conf.tmp krb5-authz.conf
178
179 krb5-authz2.conf: krb5-authz2.conf.in Makefile
180 $(do_subst) < $(srcdir)/krb5-authz2.conf.in > krb5-authz2.conf.tmp && \
181 mv krb5-authz2.conf.tmp krb5-authz2.conf
182
183 krb5-canon.conf: krb5-canon.conf.in Makefile
184 $(do_subst) \
185 -e 's,[@]WEAK[@],false,g' \
186 -e 's,[@]dk[@],,g' \
187 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp && \
188 mv krb5-canon.conf.tmp krb5-canon.conf
189
190 krb5-canon2.conf: krb5-canon2.conf.in Makefile
191 $(do_subst) \
192 -e 's,[@]WEAK[@],false,g' \
193 -e 's,[@]dk[@],,g' \
194 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp && \
195 mv krb5-canon2.conf.tmp krb5-canon2.conf
196
197 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
198 $(do_subst) \
199 -e 's,[@]WEAK[@],false,g' \
200 -e 's,[@]dk[@],,g' \
201 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp && \
202 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
203
204 krb5-weak.conf: krb5.conf.in Makefile
205 $(do_subst) \
206 -e 's,[@]WEAK[@],true,g' \
207 -e 's,[@]dk[@],default_keys = aes256-cts-hmac-sha1-96:pw-salt arcfour-hmac-md5:pw-salt des3-cbc-sha1:pw-salt des:pw-salt,g' \
208 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp && \
209 mv krb5-weak.conf.tmp krb5-weak.conf
210
211 krb5-slave.conf: krb5.conf.in Makefile
212 $(do_subst) \
213 -e 's,[@]WEAK[@],true,g' \
214 -e 's,[@]dk[@],,g' \
215 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp && \
216 mv krb5-slave.conf.tmp krb5-slave.conf
217
218 krb5-slave2.conf: krb5.conf.in Makefile
219 $(do_subst) \
220 -e 's,[@]WEAK[@],true,g' \
221 -e 's,[@]dk[@],,g' \
222 -e 's,[@]kdc[@],.slave2,g' < $(srcdir)/krb5.conf.in > krb5-slave2.conf.tmp && \
223 mv krb5-slave2.conf.tmp krb5-slave2.conf
224
225 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
226 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp && \
227 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
228
229 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
230 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp && \
231 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
232
233 CLEANFILES= \
234 $(TESTS) \
235 *.tmp \
236 acache.krb5 \
237 barpassword \
238 ca.crt \
239 cache.krb5 \
240 cdigest-reply \
241 client-cache \
242 current*.log \
243 current-db* \
244 digest-reply \
245 foopassword \
246 foopassword.rkpty \
247 iprop-stats \
248 iprop.keytab \
249 ipropd.dumpfile \
250 kdc-tester4.json \
251 kdc.crt \
252 krb5-authz.conf \
253 krb5-authz2.conf \
254 krb5-canon.conf \
255 krb5-canon2.conf \
256 krb5-cc.conf \
257 krb5-hdb-mitdb.conf \
258 krb5-pkinit-win.conf \
259 krb5-pkinit.conf \
260 krb5-slave2.conf \
261 krb5-slave.conf \
262 krb5-weak.conf \
263 krb5.conf \
264 krb5.conf.keys \
265 leaks-log \
266 localname \
267 malloc-log \
268 malloc-log-master \
269 malloc-log-slave \
270 messages.log \
271 o2cache.krb5 \
272 o2digest-reply \
273 ocache.krb5 \
274 out-log \
275 pkinit.crt \
276 pkinit2.crt \
277 pkinit3.crt \
278 pkinit4.crt \
279 req-kdc.der \
280 req-pkinit.der \
281 req-pkinit2.der \
282 s2digest-reply \
283 sdigest-init \
284 sdigest-reply \
285 server.keytab \
286 signal \
287 tempfile \
288 test-rc-file.rc \
289 uuserver.log
290
291 EXTRA_DIST = \
292 NTMakefile \
293 an2ln-db.txt \
294 check-authz.in \
295 check-canon.in \
296 check-cc.in \
297 check-delegation.in \
298 check-des.in \
299 check-digest.in \
300 check-fast.in \
301 check-iprop.in \
302 check-kadmin.in \
303 check-kinit.in \
304 check-hdb-mitdb.in \
305 check-kdc.in \
306 check-kdc-weak.in \
307 check-keys.in \
308 check-kpasswdd.in \
309 check-pkinit.in \
310 check-referral.in \
311 check-tester.in \
312 check-uu.in \
313 donotexists.txt \
314 hdb-mitdb \
315 hdb-mitdb.kadm5 \
316 hdb-mitdb.mkey \
317 heimdal.acl \
318 iprop-acl \
319 kdc-tester1.json \
320 kdc-tester2.json \
321 kdc-tester3.json \
322 kdc-tester4.json.in \
323 krb5-pkinit.conf.in \
324 krb5.conf.in \
325 krb5-authz.conf.in \
326 krb5-authz2.conf.in \
327 krb5-canon.conf.in \
328 krb5-canon2.conf.in \
329 krb5-hdb-mitdb.conf.in \
330 krb5.conf.keys.in \
331 k5login/foo \
332 ntlm-user-file.txt \
333 leaks-kill.sh \
334 pki-mapping \
335 uuserver.txt \
336 wait-kdc.sh