Commit 26919c59 authored by Eric Vidal's avatar Eric Vidal 💬
Browse files

upgpkg: 3.21.1-4

parent 15b6c9c5
......@@ -3,22 +3,26 @@
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=syslog-ng
pkgver=3.20.1
pkgrel=2
pkgver=3.21.1
pkgrel=4
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
arch=(x86_64)
url="https://www.syslog-ng.com/products/open-source-log-management/"
license=('GPL2' 'LGPL2.1')
depends=('awk' 'glib2' 'libdbi' 'libnsl')
makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 'hiredis')
checkdepends=('python-nose' 'python-ply' 'python2')
depends=('awk' 'glib2' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet')
makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 'hiredis'
'libdbi' 'geoip' 'libmaxminddb')
checkdepends=('python-nose' 'python-pylint' 'python-ply')
optdepends=('logrotate: for rotating log files'
'json-c: for json-plugin'
'curl: for the HTTP module'
'mongo-c-driver: for the MongoDB plugin'
'python: for the Python plugin'
'libesmtp: for the STMP plugin'
'hiredis: fir the redis plugin')
'libdbi: for the SQL plugin'
'librabbitmq-c: for the AMQP plugin'
'mongo-c-driver: for the MongoDB plugin'
'python: for the Python plugin'
'libesmtp: for the SMTP plugin'
'hiredis: for the Redis plugin'
'geoip: for the GeoIP plugin'
'libmaxminddb: for the GeoIP2 plugin'
'python: for Python-based plugins')
conflicts=('eventlog')
replaces=('eventlog')
backup=('etc/syslog-ng/scl.conf'
......@@ -26,11 +30,13 @@ backup=('etc/syslog-ng/scl.conf'
'etc/logrotate.d/syslog-ng')
source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
syslog-ng.conf syslog-ng.logrotate)
sha1sums=('9985bad363c15004ceaba0c3e548e89bae00e372'
sha1sums=('0e9b037121f6eb6226b93248351f7c20beb54557'
'a9b54de3e91921966562bd458db26dea135888ba'
'949128fe3d7f77a7aab99048061f885bc758000c')
build() {
cd ${pkgname}-$pkgver
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc/syslog-ng \
--libexecdir=/usr/lib \
......@@ -40,14 +46,15 @@ build() {
--with-pidfile-dir=/run \
--disable-spoof-source \
--enable-ipv6 \
--enable-sql \
--enable-smtp \
--enable-systemd=no \
--with-systemdsystemunitdir=no \
--enable-manpages \
--with-jsonc=system \
--with-mongoc=system \
--with-librabbitmq-client=system
--enable-all-modules \
--disable-java \
--disable-java-modules \
--disable-riemann \
--with-python=3 \
--with-jsonc=system
make
}
......@@ -63,7 +70,4 @@ package() {
install -Dm644 "$srcdir/syslog-ng.logrotate" "$pkgdir/etc/logrotate.d/syslog-ng"
# this is not specific to systemd, the file can be sourced by any service file as classic bash operation
install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default -t "$pkgdir"/etc/default
# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment