aboutsummaryrefslogtreecommitdiffstats
path: root/www/web500gw
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1998-08-01 02:47:37 +0800
committernectar <nectar@FreeBSD.org>1998-08-01 02:47:37 +0800
commit8393a322fe5d83187143cd7363776f51bdf73a70 (patch)
tree102670fdd447f48e987468a6cfe1a88b5534fe22 /www/web500gw
parentdf53d3958a897e724d7b542f08242778794dbc29 (diff)
downloadfreebsd-ports-gnome-8393a322fe5d83187143cd7363776f51bdf73a70.tar.gz
freebsd-ports-gnome-8393a322fe5d83187143cd7363776f51bdf73a70.tar.zst
freebsd-ports-gnome-8393a322fe5d83187143cd7363776f51bdf73a70.zip
HTTP gateway to LDAP-based directories.
PR: ports/7447 Submitted by: Brent J. Nordquist <bjn@visi.com>
Diffstat (limited to 'www/web500gw')
-rw-r--r--www/web500gw/Makefile36
-rw-r--r--www/web500gw/distinfo1
-rw-r--r--www/web500gw/files/patch-aa108
-rw-r--r--www/web500gw/pkg-comment1
-rw-r--r--www/web500gw/pkg-descr15
-rw-r--r--www/web500gw/pkg-plist13
6 files changed, 174 insertions, 0 deletions
diff --git a/www/web500gw/Makefile b/www/web500gw/Makefile
new file mode 100644
index 000000000000..1bea4d8d89ce
--- /dev/null
+++ b/www/web500gw/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: web500gw
+# Version required: 2.1b2
+# Date created: 30 July 1998
+# Whom: Brent J. Nordquist <bjn@visi.com>
+#
+# $Id$
+#
+
+DISTNAME= web500gw-2.1b2
+CATEGORIES= www net
+MASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/web500gw/ \
+ http://www.tu-chemnitz.de/ftp-home/pub/Local/urz/web500gw/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= bjn@visi.com
+
+BUILD_DEPENDS= ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap
+RUN_DEPENDS= ${INSTDIR}:${PORTSDIR}/www/apache12
+
+INSTDIR= ${PREFIX}/www/cgi-bin
+
+MAKE_ENV+= PLATFORMCFLAGS="${CFLAGS} -DUSE_SYSCONF" \
+ INSTDIR=${INSTDIR} \
+ WEB500GWDIR=${WEB500GWDIR} \
+ MANDIR=${MANPREFIX}/man/man8 \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_MAN="${INSTALL_MAN}"
+MAN8= web500gw.8
+
+WEB500GWDIR= ${PREFIX}/etc/web500gw
+
+post-install:
+ strip ${INSTDIR}/web500gw
+
+.include <bsd.port.mk>
diff --git a/www/web500gw/distinfo b/www/web500gw/distinfo
new file mode 100644
index 000000000000..4e6c0c226bf9
--- /dev/null
+++ b/www/web500gw/distinfo
@@ -0,0 +1 @@
+MD5 (web500gw-2.1b2.tgz) = 813eeac9eeaeb44b81a278dc407c877f
diff --git a/www/web500gw/files/patch-aa b/www/web500gw/files/patch-aa
new file mode 100644
index 000000000000..d15d0fdb87f1
--- /dev/null
+++ b/www/web500gw/files/patch-aa
@@ -0,0 +1,108 @@
+--- Makefile.orig Fri Mar 13 08:12:44 1998
++++ Makefile Thu Jul 30 06:40:39 1998
+@@ -3,14 +3,14 @@
+ #-----------------------------------------------------------------------------
+
+ # Where to install web500gw
+-INSTDIR = /usr/local/etc
++#INSTDIR = /usr/local/www/cgi-bin
+
+ # Where to install the manual web500gw.8
+-MANDIR = /usr/local/man/man8
++#MANDIR = /usr/local/man/man8
+
+ # ... and web500gw' config/help/message files
+ # It's recommended to use an own directory for it.
+-WEB500GWDIR = $(INSTDIR)/web500
++#WEB500GWDIR = /usr/local/etc/web500gw
+
+ # What language dependent files should be installed?
+ # "" stands for english (default) versions
+@@ -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
+@@ -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
+@@ -92,7 +93,7 @@
+ # when using gcc:
+ CC = gcc
+ # 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
+
+ # or cc:
+@@ -105,7 +106,7 @@
+ # ALDFLAGS are always passed to ld
+ ALDFLAGS = $(PLATFORMLDFLAGS)
+
+-INSTALL = util/install.sh
++#INSTALL = util/install.sh
+ MKDIR = mkdir
+ # LIBEFENCE = -lefence
+
+@@ -149,30 +150,30 @@
+ $(INSTDIR)/web500gw: web500gw
+ @echo ""
+ @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/help/message files to $(WEB500GWDIR)"
+- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.conf $(WEB500GWDIR)
+- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf $(WEB500GWDIR)
+- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf $(WEB500GWDIR)
++ $(INSTALL_DATA) etc/web500gw.conf $(WEB500GWDIR)/sample.web500gw.conf
++ $(INSTALL_DATA) etc/ldapfilter.conf $(WEB500GWDIR)/sample.ldapfilter.conf
++ $(INSTALL_DATA) etc/ldaptemplates.conf $(WEB500GWDIR)/sample.ldaptemplates.conf
+ @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:;
diff --git a/www/web500gw/pkg-comment b/www/web500gw/pkg-comment
new file mode 100644
index 000000000000..e10b0e387e76
--- /dev/null
+++ b/www/web500gw/pkg-comment
@@ -0,0 +1 @@
+HTTP gateway to LDAP-based directories.
diff --git a/www/web500gw/pkg-descr b/www/web500gw/pkg-descr
new file mode 100644
index 000000000000..a9e157d39544
--- /dev/null
+++ b/www/web500gw/pkg-descr
@@ -0,0 +1,15 @@
+This is an HTTP-to-LDAP gateway:
+
+ -------- ----------------- -------- ( --------
+| WWW | | WWWeb to | LDAP | | LDAP |( | X.500 |
+|Browser |<- HTTP ->| LDAP g/w | API |<- LDAP ->| server |(- DAP ->| server |
+|________| |__________|______| |________|( |________|
+ web500gw ldapd (
+
+Check online documentation at: http://www.tu-chemnitz.de/web500gw/
+
+Author: Frank.Richter@hrz.tu-chemnitz.de
+
+Port to FreeBSD by
+Brent J. Nordquist <bjn@visi.com>
+Thu Jul 30 1998
diff --git a/www/web500gw/pkg-plist b/www/web500gw/pkg-plist
new file mode 100644
index 000000000000..7805e609b157
--- /dev/null
+++ b/www/web500gw/pkg-plist
@@ -0,0 +1,13 @@
+etc/web500gw/ldapfriendly
+etc/web500gw/ldapfriendly.de
+etc/web500gw/sample.ldapfilter.conf
+etc/web500gw/sample.ldaptemplates.conf
+etc/web500gw/sample.web500gw.conf
+etc/web500gw/web500gw.attr
+etc/web500gw/web500gw.attr.de
+etc/web500gw/web500gw.help
+etc/web500gw/web500gw.help.de
+etc/web500gw/web500gw.messages
+etc/web500gw/web500gw.messages.de
+man/man8/web500gw.8.gz
+www/cgi-bin/web500gw