summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-24 01:26:33 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-24 01:26:33 +0000
commita45fe7d24f2c1c0b8fa41e0b71afcde6f5f51735 (patch)
tree8959d416b55adef85c5aa1782764f1398130b7ce /www
parentUpdate to version 4.0a2. (diff)
Allow this to run standalone or from inetd.
PR: 7663 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=12779
Diffstat (limited to 'www')
-rw-r--r--www/web500gw/Makefile6
-rw-r--r--www/web500gw/files/patch-aa4
-rw-r--r--www/web500gw/pkg-message8
-rw-r--r--www/web500gw/pkg-plist3
4 files changed, 15 insertions, 6 deletions
diff --git a/www/web500gw/Makefile b/www/web500gw/Makefile
index 4f165c4f8026..c12090e895b1 100644
--- a/www/web500gw/Makefile
+++ b/www/web500gw/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 July 1998
# Whom: Brent J. Nordquist <bjn@visi.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/07/31 18:47:37 nectar Exp $
+# $Id: Makefile,v 1.2 1998/07/31 21:34:38 asami Exp $
#
DISTNAME= web500gw-2.1b2
@@ -15,9 +15,8 @@ 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
+INSTDIR= ${PREFIX}/bin
MAKE_ENV= PLATFORMCFLAGS="${CFLAGS} -DUSE_SYSCONF" \
INSTDIR=${INSTDIR} \
@@ -32,5 +31,6 @@ WEB500GWDIR= ${PREFIX}/etc/web500gw
post-install:
strip ${INSTDIR}/web500gw
+ @${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
diff --git a/www/web500gw/files/patch-aa b/www/web500gw/files/patch-aa
index d15d0fdb87f1..1368a8bad65e 100644
--- a/www/web500gw/files/patch-aa
+++ b/www/web500gw/files/patch-aa
@@ -1,11 +1,11 @@
--- Makefile.orig Fri Mar 13 08:12:44 1998
-+++ Makefile Thu Jul 30 06:40:39 1998
++++ Makefile Tue Aug 18 12:18:18 1998
@@ -3,14 +3,14 @@
#-----------------------------------------------------------------------------
# Where to install web500gw
-INSTDIR = /usr/local/etc
-+#INSTDIR = /usr/local/www/cgi-bin
++#INSTDIR = /usr/local/bin
# Where to install the manual web500gw.8
-MANDIR = /usr/local/man/man8
diff --git a/www/web500gw/pkg-message b/www/web500gw/pkg-message
new file mode 100644
index 000000000000..d26b693b4be0
--- /dev/null
+++ b/www/web500gw/pkg-message
@@ -0,0 +1,8 @@
+###
+Web500gw can be installed as an nph-CGI program. For example, with
+Apache installed in /usr/local:
+
+cp /usr/local/bin/web500gw /usr/local/www/cgi-bin/nph-web500gw
+
+Web500gw can also be started from inetd; "man web500gw" for details.
+###
diff --git a/www/web500gw/pkg-plist b/www/web500gw/pkg-plist
index a9bb04b8b514..c747f28bc113 100644
--- a/www/web500gw/pkg-plist
+++ b/www/web500gw/pkg-plist
@@ -1,3 +1,4 @@
+bin/web500gw
etc/web500gw/ldapfriendly
etc/web500gw/ldapfriendly.de
etc/web500gw/sample.ldapfilter.conf
@@ -9,4 +10,4 @@ etc/web500gw/web500gw.help
etc/web500gw/web500gw.help.de
etc/web500gw/web500gw.messages
etc/web500gw/web500gw.messages.de
-www/cgi-bin/web500gw
+@dirrm etc/web500gw