summaryrefslogtreecommitdiff
path: root/community/mcelog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-12 00:04:48 -0700
committerroot <root@rshg054.dnsready.net>2013-04-12 00:04:48 -0700
commitd976aa5e1544c80dc2457ea20b27f28f3fa05899 (patch)
treeb920a24b920930916f1d58602326568fd1e4e9bf /community/mcelog
parent337402b957bab442da9e0d46ee7a8d8f32ede3ce (diff)
Fri Apr 12 00:04:48 PDT 2013
Diffstat (limited to 'community/mcelog')
-rw-r--r--community/mcelog/PKGBUILD18
-rw-r--r--community/mcelog/mcelog.service4
2 files changed, 11 insertions, 11 deletions
diff --git a/community/mcelog/PKGBUILD b/community/mcelog/PKGBUILD
index daf096264..f6493bd0d 100644
--- a/community/mcelog/PKGBUILD
+++ b/community/mcelog/PKGBUILD
@@ -1,32 +1,32 @@
-# $Id: PKGBUILD 78891 2012-10-26 13:18:06Z spupykin $
+# $Id: PKGBUILD 88089 2013-04-11 09:34:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Thomas Mudrunka <harvie@@email..cz>
# Maintainer: Thomas Mudrunka <harvie@@email..cz>
pkgname=mcelog
-pkgver=1.0pre3
-pkgrel=5
+pkgver=20130411
+pkgrel=1
pkgdesc="Print machine check event log from x86-64 kernel"
url="http://freshmeat.net/projects/mcelog/"
license=("GPL")
arch=('i686' 'x86_64')
+makedepends=('git')
options=('docs')
backup=('etc/mcelog/mcelog.conf')
-#source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz"
-source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source=("git://github.com/andikleen/mcelog.git"
"${pkgname}.rc"
"mcelog.service")
-md5sums=('b42f2214de6f4feb992556149edc67fa'
+md5sums=('SKIP'
'f039a77d7bde3518d3d695b144816e8a'
- 'a8859012781f017624bbfe61c9d700bb')
+ 'b71eb82e532aed3918ebf6b30e158e7f')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/mcelog"
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/mcelog"
mkdir -p $pkgdir/usr/share/doc/mcelog
make install prefix=$pkgdir/usr etcprefix=$pkgdir DOCDIR=$pkgdir/usr/share/doc/mcelog
install -Dm0755 mcelog.cron "${pkgdir}/usr/sbin/mcelog.cron"
diff --git a/community/mcelog/mcelog.service b/community/mcelog/mcelog.service
index c689bee77..35c18bc6f 100644
--- a/community/mcelog/mcelog.service
+++ b/community/mcelog/mcelog.service
@@ -3,8 +3,8 @@ Description=Machine Check Exception Logging Daemon
After=syslog.target
[Service]
-PIDFile=/var/run/mcelog.pid
-ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --pidfile /var/run/mcelog.pid
+PIDFile=/run/mcelog.pid
+ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --pidfile /run/mcelog.pid
StandardOutput=syslog
[Install]