summaryrefslogtreecommitdiff
path: root/libre/metalog/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 21:14:07 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-13 21:14:07 -0300
commit42180a0655beded52fb85681248c44ca0665a63c (patch)
tree0bd44ce1175ef06fadeb975b77bb43e26c2f7f0b /libre/metalog/PKGBUILD
parentefd13fb5dc40fc48cc62bc596c210d36c02e451d (diff)
downloadabslibre-42180a0655beded52fb85681248c44ca0665a63c.tar.gz
abslibre-42180a0655beded52fb85681248c44ca0665a63c.tar.bz2
abslibre-42180a0655beded52fb85681248c44ca0665a63c.zip
libre/metalog-2.0-1
Replacement for syslog-ng (issue292)
Diffstat (limited to 'libre/metalog/PKGBUILD')
-rw-r--r--libre/metalog/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/libre/metalog/PKGBUILD b/libre/metalog/PKGBUILD
new file mode 100644
index 000000000..5a2aea8b3
--- /dev/null
+++ b/libre/metalog/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 137711 2011-09-10 13:12:33Z pierre $
+# Maintainer: juergen <juergen@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=metalog
+pkgver=2.0
+pkgrel=1
+pkgdesc="Metalog is a modern replacement for syslogd and klogd"
+url="http://metalog.sourceforge.net"
+license=('GPL')
+arch=('i686' 'x86_64' 'mips64el')
+depends=('pcre')
+groups=('base')
+provides=('logger')
+replaces=('syslog-ng')
+conflicts=('syslog-ng')
+backup=('etc/metalog.conf' 'etc/conf.d/metalog')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-2.tar.xz"
+ 'metalog' 'metalog.confd')
+
+build() {
+ cd $srcdir/$pkgname-2
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd $srcdir/$pkgname-2
+ make check
+}
+
+package() {
+ cd $srcdir/$pkgname-2
+ 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
+
+# compat symlink
+ ln -s metalog $pkgdir/etc/rc.d/syslog-ng
+
+}
+
+md5sums=('e948d10d780205eae17645c89aee1361'
+ 'cdd1d34eedbfbc2d9e659bf0a0f58f56'
+ '86bccd5a02996921e29eff8a0394d11f')