head	1.4;
access;
symbols
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	web500gw_2_1b2:1.1.1.1
	NORDQUIST:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2004.04.19.00.55.12;	author eik;	state dead;
branches;
next	1.3;

1.3
date	99.09.21.22.37.12;	author nectar;	state Exp;
branches;
next	1.2;

1.2
date	98.08.24.01.26.32;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	98.07.31.18.47.37;	author nectar;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.07.31.18.47.37;	author nectar;	state Exp;
branches;
next	;


desc
@@


1.4
log
@long overdue removal of OpenLDAP 1.2 and dependent ports
@
text
@--- Makefile.orig	Wed Aug  4 13:44:08 1999
+++ Makefile	Wed Aug  4 14:40:54 1999
@@@@ -3,18 +3,19 @@@@
 #-----------------------------------------------------------------------------
 
 # Where to install web500gw
-INSTDIR = /usr/local/etc
+#INSTDIR = /usr/local/etc
 
 # Where to install the manual web500gw.8
-MANDIR	= /usr/local/man/man8
+#MANDIR	= /usr/local/man/man8
 
 # Where to install web500gw's config/filter/template/help/message files
 # It's recommended to use an own directory for it.
-WEB500GWDIR	= $(INSTDIR)/web500
+#WEB500GWDIR	= $(INSTDIR)/web500
 
 # What language dependent files should be installed? 
 # "" stands for english (default) versions
-SUFFIX = "" de es fr
+SUFFIX = "" de 
+# es fr
 
 
 # DEFINES - Enable/disable some features
@@@@ -51,7 +52,7 @@@@
 
 # T.61 <-> ISO-8859-1 translation: This is built in from LDAP 3.2.
 # If you didn't define this translation there comment out the following line:
-STR_TRANSLATION = -DSTR_TRANSLATION
+#STR_TRANSLATION = -DSTR_TRANSLATION
 # If you defined LDAP_DEBUG there and want to enable LDAP debugging
 # uncomment the following line:
 LDAP_DEBUG = -DLDAP_DEBUG
@@@@ -69,7 +70,7 @@@@
 
 # platform specific:
 # Linux
-PLATFORMCFLAGS= -Dlinux -DSYSV 
+# PLATFORMCFLAGS= -Dlinux -DSYSV 
 # Solaris 2
 # PLATFORMCFLAGS= -Dsunos5
 # PLATFORMLDFLAGS= -lsocket -lnsl
@@@@ -82,8 +83,8 @@@@
 # AIX
 # PLATFORMCFLAGS= -Daix
 # NetBSD:
-#PLATFORMCFLAGS=
-#PLATFORMLDFLAGS= -lcompat
+# PLATFORMCFLAGS=
+# PLATFORMLDFLAGS= -lcompat
 # OSF/1
 #PLATFORMCFLAGS= -Dosf -DSYSV
 #PLATFORMLDFLAGS=
@@@@ -99,8 +100,8 @@@@
 # when using gcc:
 CC	= gcc 
 #WARN = -Wall -Wno-implicit
-#CFLAGS	= -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
-CFLAGS	= -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
+CFLAGS	= -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
+#CFLAGS	= -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
 
 # or cc:
 #CC	= cc
@@@@ -110,9 +111,9 @@@@
 
 ################ end of configuration area ###############
 # ALDFLAGS are always passed to ld
-ALDFLAGS        = $(PLATFORMLDFLAGS)
+ALDFLAGS        = ${LDFLAGS} $(PLATFORMLDFLAGS)
 
-INSTALL = util/install.sh
+#INSTALL = util/install.sh
 MKDIR   = mkdir
 # LIBEFENCE = -lefence
 
@@@@ -138,7 +139,7 @@@@
 #web500gw.o:  messages.h web500gw.h
 
 web500gw:	Makefile $(OBJS)
-	$(CC) $(ALDFLAGS) -o $@@ $(OBJS)  $(LIBS)
+	$(CC) $(ALDFLAGS) -o $@@ $(OBJS)  $(LIBS) -lgnuregex
 
 #$(CC) $(ALDFLAGS) -o $@@ $(OBJS) -R/usr/local/ic/usr/lib -L/usr/local/ic/usr/lib -lldap -llber -lisode
 
@@@@ -160,34 +161,34 @@@@
 	@@echo ""
 	@@if [ ! -d $(INSTDIR) ]; then $(MKDIR) -p $(INSTDIR); fi
 	@@echo "Installing web500gw to $(INSTDIR)"
-	$(INSTALL) $(INSTALLFLAGS) -m 755 web500gw $(INSTDIR)
+	$(INSTALL_PROGRAM) web500gw $(INSTDIR)
 	@@echo "... done!"
 
 install-etc:;
 	@@echo ""
 	@@if [ ! -d $(WEB500GWDIR) ]; then $(MKDIR) -p $(WEB500GWDIR); fi
 	@@echo "Installing web500gw config/template/filter files to $(WEB500GWDIR)"
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.conf $(WEB500GWDIR)
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf $(WEB500GWDIR)
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf.internal $(WEB500GWDIR)
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf $(WEB500GWDIR)
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf.internal $(WEB500GWDIR)
+	$(INSTALL_DATA) etc/web500gw.conf $(WEB500GWDIR)/sample.web500gw.conf
+	$(INSTALL_DATA) etc/ldapfilter.conf $(WEB500GWDIR)/sample.ldapfilter.conf
+	$(INSTALL_DATA) etc/ldapfilter.conf.internal $(WEB500GWDIR)/sample.ldapfilter.conf.internal
+	$(INSTALL_DATA) etc/ldaptemplates.conf $(WEB500GWDIR)/sample.ldaptemplates.conf
+	$(INSTALL_DATA) etc/ldaptemplates.conf.internal $(WEB500GWDIR)/sample.ldaptemplates.conf.internal
 	@@echo ""
 	@@echo "Installing web500gw help/message/friendly files to $(WEB500GWDIR)"
 	@@for i in $(SUFFIX); do \
 	if [ "x$$i" = "x" ]; then echo " english"; SUFF="";\
 	else echo " $$i"; SUFF=".$$i"; fi; \
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.help$$SUFF $(WEB500GWDIR); \
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.messages$$SUFF $(WEB500GWDIR); \
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.attr$$SUFF $(WEB500GWDIR); \
-	$(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfriendly$$SUFF $(WEB500GWDIR); \
+	$(INSTALL_DATA) etc/web500gw.help$$SUFF $(WEB500GWDIR); \
+	$(INSTALL_DATA) etc/web500gw.messages$$SUFF $(WEB500GWDIR); \
+	$(INSTALL_DATA) etc/web500gw.attr$$SUFF $(WEB500GWDIR); \
+	$(INSTALL_DATA) etc/ldapfriendly$$SUFF $(WEB500GWDIR); \
 	done;
 	@@echo "... done!"
 
 install-man:;
 	@@echo ""
 	@@echo "Installing web500gw.8 to $(MANDIR)"
-	$(INSTALL) $(INSTALLFLAGS) -m 644 doc/web500gw.8 $(MANDIR)
+	$(INSTALL_MAN) doc/web500gw.8 $(MANDIR)
 	@@echo "... done!"
 
 lint:;
@


1.3
log
@Update 2.1b2 -> 2.1b3 and unbreak.  Point MAINTAINER to Karl Dietz
<karl.dietz@@triplan.com>.

PR:		ports/12999, ports/13654
Submitted by:	Karl Dietz <karl.dietz@@triplan.com>
@
text
@@


1.2
log
@Allow this to run standalone or from inetd.

PR:		7663
Submitted by:	maintainer
@
text
@d1 3
a3 3
--- Makefile.orig	Fri Mar 13 08:12:44 1998
+++ Makefile	Tue Aug 18 12:18:18 1998
@@@@ -3,14 +3,14 @@@@
d8 1
a8 1
+#INSTDIR = /usr/local/bin
d14 1
a14 1
 # ... and web500gw' config/help/message files
d17 1
a17 1
+#WEB500GWDIR	= /usr/local/etc/web500gw
d21 6
a26 12
@@@@ -34,8 +34,9 @@@@
 ## If you use U-Mich LDAP 3.3 package (recommended)
 # If the LDAP include files and libraries installed in standard places 
 # (/usr/lib, /usr/include) use this:
-LDAPINCL = 
-LDAPLIBS = -lldap -llber
+LDAPDIR = /usr/local
+LDAPINCL  = -I$(LDAPDIR)/include
+LDAPLIBS = -L$(LDAPDIR)/lib -lldap -llber
 # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc)
 LDAPVERSION = 33
 VERSION = 3.3
d41 1
a41 1
+#PLATFORMCFLAGS= -Dlinux -DSYSV 
d45 12
a56 1
@@@@ -92,7 +93,7 @@@@
d59 5
a63 4
 # WARN = -Wall -Wno-implicit
-CFLAGS	= -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
+CFLAGS	= $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
 #CFLAGS	= -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
d66 4
a69 1
@@@@ -105,7 +106,7 @@@@
d71 2
a72 1
 ALDFLAGS        = $(PLATFORMLDFLAGS)
d79 10
a88 2
@@@@ -149,30 +150,30 @@@@
 $(INSTDIR)/web500gw:	web500gw
d90 1
d99 1
a99 1
 	@@echo "Installing web500gw config/help/message files to $(WEB500GWDIR)"
d102 1
d104 1
d107 1
d109 3
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
+++ Makefile	Thu Jul 30 06:40:39 1998
d8 1
a8 1
+#INSTDIR = /usr/local/www/cgi-bin
@


1.1.1.1
log
@HTTP gateway to LDAP-based directories.
PR:		ports/7447
Submitted by:	Brent J. Nordquist <bjn@@visi.com>
@
text
@@
