svn commit: r332673 - in head/sysutils: . panicmail

Colin Percival cperciva at FreeBSD.org
Mon Nov 4 08:57:07 UTC 2013


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 at 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 <bsd.port.mk>

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.


More information about the svn-ports-all mailing list