aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dtcl
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_dtcl')
-rw-r--r--www/mod_dtcl/Makefile48
-rw-r--r--www/mod_dtcl/distinfo2
-rw-r--r--www/mod_dtcl/files/Makefile.bsd25
-rw-r--r--www/mod_dtcl/files/patch-cast52
-rw-r--r--www/mod_dtcl/files/patch-doc7
-rw-r--r--www/mod_dtcl/files/patch-tmp48
-rw-r--r--www/mod_dtcl/files/patch-warning61
-rw-r--r--www/mod_dtcl/pkg-descr14
-rw-r--r--www/mod_dtcl/pkg-message13
-rw-r--r--www/mod_dtcl/pkg-plist17
10 files changed, 0 insertions, 287 deletions
diff --git a/www/mod_dtcl/Makefile b/www/mod_dtcl/Makefile
deleted file mode 100644
index 778113faf3ca..000000000000
--- a/www/mod_dtcl/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# New ports collection makefile for: mod_dtcl
-# Date created: January 9, 1999
-# Whom: Mikhail Teterin <mi@aldan.algebra.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mod_dtcl
-PORTVERSION= 0.12.0
-PORTREVISION= 1
-CATEGORIES= www tcl
-MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/
-PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
-
-MAINTAINER= mi@aldan.algebra.com
-COMMENT= Embeds a TCL8 interpreter in the Apache server
-
-BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT}
-
-DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
-EXPIRATION_DATE= 2012-01-01
-
-MAKE_JOBS_SAFE= yes
-USE_TCL= 83+
-
-WRKSRC= ${WRKDIR}/mod_dtcl
-MAKEFILE= ${FILESDIR}/Makefile.bsd
-USE_APACHE= 13
-MAKE_ENV+= TCL_VERSION=${TCL_VER}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000
-BROKEN= does not build
-.endif
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/libmod_dtcl.so.1* \
- ${PREFIX}/libexec/apache/mod_dtcl.so
- ${PREFIX}/sbin/apxs -e -A -n dtcl ${PREFIX}/libexec/apache/mod_dtcl.so
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/mod_dtcl
- ${INSTALL_DATA} ${WRKSRC}/docs/*.?tml ${WRKSRC}/docs/*.gif \
- ${PREFIX}/share/doc/mod_dtcl
- ${SED} 's,/usr/local,${LOCALBASE},g' ${PKGMESSAGE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/www/mod_dtcl/distinfo b/www/mod_dtcl/distinfo
deleted file mode 100644
index 143ea5b75673..000000000000
--- a/www/mod_dtcl/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mod_dtcl-0.12.0.tar.gz) = 10a17f3149b2179cf8be612281f2df20438b1b2889290ab7af487e638a0f754b
-SIZE (mod_dtcl-0.12.0.tar.gz) = 90574
diff --git a/www/mod_dtcl/files/Makefile.bsd b/www/mod_dtcl/files/Makefile.bsd
deleted file mode 100644
index a87cc2e76251..000000000000
--- a/www/mod_dtcl/files/Makefile.bsd
+++ /dev/null
@@ -1,25 +0,0 @@
-TCL_VERSION?=8.4
-TCL_NDVER?=${TCL_VERSION:S/.//} # same, but without the dot
-
-PREFIX?= /usr/local
-
-INCLUDES=-I${PREFIX}/include/apache -I${PREFIX}/include/tcl${TCL_VERSION}
-
-DTCL_VERSION!= cat ${.CURDIR}/VERSION
-
-CC!= ${PREFIX}/sbin/apxs -q CC
-CFLAGS!= ${PREFIX}/sbin/apxs -q CFLAGS CFLAGS_SHLIB
-CFLAGS+= ${INCLUDES} -DDTCL_VERSION="\"${DTCL_VERSION}\""
-
-SHLIB_NAME= libmod_dtcl.so.1
-
-LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} -lm
-
-SRCS= mod_dtcl.c
-SRCS+= apache_cookie.c apache_multipart_buffer.c apache_request.c \
- channel.c parser.c tcl_commands.c
-
-NO_MAN= True # don't bother with the man-page here, let the port handle it
-WARNS= 2
-
-.include <bsd.lib.mk>
diff --git a/www/mod_dtcl/files/patch-cast b/www/mod_dtcl/files/patch-cast
deleted file mode 100644
index 2c66096b9cfa..000000000000
--- a/www/mod_dtcl/files/patch-cast
+++ /dev/null
@@ -1,52 +0,0 @@
---- tcl_commands.c Wed Jun 26 09:12:43 2002
-+++ tcl_commands.c Mon Mar 26 02:01:19 2007
-@@ -359,3 +359,3 @@
- char *t;
-- char *authorization = NULL;
-+ const char *authorization;
-
-@@ -397,4 +397,4 @@
- /* Get the user/pass info for Basic authentication */
-- (const char*)authorization = ap_table_get(globals->r->headers_in, "Authorization");
-- if (authorization && !strcasecmp(ap_getword_nc(POOL, &authorization, ' '), "Basic"))
-+ authorization = ap_table_get(globals->r->headers_in, "Authorization");
-+ if (authorization && !strcasecmp(ap_getword(POOL, &authorization, ' '), "Basic"))
- {
-@@ -739,15 +739,19 @@
- {
-+ union {
-+ ClientData handle;
-+ int fd;
-+ } handle;
-+ FILE *f;
- Tcl_Channel chan;
- char *method = Tcl_GetString(objv[3]);
-+ f = ApacheUpload_FILE(upload);
-+ handle.fd = f ? fileno(f) : -1;
- if (!strcmp(method, "channel"))
- {
-- if (ApacheUpload_FILE(upload) != NULL)
-+ if (handle.fd != -1)
- {
- /* create and return a file channel */
-- char *channelname = NULL;
-- chan = Tcl_MakeFileChannel((ClientData)fileno(
-- ApacheUpload_FILE(upload)), TCL_READABLE);
-+ chan = Tcl_MakeFileChannel(handle.handle, TCL_READABLE);
- Tcl_RegisterChannel(interp, chan);
-- channelname = Tcl_GetChannelName(chan);
-- Tcl_SetStringObj(result, channelname, -1);
-+ Tcl_SetStringObj(result, Tcl_GetChannelName(chan), -1);
- }
-@@ -772,4 +776,3 @@
-
-- chan = Tcl_MakeFileChannel((ClientData)fileno(
-- ApacheUpload_FILE(upload)), TCL_READABLE);
-+ chan = Tcl_MakeFileChannel(handle.handle, TCL_READABLE);
- Tcl_SetChannelOption(interp, chan, "-translation", "binary");
-@@ -799,4 +802,3 @@
- bytes = Tcl_Alloc(ApacheUpload_size(upload));
-- chan = Tcl_MakeFileChannel((ClientData)fileno(
-- ApacheUpload_FILE(upload)), TCL_READABLE);
-+ chan = Tcl_MakeFileChannel(handle.handle, TCL_READABLE);
- Tcl_SetChannelOption(interp, chan, "-translation", "binary");
diff --git a/www/mod_dtcl/files/patch-doc b/www/mod_dtcl/files/patch-doc
deleted file mode 100644
index 50f3aae3ece4..000000000000
--- a/www/mod_dtcl/files/patch-doc
+++ /dev/null
@@ -1,7 +0,0 @@
-There is not index.ttml provided with this package. Make the
-link point to the official site. -mi
---- docs/examples.ttml Wed Nov 8 11:46:00 2000
-+++ docs/examples.ttml Tue Feb 13 12:13:41 2001
-@@ -238 +238 @@
--<a href="index.ttml">Return to the mod_dtcl homepage</a>
-+<a href="http://tcl.apache.org/mod_dtcl/">Return to the mod_dtcl homepage</a>
diff --git a/www/mod_dtcl/files/patch-tmp b/www/mod_dtcl/files/patch-tmp
deleted file mode 100644
index 66570a1381e2..000000000000
--- a/www/mod_dtcl/files/patch-tmp
+++ /dev/null
@@ -1,48 +0,0 @@
---- apache_request.c Sat Jun 23 10:11:03 2001
-+++ apache_request.c Tue Aug 7 22:37:51 2001
-@@ -341,22 +341,33 @@
- {
- request_rec *r = req->r;
- FILE *fp;
-- char prefix[] = "apreq";
-+#define PREFIX "apreq"
- char *name = NULL;
-- int fd = 0;
-- int tries = 100;
-+ int fd;
-+ char *dirs[5], **dir;
-
-- while (--tries > 0) {
-- if ( (name = tempnam(req->temp_dir, prefix)) == NULL )
-- continue;
-- fd = ap_popenf(r->pool, name, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600);
-- if ( fd >= 0 )
-- break; /* success */
-- else
-- free(name);
-+ dirs[0] = getenv("TMPDIR"); dirs[1] = req->temp_dir;
-+ dirs[2] = P_tmpdir; dirs[3] = "/tmp"; dirs[4] = NULL;
-+
-+ /*
-+ * Look for the non-NULL directory. The order
-+ * above is dictated by the tempnam(3) spec
-+ */
-+ for (dir = dirs; *dir == NULL; dir++) /* Nothing */;
-+
-+ /* Now, try to create the temporary file in one of the directories: */
-+ for (fd = -1; fd == -1 && *dir; dir++) {
-+ name = malloc(strlen(*dir) + sizeof PREFIX + 8);
-+ if (!name) {
-+ ap_log_rerror(REQ_ERROR, "[libapreq] could not allocate memory");
-+ return(NULL);
-+ }
-+ sprintf(name, "%s/%s.XXXXXX", *dir, PREFIX);
-+ fd = mkstemp(name);
-+ if (fd == -1) free(name);
- }
-
-- if ( tries == 0 || (fp = ap_pfdopen(r->pool, fd, "w+" "b") ) == NULL ) {
-+ if ( fd == -1 || (fp = ap_pfdopen(r->pool, fd, "w+" "b") ) == NULL ) {
- ap_log_rerror(REQ_ERROR, "[libapreq] could not create/open temp file");
- if ( fd >= 0 ) { remove(name); free(name); }
- return NULL;
diff --git a/www/mod_dtcl/files/patch-warning b/www/mod_dtcl/files/patch-warning
deleted file mode 100644
index 9850ab02baa3..000000000000
--- a/www/mod_dtcl/files/patch-warning
+++ /dev/null
@@ -1,61 +0,0 @@
---- mod_dtcl.h 2002-06-26 09:12:43.000000000 -0400
-+++ mod_dtcl.h 2009-04-11 22:49:00.000000000 -0400
-@@ -100,5 +100,5 @@
- int set_header_type(request_rec *, char *);
- int print_headers(request_rec *);
--int print_error(request_rec *, int, char *);
-+int print_error(request_rec *, int, const char *);
- int flush_output_buffer(request_rec *);
- char *StringToUtf(char *input, ap_pool *pool);
---- mod_dtcl.c 2002-04-18 09:02:19.000000000 -0400
-+++ mod_dtcl.c 2009-04-11 22:48:20.000000000 -0400
-@@ -131,5 +131,6 @@
- /* Print nice HTML formatted errors */
-
--int print_error(request_rec *r, int htmlflag, char *errstr)
-+int
-+print_error(request_rec *r, int htmlflag, const char *errstr)
- {
- set_header_type(r, DEFAULT_HEADER_TYPE);
-@@ -314,5 +315,4 @@
- static int execute_and_check(Tcl_Interp *interp, Tcl_Obj *outbuf, request_rec *r)
- {
-- char *errorinfo;
- dtcl_server_conf *conf = NULL;
-
-@@ -331,6 +331,5 @@
- } else {
- /* default action */
-- errorinfo = Tcl_GetVar(interp, "errorInfo", 0);
-- print_error(r, 0, errorinfo);
-+ print_error(r, 0, Tcl_GetVar(interp, "errorInfo", 0));
- print_error(r, 1, "<p><b>OUTPUT BUFFER:</b></p>");
- print_error(r, 0, Tcl_GetStringFromObj(outbuf, (int *)NULL));
-@@ -382,5 +381,6 @@
- {
- hashKey = ap_psprintf(r->pool, "%s%lx%lx%d", filename,
-- mtime, ctime, toplevel);
-+ (unsigned long)mtime, (unsigned long)ctime,
-+ toplevel);
- entry = Tcl_CreateHashEntry(dsc->objCache, hashKey, &isNew);
- }
---- channel.c 2001-09-05 08:01:22.000000000 -0400
-+++ channel.c 2009-04-11 23:03:43.000000000 -0400
-@@ -19,5 +19,6 @@
- Channel that we create to divert stdout to */
-
--static int outputproc(ClientData instancedata, char *buf, int toWrite, int *errorCodePtr)
-+static int
-+outputproc(ClientData instancedata, const char *buf, int toWrite, int *errorCodePtr)
- {
- dtcl_server_conf *dsc = (dtcl_server_conf *)instancedata;
-@@ -34,6 +35,7 @@
- }
-
--static int setoptionproc(ClientData instancedata, Tcl_Interp *interp,
-- char *optionname, char *value)
-+static int
-+setoptionproc(ClientData instancedata, Tcl_Interp *interp,
-+ const char *optionname, const char *value)
- {
- return TCL_OK;
diff --git a/www/mod_dtcl/pkg-descr b/www/mod_dtcl/pkg-descr
deleted file mode 100644
index db3d93721a05..000000000000
--- a/www/mod_dtcl/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-From the software's readme.html:
-
- mod_dtcl is a free/open source implementation of server parsed
- Tcl, under Apache, distributed under the terms of the GNU GPL.
- It allows you to tightly integrate html with Tcl, a widely used
- scripting language with many years of development invested in
- it. This is an ideal combination, allowing you to greatly extend
- what you could do with plain html. Because Tcl is such a widely
- used language, there is a large amount of documentation for it,
- both on the net and books. There are also many external Tcl
- modules that you can load into mod_dtcl, to create images,
- access databases, etc.
-
-WWW: http://tcl.apache.org/mod_dtcl/
diff --git a/www/mod_dtcl/pkg-message b/www/mod_dtcl/pkg-message
deleted file mode 100644
index cb213732e21f..000000000000
--- a/www/mod_dtcl/pkg-message
+++ /dev/null
@@ -1,13 +0,0 @@
--
- Please, follow the instructions in
- file:/usr/local/share/doc/mod_dtcl/documentation.html
-
- The mentioning of mod_dtcl is already in the Apache's config
- file, but it is commented out -- you have to uncomment it
- manually and add the line:
- AddType application/x-httpd-tcl .ttml
-
- ** Note, that the older style <+ ... +> tags are no longer **
- ** recognized! If you are upgrading, switch to the new <? **
- ** ... ?> tags before restarting Apache! **
--
diff --git a/www/mod_dtcl/pkg-plist b/www/mod_dtcl/pkg-plist
deleted file mode 100644
index f9e3015d74c9..000000000000
--- a/www/mod_dtcl/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-libexec/apache/mod_dtcl.so
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
-%%PORTDOCS%%share/doc/mod_dtcl/commands.html
-%%PORTDOCS%%share/doc/mod_dtcl/directives.html
-%%PORTDOCS%%share/doc/mod_dtcl/help.html
-%%PORTDOCS%%share/doc/mod_dtcl/index.html
-%%PORTDOCS%%share/doc/mod_dtcl/install.html
-%%PORTDOCS%%share/doc/mod_dtcl/nav.html
-%%PORTDOCS%%share/doc/mod_dtcl/other.html
-%%PORTDOCS%%share/doc/mod_dtcl/top.html
-%%PORTDOCS%%share/doc/mod_dtcl/asf_logo.gif
-%%PORTDOCS%%share/doc/mod_dtcl/documentation.html
-%%PORTDOCS%%share/doc/mod_dtcl/dtcl.gif
-%%PORTDOCS%%share/doc/mod_dtcl/examples.ttml
-%%PORTDOCS%%share/doc/mod_dtcl/logoLarge.gif
-%%PORTDOCS%%@dirrm share/doc/mod_dtcl