Re: [alpine-aports] [PATCH] main/busybox: fix timezone adjustment in syslogd
On Mon, 24 Jul 2017 16:06:22 +0300
Oleg Omelyusik <oleg.omelyusik_at_gmail.com> wrote:
> On 24 July 2017 at 15:49, Natanael Copa <ncopa_at_alpinelinux.org> wrote:
> > On Sat, 22 Jul 2017 01:23:42 +0300
> > Oleg Omelyusik <oleg.omelyusik_at_gmail.com> wrote:
> >> ---
> >> ...gd-fix-timezone-adjustment-implementation.patch | 47 ++++++++++++++++++++++
> >> main/busybox/APKBUILD | 2 +
> >> 2 files changed, 49 insertions(+)
> >> create mode 100644 main/busybox/0012-syslogd-fix-timezone-adjustment-implementation.patch
> >> diff --git a/main/busybox/0012-syslogd-fix-timezone-adjustment-implementation.patch b/main/busybox/0012-syslogd-fix-timezone-adjustment-implementation.patch
> >> new file mode 100644
> >> index 0000000000..f276bc3e57
> >> --- /dev/null
> >> +++ b/main/busybox/0012-syslogd-fix-timezone-adjustment-implementation.patch
> >> _at_@ -0,0 +1,47 @@
> >> +From b09a292755943b3881aa3525c906989929c19fc8 Mon Sep 17 00:00:00 2001
> >> +From: Oleg Omelyusik <oleg.omelyusik_at_gmail.com>
> >> +Date: Fri, 21 Jul 2017 16:29:55 +0300
> >> +Subject: [PATCH] syslogd: fix timezone adjustment implementation
> >> +
> >> +strptime() does not set year value which is needed for mktime().
> >> +Also need to take into account year value when operating with timestamps
> >> +to prevent invalid convertions for leap years (e.g. Feb 28 23:00:00 UTC to GMT+2).
> > Was this patch sent upstream?
> No it wasn't, since timezone adjustment is Alpine specific feature.
> This is about '-Z' option added to syslogd (commit
> 318c497f003be1645152235d1b08005f7dfde3ee in aports repo).
> I've also found related open bug in your tracker and updated it:
Shiz: Can you please have a look at this?
Received on Thu Aug 03 2017 - 15:31:14 UTC