diff options
Diffstat (limited to 'lang/scriba/files')
-rw-r--r-- | lang/scriba/files/patch-aa | 29 | ||||
-rw-r--r-- | lang/scriba/files/patch-ab | 11 | ||||
-rw-r--r-- | lang/scriba/files/patch-ac | 11 | ||||
-rw-r--r-- | lang/scriba/files/patch-ad | 11 | ||||
-rw-r--r-- | lang/scriba/files/patch-ae | 28 | ||||
-rw-r--r-- | lang/scriba/files/patch-af | 58 | ||||
-rw-r--r-- | lang/scriba/files/patch-ag | 11 |
7 files changed, 159 insertions, 0 deletions
diff --git a/lang/scriba/files/patch-aa b/lang/scriba/files/patch-aa new file mode 100644 index 0000000..39b61b4 --- /dev/null +++ b/lang/scriba/files/patch-aa @@ -0,0 +1,29 @@ +--- Makefile.orig Wed Dec 27 19:52:16 2000 ++++ Makefile Fri Jan 12 18:34:19 2001 +@@ -1,8 +1,8 @@ + CC=cc + LDOPTIONS=-shared + LD=ld +-CCFLAGS= +-LIBS=-lm -ldl -lpthread ++CCFLAGS=$(CFLAGS) ++LIBS=-lm -lc_r + OBJS=builder.o conftree.o dynlolib.o execute.o\ + expression.o filesys.o getopt.o lexer.o match.o\ + memory.o myalloc.o options.o reader.o report.o sym.o\ +@@ -20,7 +20,6 @@ + .PHONY: headers clean install all + + all: headers scriba cftc cgi.so hash.so re.so basicc.a +- sh install.sh + + clean : + rm *.so *.o *.h ./scriba +@@ -39,7 +38,6 @@ + + scriba : $(OBJS) $(COBJS) scribacmd.o + $(CC) -o scriba $(LIBS) $(OBJS) $(COBJS) scribacmd.o +- scriba -v + + cftc : cftc.o confpile.o conftree.o lsp.o + $(CC) -o cftc $(LIBS) cftc.o confpile.o conftree.o lsp.o diff --git a/lang/scriba/files/patch-ab b/lang/scriba/files/patch-ab new file mode 100644 index 0000000..1396185 --- /dev/null +++ b/lang/scriba/files/patch-ab @@ -0,0 +1,11 @@ +--- variations/standard/basiccmd.c.orig Sun Jan 7 19:39:44 2001 ++++ variations/standard/basiccmd.c Sun Jan 7 19:35:07 2001 +@@ -186,7 +186,7 @@ + "WINNT\\SCRIBA.INI", + #else + "SCRIBACONF", +- "/etc/scriba/basic.conf", ++ "%%PREFIX%%/etc/scriba/basic.conf", + #endif + pszForcedConfigurationFileName); + diff --git a/lang/scriba/files/patch-ac b/lang/scriba/files/patch-ac new file mode 100644 index 0000000..a05783d --- /dev/null +++ b/lang/scriba/files/patch-ac @@ -0,0 +1,11 @@ +--- variations/standalone/basicc.c.orig Fri Dec 29 11:23:20 2000 ++++ variations/standalone/basicc.c Sun Jan 7 19:35:17 2001 +@@ -57,7 +57,7 @@ + "SCRIBA.INI", + #else + "SCRIBACONF", +- "/etc/scriba/basic.conf", ++ "%%PREFIX%%/etc/scriba/basic.conf", + #endif + NULL); + diff --git a/lang/scriba/files/patch-ad b/lang/scriba/files/patch-ad new file mode 100644 index 0000000..f4546dd --- /dev/null +++ b/lang/scriba/files/patch-ad @@ -0,0 +1,11 @@ +--- configurer.c.orig Wed Dec 27 11:52:15 2000 ++++ configurer.c Sun Jan 7 19:34:59 2001 +@@ -130,7 +130,7 @@ + #else + char *s; + #define SCRIBACONF "SCRIBACONF" +-#define DEFAULTCONF "/etc/scriba/basic.conf" ++#define DEFAULTCONF "%%PREFIX%%/etc/scriba/basic.conf" + + s = getenv(SCRIBACONF); + diff --git a/lang/scriba/files/patch-ae b/lang/scriba/files/patch-ae new file mode 100644 index 0000000..bf1e31f --- /dev/null +++ b/lang/scriba/files/patch-ae @@ -0,0 +1,28 @@ +--- scriba.c.orig Wed Dec 27 11:52:17 2000 ++++ scriba.c Sun Jan 7 20:30:15 2001 +@@ -518,16 +518,12 @@ + "SCRIBA.INI", + #else + "SCRIBACONF", +- "/etc/scriba/basic.conf", ++ "/usr/local/etc/scriba/basic.conf", + #endif + pszForcedConfigurationFileName); + /*DEBUG*/ +- fp = fopen("e:\\MyProjects\\sb\\isapi.log","a"); +- if( fp ){ +- fprintf(fp,"LoadConfiguration returned %d.\n",iError); +- fclose(fp); +- fp = NULL; +- } ++ if(iError) ++ fprintf(stderr,"LoadConfiguration returned %d.\n",iError); + + return iError; + } +@@ -1900,4 +1896,4 @@ + + default: return SCRIBA_ERROR_FAIL; + } +- } ++ } diff --git a/lang/scriba/files/patch-af b/lang/scriba/files/patch-af new file mode 100644 index 0000000..2b37a1f --- /dev/null +++ b/lang/scriba/files/patch-af @@ -0,0 +1,58 @@ +--- scriba.conf.unix.lsp.orig Wed Dec 27 19:52:17 2000 ++++ scriba.conf.unix.lsp Mon Jan 15 03:34:09 2001 +@@ -8,11 +8,11 @@ + dll ".so" + + ; where the modules are to be loaded from +-module "/etc/scriba/modules/" ++module "/usr/local/lib/scriba/" + + ; where to search system and module include files + ; trailing / or / is needed +-include "/etc/scriba/include/" ++include "/usr/local/include/scriba/" + + ; + ; define external preprocessors +@@ -29,8 +29,8 @@ + ; the external preprocessors + external ( + heb ( +- executable "/usr/bin/scriba /etc/scriba/source/heber.bas" +- directory "/etc/scriba/hebtemp/" ++ executable "/usr/local/bin/scriba /usr/local/include/scriba/heber.bas" ++ directory "/usr/local/etc/scriba/hebtemp/" + ) + ) + ) +@@ -67,13 +67,13 @@ + ; This is the directory where we store the compiled code + ; to automatically avoid recompilation + ; +-cache "/etc/scriba/cache/" ++cache "/usr/local/lib/scriba/cache/" + + cgi ( + ; + ; These are the keys used by the CGI module + ; +- debugfile "/etc/scriba/cgidebug.txt" ++ debugfile "/usr/local/etc/scriba/cgidebug.txt" + ) + + ; +@@ -83,7 +83,7 @@ + + ; directories where to store the + dir ( +- home "/etc/scriba/sampledb" ; the home directory of operation of the Berkerley DB ++ home "/usr/local/etc/scriba/sampledb" ; the home directory of operation of the Berkerley DB + data "db" ; database files + log "log" ; log files + temp "tmp" ; temporary files +@@ -115,4 +115,4 @@ + ) + ) + +-;break ++;break diff --git a/lang/scriba/files/patch-ag b/lang/scriba/files/patch-ag new file mode 100644 index 0000000..6da8431 --- /dev/null +++ b/lang/scriba/files/patch-ag @@ -0,0 +1,11 @@ +--- testconf.c.orig Wed Dec 27 11:52:17 2000 ++++ testconf.c Sun Jan 7 19:34:59 2001 +@@ -15,7 +15,7 @@ + "WINNT\\SCRIBA.INI", + #else + "SCRIBACONF", +- "/etc/scriba/basic.conf", ++ "%%PREFIX%%/etc/scriba/basic.conf", + #endif + NULL)); + |