Date: Tue, 17 Jun 2008 15:15:16 GMT From: Sven Klose <pixel@copei.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124674: [patch] www/mod_lisp2: FIX: Generates incorrect LoadModule directive in apache22's httpd.conf Message-ID: <200806171515.m5HFFGAd028349@www.freebsd.org> Resent-Message-ID: <200806171520.m5HFK4FG055147@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124674 >Category: ports >Synopsis: [patch] www/mod_lisp2: FIX: Generates incorrect LoadModule directive in apache22's httpd.conf >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 17 15:20:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sven Klose >Release: FreeBSD 7.0-RELEASE-p1 #3 amd64 >Organization: Softwarearchitekturbuero Sven Klose >Environment: >Description: The following line is inserted into httpd.conf #LoadModule lisp2_module libexec/apache22/mod_lisp2.so which is incorrect, because the symbol 'lisp_module' is used in mod_lisp2.c instead of 'lisp2_module'. The attached version adds a patch to fix the symbol name in the source file. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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:00:04.000000000 +0200 X+++ mod_lisp2.c 2008-06-17 17:00:20.000000000 +0200 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806171515.m5HFFGAd028349>