head	1.5;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.3;

1.3
date	2011.08.20.17.27.40;	author ohauer;	state Exp;
branches;
next	1.2;

1.2
date	2010.11.11.05.11.59;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2010.11.11.05.08.18;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:   	mod_backtrace
# Date created:        			Thu Nov  4 10:08:27 CET 2010
# Whom:                			Frank Wall <fw@@moov.de>
#
# $FreeBSD: head/www/mod_backtrace/Makefile 302724 2012-08-18 14:29:08Z ohauer $
#

PORTNAME=	mod_backtrace
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://people.apache.org/~trawick/ \
		http://dl.moov.de/freebsd/${PORTNAME}/
DISTNAME=	${PORTNAME}.c
EXTRACT_SUFX=	# none
EXTRACT_ONLY=	# empty

MAINTAINER=	fw@@moov.de
COMMENT=	Collects backtraces when a child process crashes

LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo

MAKE_JOBS_SAFE=	yes
MANUAL_PACKAGE_BUILD=	yes

USE_APACHE=	22+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_EXTRAS+=	-lexecinfo
AP_LIB+=	${LOCALBASE}/lib
SHORTMODNAME=	backtrace

WRKSRC=		${WRKDIR}

pre-everything::
	@@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
	@@${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook"
	@@${ECHO_MSG} "configure option and mod_so enabled."
	@@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"

do-extract:
	${MKDIR} ${WRKSRC}/
	${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}/

.include <bsd.port.mk>
@


1.4
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d26 3
a28 3
USE_APACHE=	20+
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
@


1.2
log
@- Mark manual package builds b/c of httpd configure requirements
@
text
@d10 1
@


1.1
log
@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

PR:		ports/151931
Submitted by:	Frank Wall <fw at moov.de>
@
text
@d23 1
@

