summaryrefslogtreecommitdiff
path: root/extra/metalog
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-05 10:04:45 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-05 10:04:45 -0300
commit1d7654844d03a315c45e204abf8fa44f4d750bba (patch)
tree3a009f4ec4921e4d62428d0f3da4169380dd8f7e /extra/metalog
parentb6c59f3d5bcae3f0b61856c1bea145c25c02a6f7 (diff)
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: gnome-unstable/folks/PKGBUILD gnome-unstable/telepathy-glib/PKGBUILD gnome-unstable/telepathy-mission-control/PKGBUILD libre/kdenetwork-kopete-libre/PKGBUILD testing/iputils/PKGBUILD testing/iputils/iputils.install testing/ypserv/PKGBUILD
Diffstat (limited to 'extra/metalog')
-rw-r--r--extra/metalog/PKGBUILD20
-rw-r--r--extra/metalog/metalog.service9
2 files changed, 21 insertions, 8 deletions
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index 6845854ca..fd87ef8c8 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 156093 2012-04-13 11:44:31Z juergen $
+# $Id: PKGBUILD 167973 2012-10-04 13:24:41Z juergen $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=metalog
-pkgver=2.0
-pkgrel=2
+pkgver=3.0
+pkgrel=0
pkgdesc="Metalog is a modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
@@ -12,21 +12,25 @@ arch=('i686' 'x86_64' 'mips64el')
depends=('pcre')
provides=('logger')
backup=('etc/metalog.conf' 'etc/conf.d/metalog')
-source=("http://sourceforge.net/projects/metalog/files/metalog-2.tar.xz/download" 'metalog' 'metalog.confd')
-md5sums=('e948d10d780205eae17645c89aee1361'
+source=("http://sourceforge.net/projects/metalog/files/metalog-3.tar.xz/download" 'metalog' 'metalog.confd' 'metalog.service')
+md5sums=('6fe404e49764fa24108fd090417bacb5'
'9e73301a7f0be291749ee30638527cb9'
- '86bccd5a02996921e29eff8a0394d11f')
+ '86bccd5a02996921e29eff8a0394d11f'
+ 'f005e6970c25bfdaf0596791e9135f98')
build() {
- cd $srcdir/$pkgname-2
+ cd $srcdir/$pkgname-3
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
- cd $srcdir/$pkgname-2
+ cd $srcdir/$pkgname-3
make DESTDIR=$pkgdir install
install -D -m755 $srcdir/metalog $pkgdir/etc/rc.d/metalog
install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog
install -D -m644 metalog.conf $pkgdir/etc/metalog.conf
+
+ install -d "${pkgdir}"/usr/lib/systemd/system
+ install -Dm644 "${srcdir}"/metalog.service "${pkgdir}"/usr/lib/systemd/system/
}
diff --git a/extra/metalog/metalog.service b/extra/metalog/metalog.service
new file mode 100644
index 000000000..5982c8804
--- /dev/null
+++ b/extra/metalog/metalog.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=System Logger Daemon
+
+[Service]
+ExecStart=/usr/sbin/metalog
+
+[Install]
+WantedBy=multi-user.target
+Alias=syslog.service