From owner-freebsd-ports Tue May 12 05:33:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24371 for freebsd-ports-outgoing; Tue, 12 May 1998 05:33:36 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24360 for ; Tue, 12 May 1998 05:33:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA29938; Tue, 12 May 1998 05:30:01 -0700 (PDT) Received: from angmar.mel.cybec.com.au (angmar.mel.cybec.com.au [203.103.154.62]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA23548 for ; Tue, 12 May 1998 05:25:09 -0700 (PDT) (envelope-from lodea@angmar.mel.cybec.com.au) Received: (from lodea@localhost) by angmar.mel.cybec.com.au (8.8.8/8.8.5) id WAA16459; Tue, 12 May 1998 22:33:35 +1000 (EST) Message-Id: <199805121233.WAA16459@angmar.mel.cybec.com.au> Date: Tue, 12 May 1998 22:33:35 +1000 (EST) From: lodea@angmar.mel.cybec.com.au Reply-To: lodea@angmar.mel.cybec.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6604: New port: web500gw, an HTTP - LDAP gateway Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6604 >Category: ports >Synopsis: New port: web500gw, an HTTP - LDAP gateway >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 12 05:30:01 PDT 1998 >Last-Modified: >Originator: Lachlan O'Dea >Organization: Cybec Pty Ltd >Release: FreeBSD 2.2.6-STABLE i386 >Environment: >Description: I've made a port of web500gw, which is a gateway that connects WWW browsers to LDAP directories. It requires the ldap-3.3 port to work. This is my first attempt at making a port. I've done my best to follow the handbook, so hopefully I've done a reasonable job of it. More info on web500gw is available from: http://www.tu-chemnitz.de/~fri/web500gw/ >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: # # web500gw # web500gw/Makefile # web500gw/pkg # web500gw/pkg/COMMENT # web500gw/pkg/DESCR # web500gw/pkg/PLIST # web500gw/patches # web500gw/patches/patch-ab # web500gw/patches/patch-aa # web500gw/files # web500gw/files/md5 # echo c - web500gw mkdir -p web500gw > /dev/null 2>&1 echo x - web500gw/Makefile sed 's/^X//' >web500gw/Makefile << 'END-of-web500gw/Makefile' X# New ports collection makefile for: web500gw X# Version required: 2.1b2 X# Date created: 12 May 1998 X# Whom: lod X# X# $Id$ X# X XDISTNAME= web500gw-2.1b2 XCATEGORIES= net XMASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/web500gw/ XEXTRACT_SUFX= .tgz X XMAINTAINER= ulmo@earthling.net X XBUILD_DEPENDS= ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/ldap \ X ${PREFIX}/include/ldap.h:${PORTSDIR}/net/ldap X Xpost-install: X strip ${PREFIX}/sbin/web500gw X XMAN8= web500gw.8 X X.include END-of-web500gw/Makefile echo c - web500gw/pkg mkdir -p web500gw/pkg > /dev/null 2>&1 echo x - web500gw/pkg/COMMENT sed 's/^X//' >web500gw/pkg/COMMENT << 'END-of-web500gw/pkg/COMMENT' XA WWW/HTTP to LDAP/X.500 gateway. END-of-web500gw/pkg/COMMENT echo x - web500gw/pkg/DESCR sed 's/^X//' >web500gw/pkg/DESCR << 'END-of-web500gw/pkg/DESCR' XFrom the web page: X XWeb500gw expects HTTP requests from a WWW browser on a TCP port (usually X8888). Depending on the requested URL web500gw performs Xread/search/modify/add requests to the Directory and sends HTML pages back Xto the browser. Web500gw uses the LDAPv2 protocol to talk to a Directory Xserver. It is able to work with a Standalone LDAP server (like UMich slapd Xor Netscape LDAP product) and with an LDAP Frontend to an X.500 Directory XSystem Agent. X XMore details are available at the web500gw web site: X Xhttp://www.tu-chemnitz.de/~fri/web500gw/ X XThis port only works with the University Of Michigan LDAP 3.3 Ximplementation. Other implementations are supported by web500gw, but you'll Xprobably have to make some changes to the Makefile to get it to work. X X- Lachlan O'Dea Xulmo@earthling.net END-of-web500gw/pkg/DESCR echo x - web500gw/pkg/PLIST sed 's/^X//' >web500gw/pkg/PLIST << 'END-of-web500gw/pkg/PLIST' Xsbin/web500gw Xman/man8/web500gw.8.gz Xetc/web500/web500gw.conf Xetc/web500/ldapfilter.conf Xetc/web500/ldaptemplates.conf Xetc/web500/ldapfriendly Xetc/web500/ldapfriendly.de Xetc/web500/web500gw.attr Xetc/web500/web500gw.attr.de Xetc/web500/web500gw.help Xetc/web500/web500gw.help.de Xetc/web500/web500gw.messages Xetc/web500/web500gw.messages.de END-of-web500gw/pkg/PLIST echo c - web500gw/patches mkdir -p web500gw/patches > /dev/null 2>&1 echo x - web500gw/patches/patch-ab sed 's/^X//' >web500gw/patches/patch-ab << 'END-of-web500gw/patches/patch-ab' X*** web500gw.h.orig Tue May 12 19:01:54 1998 X--- web500gw.h Tue May 12 19:03:49 1998 X*************** X*** 68,76 **** X #include X #endif /* USE_SYSCONF */ X X! /* #if defined (__NetBSD__) X #include X! #endif */ X X #include "messages.h" X extern char *msg[]; X--- 68,76 ---- X #include X #endif /* USE_SYSCONF */ X X! #if defined (BSD) X #include X! #endif X X #include "messages.h" X extern char *msg[]; END-of-web500gw/patches/patch-ab echo x - web500gw/patches/patch-aa sed 's/^X//' >web500gw/patches/patch-aa << 'END-of-web500gw/patches/patch-aa' X*** Makefile.orig Tue May 12 18:37:50 1998 X--- Makefile Tue May 12 20:24:50 1998 X*************** X*** 3,16 **** X #----------------------------------------------------------------------------- X X # Where to install web500gw X! INSTDIR = /usr/local/etc X X # Where to install the manual web500gw.8 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 X # What language dependent files should be installed? X # "" stands for english (default) versions X--- 3,16 ---- X #----------------------------------------------------------------------------- X X # Where to install web500gw X! INSTDIR = ${PREFIX}/sbin X X # Where to install the manual web500gw.8 X! MANDIR = ${PREFIX}/man/man8 X X # ... and web500gw' config/help/message files X # It's recommended to use an own directory for it. X! WEB500GWDIR = ${PREFIX}/etc/web500 X X # What language dependent files should be installed? X # "" stands for english (default) versions X*************** X*** 34,44 **** 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 # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc) X! LDAPVERSION = 33 X! VERSION = 3.3 X X # To use LDAP include files and libraries from the LDAP source directory X # use this: X--- 34,44 ---- 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 # set LDAPVERSION (32 for ldap-3.2, 33 for 3.3 etc) X! #LDAPVERSION = 33 X! #VERSION = 3.3 X X # To use LDAP include files and libraries from the LDAP source directory X # use this: X*************** X*** 49,60 **** X #LDAPVERSION = `sed -e 's/\.//' $(LDAPDIR)/build/version` X #VERSION = `cat $(LDAPDIR)/build/version` 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 # If you defined LDAP_DEBUG there and want to enable LDAP debugging X # uncomment the following line: X! LDAP_DEBUG = -DLDAP_DEBUG X X ################# X ## If you have LDAP from an ISODE Consortium Release X--- 49,66 ---- X #LDAPVERSION = `sed -e 's/\.//' $(LDAPDIR)/build/version` X #VERSION = `cat $(LDAPDIR)/build/version` X X+ # To use the U-Mich LDAP 3.3 include files from BSD PREFIX X+ LDAPINCL = -I${PREFIX}/include X+ LDAPLIBS = -L${PREFIX}/lib -lldap -llber X+ LDAPVERSION = 33 X+ VERSION = 3.3 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 # If you defined LDAP_DEBUG there and want to enable LDAP debugging X # uncomment the following line: X! #LDAP_DEBUG = -DLDAP_DEBUG X X ################# X ## If you have LDAP from an ISODE Consortium Release X*************** X*** 69,75 **** X X # platform specific: X # Linux X! PLATFORMCFLAGS= -Dlinux -DSYSV X # Solaris 2 X # PLATFORMCFLAGS= -Dsunos5 X # PLATFORMLDFLAGS= -lsocket -lnsl X--- 75,81 ---- X X # platform specific: X # Linux X! #PLATFORMCFLAGS= -Dlinux -DSYSV X # Solaris 2 X # PLATFORMCFLAGS= -Dsunos5 X # PLATFORMLDFLAGS= -lsocket -lnsl X*************** X*** 82,89 **** X # AIX X #PLATFORMCFLAGS= -Daix X # NetBSD: X! #PLATFORMCFLAGS= X! #PLATFORMLDFLAGS= -lcompat X X ALLDEFINES= $(PLATFORMCFLAGS) -I. $(LDAPINCL) $(DEFINES) \ X -DWEB500GWDIR=\"$(WEB500GWDIR)\" -DLDAPVERSION=$(LDAPVERSION) \ X--- 88,95 ---- X # AIX X #PLATFORMCFLAGS= -Daix X # NetBSD: X! PLATFORMCFLAGS= X! PLATFORMLDFLAGS= -lcompat X X ALLDEFINES= $(PLATFORMCFLAGS) -I. $(LDAPINCL) $(DEFINES) \ X -DWEB500GWDIR=\"$(WEB500GWDIR)\" -DLDAPVERSION=$(LDAPVERSION) \ END-of-web500gw/patches/patch-aa echo c - web500gw/files mkdir -p web500gw/files > /dev/null 2>&1 echo x - web500gw/files/md5 sed 's/^X//' >web500gw/files/md5 << 'END-of-web500gw/files/md5' XMD5 (web500gw-2.1b2.tgz) = 813eeac9eeaeb44b81a278dc407c877f END-of-web500gw/files/md5 exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message