From 4a12e00c48fbfe86b54e1830695cbe5fa3ce791aadf9b754a5605fce57037eb2 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 28 Apr 2010 20:27:43 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/sysvinit revision 67.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=4906ca5383c9d4cebe66821094b0b4ff --- sysvinit-2.88dsf-utf8.dif | 45 +++++++++++++++++++++++++++++++++++++++ sysvinit.changes | 6 ++++++ sysvinit.spec | 4 +++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 sysvinit-2.88dsf-utf8.dif diff --git a/sysvinit-2.88dsf-utf8.dif b/sysvinit-2.88dsf-utf8.dif new file mode 100644 index 0000000..0fa6cdb --- /dev/null +++ b/sysvinit-2.88dsf-utf8.dif @@ -0,0 +1,45 @@ +Index: doc/Changelog +=================================================================== +--- doc/Changelog (revision 68) ++++ doc/Changelog (working copy) +@@ -1,3 +1,7 @@ ++ [ Werner Fink ] ++ * Correct fix for Debian bug #547073: use IUTF8 flag if defined ++ and if already set. ++ + sysvinit (2.88dsf) UNRELEASED; urgency=low + + [ Petter Reinholdtsen ] +Index: src/init.c +=================================================================== +--- src/init.c (revision 68) ++++ src/init.c (working copy) +@@ -784,10 +784,11 @@ void console_stty(void) + /* + * Set pre and post processing + */ +- tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY; +-#ifdef IUTF8 /* Not defined on FreeBSD */ +- tty.c_iflag |= IUTF8; ++ tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY ++#ifdef IUTF8 /* Not defined on FreeBSD */ ++ | (tty.c_iflag & IUTF8) + #endif /* IUTF8 */ ++ ; + tty.c_oflag = OPOST|ONLCR; + tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOPRT|ECHOKE; + +Index: src/sulogin.c +=================================================================== +--- src/sulogin.c (revision 68) ++++ src/sulogin.c (working copy) +@@ -101,9 +101,6 @@ void fixtty(void) + * the same result as `stty sane cr0 pass8' + */ + tty.c_iflag |= (BRKINT | ICRNL | IMAXBEL); +-#ifdef IUTF8 /* Not defined on FreeBSD */ +- tty.c_iflag |= IUTF8; +-#endif /* IUTF8 */ + tty.c_iflag &= ~(IGNBRK | INLCR | IGNCR | IXOFF | IUCLC | IXANY | ISTRIP); + tty.c_oflag |= (OPOST | ONLCR | NL0 | CR0 | TAB0 | BS0 | VT0 | FF0); + tty.c_oflag &= ~(OLCUC | OCRNL | ONOCR | ONLRET | OFILL | OFDEL |\ diff --git a/sysvinit.changes b/sysvinit.changes index b4fb8db..17367ca 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 27 14:36:43 CEST 2010 - werner@suse.de + +- Do not overwrite UTF8 input terminal setting as this may cause + trouble on system consoles forwarded to a foreign serial console + ------------------------------------------------------------------- Tue Apr 13 18:27:02 CEST 2010 - werner@suse.de diff --git a/sysvinit.spec b/sysvinit.spec index a0768b2..7281b62 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -29,7 +29,7 @@ License: GPLv2+ Group: System/Base AutoReqProv: on Version: 2.88 -Release: 1 +Release: 2 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audit-devel libselinux-devel libsepol-devel pam-devel @@ -49,6 +49,7 @@ Patch2: sysvinit-2.88dsf-suse.patch Patch3: sysvinit-2.88dsf-no-kill.patch Patch4: notify-pam-dead.patch Patch5: sysvinit-last-ipv6-heuristic.patch +Patch6: sysvinit-2.88dsf-utf8.dif Patch20: powerd-2.0.2.dif Patch30: killproc-2.16.dif Patch40: showconsole-1.10.dif @@ -89,6 +90,7 @@ sysvinit package. %patch3 -p0 -b .no-kill %patch4 -p0 -b .pam %patch5 -p2 -b .ipv6 +%patch6 -p2 -b .utf8 %patch pushd ../powerd-%{PDVER} %patch20