diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-30 21:04:25 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-12-30 21:04:25 +0000 |
commit | 08f25b0e1a86be1738462c22bfd16ed68974713b (patch) | |
tree | 683e8ba13f81959f79bc067516790ac2c7ec3202 /www-apache/mod_lisp2/files | |
parent | version bump (diff) | |
download | historical-08f25b0e1a86be1738462c22bfd16ed68974713b.tar.gz historical-08f25b0e1a86be1738462c22bfd16ed68974713b.tar.bz2 historical-08f25b0e1a86be1738462c22bfd16ed68974713b.zip |
Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>; Partially resolves Bug #116672.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'www-apache/mod_lisp2/files')
-rw-r--r-- | www-apache/mod_lisp2/files/1.2-content-length.patch | 44 | ||||
-rw-r--r-- | www-apache/mod_lisp2/files/10_mod_lisp2.conf | 15 | ||||
-rw-r--r-- | www-apache/mod_lisp2/files/README.Gentoo | 5 | ||||
-rw-r--r-- | www-apache/mod_lisp2/files/apache.conf | 24 | ||||
-rw-r--r-- | www-apache/mod_lisp2/files/digest-mod_lisp2-1.2 | 1 |
5 files changed, 89 insertions, 0 deletions
diff --git a/www-apache/mod_lisp2/files/1.2-content-length.patch b/www-apache/mod_lisp2/files/1.2-content-length.patch new file mode 100644 index 000000000000..dbd867cf0b19 --- /dev/null +++ b/www-apache/mod_lisp2/files/1.2-content-length.patch @@ -0,0 +1,44 @@ +--- mod_lisp2.c.orig 2005-12-24 23:04:20.000000000 +0100 ++++ mod_lisp2.c 2005-12-24 23:05:09.000000000 +0100 +@@ -58,13 +58,17 @@ + /* + Change log: + +- Fixed a declaration for some versions of gcc +- -- Marc Battyani +- 2005-08-26 +- +- Set r->mtime directly +- -- Dr. Edmund Weitz <edi@agharta.de> +- 2005-06-07 ++ Handle Lisp data correctly if there's no Content-Length header ++ -- Dr. Edmund Weitz <edi@agharta.de> ++ 2005-12-24 ++ ++ Fixed a declaration for some versions of gcc ++ -- Marc Battyani ++ 2005-08-26 ++ ++ Set r->mtime directly ++ -- Dr. Edmund Weitz <edi@agharta.de> ++ 2005-06-07 + + Read data from Lisp even if it's a HEAD request + Added "Lisp-Content-Length" header (send after "Content-Length" header to overwrite its value) +@@ -88,7 +92,7 @@ + 2003-12-02 + */ + +-#define VERSION_STRING "1.2" ++#define VERSION_STRING "1.3" + #define READ_TIMEOUT 60000000 + + #include "httpd.h" +@@ -673,7 +677,6 @@ + } + + /* Copy the reply entity from Lisp to the client... */ +- if (content_length > 0) + { + unsigned int n_read = 0; + input_buffer_t * buffer; diff --git a/www-apache/mod_lisp2/files/10_mod_lisp2.conf b/www-apache/mod_lisp2/files/10_mod_lisp2.conf new file mode 100644 index 000000000000..ee014f89e82b --- /dev/null +++ b/www-apache/mod_lisp2/files/10_mod_lisp2.conf @@ -0,0 +1,15 @@ +<IfDefine LISP> + <IfModule !mod_lisp.c> + LoadModule lisp_module modules/mod_lisp.so + </IfModule> +</IfDefine> + + +<IfModule mod_lisp.c> + LispServer 127.0.0.1 3000 "userdefinedstring" + + <Location /asp> + SetHandler lisp-handler + </Location> + +</IfModule> diff --git a/www-apache/mod_lisp2/files/README.Gentoo b/www-apache/mod_lisp2/files/README.Gentoo new file mode 100644 index 000000000000..58d240af67f7 --- /dev/null +++ b/www-apache/mod_lisp2/files/README.Gentoo @@ -0,0 +1,5 @@ +A basic Apache configuration example has been included in this port's +documentation path. + +zul @ gentoo.org +mkennedy @ gentoo.org diff --git a/www-apache/mod_lisp2/files/apache.conf b/www-apache/mod_lisp2/files/apache.conf new file mode 100644 index 000000000000..5ec8f6e452f1 --- /dev/null +++ b/www-apache/mod_lisp2/files/apache.conf @@ -0,0 +1,24 @@ + +# This is an example configuration to get you started. + +<IfDefine MODLISP> + LoadModule lisp_module extramodules/mod_lisp.so +</IfDefine> + +<IfModule mod_lisp.c> + LispServer 127.0.0.1 3000 "server1" + AddHandler lisp-handler .lsp +</IfModule> + +# In the Common Lisp implementation, the initialization code +# corresponding to the above would be: +# +# (require :modlisp) +# (ml:modlisp-start :port 3000) +# +# Example requests: +# +# http://localhost/debug.lsp +# http://localhost/fixed.lsp + +# Matthew Kennedy <mkennedy@gentoo.org> diff --git a/www-apache/mod_lisp2/files/digest-mod_lisp2-1.2 b/www-apache/mod_lisp2/files/digest-mod_lisp2-1.2 new file mode 100644 index 000000000000..e69643c230a5 --- /dev/null +++ b/www-apache/mod_lisp2/files/digest-mod_lisp2-1.2 @@ -0,0 +1 @@ +MD5 5d8fffee038fb7e802729b31b32f0670 mod_lisp2-1.2.c 24379 |