summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/syslog-ng/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-11-30 04:11:03 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-11-30 04:11:03 (GMT)
commitf78fc8e0364cb99bf0b3c2fc941ba85c2fe5944f (patch)
tree35b4ab3030640a144537124112e3d65d138672f5 /abs/mv-core/syslog-ng/PKGBUILD
parentfba7ea15ad46f8655bf17ab4c1cc5a8228d39e1b (diff)
parentf0da28db238a7c58552446e2d87bae48a0f9718b (diff)
downloadlinhes_pkgbuild-f78fc8e0364cb99bf0b3c2fc941ba85c2fe5944f.zip
linhes_pkgbuild-f78fc8e0364cb99bf0b3c2fc941ba85c2fe5944f.tar.gz
linhes_pkgbuild-f78fc8e0364cb99bf0b3c2fc941ba85c2fe5944f.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
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
+}