From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 4 12:50:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ACD4106566B for ; Thu, 4 Nov 2010 12:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2298FC15 for ; Thu, 4 Nov 2010 12:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA4Co3ML012687 for ; Thu, 4 Nov 2010 12:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA4Co3SO012686; Thu, 4 Nov 2010 12:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 4 Nov 2010 12:50:03 GMT Resent-Message-Id: <201011041250.oA4Co3SO012686@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Wall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0BAF106564A for ; Thu, 4 Nov 2010 12:42:00 +0000 (UTC) (envelope-from fw@inotronic.de) Received: from mail.inotronic.de (mail.inotronic.de [77.73.248.111]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9508FC0A for ; Thu, 4 Nov 2010 12:41:59 +0000 (UTC) Received: from phosphorus (mail [77.73.248.111]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id oA4CXLXj062833; Thu, 4 Nov 2010 13:33:21 +0100 (CET) (envelope-from fw@inotronic.de) Received: from boron.inotronic.de (boron.inotronic-intern.de [10.1.2.10]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id oA4CXC6v062819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Nov 2010 13:33:13 +0100 (CET) (envelope-from fw@inotronic.de) Received: from boron.inotronic-intern.de (fw@localhost [127.0.0.1]) by boron.inotronic.de (8.14.3/8.14.3) with ESMTP id oA4CXCk0096452; Thu, 4 Nov 2010 13:33:12 +0100 (CET) (envelope-from fw@boron.inotronic-intern.de) Received: (from fw@localhost) by boron.inotronic-intern.de (8.14.3/8.14.3/Submit) id oA4CXCRf096451; Thu, 4 Nov 2010 13:33:12 +0100 (CET) (envelope-from fw) Message-Id: <201011041233.oA4CXCRf096451@boron.inotronic-intern.de> Date: Thu, 4 Nov 2010 13:33:12 +0100 (CET) From: Frank Wall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: fw@moov.de Subject: ports/151931: [NEW PORT] www/mod_backtrace: Collects backtraces when a child process crashes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 12:50:04 -0000 >Number: 151931 >Category: ports >Synopsis: [NEW PORT] www/mod_backtrace: Collects backtraces when a child process crashes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 04 12:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frank Wall >Release: FreeBSD 7.1-RELEASE-p11 amd64 >Organization: >Environment: System: FreeBSD 7.1-RELEASE-p11 FreeBSD 7.1-RELEASE-p11 #0: Fri Feb 26 19:22:31 UTC 2010 >Description: mod_backtrace is an experimental module for Apache httpd 2.x which collects backtraces when a child process crashes. Currently it is implemented only on Linux and FreeBSD, but other platforms could be supported in the future. Requirements: Apache httpd >= 2.0.49 must be built with the --enable-exception-hook configure option and mod_so enabled. Activating mod_backtrace: 1. Load it like any other DSO: LoadModule backtrace_module modules/mod_backtrace.so 2. Enable exception hooks for modules like mod_backtrace: EnableExceptionHook On 3. Choose where backtrace information should be written. If you want backtraces from crashes to be reported some place other than the error log, use the BacktraceLog directive to specify a fully-qualified filename for the log to which backtraces will be written. Note that the web server user id (e.g., "nobody") must be able to create or append to this log file, as the log file is WWW: http://people.apache.org/~trawick/exception_hook.html Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- ap22-mod_backtrace-1.0.shar begins here --- # 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_backtrace # mod_backtrace/Makefile # mod_backtrace/distinfo # mod_backtrace/pkg-descr # echo c - mod_backtrace mkdir -p mod_backtrace > /dev/null 2>&1 echo x - mod_backtrace/Makefile sed 's/^X//' >mod_backtrace/Makefile << '2eae82758c703cbac6e9e2c8c6f2c712' X# New ports collection makefile for: mod_backtrace X# Date created: Thu Nov 4 10:08:27 CET 2010 X# Whom: Frank Wall X# X# $FreeBSD$ X# X XPORTNAME= mod_backtrace XPORTVERSION= 1.0 XCATEGORIES= www XMASTER_SITES= http://people.apache.org/~trawick/ \ X http://dl.moov.de/freebsd/${PORTNAME}/ XDISTNAME= ${PORTNAME}.c XEXTRACT_SUFX= # none XEXTRACT_ONLY= # empty X XMAINTAINER= fw@moov.de XCOMMENT= Collects backtraces when a child process crashes X XLIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo X XMAKE_JOBS_SAFE= yes X XUSE_APACHE= 20+ XAP_FAST_BUILD= YES XAP_GENPLIST= YES XAP_EXTRAS+= -lexecinfo XAP_LIB+= ${LOCALBASE}/lib XSHORTMODNAME= backtrace X XWRKSRC= ${WRKDIR} X Xdo-extract: X ${MKDIR} ${WRKSRC} X ${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC} X Xpre-build: X @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" X @${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook" X @${ECHO_MSG} "configure option and mod_so enabled." X @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" X X.include 2eae82758c703cbac6e9e2c8c6f2c712 echo x - mod_backtrace/distinfo sed 's/^X//' >mod_backtrace/distinfo << 'b53438360c9373173a1a1b4e7477379e' XSHA256 (mod_backtrace.c) = 56fd08206e5b5a2b6258dc2b48e0466010640ddac12dcc153e65c455f294e900 XSIZE (mod_backtrace.c) = 5965 b53438360c9373173a1a1b4e7477379e echo x - mod_backtrace/pkg-descr sed 's/^X//' >mod_backtrace/pkg-descr << '976aa361066ce0e7262298a23cdfcbb4' Xmod_backtrace is an experimental module for Apache httpd 2.x which Xcollects backtraces when a child process crashes. Currently it is Ximplemented only on Linux and FreeBSD, but other platforms could be Xsupported in the future. X XRequirements: Apache httpd >= 2.0.49 must be built with the X--enable-exception-hook configure option and mod_so enabled. X XActivating mod_backtrace: X X 1. Load it like any other DSO: X LoadModule backtrace_module modules/mod_backtrace.so X X 2. Enable exception hooks for modules like mod_backtrace: X EnableExceptionHook On X X 3. Choose where backtrace information should be written. X If you want backtraces from crashes to be reported some place other X than the error log, use the BacktraceLog directive to specify a X fully-qualified filename for the log to which backtraces will be X written. Note that the web server user id (e.g., "nobody") must X be able to create or append to this log file, as the log file is X XWWW: http://people.apache.org/~trawick/exception_hook.html 976aa361066ce0e7262298a23cdfcbb4 exit --- ap22-mod_backtrace-1.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: