From e871ad7f474ff009ce46cc7ac7339f21e5f6606d Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 30 Apr 1999 08:22:07 +0000 Subject: [PATCH] Add RFC931 and INTERNATIONAL installation variables --- contrib/whois++/INSTALL | 3 +++ contrib/whois++/Makefile | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/contrib/whois++/INSTALL b/contrib/whois++/INSTALL index b612369a9d..9d5d47bc61 100644 --- a/contrib/whois++/INSTALL +++ b/contrib/whois++/INSTALL @@ -38,6 +38,9 @@ INTERNATIONAL Define this is you have POSIX international support. constraint in a future release. Available under Ultrix but not SunOS. +RFC931 Define this if you wish to turn on rfc931 logging. + You must have log_tcp source available. + Once you have modified these variable you should be able to just type "make", if you are in the whois++ directory, or "make ldap-whois++" from the main LDAP directory. All going well there should be no problems so "make install", diff --git a/contrib/whois++/Makefile b/contrib/whois++/Makefile index a2f9b2eccc..d5e5af0536 100644 --- a/contrib/whois++/Makefile +++ b/contrib/whois++/Makefile @@ -19,10 +19,17 @@ FACILITY = LOG_LOCAL3 # #SYSLIBS = -li -lsyslog # +# If you want POSIX international support (format of dates), on ultrix +# +#INTERNATIONAL = -DINTERNATIONAL +# # If you want RFC931 logging you must have log_tcp source available # +#RFC931DEF = -DRFC931 +#RFC931SRC = /local/src/log_tcp/rfc931.c + SRCS = whois++.c command.c config.c describe.c help.c output.c template.c \ - util.c version.c # /local/src/log_tcp/rfc931.c + util.c version.c $(RFC931SRC) HDRS = whois++.h OBJS = ${SRCS:.c=.o} HOST = `hostname` @@ -36,7 +43,8 @@ DEFINES = -DETCDIR=\"$(ETCDIR)\" -DBUILD="\"$(USER)@$(HOST) on $(DATE)\"" \ -DCONFIG_DIRECTORY=\"$(CONFIG_DIRECTORY)\" -DMAIN \ -DHELP_DIRECTORY=\"$(HELP_DIRECTORY)\" -DREVISION="$(REVISION)" \ -DPROTOCOL="\"[FIRST DRAFT - 15 April 1993]\"" -DRELEASE=\"BETA\" \ - -DFACILITY=$(FACILITY) -DDEFAULT_LDAPHOST=\"$(LDAPHOST)\" # -DRFC931 + -DFACILITY=$(FACILITY) -DDEFAULT_LDAPHOST=\"$(LDAPHOST)\" \ + $(INTERNATIONAL) $(RFC931DEF) CFLAGS = -I$(LDAPSRC)/include -I/usr/local/include $(ACFLAGS) LIBS = -L$(LDAPSRC)/libraries/libldap -lldap -L$(LDAPSRC)/libraries/liblber \ -- 2.39.5