Bug 161395 - New port: sysutils/mcelog
Summary: New port: sysutils/mcelog
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-08 12:10 UTC by Jeremy Chadwick
Modified: 2011-10-15 04:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Chadwick 2011-10-08 12:10:05 UTC
	For quite some time FreeBSD has lacked an "official" (even if 3rd-party!)
	way to decode hardware MCEs emitted by Machine Check Architecture.  Folks
	like John Baldwin and myself have had to assist on mailing lists to decode
	the MCEs reported.  Example:

	http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064082.html

	John has provided patches to allow building Linux's mcelog(8) utility
	on FreeBSD for quite some time:

	http://people.freebsd.org/~jhb/mcelog/
	P4: //depot/projects/mcelog/

	To make it easier for users to benefit from this, I put together a
	port (sysutils/mcelog) using John's patches.  Important is the fact that
	fact that his patches will be manually incorporated into files/, rather
	than fetched from his site.  This is to guarantee the port will always
	build/work even if John updates his patches on his site.

	I will be the maintainer of this port, and if John changes his patches,
	he will communicate with me privately, and I will thus submit PRs to
	update this port.

	NOTE #1: I have been in private contact with John and he has given his
	approval for this port which include a slightly modified version of
	his patch.  Quote: "Please feel free to go forward with this."

	NOTE #2: I have not tested this port with portlint.

Fix: 

Port directory and its contents available here:	

	http://jdc.parodius.com/freebsd/mcelog.tar.gz

	MD5 (mcelog.tar.gz) = 54b6cca752d258b03314484f42cbd1fa
	SHA1 (mcelog.tar.gz) = 3b785ef1e5ae762643163ebbcada2f4d61cc2285

	Let me know if a uuencoded version is needed here in the PR instead.
How-To-Repeat: 	n/a
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2011-10-13 18:23:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-10-15 03:53:39 UTC
zi          2011-10-15 02:53:31 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/mcelog      Makefile distinfo pkg-descr pkg-message 
    sysutils/mcelog/files memstream.c patch-Makefile patch-cache.c 
                          patch-client.c patch-config.c 
                          patch-eventloop.c patch-intel.c 
                          patch-mcelog.c patch-mcelog.h 
                          patch-memdb.c patch-p4.c patch-server.c 
                          patch-tsc.c 
  Log:
  New port: sysutils/mcelog
  
  mcelog processes machine checks (in particular memory and CPU
  hardware errors) on modern x86-based unix systems and
  produces human-readable output.
  
  FreeBSD conversion patches were originally written by John
  Baldwin <jhb@freebsd.org> and later incorporated into this
  port.
  
  WWW: http://mcelog.org/
  
  PR:             ports/161395
  Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com>
  
  Revision  Changes    Path
  1.1327    +1 -0      ports/sysutils/Makefile
  1.1       +38 -0     ports/sysutils/mcelog/Makefile (new)
  1.1       +2 -0      ports/sysutils/mcelog/distinfo (new)
  1.1       +133 -0    ports/sysutils/mcelog/files/memstream.c (new)
  1.1       +48 -0     ports/sysutils/mcelog/files/patch-Makefile (new)
  1.1       +26 -0     ports/sysutils/mcelog/files/patch-cache.c (new)
  1.1       +20 -0     ports/sysutils/mcelog/files/patch-client.c (new)
  1.1       +34 -0     ports/sysutils/mcelog/files/patch-config.c (new)
  1.1       +38 -0     ports/sysutils/mcelog/files/patch-eventloop.c (new)
  1.1       +21 -0     ports/sysutils/mcelog/files/patch-intel.c (new)
  1.1       +680 -0    ports/sysutils/mcelog/files/patch-mcelog.c (new)
  1.1       +25 -0     ports/sysutils/mcelog/files/patch-mcelog.h (new)
  1.1       +12 -0     ports/sysutils/mcelog/files/patch-memdb.c (new)
  1.1       +13 -0     ports/sysutils/mcelog/files/patch-p4.c (new)
  1.1       +79 -0     ports/sysutils/mcelog/files/patch-server.c (new)
  1.1       +95 -0     ports/sysutils/mcelog/files/patch-tsc.c (new)
  1.1       +15 -0     ports/sysutils/mcelog/pkg-descr (new)
  1.1       +7 -0      ports/sysutils/mcelog/pkg-message (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2011-10-15 03:53:48 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!