Stuart Cardall: 1 testing/syslog-ng: update to 3.6.1 1 files changed, 10 insertions(+), 8 deletions(-)
Thanks,
Seems ok, only getting now errors relating to starting 3.6.1
I think some of the files i.e have to modified too
syslog-ng-destination.std
syslog-ng-filter.std
syslog-ng.initd
syslog-ng.logrotate
syslog-ng-log.std
syslog-ng-options.std
syslog-ng.post-install
syslog-ng-source.std
Some msg while starting syslog-ng v3.6.1
------------------------------
[2014-11-27T20:09:59.753453] WARNING: Configuration file has no version
number, assuming syslog-ng 2.1 format. Please add @version: maj.min to the
beginning of the file to indicate this explicitly;
[2014-11-27T20:09:59.753481] WARNING: Configuration file format is too old,
syslog-ng is running in compatibility mode Please update it to use the syslog-
ng 3.6 format at your time of convinience, compatibility mode can operate less
efficiently in some cases. To upgrade the configuration, please review the
warnings about incompatible changes printed by syslog-ng, and once completed
change the @version header at the top of the configuration file.;
[2014-11-27T20:09:59.753500] WARNING: global: the default value of
chain_hostnames is changing to 'no' in syslog-ng 3.0, please update your
configuration accordingly;
[2014-11-27T20:09:59.753516] WARNING: global: the default value of
log_fifo_size() has changed to 10000 in syslog-ng 3.3 to reflect log_iw_size()
changes for tcp()/udp() window size changes;
[2014-11-27T20:09:59.755516] WARNING: input: sources do not remove new-line
characters from messages by default from syslog-ng 3.0, please add 'no-multi-
line' flag to your configuration if you want to retain this functionality;
[2014-11-27T20:09:59.755544] WARNING: the expected message format is being
changed for unix-domain transports to improve syslogd compatibity with syslog-
ng 3.2. If you are using custom applications which bypass the syslog() API,
you might need the 'expect-hostname' flag to get the old behaviour back;
[2014-11-27T20:09:59.755593] WARNING: file source: default value of
follow_freq in file sources has changed in syslog-ng 3.0 to '1' for all files
except /proc/kmsg;
[2014-11-27T20:09:59.755616] WARNING: Your configuration file uses an
obsoleted keyword, please update your configuration; keyword='log_prefix',
change='program_override'
[2014-11-27T20:09:59.755686] WARNING: template: the default value for
template-escape has changed to 'no' from syslog-ng 3.0, please update your
configuration file accordingly;
[2014-11-27T20:09:59.756444] WARNING: syslog-ng changed the default regexp
implementation to PCRE starting from syslog-ng 3.6, please ensure your regexp
works with PCRE or please specify type("posix") in filters explicitly;
[2014-11-27T20:09:59.756471] WARNING: filters do not store matches in macros
by default from syslog-ng 3.0, please update your configuration by using an
explicit 'store-matches' flag to achieve that;
--
Regards.
V.Krishn
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/devel/patches/575/mbox | git am -3Learn more about email & git
update to 3.6.1 + docs subpkg
Isaac Dunham <ibid.ag@gmail.com>I know you've gotten it to build. But have you also verified that it works properly when installed (including dragging in the right runtime dependencies when they aren't installed already?) Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---
--- testing/syslog-ng/APKBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/testing/syslog-ng/APKBUILD b/testing/syslog-ng/APKBUILD index 63fce48..71389c8 100644 --- a/testing/syslog-ng/APKBUILD +++ b/testing/syslog-ng/APKBUILD @@ -1,17 +1,17 @@ # Contributor: jv <jens@eisfair.org> # Maintainer: jv <jens@eisfair.org> pkgname=syslog-ng -pkgver=2.1.4 -pkgrel=1 +pkgver=3.6.1 +pkgrel=0 pkgdesc="Next generation logging daemon" url="http://www.balabit.com" arch="all" license="GPLv2" depends="" -depends_dev="glib-dev libeventlog-dev" +depends_dev="glib-dev libeventlog-dev pcre-dev" makedepends="$depends_dev" install="$pkgname.post-install" -subpackages="" +subpackages="$pkgname-doc" source="http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/${pkgver}/source/syslog-ng_${pkgver}.tar.gz syslog-ng.logrotate @@ -33,6 +33,7 @@ build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc/syslog-ng \ + --localstatedir=/var \ --enable-ipv6 \ --disable-sql \ --disable-mongodb \ @@ -44,7 +45,8 @@ build() { package() { cd "$_builddir" make -j1 DESTDIR=${pkgdir} install || return 1 - rm -rf ${pkgdir}/usr/share + find ${pkgdir}/usr/share/* -type d -not -name 'man*' | xargs rm -rf + rm -f "$pkgdir"/usr/lib/*.la; rm -f "$pkgdir"/usr/lib/$pkgname/*.la install -D -m755 "$srcdir"/$pkgname.initd ${pkgdir}/etc/init.d/$pkgname || return 1 install -D -m644 "$srcdir"/syslog-ng-destination.std ${pkgdir}/etc/syslog-ng/syslog-ng-destination.std || return 1 install -D -m644 "$srcdir"/syslog-ng-filter.std ${pkgdir}/etc/syslog-ng/syslog-ng-filter.std || return 1 @@ -54,7 +56,7 @@ package() { install -D -m644 "$srcdir"/syslog-ng.logrotate ${pkgdir}/etc/logrotate.d/syslog-ng || return 1 } -md5sums="17c4c7725d2eab62b588395f1ed93f32 syslog-ng_2.1.4.tar.gz +md5sums="45fa07be94b5afb16fd1a91af7b2bb7b syslog-ng_3.6.1.tar.gz 8916d55f8213d2746e8c2a6a89c29d6c syslog-ng.logrotate 91cb6aedf897eebcedd6b6250882d9bf syslog-ng.initd f0b4a0b530e269c51bc63f5b9d817c9b syslog-ng-destination.std @@ -62,7 +64,7 @@ f0b4a0b530e269c51bc63f5b9d817c9b syslog-ng-destination.std bc676f733ea162ea4de7a8c2a16c06ed syslog-ng-log.std f15a2b7c8496038c29d3ca7adc8d4054 syslog-ng-options.std 8c166661270cd8459897ca3df06066c9 syslog-ng-source.std" -sha256sums="e2189c7dbf617f2fc883ab0a8a86100dbe7cb4853c6b39732d77e73f335b0502 syslog-ng_2.1.4.tar.gz +sha256sums="a7823679038117eb63aff7b5cd66fc6a0adcef8e85cfaadc94c3cf2b66d774e8 syslog-ng_3.6.1.tar.gz a886b65863d72476504165e6a6dfe3d2922945d8cb61adb6b8eec73ac35d825e syslog-ng.logrotate f24a042b7213873f9c3d09afc4a442dc61dee67e2d6ca72da387714f8daa0862 syslog-ng.initd bd3097c1d8ff6754df0d7e470659827ae4d6bf86976badf5aabe4d25504fd572 syslog-ng-destination.std @@ -70,7 +72,7 @@ bd3097c1d8ff6754df0d7e470659827ae4d6bf86976badf5aabe4d25504fd572 syslog-ng-dest df30f0ce37bdf8cc0ac0fcc04800d7d14880bf3a19d01ab96220a325f1ab3943 syslog-ng-log.std 8d925e7272a8d7dbda42694fe0e9c6fdc1bee6ffd9d4adf78e0ebb183658d4d4 syslog-ng-options.std 51399e8d5d3a2d7b2d30f4adefe92776c9ddcae98d5189af9ddae1d2e66db8f3 syslog-ng-source.std" -sha512sums="5ff5e3a36dbcb99a3b1b36cda3336764290bd9251379244f10a48bd396785d16ed9200d746acb66f69f471d9ce1e8ec2e337afdadd109d7eba0c12d0de403ae0 syslog-ng_2.1.4.tar.gz +sha512sums="2d321b7b7e330019c9c5111d54ebdce273a054f3c8db2770e141a1119233ec6663e5c10a45a313602c7af6b7d7adaf70fe8f535617492837a4f4807bbc73bb1d syslog-ng_3.6.1.tar.gz a062d1601f5215f60e2fc40c6ca498d768aa97af3647a9468731123a28fdd67962421b4412bfbe08a1123141b730cb78f102230ab72befec05ba7f398b39e27a syslog-ng.logrotate 7dc6af65b7c663b85aa4ad1ddb737a48e808631207330de8197afce7abb986d790a02ca65d86bd87d77fe1bbd3e3f9f4257be81ade047468a3ea9fe3f7e64c3a syslog-ng.initd b51d8b3da9584b6cb5b5c023b5ca1085d8e4c2cfa56f6ed12fe6feb0f33a390b43825aaaf4dd74eb6b7765485fe42f7f21c74380b72de9ed2c7775787ab1e720 syslog-ng-destination.std -- 2.1.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---