root/trunk/fink/main/finkinfo/macathena-moira.patch
Revision 191, 4.8 kB (checked in by broder, 14 years ago) |
---|
-
configure.in
old new 142 142 $LIBPATH -ldes)], 143 143 $LIBPATH -ldes425 -lkrb5 -l${crypto} -lcom_err -lresolv) 144 144 fi 145 if test "$KRB4_LIBS" != "" ; then 146 AC_CANONICAL_TARGET 147 case "$target_os" in 148 darwin*) KRB4_LIBS="$KRB4_LIBS -framework Kerberos" 149 esac 150 fi 145 151 146 152 AC_MSG_CHECKING(for Kerberos 5) 147 153 AC_ARG_WITH(krb5, … … 163 169 REG_SVR_DEFS=-DKRB4 164 170 REG_SVR_LIBS=-lkadm 165 171 fi 172 if test "$KRB5_LIBS" != "" ; then 173 AC_CANONICAL_TARGET 174 case "$target_os" in 175 darwin*) KRB5_LIBS="$KRB5_LIBS -framework Kerberos" 176 esac 177 fi 166 178 AC_SUBST(REG_SVR_DEFS) 167 179 AC_SUBST(REG_SVR_INCLUDES) 168 180 AC_SUBST(REG_SVR_LIBS) -
clients/mrtest/mrtest.c
old new 97 97 } 98 98 } 99 99 100 #if defined(__APPLE__) && defined(__MACH__) 101 add_error_table(&et_sms_error_table); 102 add_error_table(&et_krb_error_table); 103 #else 100 104 initialize_sms_error_table(); 101 105 initialize_krb_error_table(); 106 #endif 102 107 103 108 #ifdef HAVE_READLINE 104 109 /* we don't want filename completion */ -
lib/mr_init.c
old new 20 20 if (mr_inited) 21 21 return; 22 22 23 #if defined(__APPLE__) && defined(__MACH__) 24 add_error_table(&et_sms_error_table); 25 add_error_table(&et_krb_error_table); 26 add_error_table(&et_ureg_error_table); 27 #else 23 28 initialize_sms_error_table(); 24 29 initialize_krb_error_table(); 25 30 initialize_ureg_error_table(); 31 #endif 32 26 33 mr_inited = 1; 27 34 } -
include/Makefile.in
old new 7 7 SRCTOP=@top_srcdir@ 8 8 BUILDTOP=../.. 9 9 10 prefix=@prefix@ 11 includedir=@includedir@ 12 INSTALL=@INSTALL@ 13 10 14 all: 11 15 12 16 clean: … … 17 21 depend: 18 22 19 23 install: 24 $(SRCTOP)/mkinstalldirs $(DESTDIR)$(includedir)/moira 25 $(INSTALL) moira.h $(DESTDIR)$(includedir)/moira -
lib/Makefile.in
old new 25 25 prefix=@prefix@ 26 26 exec_prefix=@exec_prefix@ 27 27 libdir=@libdir@ 28 includedir=@includedir@ 28 29 29 30 OBJS= critical.lo fixhost.lo fixname.lo \ 30 31 hash.lo kname_unparse.lo kname_parse.lo krb_et.lo mr_access.lo mr_auth.lo \ … … 54 55 55 56 install: all 56 57 $(LIBTOOL) --mode=install $(INSTALL) libmoira.la $(DESTDIR)$(libdir)/libmoira.la 58 $(SRCTOP)/mkinstalldirs $(DESTDIR)$(includedir)/moira 59 $(INSTALL) mr_et.h krb_et.h ureg_err.h $(DESTDIR)$(includedir)/moira 57 60 58 61 libmoira.la: $(OBJS) 59 62 $(LIBTOOL) --mode=link $(CC) $(ALL_LDFLAGS) -o $@ $(OBJS) -rpath $(libdir) -version-info 0:0:0 -
update/Makefile.in
old new 4 4 @SET_MAKE@ 5 5 6 6 CC=@CC@ 7 CPPFLAGS=@CPPFLAGS@ 7 CPPFLAGS=@CPPFLAGS@ -DCONFIG_FILE=\"$(sysconfdir)/athena/moira.conf\" 8 8 CFLAGS=@CFLAGS@ 9 9 DEFS=@DEFS@ 10 10 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) … … 50 50 install: all 51 51 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir) 52 52 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir) 53 $(SRCTOP)/mkinstalldirs $(DESTDIR) /etc/athena54 $(INSTALL) -m 644 moira.conf $(DESTDIR) /etc/athena/moira.conf53 $(SRCTOP)/mkinstalldirs $(DESTDIR)$(sysconfdir)/athena 54 $(INSTALL) -m 644 moira.conf $(DESTDIR)$(sysconfdir)/athena/moira.conf 55 55 56 56 update_test: $(COBJS) $(MR_LIBDEP) 57 57 $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS) -
update/config.c
old new 26 26 27 27 RCSID("$Header: /afs/.athena.mit.edu/astaff/project/moiradev/repository/moira/update/config.c,v 1.7 1998-02-15 17:49:27 danw Exp $"); 28 28 29 #define CONFIG_FILE "/etc/athena/moira.conf"30 31 29 /* Variables currently supported: 32 30 * chroot directory daemon will run chrooted to this directory 33 31 * user username daemon will run with this user's uid -
configure.in
old new 461 461 MR_INCLUDE('$(BUILDTOP)/lib') 462 462 MR_INCLUDE('$(BUILDTOP)/db') 463 463 MR_INCLUDE('$(srcdir)') 464 LDFLAGS="$LDFLAGS -L\$(BUILDTOP)/lib$LIBPATH"464 LDFLAGS="$LDFLAGS $LIBPATH" 465 465 KLIBS="$KRB4_LIBS $KRB5_LIBS -lcom_err $LIBS" 466 466 KLIBS="$LIBS" 467 467 if test "$hesiod" != no; then
Note: See TracBrowser for help on using the browser.