Date: Thu, 30 Jul 1998 11:54:36 -0500 (CDT) From: "Brent J. Nordquist" <bjn@visi.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/7447: New port: web500gw-2.1b2 Message-ID: <199807301654.LAA07867@isis.visi.com>
next in thread | raw e-mail | index | archive | help
>Number: 7447 >Category: ports >Synopsis: New port: web500gw-2.1b2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 10:10:01 PDT 1998 >Last-Modified: >Originator: Brent J. Nordquist >Organization: None >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: This is a port of web500gw, an HTTP<->LDAP gateway. I have it working for Apache; additions to the port Makefile to support other HTTP servers would be welcome! It would also be great if someone could confirm that the German support was installed properly (and works)--or better, teach me how to confirm it. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net/web500gw # net/web500gw/Makefile # net/web500gw/pkg # net/web500gw/pkg/COMMENT # net/web500gw/pkg/DESCR # net/web500gw/pkg/PLIST # net/web500gw/files # net/web500gw/files/md5 # net/web500gw/patches # net/web500gw/patches/patch-aa # echo c - net/web500gw mkdir -p net/web500gw > /dev/null 2>&1 echo x - net/web500gw/Makefile sed 's/^X//' >net/web500gw/Makefile << 'END-of-net/web500gw/Makefile' X# New ports collection makefile for: web500gw X# Version required: 2.1b2 X# Date created: 30 July 1998 X# Whom: Brent J. Nordquist <bjn@visi.com> X# X# $Id$ X# X XDISTNAME= web500gw-2.1b2 XEXTRACT_SUFX= .tgz XCATEGORIES= net XMASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/web500gw/ \ X http://www.tu-chemnitz.de/ftp-home/pub/Local/urz/web500gw/ X XMAINTAINER= bjn@visi.com X XBUILD_DEPENDS= ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap XMAKE_ENV+= PLATFORMCFLAGS="${CFLAGS} -DUSE_SYSCONF" \ X INSTDIR=${INSTDIR} \ X WEB500GWDIR=${WEB500GWDIR} \ X MANDIR=${MANPREFIX}/man/man8 \ X INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ X INSTALL_DATA="${INSTALL_DATA}" \ X INSTALL_MAN="${INSTALL_MAN}" XMAN8= web500gw.8 X XWEB500GWDIR= ${PREFIX}/etc/web500gw X X### X# Use these options for Apache: X### XINSTDIR= ${PREFIX}/www/cgi-bin X Xpost-install: X strip ${INSTDIR}/web500gw X X.include <bsd.port.mk> END-of-net/web500gw/Makefile echo c - net/web500gw/pkg mkdir -p net/web500gw/pkg > /dev/null 2>&1 echo x - net/web500gw/pkg/COMMENT sed 's/^X//' >net/web500gw/pkg/COMMENT << 'END-of-net/web500gw/pkg/COMMENT' XHTTP gateway to LDAP-based directories. END-of-net/web500gw/pkg/COMMENT echo x - net/web500gw/pkg/DESCR sed 's/^X//' >net/web500gw/pkg/DESCR << 'END-of-net/web500gw/pkg/DESCR' XThis is an HTTP-to-LDAP gateway: X X -------- ----------------- -------- ( -------- X| WWW | | WWWeb to | LDAP | | LDAP |( | X.500 | X|Browser |<- HTTP ->| LDAP g/w | API |<- LDAP ->| server |(- DAP ->| server | X|________| |__________|______| |________|( |________| X web500gw ldapd ( X XCheck online documentation at: http://www.tu-chemnitz.de/web500gw/ X XAuthor: Frank.Richter@hrz.tu-chemnitz.de X XPort to FreeBSD by XBrent J. Nordquist <bjn@visi.com> XThu Jul 30 1998 END-of-net/web500gw/pkg/DESCR echo x - net/web500gw/pkg/PLIST sed 's/^X//' >net/web500gw/pkg/PLIST << 'END-of-net/web500gw/pkg/PLIST' Xetc/web500gw/ldapfriendly Xetc/web500gw/ldapfriendly.de Xetc/web500gw/sample.ldapfilter.conf Xetc/web500gw/sample.ldaptemplates.conf Xetc/web500gw/sample.web500gw.conf Xetc/web500gw/web500gw.attr Xetc/web500gw/web500gw.attr.de Xetc/web500gw/web500gw.help Xetc/web500gw/web500gw.help.de Xetc/web500gw/web500gw.messages Xetc/web500gw/web500gw.messages.de Xman/man8/web500gw.8.gz Xwww/cgi-bin/web500gw END-of-net/web500gw/pkg/PLIST echo c - net/web500gw/files mkdir -p net/web500gw/files > /dev/null 2>&1 echo x - net/web500gw/files/md5 sed 's/^X//' >net/web500gw/files/md5 << 'END-of-net/web500gw/files/md5' XMD5 (web500gw-2.1b2.tgz) = 813eeac9eeaeb44b81a278dc407c877f END-of-net/web500gw/files/md5 echo c - net/web500gw/patches mkdir -p net/web500gw/patches > /dev/null 2>&1 echo x - net/web500gw/patches/patch-aa sed 's/^X//' >net/web500gw/patches/patch-aa << 'END-of-net/web500gw/patches/patch-aa' X--- Makefile.orig Fri Mar 13 08:12:44 1998 X+++ Makefile Thu Jul 30 06:40:39 1998 X@@ -3,14 +3,14 @@ X #----------------------------------------------------------------------------- X X # Where to install web500gw X-INSTDIR = /usr/local/etc X+#INSTDIR = /usr/local/www/cgi-bin X X # Where to install the manual web500gw.8 X-MANDIR = /usr/local/man/man8 X+#MANDIR = /usr/local/man/man8 X X # ... and web500gw' config/help/message files X # It's recommended to use an own directory for it. X-WEB500GWDIR = $(INSTDIR)/web500 X+#WEB500GWDIR = /usr/local/etc/web500gw X X # What language dependent files should be installed? X # "" stands for english (default) versions X@@ -34,8 +34,9 @@ X ## If you use U-Mich LDAP 3.3 package (recommended) X # If the LDAP include files and libraries installed in standard places X # (/usr/lib, /usr/include) use this: X-LDAPINCL = X-LDAPLIBS = -lldap -llber X+LDAPDIR = /usr/local X+LDAPINCL = -I$(LDAPDIR)/include X+LDAPLIBS = -L$(LDAPDIR)/lib -lldap -llber X # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc) X LDAPVERSION = 33 X VERSION = 3.3 X@@ -51,7 +52,7 @@ X X # T.61 <-> ISO-8859-1 translation: This is built in from LDAP 3.2. X # If you didn't define this translation there comment out the following line: X-STR_TRANSLATION = -DSTR_TRANSLATION X+#STR_TRANSLATION = -DSTR_TRANSLATION X # If you defined LDAP_DEBUG there and want to enable LDAP debugging X # uncomment the following line: X LDAP_DEBUG = -DLDAP_DEBUG X@@ -69,7 +70,7 @@ X X # platform specific: X # Linux X-PLATFORMCFLAGS= -Dlinux -DSYSV X+#PLATFORMCFLAGS= -Dlinux -DSYSV X # Solaris 2 X # PLATFORMCFLAGS= -Dsunos5 X # PLATFORMLDFLAGS= -lsocket -lnsl X@@ -92,7 +93,7 @@ X # when using gcc: X CC = gcc X # WARN = -Wall -Wno-implicit X-CFLAGS = -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings X+CFLAGS = $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings X #CFLAGS = -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings X X # or cc: X@@ -105,7 +106,7 @@ X # ALDFLAGS are always passed to ld X ALDFLAGS = $(PLATFORMLDFLAGS) X X-INSTALL = util/install.sh X+#INSTALL = util/install.sh X MKDIR = mkdir X # LIBEFENCE = -lefence X X@@ -149,30 +150,30 @@ X $(INSTDIR)/web500gw: web500gw X @echo "" X @echo "Installing web500gw to $(INSTDIR)" X- $(INSTALL) $(INSTALLFLAGS) -m 755 web500gw $(INSTDIR) X+ $(INSTALL_PROGRAM) web500gw $(INSTDIR) X @echo "... done!" X X install-etc:; X @echo "" X @if [ ! -d $(WEB500GWDIR) ]; then $(MKDIR) -p $(WEB500GWDIR); fi X @echo "Installing web500gw config/help/message files to $(WEB500GWDIR)" X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.conf $(WEB500GWDIR) X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf $(WEB500GWDIR) X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf $(WEB500GWDIR) X+ $(INSTALL_DATA) etc/web500gw.conf $(WEB500GWDIR)/sample.web500gw.conf X+ $(INSTALL_DATA) etc/ldapfilter.conf $(WEB500GWDIR)/sample.ldapfilter.conf X+ $(INSTALL_DATA) etc/ldaptemplates.conf $(WEB500GWDIR)/sample.ldaptemplates.conf X @for i in $(SUFFIX); do \ X if [ "x$$i" = "x" ]; then echo " english"; SUFF="";\ X else echo " $$i"; SUFF=".$$i"; fi; \ X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.help$$SUFF $(WEB500GWDIR); \ X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.messages$$SUFF $(WEB500GWDIR); \ X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.attr$$SUFF $(WEB500GWDIR); \ X- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfriendly$$SUFF $(WEB500GWDIR); \ X+ $(INSTALL_DATA) etc/web500gw.help$$SUFF $(WEB500GWDIR); \ X+ $(INSTALL_DATA) etc/web500gw.messages$$SUFF $(WEB500GWDIR); \ X+ $(INSTALL_DATA) etc/web500gw.attr$$SUFF $(WEB500GWDIR); \ X+ $(INSTALL_DATA) etc/ldapfriendly$$SUFF $(WEB500GWDIR); \ X done; X @echo "... done!" X X install-man:; X @echo "" X @echo "Installing web500gw.8 to $(MANDIR)" X- $(INSTALL) $(INSTALLFLAGS) -m 644 doc/web500gw.8 $(MANDIR) X+ $(INSTALL_MAN) doc/web500gw.8 $(MANDIR) X @echo "... done!" X X lint:; END-of-net/web500gw/patches/patch-aa exit >Audit-Trail: >Unformatted: X-send-pr-version: 3.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301654.LAA07867>