- Don't reload the keymap in unicode_start (#172425)
This commit is contained in:
parent
b70a2c23a6
commit
ec7699389c
19
kbd-1.12-no-user-map.patch
Normal file
19
kbd-1.12-no-user-map.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Non-root users are allowed to change the unicode mode of their console, but
|
||||||
|
not the global keymap. root will have to load the keymap in unicode mode
|
||||||
|
explicitly.
|
||||||
|
|
||||||
|
--- kbd-1.12/src/unicode_start.no-user-map 2005-12-01 19:33:19.000000000 +0100
|
||||||
|
+++ kbd-1.12/src/unicode_start 2005-12-01 19:33:28.000000000 +0100
|
||||||
|
@@ -14,12 +14,6 @@
|
||||||
|
|
||||||
|
kbd_mode -u
|
||||||
|
|
||||||
|
-# Change the keyboard mapping in such a way that the non-ASCII keys
|
||||||
|
-# produce UTF-8 encoded multibyte sequences, instead of single bytes
|
||||||
|
-# >= 0x80 in a legacy 8-bit encoding.
|
||||||
|
-
|
||||||
|
-dumpkeys | loadkeys --unicode
|
||||||
|
-
|
||||||
|
# 2. The output side: the console screen.
|
||||||
|
|
||||||
|
# Tell the console output driver that the bytes arriving are UTF-8
|
7
kbd.spec
7
kbd.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
|
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
|
||||||
Name: kbd
|
Name: kbd
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 11
|
Release: 12
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/kbd/kbd-%{version}.tar.bz2
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/kbd/kbd-%{version}.tar.bz2
|
||||||
@ -21,6 +21,7 @@ Patch5: kbd-1.12-Meta_utf8.patch
|
|||||||
Patch6: kbd-1.12-nostrip.patch
|
Patch6: kbd-1.12-nostrip.patch
|
||||||
Patch7: kbd-1.12-alias.patch
|
Patch7: kbd-1.12-alias.patch
|
||||||
Patch8: kbd-1.12-dir.patch
|
Patch8: kbd-1.12-dir.patch
|
||||||
|
Patch9: kbd-1.12-no-user-map.patch
|
||||||
Obsoletes: console-tools
|
Obsoletes: console-tools
|
||||||
Provides: console-tools
|
Provides: console-tools
|
||||||
Conflicts: util-linux < 2.11r-9
|
Conflicts: util-linux < 2.11r-9
|
||||||
@ -44,6 +45,7 @@ fonts, the virtual terminals and font files.
|
|||||||
%patch6 -p1 -b .nostrip
|
%patch6 -p1 -b .nostrip
|
||||||
%patch7 -p1 -b .alias
|
%patch7 -p1 -b .alias
|
||||||
%patch8 -p1 -b .dir
|
%patch8 -p1 -b .dir
|
||||||
|
%patch9 -p1 -b .no-user-map
|
||||||
|
|
||||||
# 7-bit maps are obsolete; so are non-euro maps
|
# 7-bit maps are obsolete; so are non-euro maps
|
||||||
pushd data/keymaps/i386
|
pushd data/keymaps/i386
|
||||||
@ -122,6 +124,9 @@ install -c -m644 $RPM_SOURCE_DIR/kbdrate.pam \
|
|||||||
%config %{_sysconfdir}/pam.d/*
|
%config %{_sysconfdir}/pam.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 1 2005 Miloslav Trmac <mitr@redhat.com> - 1.12-12
|
||||||
|
- Don't reload the keymap in unicode_start (#172425)
|
||||||
|
|
||||||
* Fri Nov 11 2005 Miloslav Trmac <mitr@redhat.com> - 1.12-11
|
* Fri Nov 11 2005 Miloslav Trmac <mitr@redhat.com> - 1.12-11
|
||||||
- Don't ship character set lists (they are already in glibc-common) and an
|
- Don't ship character set lists (they are already in glibc-common) and an
|
||||||
obsolete copy of kbd.FAQ
|
obsolete copy of kbd.FAQ
|
||||||
|
Loading…
Reference in New Issue
Block a user