From 1e6c6dc729045199ebb2b5f2bf86be88bffc4b66 Mon Sep 17 00:00:00 2001 From: jarod Date: Tue, 1 Nov 2005 20:43:08 +0000 Subject: [PATCH] "Hard-coded paths made more generic. These will soon be configurable with configure and a config file." git-svn-id: https://modwaklog.svn.sourceforge.net/svnroot/modwaklog/trunk/modwaklog@31 0d961d1b-a432-0410-8fea-cc29f225fe07 --- Makefile | 4 ++-- VERSION | 2 +- mod_waklog.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9eb0d80..f51cf92 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,11 @@ ALL= mod_waklog.so APXS= apxs CC= gcc -INC= -I/afs/umich.edu/group/itd/software/packages/k/kerberos-5/current/i386_linux24/dest/usr/krb5/include \ +INC= -I/path/to/krb5/include \ -I/usr/local/openafs/include \ -I/usr/local/apache/include -LIB= -L/afs/umich.edu/group/itd/software/packages/k/kerberos-5/current/i386_linux24/dest/usr/krb5/lib \ +LIB= -L/path/to/usr/krb5/lib \ -lkrb4 -lkrb5 -lk5crypto -lcom_err \ -L/usr/lib/afs -lsys -lrx -llwp -lauth -lresolv diff --git a/VERSION b/VERSION index aa1c7e8..0d71392 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -20040921 +20051031 diff --git a/mod_waklog.c b/mod_waklog.c index 468aca3..65fb9fa 100644 --- a/mod_waklog.c +++ b/mod_waklog.c @@ -16,8 +16,8 @@ #include #include -#define KEYTAB "/home/drh/keytab.itdwww" -#define KEYTAB_PRINCIPAL "itdwww" +#define KEYTAB "/path/to/keytab.www" +#define KEYTAB_PRINCIPAL "principalwww" #define TKT_LIFE 10*60*60 #define SLEEP_TIME TKT_LIFE - 5*60 -- 2.20.1