head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	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.42;	author svnexp;	state Exp;
branches;
next	1.4;

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

1.3
date	2012.08.18.14.29.08;	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.40;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# Created by: Frank Wall <fw@@moov.de>
# $FreeBSD: head/www/mod_whatkilledus/Makefile 304797 2012-09-24 20:55:01Z ohauer $

PORTNAME=	mod_whatkilledus
PORTVERSION=	2.0
CATEGORIES=	www
MASTER_SITES=	http://people.apache.org/~trawick/ \
		http://dl.moov.de/freebsd/${PORTNAME}/
DISTFILES=	mod_whatkilledus.c test_char.h
EXTRACT_ONLY=	# empty

MAINTAINER=	fw@@moov.de
COMMENT=	Logs a report when a child process crashes

MAKE_JOBS_SAFE=	yes
MANUAL_PACKAGE_BUILD=	yes

USE_APACHE=	22
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
SHORTMODNAME=	whatkilledus

WRKSRC=		${WRKDIR}

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${DISTDIR}/mod_whatkilledus.c ${WRKSRC}
	${CP} ${DISTDIR}/test_char.h ${WRKSRC}

pre-build:
	@@${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! ***********************"

.include <bsd.port.mk>
@


1.4
log
@SVN rev 304797 on 2012-09-24 20:55:01Z by ohauer

- USE_APACHE s/22+/22/

some additional cleanups/fixes
- adopt new Makefile header
- convert to optionsNG
- use BROKEN instead IGNORE in bsd.apache.mk

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.3
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
@d1 1
a1 4
# New ports collection makefile for:   	mod_whatkilledus
# Date created:        			Thu Nov  4 10:08:27 CET 2010
# Whom:                			Frank Wall <fw@@moov.de>
#
a2 1
#
d18 1
a18 1
USE_APACHE=	22+
@


1.2
log
@- Mark manual package builds b/c of httpd configure requirements
@
text
@d22 3
a24 3
USE_APACHE=	20+
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
@


1.1
log
@mod_whatkilledus is an experimental module for Apache httpd 2.x which
tracks the current request and logs a report of the active request
when a child process crashes.

Requirements: Apache httpd >= 2.0.49 must be built with the
--enable-exception-hook configure option and mod_so enabled.

Activating mod_whatkilledus:

  1. Load it like any other DSO.
	LoadModule whatkilledus_module modules/mod_whatkilledus.so

  2. Enable exception hooks for modules like mod_whatkilledus:
	EnableExceptionHook On

  3. Choose where the report on current activity should be written. If
     you want it reported to some place other than the error log, use the
     WhatKilledUsLog directive to specify a fully-qualified filename for
     the log.  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
     not opened until a crash occurs.

WWW: http://people.apache.org/~trawick/exception_hook.html

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

