summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/syslog-ng/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-28 14:38:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-28 14:38:21 (GMT)
commit9ea091d177fe86f5d2e1e9b7bc4aed3c08101935 (patch)
tree14023d3212b4648ad824ce86c3938073e4f22d0e /abs/mv-core/syslog-ng/PKGBUILD
parenta2e62622efb0272d84de5096030d72655f9d4202 (diff)
downloadlinhes_pkgbuild-9ea091d177fe86f5d2e1e9b7bc4aed3c08101935.zip
linhes_pkgbuild-9ea091d177fe86f5d2e1e9b7bc4aed3c08101935.tar.gz
linhes_pkgbuild-9ea091d177fe86f5d2e1e9b7bc4aed3c08101935.tar.bz2
add syslog-ng for MV
Diffstat (limited to 'abs/mv-core/syslog-ng/PKGBUILD')
-rw-r--r--abs/mv-core/syslog-ng/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/mv-core/syslog-ng/PKGBUILD b/abs/mv-core/syslog-ng/PKGBUILD
new file mode 100644
index 0000000..a9efeee
--- /dev/null
+++ b/abs/mv-core/syslog-ng/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=syslog-ng
+pkgver=2.0.9
+pkgrel=4
+pkgdesc="A portable syslogd replacement with enhanced, flexible configuration scheme."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://www.balabit.com/products/syslog_ng"
+makedepends=('flex' 'glib2' 'eventlog')
+depends=('tcp_wrappers' 'logrotate')
+install=('syslog.install')
+provides=('logger')
+backup=('etc/syslog-ng.conf')
+source=(http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/$pkgname-$pkgver.tar.gz \
+ syslog-ng.conf syslog-ng.logrotate syslog-ng log_care.sh)
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --enable-tcp-wrapper --disable-spoof-source
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ install -D -m644 ../syslog-ng.conf $startdir/pkg/etc/syslog-ng.conf
+ install -D -m644 ../syslog-ng.logrotate $startdir/pkg/etc/logrotate.d/syslog-ng
+ install -D -m755 ../syslog-ng $startdir/pkg/etc/rc.d/syslog-ng
+ install -D -m755 ../log_care.sh $startdir/pkg/usr/bin/log_care.sh
+}