Commit 43ee0bf6 authored by Chaoting Liu's avatar Chaoting Liu

syslog-ng: update to 3.14.1

parent 47ad9409
Pipeline #191 passed with stages
in 6 minutes and 12 seconds
pkgname=syslog-ng
pkgver=3.13.2
pkgver=3.14.1
pkgrel=1
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
arch=('x86_64')
......@@ -19,19 +19,15 @@ backup=('etc/syslog-ng/scl.conf'
'etc/logrotate.d/syslog-ng'
'etc/default/syslog-ng@default')
source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
syslog-ng.conf syslog-ng.logrotate
syslog-ng-json-c-0.13.patch::"https://github.com/balabit/syslog-ng/commit/1b824dd6.patch")
sha256sums=('9a3d31df93698080180057ca9bd57b59d06b74fc426c602ce102a2a5437ad3e8'
syslog-ng.conf syslog-ng.logrotate)
sha256sums=('0245260dc9942a9a07110948151654a60992e039821358da348fb34356c4e944'
'887e4d0e0a0e8d31b639215c36892d90cd32123465d685ae95bbeb0793363544'
'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317'
'6c1b29e18e502ca670b8f6e519fc6f5525fc384632ea3a036167d68b7f69ccc5')
'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
prepare() {
cd $pkgname-$pkgver
sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' contrib/systemd/syslog-ng@.service
sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
patch -p1 -i ../syslog-ng-json-c-0.13.patch # Fix build with json-c 0.13
}
build() {
......
/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
missingok
sharedscripts
postrotate
/bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
endscript
}
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