mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Upgrade from 3.3 to 3.4.2. Use tcl84 by default.
This commit is contained in:
parent
4bc126887d
commit
eb69ee3b49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79594
4 changed files with 52 additions and 6 deletions
|
@ -6,9 +6,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= tclhttpd
|
PORTNAME= tclhttpd
|
||||||
PORTVERSION= 3.3
|
PORTVERSION= 3.4.2
|
||||||
PORTREVISION= 1
|
CATEGORIES= www tcl83
|
||||||
CATEGORIES= www tcl${TCL_VER}
|
|
||||||
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
||||||
MASTER_SITE_SUBDIR= httpd
|
MASTER_SITE_SUBDIR= httpd
|
||||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||||
|
@ -16,10 +15,10 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||||
MAINTAINER= mi@aldan.algebra.com
|
MAINTAINER= mi@aldan.algebra.com
|
||||||
COMMENT= An http-server implemented in TCL
|
COMMENT= An http-server implemented in TCL
|
||||||
|
|
||||||
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib1.2/pkgIndex.tcl:${PORTSDIR}/devel/tcllib
|
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib1.3/pkgIndex.tcl:${PORTSDIR}/devel/tcllib
|
||||||
LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
|
LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
|
||||||
|
|
||||||
TCL_DVER?= 8.3
|
TCL_DVER?= 8.4
|
||||||
TCL_VER= ${TCL_DVER:S/.//}
|
TCL_VER= ${TCL_DVER:S/.//}
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-tcl="${LOCALBASE}/lib/tcl${TCL_DVER}" \
|
CONFIGURE_ARGS= --with-tcl="${LOCALBASE}/lib/tcl${TCL_DVER}" \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (tclhttpd3.3.tar.gz) = 0cc30bde4173ca1fae33abf593f8d6f2
|
MD5 (tclhttpd3.4.2.tar.gz) = d5c6517430023735a78afb5e8d707e83
|
||||||
|
|
46
www/tclhttpd/files/patch-tcl84
Normal file
46
www/tclhttpd/files/patch-tcl84
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
--- src/crypt.c Sat Feb 12 19:03:25 2000
|
||||||
|
+++ src/crypt.c Thu Apr 24 12:04:03 2003
|
||||||
|
@@ -12,4 +12,9 @@
|
||||||
|
|
||||||
|
#include "tcl.h"
|
||||||
|
+
|
||||||
|
+#ifndef CONST84
|
||||||
|
+# define CONST84
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef _WIN32
|
||||||
|
#include "unistd.h"
|
||||||
|
@@ -20,8 +25,4 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
-
|
||||||
|
-static int Crypt_Cmd _ANSI_ARGS_((ClientData clientData,
|
||||||
|
- Tcl_Interp *interp, int argc, char **argv));
|
||||||
|
-
|
||||||
|
#undef TCL_STORAGE_CLASS
|
||||||
|
#define TCL_STORAGE_CLASS DLLEXPORT
|
||||||
|
@@ -53,5 +54,5 @@
|
||||||
|
Tcl_Interp *interp; /* Current interpreter. */
|
||||||
|
int argc; /* Number of arguments. */
|
||||||
|
- char **argv; /* Argument strings. */
|
||||||
|
+ CONST84 char *argv[]; /* Argument strings. */
|
||||||
|
{
|
||||||
|
char *result;
|
||||||
|
--- src/setuid.c Tue Oct 6 20:12:11 1998
|
||||||
|
+++ src/setuid.c Thu Apr 24 12:03:18 2003
|
||||||
|
@@ -8,4 +8,8 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
+#ifndef CONST84
|
||||||
|
+# define CONST84
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/*
|
||||||
|
* SetuidCmd --
|
||||||
|
@@ -19,5 +23,5 @@
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
-SetuidCmd(ClientData data, Tcl_Interp *interp, int argc, char *argv[])
|
||||||
|
+SetuidCmd(ClientData data, Tcl_Interp *interp, int argc, CONST84 char *argv[])
|
||||||
|
{
|
||||||
|
int uid;
|
|
@ -227,6 +227,7 @@ share/tclhttpd%%PORTVERSION%%/.tml
|
||||||
@dirrm share/tclhttpd%%PORTVERSION%%/templates
|
@dirrm share/tclhttpd%%PORTVERSION%%/templates
|
||||||
@dirrm share/tclhttpd%%PORTVERSION%%
|
@dirrm share/tclhttpd%%PORTVERSION%%
|
||||||
tclhttpd/custom/README
|
tclhttpd/custom/README
|
||||||
|
tclhttpd/custom/ddehack.tcl
|
||||||
tclhttpd/custom/hello.tcl
|
tclhttpd/custom/hello.tcl
|
||||||
tclhttpd/custom/snmpinit.tcl
|
tclhttpd/custom/snmpinit.tcl
|
||||||
tclhttpd/custom/tclpro.tcl
|
tclhttpd/custom/tclpro.tcl
|
||||||
|
|
Loading…
Add table
Reference in a new issue