+Mon Mar 18 21:46:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use the run flags.
+
Sun Mar 17 20:55:41 1996 Ezra Peisach <epeisach@dumpster.rose.brandeis.edu>
* configure.in: Change WITH_KDB_DB to USE_KDB5_LIBRARIES and add
CFLAGS = $(CCOPTS) $(DEFS)
+KRB5_RUN_ENV = @KRB5_RUN_ENV@
all:: $(OBJS)
$(LD) $(LDFLAGS) $(LDARGS) -o t_kdb t_kdb.o $(LIBS)
check:: t_kdb
- LD_LIBRARY_PATH=$(TOPLIBD) ; export LD_LIBRARY_PATH ; ./t_kdb
+ $(KRB5_RUN_ENV) ./t_kdb
clean::
$(RM) t_kdb t_kdb.o
AC_PROG_INSTALL
AC_HAVE_HEADERS(unistd.h)
AC_CHECK_FUNCS(srand48 srand srandom umask)
+KRB5_RUN_FLAGS
V5_USE_SHARED_LIB
USE_KDB5_LIBRARY
KRB5_LIBRARIES
+Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use runtime flags.
+
Sun Mar 17 20:32:08 1996 Ezra Peisach <epeisach@dumpster.rose.brandeis.edu>
- * configure.in: Add USE_ANAME, USE_KRB5_LIBRAR, KRB5_LIBRARIES so
+ * configure.in: Add USE_ANAME, USE_KRB5_LIBRARY, KRB5_LIBRARIES so
that Makefile does not have to know build tree layout.
* Makefile.in: Rework to be consistant with configure defines so
CFLAGS = $(CCOPTS) $(DEFS)
+RUN_SETUP = @KRB5_RUN_ENV@
##DOSBUILDTOP = ..\..\..
##DOSLIBNAME=..\krb5.lib
check-unix:: $(TEST_PROGS)
KRB5_CONFIG=$(srcdir)/t_krb5.conf ; export KRB5_CONFIG ;\
- ./t_kerb 425_conv_principal rcmd e40-po ATHENA.MIT.EDU \
+ $(RUN_SETUP) ./t_kerb 425_conv_principal rcmd e40-po ATHENA.MIT.EDU \
425_conv_principal rcmd mit ATHENA.MIT.EDU \
425_conv_principal rcmd lithium ATHENA.MIT.EDU \
425_conv_principal rcmd tweedledumb CYGNUS.COM \
> test.out
cmp test.out $(srcdir)/t_ref_kerb.out
$(RM) test.out
- ./t_ser
+ $(RUN_SETUP) ./t_ser
check-mac:: $(TEST_PROGS)
AC_HEADER_STDARG
V5_SHARED_LIB_OBJS
AC_HAVE_FUNCS(strftime strptime)
+KRB5_RUN_FLAGS
SubdirLibraryRule([$(OBJS)])
USE_ANAME
USE_KDB5_LIBRARY
+Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use runtime flags.
+
Mon Mar 18 17:30:54 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* sn2princ.c (krb5_sname_to_principal): Add casting to avoid warnings.
CFLAGS = $(CCOPTS) $(DEFS)
+KRB5_RUN_ENV = @KRB5_RUN_ENV@
##DOSBUILDTOP = ..\..\..
##DOSLIBNAME=..\krb5.lib
check-unix:: $(TEST_PROGS)
KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
- ./t_std_conf -d -s NEW.DEFAULT.REALM -d \
+ $(KRB5_RUN_ENV) ./t_std_conf -d -s NEW.DEFAULT.REALM -d \
-k IGGY.ORG -k DEFAULT_REALM.TST \
-D DEFAULT_REALM.TST -r bad.idea -r itar.bad.idea \
-r really.BAD.IDEA. -r clipper.bad.idea -r KeYEsCrOW.BaD.IDea \
echo '[realms]' >> ./t_an.conf
echo 'r = {' >> ./t_an.conf
if test -r ../../../admin/aname/kdb5_anadd ; then \
- LD_LIBRARY_PATH=$(TOPLIBD) ; export LD_LIBRARY_PATH ; \
- ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
+ $(KRB5_RUN_ENV) ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
../../../admin/aname/kdb5_anadd -a -n ./t_an p/a/b/c@r pabc; \
echo 'auth_to_local = DB:./t_an' >> ./t_an.conf; \
fi
echo '}' >> ./t_an.conf
if test -r ../../../admin/aname/kdb5_anadd ; then \
KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
- ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
+ $(KRB5_RUN_ENV) ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
fi
KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
- ./t_an_to_ln rul/helpme/e@r ru/123/le@r
+ $(KRB5_RUN_ENV) ./t_an_to_ln rul/helpme/e@r ru/123/le@r
KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
- ./t_an_to_ln fred/r@r barney/r@r
+ $(KRB5_RUN_ENV) ./t_an_to_ln fred/r@r barney/r@r
rm ./t_an.*
clean::
USE_ANAME
V5_SHARED_LIB_OBJS
KRB5_LIBRARIES
+KRB5_RUN_FLAGS
SubdirLibraryRule([${OBJS}])
V5_AC_OUTPUT_MAKEFILE
+Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use runtime flags.
+
Wed Feb 28 00:35:58 1996 Theodore Y. Ts'o <tytso@dcl>
* configure.in: Build the gssapi tests directory
CFLAGS = $(CCOPTS)
+RUN_SETUP = @KRB5_RUN_ENV@
TEST_DB = ./testdb
TEST_REALM = FOO.TEST.REALM
kdb_check:
$(RM) $(TEST_DB)*
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/create/kdb5_create $(KADMIN_OPTS)
- LD_LIBRARY_PATH=$(TOPLIBD) ../tests/create/kdb5_mkdums $(KTEST_OPTS)
- LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS)
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump"
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump"
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)"
- LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS)
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump2"
+ $(RUN_SETUP) ../admin/create/kdb5_create $(KADMIN_OPTS)
+ $(RUN_SETUP) ../tests/create/kdb5_mkdums $(KTEST_OPTS)
+ $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS)
+ $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump"
+ $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump"
+ $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+ $(RUN_SETUP) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)"
+ $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS)
+ $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump2"
sort $(TEST_DB).dump > $(TEST_DB).sort
sort $(TEST_DB).dump2 > $(TEST_DB).sort2
cmp $(TEST_DB).sort $(TEST_DB).sort2
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db -old $(TEST_DB).odump $(TEST_DB)"
- LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS)
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump2"
+ $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+ $(RUN_SETUP) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db -old $(TEST_DB).odump $(TEST_DB)"
+ $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS)
+ $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump2"
sort $(TEST_DB).odump > $(TEST_DB).osort
sort $(TEST_DB).odump2 > $(TEST_DB).osort2
cmp $(TEST_DB).osort $(TEST_DB).osort2
- LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+ $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
$(RM) $(TEST_DB)*
+Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use runtime flags.
+
Sun Mar 3 13:05:57 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* krb5_decode_test.c (main): In krb5_enc_tkt_part (optionals NULL)
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
+RUN_SETUP = @KRB5_RUN_ENV@
COMERRLIB=$(TOPLIBD)/libcom_err.a
$(CC) -o trval $(CFLAGS) -DSTANDALONE $(srcdir)/trval.c
check:: krb5_decode_test krb5_encode_test
- LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_decode_test
+ $(RUN_SETUP) ./krb5_decode_test
$(RM) test.out
- LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_encode_test > test.out
+ $(RUN_SETUP) ./krb5_encode_test > test.out
cmp test.out $(srcdir)/reference_encode.out
- LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_encode_test -t > test.out
+ $(RUN_SETUP) ./krb5_encode_test -t > test.out
cmp test.out $(srcdir)/trval_reference.out
$(RM) test.out
AC_INIT(krb5_encode_test.c)
CONFIG_RULES
AC_PROG_INSTALL
+KRB5_RUN_FLAGS
KRB5_LIBRARIES
V5_AC_OUTPUT_MAKEFILE
AC_INIT(configure.in)
CONFIG_RULES
+KRB5_RUN_FLAGS
CONFIG_DIRS(resolve asn.1 create hammer verify gssapi dejagnu)
DO_SUBDIRS
V5_AC_OUTPUT_MAKEFILE
+Mon Mar 18 21:49:39 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add KRB5_RUN_FLAGS
+
+ * Makefile.in: Use runtime flags.
+
Wed Sep 13 13:57:40 1995 Theodore Y. Ts'o <tytso@dcl>
* resolve.c (main): Fix fencepost error; use argv[1] to test for a
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
+RUN_SETUP = @KRB5_RUN_ENV@
+
OBJS=resolve.o
SRCS=$(srcdir)/resolve.c
$(LD) $(LDFLAGS) $(LDARGS) -o resolve $(OBJS) $(LIBS)
check:: resolve
- LD_LIBRARY_PATH=$(TOPLIBD) ./resolve
+ $(RUN_SETUP) ./resolve
install::
AC_HEADER_STDC
AC_CHECK_FUNCS(strchr)
AC_CHECK_HEADERS(sys/param.h sys/socket.h)
+KRB5_RUN_FLAGS
KRB5_LIBRARIES
V5_AC_OUTPUT_MAKEFILE