From owner-svn-ports-all@FreeBSD.ORG Mon Nov 4 08:57:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0178E45; Mon, 4 Nov 2013 08:57:07 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACFAF2572; Mon, 4 Nov 2013 08:57:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA48v7CK086698; Mon, 4 Nov 2013 08:57:07 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA48v6wF086693; Mon, 4 Nov 2013 08:57:06 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201311040857.rA48v6wF086693@svn.freebsd.org> From: Colin Percival Date: Mon, 4 Nov 2013 08:57:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332673 - in head/sysutils: . panicmail X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 08:57:07 -0000 Author: cperciva Date: Mon Nov 4 08:57:06 2013 New Revision: 332673 URL: http://svnweb.freebsd.org/changeset/ports/332673 Log: When rebooting after a panic, send an encrypted email containing basic dump metadata along with a kernel backtrace, in order to assist FreeBSD developers in identifying and fixing common panics. Discussed on: freebsd-hackers Added: head/sysutils/panicmail/ head/sysutils/panicmail/Makefile (contents, props changed) head/sysutils/panicmail/distinfo (contents, props changed) head/sysutils/panicmail/pkg-descr (contents, props changed) head/sysutils/panicmail/pkg-message (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Nov 4 08:30:37 2013 (r332672) +++ head/sysutils/Makefile Mon Nov 4 08:57:06 2013 (r332673) @@ -644,6 +644,7 @@ SUBDIR += pacman SUBDIR += paicc SUBDIR += pam_mount + SUBDIR += panicmail SUBDIR += parallel SUBDIR += password-store SUBDIR += patchelf Added: head/sysutils/panicmail/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/panicmail/Makefile Mon Nov 4 08:57:06 2013 (r332673) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= panicmail +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= http://www.daemonology.net/panicmail/ + +MAINTAINER= cperciva@FreeBSD.org +COMMENT= Automatically report kernel panics + +LICENSE= BSD + +RUN_DEPENDS= pkesh:${PORTSDIR}/security/pkesh + +NO_BUILD= yes +NO_INSTALL= yes + +PLIST_FILES= etc/rc.d/panicmail \ + etc/cperciva-panicmail.pem + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/panicmail ${STAGEDIR}${PREFIX}/etc/rc.d/ + ${INSTALL_DATA} ${WRKSRC}/cperciva-panicmail.pem ${STAGEDIR}${PREFIX}/etc + +.include Added: head/sysutils/panicmail/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/panicmail/distinfo Mon Nov 4 08:57:06 2013 (r332673) @@ -0,0 +1,2 @@ +SHA256 (panicmail-1.0.tar.gz) = 3b27995cdb72c211a7b7061335b6f0933e1cbc6546d1aa0d48c9bd87bd845541 +SIZE (panicmail-1.0.tar.gz) = 2934 Added: head/sysutils/panicmail/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/panicmail/pkg-descr Mon Nov 4 08:57:06 2013 (r332673) @@ -0,0 +1,3 @@ +When rebooting after a panic, send an encrypted email containing basic +dump metadata along with a kernel backtrace, in order to assist FreeBSD +developers in identifying and fixing common panics. Added: head/sysutils/panicmail/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/panicmail/pkg-message Mon Nov 4 08:57:06 2013 (r332673) @@ -0,0 +1,9 @@ +To enable sending of panic reports, add + panicmail_enable="YES" +to your /etc/rc.conf. + +By default panic reports will be sent to root with instructions to forward +them if they do not contain any sensitive information. To automatically +submit panic reports directly, add + panicmail_autosubmit="YES" +to your /etc/rc.conf in addition.