1 include $(top_srcdir)/Makefile.am.common
19 krb5-httpkadmind.conf \
20 krb5-pkinit-win.conf \
25 check_SCRIPTS = $(SCRIPT_TESTS)
49 TESTS = $(SCRIPT_TESTS)
59 pkinit_ticket_max_life_from_cert = 0
62 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
64 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
67 do_subst = $(heim_verbose)sed $(do_dlopen) \
68 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
69 -e 's,[@]top_srcdir[@],$(top_srcdir),g' \
70 -e 's,[@]srcdir[@],$(srcdir),g' \
71 -e 's,[@]port[@],$(port),g' \
72 -e 's,[@]admport[@],$(admport),g' \
73 -e 's,[@]admport2[@],$(admport2),g' \
74 -e 's,[@]bx509port[@],$(restport),g' \
75 -e 's,[@]restport[@],$(restport),g' \
76 -e 's,[@]restport2[@],$(restport2),g' \
77 -e 's,[@]pwport[@],$(pwport),g' \
78 -e 's,[@]ipropport[@],$(ipropport),g' \
79 -e 's,[@]ipropport2[@],$(ipropport2),g' \
80 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
81 -e 's,[@]top_builddir[@],$(top_builddir),g' \
82 -e 's,[@]db_type[@],$(db_type),g' \
83 -e 's,[@]max_life_from_cert[@],$(pkinit_ticket_max_life_from_cert),g' \
84 -e 's,[@]ENABLE_AFS_STRING_TO_KEY[@],$(ENABLE_AFS_STRING_TO_KEY),' \
85 -e 's,[@]ENABLE_AFS_STRING_TO_KEY[@],$(ENABLE_AFS_STRING_TO_KEY),' \
86 -e 's,[@]EGREP[@],$(EGREP),g' \
87 -e 's,[@]MITKRB5[@],$(MITKRB5),g'
91 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
93 check-authz: check-authz.in Makefile krb5-authz.conf krb5-authz2.conf
94 $(do_subst) < $(srcdir)/check-authz.in > check-authz.tmp && \
95 $(chmod) +x check-authz.tmp && \
96 mv check-authz.tmp check-authz
98 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
99 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp && \
100 $(chmod) +x check-canon.tmp && \
101 mv check-canon.tmp check-canon
103 check-cc: check-cc.in Makefile
104 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp && \
105 $(chmod) +x check-cc.tmp && \
106 mv check-cc.tmp check-cc
108 check-delegation: check-delegation.in Makefile
109 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp && \
110 $(chmod) +x check-delegation.tmp && \
111 mv check-delegation.tmp check-delegation
113 check-des: check-des.in Makefile krb5.conf
114 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp && \
115 $(chmod) +x check-des.tmp && \
116 mv check-des.tmp check-des
118 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
119 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp && \
120 $(chmod) +x check-hdb-mitdb.tmp && \
121 mv check-hdb-mitdb.tmp check-hdb-mitdb
123 check-fast: check-fast.in Makefile
124 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp && \
125 $(chmod) +x check-fast.tmp && \
126 mv check-fast.tmp check-fast
128 check-kdc: check-kdc.in Makefile
129 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp && \
130 $(chmod) +x check-kdc.tmp && \
131 mv check-kdc.tmp check-kdc
133 check-kdc-weak: check-kdc-weak.in Makefile
134 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp && \
135 $(chmod) +x check-kdc-weak.tmp && \
136 mv check-kdc-weak.tmp check-kdc-weak
138 check-tester: check-tester.in kdc-tester4.json Makefile
139 $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp && \
140 $(chmod) +x check-tester.tmp && \
141 mv check-tester.tmp check-tester
143 check-keys: check-keys.in Makefile
144 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp && \
145 $(chmod) +x check-keys.tmp && \
146 mv check-keys.tmp check-keys
148 check-kinit: check-kinit.in Makefile
149 $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp && \
150 $(chmod) +x check-kinit.tmp && \
151 mv check-kinit.tmp check-kinit
153 check-kadmin: check-kadmin.in Makefile
154 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp && \
155 $(chmod) +x check-kadmin.tmp && \
156 mv check-kadmin.tmp check-kadmin
158 check-uu: check-uu.in Makefile
159 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp && \
160 $(chmod) +x check-uu.tmp && \
161 mv check-uu.tmp check-uu
163 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf krb5-pkinit2.conf
164 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp && \
165 $(chmod) +x check-pkinit.tmp && \
166 mv check-pkinit.tmp check-pkinit
168 check-bx509: check-bx509.in Makefile krb5-bx509.conf
169 $(do_subst) < $(srcdir)/check-bx509.in > check-bx509.tmp && \
170 $(chmod) +x check-bx509.tmp && \
171 mv check-bx509.tmp check-bx509
173 check-httpkadmind: check-httpkadmind.in Makefile krb5-httpkadmind.conf
174 $(do_subst) < $(srcdir)/check-httpkadmind.in > check-httpkadmind.tmp && \
175 $(chmod) +x check-httpkadmind.tmp && \
176 mv check-httpkadmind.tmp check-httpkadmind
178 check-iprop: check-iprop.in Makefile krb5.conf krb5-master2.conf krb5-slave.conf krb5-slave2.conf
179 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp && \
180 $(chmod) +x check-iprop.tmp && \
181 mv check-iprop.tmp check-iprop
183 check-digest: check-digest.in Makefile
184 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp && \
185 $(chmod) +x check-digest.tmp && \
186 mv check-digest.tmp check-digest
188 check-referral: check-referral.in Makefile
189 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp && \
190 $(chmod) +x check-referral.tmp && \
191 mv check-referral.tmp check-referral
193 check-kpasswdd: check-kpasswdd.in Makefile
194 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp && \
195 $(chmod) +x check-kpasswdd.tmp && \
196 mv check-kpasswdd.tmp check-kpasswdd
198 kdc-tester4.json: kdc-tester4.json.in Makefile
199 $(do_subst) < $(srcdir)/kdc-tester4.json.in > kdc-tester4.json.tmp && \
200 mv kdc-tester4.json.tmp kdc-tester4.json
202 krb5.conf: krb5.conf.in Makefile
204 -e 's,[@]WEAK[@],false,g' \
206 -e 's,[@]messages[@],messages,g' \
207 -e 's,[@]ipropstats[@],iprop-stats,g' \
208 -e 's,[@]signalsocket[@],signal,g' \
209 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
210 mv krb5.conf.tmp krb5.conf
212 krb5-kcm.conf: krb5-kcm.conf.in Makefile
214 -e 's,[@]WEAK[@],false,g' \
216 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-kcm.conf.in > krb5-kcm.conf.tmp && \
217 mv krb5-kcm.conf.tmp krb5-kcm.conf
219 krb5-cccol.conf: krb5-cccol.conf.in Makefile
221 -e 's,[@]WEAK[@],false,g' \
223 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-cccol.conf.in > krb5-cccol.conf.tmp && \
224 mv krb5-cccol.conf.tmp krb5-cccol.conf
226 krb5-authz.conf: krb5-authz.conf.in Makefile
227 $(do_subst) < $(srcdir)/krb5-authz.conf.in > krb5-authz.conf.tmp && \
228 mv krb5-authz.conf.tmp krb5-authz.conf
230 krb5-authz2.conf: krb5-authz2.conf.in Makefile
231 $(do_subst) < $(srcdir)/krb5-authz2.conf.in > krb5-authz2.conf.tmp && \
232 mv krb5-authz2.conf.tmp krb5-authz2.conf
234 krb5-canon.conf: krb5-canon.conf.in Makefile
236 -e 's,[@]WEAK[@],false,g' \
238 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp && \
239 mv krb5-canon.conf.tmp krb5-canon.conf
241 krb5-canon2.conf: krb5-canon2.conf.in Makefile
243 -e 's,[@]WEAK[@],false,g' \
245 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp && \
246 mv krb5-canon2.conf.tmp krb5-canon2.conf
248 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
250 -e 's,[@]WEAK[@],false,g' \
252 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp && \
253 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
255 krb5-weak.conf: krb5.conf.in Makefile
257 -e 's,[@]WEAK[@],true,g' \
258 -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' \
259 -e 's,[@]messages[@],messages,g' \
260 -e 's,[@]signalsocket[@],signal,g' \
261 -e 's,[@]ipropstats[@],iprop-stats,g' \
262 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp && \
263 mv krb5-weak.conf.tmp krb5-weak.conf
265 krb5-slave.conf: krb5.conf.in Makefile
267 -e 's,[@]WEAK[@],true,g' \
269 -e 's,[@]messages[@],messages,g' \
270 -e 's,[@]signalsocket[@],signal2,g' \
271 -e 's,[@]ipropstats[@],iprop-stats,g' \
272 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp && \
273 mv krb5-slave.conf.tmp krb5-slave.conf
275 krb5-master2.conf: krb5.conf.in Makefile
277 -e 's,[@]WEAK[@],true,g' \
279 -e 's,[@]messages[@],messages2,g' \
280 -e 's,[@]signalsocket[@],signal2,g' \
281 -e 's,[@]ipropstats[@],iprop-stats2,g' \
282 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-master2.conf.tmp && \
283 mv krb5-master2.conf.tmp krb5-master2.conf
285 krb5-slave2.conf: krb5.conf.in Makefile
287 -e 's,[@]WEAK[@],true,g' \
289 -e 's,[@]messages[@],messages2,g' \
290 -e 's,[@]signalsocket[@],signal3,g' \
291 -e 's,[@]ipropstats[@],iprop-stats2,g' \
292 -e 's,[@]kdc[@],.slave2,g' < $(srcdir)/krb5.conf.in > krb5-slave2.conf.tmp && \
293 mv krb5-slave2.conf.tmp krb5-slave2.conf
295 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
296 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp && \
297 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
299 krb5-pkinit2.conf : pkinit_ticket_max_life_from_cert = 30d
301 krb5-pkinit2.conf: krb5-pkinit.conf.in Makefile
302 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit2.conf.tmp && \
303 mv krb5-pkinit2.conf.tmp krb5-pkinit2.conf
305 krb5-bx509.conf: krb5-bx509.conf.in Makefile
306 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-bx509.conf.in > krb5-bx509.conf.tmp && \
307 mv krb5-bx509.conf.tmp krb5-bx509.conf
309 krb5-httpkadmind.conf: krb5-httpkadmind.conf.in Makefile
310 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-httpkadmind.conf.in > krb5-httpkadmind.conf.tmp && \
311 mv krb5-httpkadmind.conf.tmp krb5-httpkadmind.conf
313 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
314 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp && \
315 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
318 rm -rf cc_dir authz_dir
354 krb5-hdb-mitdb.conf \
356 krb5-pkinit-win.conf \
360 krb5-httpkadmind.conf \
401 check-delegation.in \
406 check-httpkadmind.in \
425 k5login/mapped_user1 \
429 kdc-tester4.json.in \
431 krb5-authz2.conf.in \
434 krb5-canon2.conf.in \
436 krb5-hdb-mitdb.conf.in \
437 krb5-httpkadmind.conf.in \
438 krb5-pkinit.conf.in \