summaryrefslogtreecommitdiffstats
path: root/www/xitami/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/xitami/files')
-rw-r--r--www/xitami/files/patch-aa34
-rw-r--r--www/xitami/files/patch-ab23
-rw-r--r--www/xitami/files/patch-ac15
-rw-r--r--www/xitami/files/patch-ad18
4 files changed, 54 insertions, 36 deletions
diff --git a/www/xitami/files/patch-aa b/www/xitami/files/patch-aa
index ce02c16..149314d 100644
--- a/www/xitami/files/patch-aa
+++ b/www/xitami/files/patch-aa
@@ -1,5 +1,5 @@
---- xibuild.orig Sat Aug 8 15:42:27 1998
-+++ xibuild Sat Aug 8 15:44:23 1998
+--- xibuild.original Tue Nov 7 09:32:29 2000
++++ xibuild Tue Nov 7 09:39:53 2000
@@ -8,7 +8,6 @@
# This script builds the SFL and SMT packages, then installs XITAMI ready
# for use. XITAMI is installed in the current directory.
@@ -8,21 +8,19 @@
SRCDIR=$TOPDIR/src
SFLDIR=$TOPDIR/src/sfl
SMTDIR=$TOPDIR/src/smt
-@@ -52,18 +51,13 @@
- echo "--------------------------------------------------------------------"
- echo "Welcome to the Xitami web server, copyright (c) 1991-97 iMatix."
+@@ -53,17 +52,12 @@
+ echo "Welcome to the Xitami web server, copyright (c) 1991-99 iMatix."
echo "This script will compile and link XITAMI, ready for use on this"
--echo "$SYSTEM system. Please confirm this information:"
-+echo "$SYSTEM system."
+ echo "$SYSTEM system. Nothing is installed in any system directories."
+-echo "Please confirm this information:"
echo " System . . . . . .: $SYSTEM"
echo " ANSI C compiler. .: $COMPILE"
echo ""
-echo "If the ANSI C compile command is wrong, you will have to modify the"
-echo "'c' scripts in these directories:"
--echo " $SFLDIR"
--echo " $SMTDIR"
+-echo " $SFLDIR, $SMTDIR"
-echo ""
--echo "If this information looks okay, press [Enter] to start installation."
+-echo "If this information looks okay, press [Enter] to build Xitami."
+echo " SFL Source Path...: $SFLDIR"
+echo " SMT Source Path...: $SMTDIR"
echo "--------------------------------------------------------------------"
@@ -30,7 +28,7 @@
# Now, rebuild the SFL package
-@@ -103,14 +97,4 @@
+@@ -103,18 +97,4 @@
fi
cd $TOPDIR
@@ -41,8 +39,12 @@
-cp $CGISRC/testcgi $CGIBIN
-cp $CGISRC/testcgi? $CGIBIN
-
--echo xibuild completed. Please see 'readme' file for info on using
--echo Xitami. The Xitami web pages are the main source of information.
--echo You can run Xitami now by typing 'xitami' or 'xitami -b 5000'.
--echo browser and the URL http://hostname or http://hostname:5080.
-+echo xibuild completed.
+-chmod +x xiconfig
+-test ! -f defaults.cfg && ./xiconfig
+-
+-echo ""
+-echo "xibuild completed. Please see 'readme' file for info on using"
+-echo "Xitami. The Xitami web pages are the main source of information."
+-echo "You can run Xitami now by typing 'xitami' or 'xitami -b 5000'."
+-echo "browser and the URL http://hostname or http://hostname:5080."
++echo "xibuild completed."
diff --git a/www/xitami/files/patch-ab b/www/xitami/files/patch-ab
index ce40b98..123e0a4 100644
--- a/www/xitami/files/patch-ab
+++ b/www/xitami/files/patch-ab
@@ -1,21 +1,20 @@
---- src/smt/xitami.c.orig Sat Aug 8 15:48:29 1998
-+++ src/smt/xitami.c Sat Aug 8 15:50:15 1998
-@@ -163,13 +163,17 @@
+--- src/smt/.vimbk/xitami.c.vimbk Sat Apr 1 18:11:39 2000
++++ src/smt/xitami.c Tue Nov 7 10:01:40 2000
+@@ -168,7 +168,7 @@
fclose (stdout); /* Kill standard output */
fclose (stderr); /* and standard error */
}
- else
+ else if (*background == '0')
-+ {
puts (COPYRIGHT);
-+ }
if (*background == '1')
- {
+@@ -177,7 +177,7 @@
+ *background_args [] = { "-s", NULL };
+
puts ("Moving into the background");
- process_server (NULL, NULL); /* Put process into background */
-+ if (process_server (NULL, "/var/run/xitami.pid") != 0)
-+ exit (EXIT_FAILURE);
- }
- /* Initialise SMT and run the HTTP agent until it has finished */
- server_name = "Xitami";
+- if (process_server (NULL, NULL, argc, argv, background_args) != 0)
++ if (process_server (NULL, "/var/run/xitami.pid", argc, argv, background_args) != 0)
+ {
+ puts ("Backgrounding failed. Giving up.");
+ exit (EXIT_FAILURE);
diff --git a/www/xitami/files/patch-ac b/www/xitami/files/patch-ac
index 2714f46..cf30ef3 100644
--- a/www/xitami/files/patch-ac
+++ b/www/xitami/files/patch-ac
@@ -1,15 +1,15 @@
---- src/sfl/sflproc.c.orig Tue Sep 30 02:52:30 1997
-+++ src/sfl/sflproc.c Sun Oct 12 18:39:01 1997
-@@ -1021,8 +1021,6 @@
+--- src/sfl/.vimbk/sflproc.c.vimbk Sat Apr 1 18:11:24 2000
++++ src/sfl/sflproc.c Tue Nov 7 11:29:34 2000
+@@ -1711,8 +1711,6 @@
file_handle;
char
pid_buffer [10];
- struct flock
- lock_file; /* flock() argument block */
-
- /* We recreate our process as a child of init. The process continues */
- /* to exit in the background. UNIX calls wait() for all children of */
-@@ -1065,17 +1063,21 @@
+ #endif
+ int
+ argi = 0, /* Input arguments iterator */
+@@ -1787,17 +1785,21 @@
if (lockfile && strused (lockfile))
{
@@ -37,4 +37,3 @@
+ sprintf (pid_buffer, "%ld\n", (long)getpid ());
write (file_handle, pid_buffer, strlen (pid_buffer));
}
-
diff --git a/www/xitami/files/patch-ad b/www/xitami/files/patch-ad
new file mode 100644
index 0000000..4d434c1
--- /dev/null
+++ b/www/xitami/files/patch-ad
@@ -0,0 +1,18 @@
+--- src/sfl/.vimbk/prelude.h.vimbk Sat Apr 1 18:11:21 2000
++++ src/sfl/prelude.h Tue Nov 7 11:33:15 2000
+@@ -532,12 +532,15 @@
+ # endif
+
+ #elif (defined (__UTYPE_BSDOS))
++# undef TIMEZONE
+ # define TIMEZONE 0 /* timezone is not available */
+
+ #elif (defined (__UTYPE_FREEBSD))
++# undef TIMEZONE
+ # define TIMEZONE 0 /* timezone is not available */
+
+ #elif (defined (__UTYPE_NETBSD))
++# undef TIMEZONE
+ # define TIMEZONE 0 /* timezone is not available */
+
+ #elif (defined (__VMS__))
OpenPOWER on IntegriCloud