Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2008 18:00:27 +0200
From:      Sven Klose <pixel@copei.de>
To:        edwin@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/124674: [patch] www/mod_lisp2: FIX: Generates incorrect LoadModule directive in apache22's httpd.conf
Message-ID:  <4857DF9B.8090300@copei.de>
In-Reply-To: <200806171520.m5HFKDI3055261@freefall.freebsd.org>
References:  <200806171520.m5HFKDI3055261@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010407000409050009080701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I messed up. Here's a more sane version of the fix.

--------------010407000409050009080701
Content-Type: text/plain;
 name="mod_lisp2.shar.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mod_lisp2.shar.txt"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_lisp2
#	mod_lisp2/Makefile
#	mod_lisp2/distinfo
#	mod_lisp2/pkg-descr
#	mod_lisp2/files
#	mod_lisp2/files/patch-aa
#
echo c - mod_lisp2
mkdir -p mod_lisp2 > /dev/null 2>&1
echo x - mod_lisp2/Makefile
sed 's/^X//' >mod_lisp2/Makefile << 'END-of-mod_lisp2/Makefile'
X# Ports collection makefile for:	mod_lisp2
X# Date created:				Tue Jul 17 2007
X# Whom:					vl
X#
X# $FreeBSD: ports/www/mod_lisp2/Makefile,v 1.1 2007/07/29 11:54:15 pav Exp $
X#
X
XPORTNAME=	mod_lisp2
XPORTVERSION=	1.3.1
XCATEGORIES=	www
XMASTER_SITES=	http://freebsd.minira.nl/
X
XMAINTAINER=	viktor.leis@googlemail.com
XCOMMENT=	Apache2 module for use with Common Lisp
X
XUSE_APACHE=	20+
XAP_FAST_BUILD=	YES
XAP_GENPLIST=	YES
X
X.include <bsd.port.mk>
END-of-mod_lisp2/Makefile
echo x - mod_lisp2/distinfo
sed 's/^X//' >mod_lisp2/distinfo << 'END-of-mod_lisp2/distinfo'
XMD5 (mod_lisp2-1.3.1.tar.gz) = a5cb746e793b65e5801c8b77dbde023d
XSHA256 (mod_lisp2-1.3.1.tar.gz) = 5af4bb8fd46b5f62266e46fcf037015ddc9d24ed4d212cc08fd383110a4d6c20
XSIZE (mod_lisp2-1.3.1.tar.gz) = 7972
END-of-mod_lisp2/distinfo
echo x - mod_lisp2/pkg-descr
sed 's/^X//' >mod_lisp2/pkg-descr << 'END-of-mod_lisp2/pkg-descr'
Xmod_lisp is an Apache 2 module for writing web applications in Common
XLisp. It is distributed with a BSD-style license.
X
XWWW: http://www.fractalconcept.com/asp/html/mod_lisp.html
END-of-mod_lisp2/pkg-descr
echo c - mod_lisp2/files
mkdir -p mod_lisp2/files > /dev/null 2>&1
echo x - mod_lisp2/files/patch-aa
sed 's/^X//' >mod_lisp2/files/patch-aa << 'END-of-mod_lisp2/files/patch-aa'
X--- mod_lisp2.c.orig	2008-06-17 17:51:40.000000000 +0200
X+++ mod_lisp2.c	2008-06-17 17:53:20.000000000 +0200
X@@ -153,7 +153,7 @@
X #include <stdlib.h>
X #include <string.h>
X 
X-module AP_MODULE_DECLARE_DATA lisp_module;
X+module AP_MODULE_DECLARE_DATA lisp2_module;
X /* Work out the version of the apache portable runtime (APR) we're
X  * compiling against... with version 1.2.2 some of the interfaces
X  * changed a bit. */
X@@ -576,7 +576,7 @@
X lisp_handler (request_rec * r)
X {
X   lisp_cfg_t * cfg
X-    = (ap_get_module_config ((r->per_dir_config), (&lisp_module)));
X+    = (ap_get_module_config ((r->per_dir_config), (&lisp2_module)));
X   int content_length = (-1);
X   int keep_socket_p = 0;
X   apr_socket_t * socket;
X@@ -942,7 +942,7 @@
X   ap_hook_handler (lisp_handler, 0, 0, APR_HOOK_MIDDLE);
X }
X 
X-module AP_MODULE_DECLARE_DATA lisp_module =
X+module AP_MODULE_DECLARE_DATA lisp2_module =
X {
X   STANDARD20_MODULE_STUFF,
X   lisp_create_dir_config,	/* create per-directory config structures */
END-of-mod_lisp2/files/patch-aa
exit


--------------010407000409050009080701--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4857DF9B.8090300>