Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=95a21a3e6fc076e35803b6ae8f65384c25b784bd

commit 95a21a3e6fc076e35803b6ae8f65384c25b784bd
Author: Daniel Exner <[email protected]>
Date:   Tue Sep 4 17:03:52 2012 +0200

syslog-ng-3.3.6-1-x86_64

* version bump
+ added patch (fixed upstream in next version)

diff --git a/source/apps-extra/syslog-ng/FrugalBuild 
b/source/apps-extra/syslog-ng/FrugalBuild
index 0d580a8..a238ea8 100644
--- a/source/apps-extra/syslog-ng/FrugalBuild
+++ b/source/apps-extra/syslog-ng/FrugalBuild
@@ -3,8 +3,8 @@
# Contributor: AlexExtreme <[email protected]>

pkgname=syslog-ng
-pkgver=3.3.5
-pkgrel=2
+pkgver=3.3.6
+pkgrel=1
pkgdesc="A flexible system logging tool"
url="http://www.balabit.com/products/syslog_ng/";
depends=('glib2' 'eventlog>=0.2.7' 'libnet>=1.1.2.1-4' 'systemd>=38')
@@ -16,9 +16,11 @@ groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.balabit.com/downloads/files/syslog-ng/sources/ | 
grep 'http:.*[0-9]\.[0-9]\{1,2\}\.[0-9]\{1,2\}' | grep -v alpha | tail -n 1 | 
sed 's|.*/\(.*\)$|\1|'"
source=(http://www.balabit.com/downloads/files/$pkgname/sources/$pkgver/source/${pkgname}_$pkgver.tar.gz
 \
+       disable_spoof_source_build.patch \
syslog-ng.conf syslog-ng syslog-ng.service)
backup=(etc/syslog-ng.conf)
-sha1sums=('0c8b85079b60c68c4279bcd4124b1e3c6358407b' \
+sha1sums=('c2ee74180d640b235665115c5a4b2c61a71a9576' \
+          '3bda448206c9bad3001c671049c83acae1dd6eaa' \
'859175df338e8d67e624b0fc48cbe8077f9c7771' \
'2876e61d5e04f6117967da728bcb1d3b6785532f' \
'3f8bd9c46c930e5d0c2c3fd06e7a81f0cdc244f0')
diff --git a/source/apps-extra/syslog-ng/disable_spoof_source_build.patch 
b/source/apps-extra/syslog-ng/disable_spoof_source_build.patch
new file mode 100644
index 0000000..0a6ce3b
--- /dev/null
+++ b/source/apps-extra/syslog-ng/disable_spoof_source_build.patch
@@ -0,0 +1,17 @@
+--- modules/afsocket/afinet.c.orig     2012-09-01 21:03:17.658244740 -0400
++++ modules/afsocket/afinet.c  2012-09-01 21:03:31.720944758 -0400
+@@ -539,11 +539,13 @@
+ static gboolean
+ afinet_dd_init(LogPipe *s)
+ {
+-  AFInetDestDriver *self = (AFInetDestDriver *) s;
++  AFInetDestDriver *self G_GNUC_UNUSED = (AFInetDestDriver *) s;
+   gboolean success;
+
++#if ENABLE_SPOOF_SOURCE
+   if (self->spoof_source)
+     self->super.flags &= ~AFSOCKET_KEEP_ALIVE;
++#endif
+
+   success = afsocket_dd_init(s);
+ #if ENABLE_SPOOF_SOURCE
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to