summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-06 04:13:57 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-06 04:13:57 +0000
commit85d865a6ab4b12efb5cfb79f548d2e1ad2c86097 (patch)
treec515a2777ec5a010df9c67107628fc5d5e85aae6 /www
parentp5-Gimp depended on PDL-2.3.4 which was removed. (diff)
As announced on 27 March 2003 in <20030328013119.GA17944@rot13.obsecurity.org>,
remove the wn port which has been forbidden for security reasons for 7 months.
Notes
Notes: svn path=/head/; revision=80205
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/wn/Makefile52
-rw-r--r--www/wn/distinfo1
-rw-r--r--www/wn/files/index6
-rw-r--r--www/wn/files/patch-aa152
-rw-r--r--www/wn/files/patch-ab107
-rw-r--r--www/wn/pkg-descr7
-rw-r--r--www/wn/pkg-plist12
-rw-r--r--www/wn/scripts/configure14
9 files changed, 0 insertions, 352 deletions
diff --git a/www/Makefile b/www/Makefile
index 53daf260bff5..6512aafa26e0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -482,7 +482,6 @@
SUBDIR += webstone-ssl
SUBDIR += wml
SUBDIR += wmnetselect
- SUBDIR += wn
SUBDIR += wsmake
SUBDIR += www6to4
SUBDIR += wwwcount
diff --git a/www/wn/Makefile b/www/wn/Makefile
deleted file mode 100644
index 7121250c705c..000000000000
--- a/www/wn/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# New ports collection makefile for: wn
-# Date created: 4 May 1995
-# Whom: adam
-#
-# $FreeBSD$
-#
-
-PORTNAME= wn
-PORTVERSION= 1.18.6
-CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL} # ftp://ftp.acns.nwu.edu/pub/wn/
-MASTER_SITE_SUBDIR= trevor
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A great http server
-
-FORBIDDEN= "Remotely exploitable buffer overflow."
-
-IS_INTERACTIVE=
-NO_PACKAGE= "Hostname compiled in"
-
-pre-patch:
- @${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
- @${CP} ${WRKSRC}/config.h.dist ${WRKSRC}/config.h
-
-post-install:
- @${MKDIR} ${PREFIX}/wn/wnlogs ${PREFIX}/wn/bin
- @${CP} -PR ${WRKSRC}/docs ${PREFIX}/wn
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/wn ${PREFIX}/libexec
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/swn ${PREFIX}/sbin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/wndex ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/mkwnpasswd ${PREFIX}/wn/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/authwn ${PREFIX}/wn/bin
- @if [ -s ${PREFIX}/etc/wn_mime.types ]; then \
- cmp -s ${PREFIX}/etc/wn_mime.types ${WRKSRC}/lib/mime.types || { \
- ${ECHO_MSG} Warning: new mime.types installed as ${PREFIX}/etc/wn_mime.types-dist; \
- ${INSTALL_DATA} ${WRKSRC}/lib/mime.types \
- ${PREFIX}/etc/wn_mime.types-dist; } \
- else \
- ${INSTALL_DATA} ${WRKSRC}/lib/mime.types \
- ${PREFIX}/etc/wn_mime.types; \
- fi
- @if [ -s ${PREFIX}/wn/index ]; then \
- cmp -s ${PREFIX}/wn/index ${WRKDIR}/index || { \
- ${ECHO_MSG} Warning: new index installed as ${PREFIX}/wn/index-dist; \
- ${INSTALL_DATA} ${WRKDIR}/index ${PREFIX}/wn/index-dist; } \
- else \
- ${INSTALL_DATA} ${WRKDIR}/index ${PREFIX}/wn; \
- fi
- @cd ${PREFIX}/wn; ../bin/wndex -r
-
-.include <bsd.port.mk>
diff --git a/www/wn/distinfo b/www/wn/distinfo
deleted file mode 100644
index 83a3dc1277b3..000000000000
--- a/www/wn/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (wn-1.18.6.tar.gz) = 90a8352e383462ac5f68852f80fe854d
diff --git a/www/wn/files/index b/www/wn/files/index
deleted file mode 100644
index 7e5bf76dac1c..000000000000
--- a/www/wn/files/index
+++ /dev/null
@@ -1,6 +0,0 @@
-Owner=$MAINTAINER
-Subdirs=docs
-Indexfile=index.html
-Title=Welcome to the Web server at $SITENAME
-Link=/docs/index.html
-Title=Documentation for the WN server
diff --git a/www/wn/files/patch-aa b/www/wn/files/patch-aa
deleted file mode 100644
index dd63a3bfd77b..000000000000
--- a/www/wn/files/patch-aa
+++ /dev/null
@@ -1,152 +0,0 @@
-*** Makefile.dist Thu Jul 6 16:40:36 1995
---- Makefile Sun Jul 23 02:09:47 1995
-***************
-*** 7,13 ****
- #
- # Where to put the programs
- #
-! SERVBINDIR =../bin
- BINDIR = ../bin
- LIBDIR = ../lib
-
---- 7,13 ----
- #
- # Where to put the programs
- #
-! SERVBINDIR = ../bin
- BINDIR = ../bin
- LIBDIR = ../lib
-
-***************
-*** 22,28 ****
- #
- # Libraries to be included.
- #
-! LIBS =
-
- #For Solaris 5.X or SVR4.2 use
- #LIBS = -lsocket -lnsl
---- 22,28 ----
- #
- # Libraries to be included.
- #
-! LIBS = -lcrypt
-
- #For Solaris 5.X or SVR4.2 use
- #LIBS = -lsocket -lnsl
-*** config.h.dist Wed Sep 3 17:22:17 1997
---- config.h Mon Sep 15 21:39:32 1997
-***************
-*** 7,13 ****
- ********************************************************/
-
-
-! #define LINUX /* Operating System */
- /*
- Pick one of the following Operating System types which describes
- your system and replace the SUN_OS4 value above
---- 7,13 ----
- ********************************************************/
-
-
-! #define FREE_BSD_2 /* Operating System */
- /*
- Pick one of the following Operating System types which describes
- your system and replace the SUN_OS4 value above
-***************
-*** 30,37 ****
- * Enter the complete path of your root data directory here.
- */
-
-! #define WN_LOGFILE "/usr/local/wnlogs/wn.log"
-! #define WN_ERRLOGFILE "/usr/local/wnlogs/wn.log.err"
-
- /*
- * Full path of the file you want to use for a log file and the
---- 30,37 ----
- * Enter the complete path of your root data directory here.
- */
-
-! #define WN_LOGFILE "/usr/local/wn/wnlogs/run.log"
-! #define WN_ERRLOGFILE "/usr/local/wn/wnlogs/err.log"
-
- /*
- * Full path of the file you want to use for a log file and the
-***************
-*** 41,47 ****
- * To do no logging set all the logfiles above to "", the empty string.
- */
-
-! #define SWN_PID_FILE "/usr/local/wnlogs/wn.pid"
- /*
- * Full path of the file in which you wish the standalone server swn
- * to deposit its process id on startup. Comment this out or set
---- 41,47 ----
- * To do no logging set all the logfiles above to "", the empty string.
- */
-
-! #define SWN_PID_FILE "/var/run/swn.pid"
- /*
- * Full path of the file in which you wish the standalone server swn
- * to deposit its process id on startup. Comment this out or set
-***************
-*** 59,65 ****
- */
-
-
-! #define MIME_TYPE_FILE "/usr/local/lib/wn/mime.types"
- /*
- * This file contains information permitting wndex to translate
- * ascertain the MIME "Content-type" from the suffix of a file name
---- 59,65 ----
- */
-
-
-! #define MIME_TYPE_FILE "/usr/local/etc/wn_mime.types"
- /*
- * This file contains information permitting wndex to translate
- * ascertain the MIME "Content-type" from the suffix of a file name
-***************
-*** 84,90 ****
- */
-
-
-! /* #define VERBOSELOG */
- /* By default WN uses the Common Log Format used by NCSA and CERN httpd.
- * Uncommenting this will cause additional information to be added to
- * the end of each log line. In particular the User-Agent and Referrer
---- 84,90 ----
- */
-
-
-! #define VERBOSELOG
- /* By default WN uses the Common Log Format used by NCSA and CERN httpd.
- * Uncommenting this will cause additional information to be added to
- * the end of each log line. In particular the User-Agent and Referrer
-***************
-*** 259,265 ****
-
- /* #define TILDE_TABLE "/path/to/rootdir_table" */
-
-! /* #define TILDE_USER_PWFILE */
-
- #define TILDE_USER_STRING "/~"
- /*
---- 259,265 ----
-
- /* #define TILDE_TABLE "/path/to/rootdir_table" */
-
-! #define TILDE_USER_PWFILE
-
- #define TILDE_USER_STRING "/~"
- /*
-***************
-*** 430,435 ****
---- 430,436 ----
- /************************/
- #if defined(FREE_BSD_2)
- #define BSD_LIKE
-+ #define SIGCLD SIGCHLD
- #endif
-
-
diff --git a/www/wn/files/patch-ab b/www/wn/files/patch-ab
deleted file mode 100644
index 1d94f7c826bb..000000000000
--- a/www/wn/files/patch-ab
+++ /dev/null
@@ -1,107 +0,0 @@
-*** authwn/authwn.c.old Fri May 24 16:32:44 1996
---- authwn/authwn.c Thu Aug 29 02:09:41 1996
-***************
-*** 27,32 ****
---- 27,35 ----
-
- #ifdef DBM_AUTH
- #include <dbm.h>
-+ #elif defined(DB_AUTH)
-+ #include <fcntl.h>
-+ #include <db.h>
- #endif
-
- #include "../config.h"
-***************
-*** 123,128 ****
---- 126,135 ----
- #ifdef DBM_AUTH
- datum content,
- key;
-+ #elif defined(DB_AUTH)
-+ DBT content,
-+ key;
-+ DB *db;
- #endif
-
-
-***************
-*** 168,173 ****
---- 175,193 ----
- codedpw[content.dsize] = '\0';
- }
- dbmclose( pwpath);
-+ #elif defined(DB_AUTH)
-+ key.data = user;
-+ key.size = strlen(user);
-+
-+ db = dbopen(pwpath, O_RDONLY, 0, DB_HASH, NULL);
-+ if (db == NULL) {
-+ exit(AUTHERR_NUM5);
-+ }
-+ if ((db->get)(db , &key, &content, 0) == 0) {
-+ strncpy(codedpw, content.data, content.size);
-+ codedpw[content.size] = '\0';
-+ }
-+ (db->close)(db);
- #else
- exit( AUTHERR_NUM8);
- #endif
-*** authwn/Makefile.old Thu Jul 13 07:17:29 1995
---- authwn/Makefile Wed Aug 28 19:46:22 1996
-***************
-*** 4,20 ****
- #You will likely have to change DBMLIB to whatever library contains
- # the DBM functions dbminit(), fetch() and dbmclose() on your system.
- #DBMLIB = -ldbm
-! #DBMFLAG = -DDBM_AUTH
-
-!
-! CFLAGS = -I../wn/ -O $(DBMFLAG)
-
- OBJS = authwn.o
-
- all: authwn
-
- authwn: $(OBJS)
-! $(CC) $(CFLAGS) -o authwn $(OBJS) $(LIBS) $(DBMLIB)
-
- install: authwn
- @echo "Installing authwn in $(BINDIR)"
---- 4,20 ----
- #You will likely have to change DBMLIB to whatever library contains
- # the DBM functions dbminit(), fetch() and dbmclose() on your system.
- #DBMLIB = -ldbm
-! DBMFLAG = -DDB_AUTH
-
-! DCFLAGS= -I../wn/ -O
-! CFLAGS = $(DCFLAGS) $(DBMFLAG)
-
- OBJS = authwn.o
-
- all: authwn
-
- authwn: $(OBJS)
-! $(CC) $(DCFLAGS) -o authwn $(OBJS) $(LIBS) $(DBMLIB)
-
- install: authwn
- @echo "Installing authwn in $(BINDIR)"
-*** Makefile.old Wed Aug 28 19:29:10 1996
---- Makefile Wed Aug 28 19:48:33 1996
-***************
-*** 64,70 ****
-
- authwn/authwn: config.h
- @echo "Making authwn"
-! (cd authwn; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- BINDIR="$(BINDIR)" )
-
- inst-wn:
---- 64,70 ----
-
- authwn/authwn: config.h
- @echo "Making authwn"
-! (cd authwn; $(MAKE) CC="$(CC)" DCFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- BINDIR="$(BINDIR)" )
-
- inst-wn:
diff --git a/www/wn/pkg-descr b/www/wn/pkg-descr
deleted file mode 100644
index 2bdb1dbdd058..000000000000
--- a/www/wn/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-WN is an HTTP server. Among its features are the ability to serve
-up specified parts of files, the ability to use any external command
-as a filter (in place of CGI, which is also supported), SSL, built-in
-searching, and server-side includes which may be conditional.
-
-WWW: http://www.wnserver.org/
- http://hopf.math.northwestern.edu/
diff --git a/www/wn/pkg-plist b/www/wn/pkg-plist
deleted file mode 100644
index 5af56d9fa742..000000000000
--- a/www/wn/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-@cwd /usr/local
-etc/wn_mime.types
-libexec/wn
-sbin/swn
-bin/wndex
-wn/bin/mkwnpasswd
-wn/bin/authwn
-wn/docs
-wn/index
-wn/wnlogs
-@cwd ./wn
-@exec ../sbin/wndex -r
diff --git a/www/wn/scripts/configure b/www/wn/scripts/configure
deleted file mode 100644
index 83c4366b3a5e..000000000000
--- a/www/wn/scripts/configure
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-
-sitename=`hostname`
-echo -n "Site name? [$sitename] "
-read answer; if [ X$answer != X ]; then sitename=$answer; fi
-maintainer="mailto:webmaster@$sitename"
-echo -n "URL to default WWW admin? [$maintainer] "
-read answer; if [ X$answer != X ]; then maintainer=$answer; fi
-sed -e "/MAINTAINER/s/\".*\"/\"$maintainer\"/" \
- ${WRKSRC}/config.h >${WRKSRC}/config.h.foo
-mv ${WRKSRC}/config.h.foo ${WRKSRC}/config.h
-sed -e "s/\$MAINTAINER/$maintainer/g" -e "s/\$SITENAME/$sitename/g" \
- ${FILESDIR}/index >${WRKDIR}/index