Bug#756052: Correct default keymap for South Korea

2014-07-26 Thread Christian PERRIER
Quoting Changwoo Ryu (cw...@debian.org):
 Package: console-setup
 Version: 1.108
 Severity: normal
 
 In debian/keyboard-configuration.config, the default keymap for *_KP*
 locale is set as kr layout. But KP ISO3166 code is for North Korea,
 while kr layout corresponds to South Korean standard. So I believe
 this is put by a mistake. AFAIK North Korea has their own standard
 layout.
 
 Here attached my change for adding proper kr keymap defaults. kr with
 kr104 variant is safer choice than just kr with no variant.


Thanks a lot for spotting this, which is probably here for ages,
indeed...:-)

I'm in the process of building and uploading a fixed console-setup
package.

That's an opportunity to more generally thank you, Ryuchangwoo-ssi,
for all your involvment in D-I translation since the beginning. There
are very few left who were there from the beginning, back in 2003 and
I still remember when we met back in DebConf 4

(and I'm taking the risk of trying to use the appropriate form of
address, which is something I try to be picky about.but not always
sure if I'm doing it right)

Sadly, I don't have the answer for your other question (choosing the
variant), though.





signature.asc
Description: Digital signature


Processing of console-setup_1.109_i386.changes

2014-07-26 Thread Debian FTP Masters
console-setup_1.109_i386.changes uploaded successfully to ftp-master.debian.org
along with the files:
  keyboard-configuration_1.109_all.deb
  console-setup_1.109_all.deb
  console-setup-mini_1.109_all.deb
  console-setup-linux_1.109_all.deb
  console-setup-freebsd_1.109_all.deb
  bdf2psf_1.109_all.deb
  console-setup-udeb_1.109_all.udeb
  console-setup-amiga-ekmap_1.109_all.udeb
  console-setup-ataritt-ekmap_1.109_all.udeb
  console-setup-macintoshold-ekmap_1.109_all.udeb
  console-setup-pc-ekmap_1.109_all.udeb
  console-setup-sun4-ekmap_1.109_all.udeb
  console-setup-sun5-ekmap_1.109_all.udeb
  console-setup-pc-ekbd_1.109_all.udeb
  console-setup-linux-fonts-udeb_1.109_all.udeb
  console-setup-freebsd-fonts-udeb_1.109_all.udeb
  console-setup-linux-charmaps-udeb_1.109_all.udeb
  console-setup-freebsd-charmaps-udeb_1.109_all.udeb
  console-setup_1.109.dsc
  console-setup_1.109.tar.xz

Greetings,

Your Debian queue daemon (running on host ravel.debian.org)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xb0ip-0001iy...@ravel.debian.org



Bug#756052: marked as done (Correct default keymap for South Korea)

2014-07-26 Thread Debian Bug Tracking System
Your message dated Sat, 26 Jul 2014 12:19:07 +
with message-id e1xb0wn-0007xh...@franck.debian.org
and subject line Bug#756052: fixed in console-setup 1.109
has caused the Debian Bug report #756052,
regarding Correct default keymap for South Korea
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
756052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756052
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: console-setup
Version: 1.108
Severity: normal

In debian/keyboard-configuration.config, the default keymap for *_KP*
locale is set as kr layout. But KP ISO3166 code is for North Korea,
while kr layout corresponds to South Korean standard. So I believe
this is put by a mistake. AFAIK North Korea has their own standard
layout.

Here attached my change for adding proper kr keymap defaults. kr with
kr104 variant is safer choice than just kr with no variant.


Question for improvement:

In case of Korean d-i installation, IMO it would be better if users
explicitly select between kr with kr104 variant and kr with no
variant. Is it possible?

diff --git a/debian/keyboard-configuration.config b/debian/keyboard-configuration.config
index a13f8ce..163c146 100644
--- a/debian/keyboard-configuration.config
+++ b/debian/keyboard-configuration.config
@@ -603,8 +603,9 @@ case $locale in
 *_KH*)
 	XKBLAYOUT=us,kh  # Cambodia
 	;;
-*_KP*)
-	XKBLAYOUT=kr  # Korea
+*_KR*)
+	XKBLAYOUT=kr  # South Korea
+	XKBVARIANT=kr104  # pc104 compatible mode, safe choice
 	;;
 *_KZ*)
 	XKBLAYOUT=us,kz  # Kazakhstan
@@ -872,6 +873,8 @@ if db_get debian-installer/keymap  [ $RET ]; then
 	is) XKBLAYOUT=is;;
 	it) XKBLAYOUT=it;;
 	jp106) XKBLAYOUT=jp; XKBVARIANT=106;;
+	kr|kr106) XKBLAYOUT=kr; XKBVARIANT='';;
+	kr104) XKBLAYOUT=kr; XKBVARIANT=kr104;;
 	la) XKBLAYOUT=latam;;
 	lt) XKBLAYOUT=lt;; 
 	lv-latin4) XKBLAYOUT=lv;;
---End Message---
---BeginMessage---
Source: console-setup
Source-Version: 1.109

We believe that the bug you reported is fixed in the latest version of
console-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 756...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier bubu...@debian.org (supplier of updated console-setup 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sat, 26 Jul 2014 08:52:31 +0200
Source: console-setup
Binary: keyboard-configuration console-setup console-setup-mini 
console-setup-linux console-setup-freebsd bdf2psf console-setup-udeb 
console-setup-amiga-ekmap console-setup-ataritt-ekmap 
console-setup-macintoshold-ekmap console-setup-pc-ekmap 
console-setup-sun4-ekmap console-setup-sun5-ekmap console-setup-pc-ekbd 
console-setup-linux-fonts-udeb console-setup-freebsd-fonts-udeb 
console-setup-linux-charmaps-udeb console-setup-freebsd-charmaps-udeb
Architecture: source all
Version: 1.109
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team debian-boot@lists.debian.org
Changed-By: Christian Perrier bubu...@debian.org
Description:
 bdf2psf- font converter to generate console fonts from BDF source fonts
 console-setup - console font and keymap setup program
 console-setup-amiga-ekmap - encoded Linux keyboard layouts for Amiga keyboards 
(udeb)
 console-setup-ataritt-ekmap - encoded Linux keyboard layouts for Atari TT 
keyboards (udeb)
 console-setup-freebsd - FreeBSD specific part of console-setup
 console-setup-freebsd-charmaps-udeb - FreeBSD 8-bit charmaps for 
console-setup-udeb (udeb)
 console-setup-freebsd-fonts-udeb - FreeBSD console fonts for Debian Installer 
(udeb)
 console-setup-linux - Linux specific part of console-setup
 console-setup-linux-charmaps-udeb - Linux 8-bit charmaps for 
console-setup-udeb (udeb)
 console-setup-linux-fonts-udeb - Linux console fonts for Debian Installer 
(udeb)
 console-setup-macintoshold-ekmap - encoded Linux keyboard layouts for 
old-style Macintosh keyboards (udeb)
 console-setup-mini - console font and keymap setup program - reduced version 
for Linux
 console-setup-pc-ekbd - encoded FreeBSD keyboard layouts for PC keyboards 
(udeb)
 console-setup-pc-ekmap - encoded Linux 

Processing of console-setup_1.109_i386.changes

2014-07-26 Thread Debian FTP Masters
console-setup_1.109_i386.changes uploaded successfully to localhost
along with the files:
  keyboard-configuration_1.109_all.deb
  console-setup_1.109_all.deb
  console-setup-mini_1.109_all.deb
  console-setup-linux_1.109_all.deb
  console-setup-freebsd_1.109_all.deb
  bdf2psf_1.109_all.deb
  console-setup-udeb_1.109_all.udeb
  console-setup-amiga-ekmap_1.109_all.udeb
  console-setup-ataritt-ekmap_1.109_all.udeb
  console-setup-macintoshold-ekmap_1.109_all.udeb
  console-setup-pc-ekmap_1.109_all.udeb
  console-setup-sun4-ekmap_1.109_all.udeb
  console-setup-sun5-ekmap_1.109_all.udeb
  console-setup-pc-ekbd_1.109_all.udeb
  console-setup-linux-fonts-udeb_1.109_all.udeb
  console-setup-freebsd-fonts-udeb_1.109_all.udeb
  console-setup-linux-charmaps-udeb_1.109_all.udeb
  console-setup-freebsd-charmaps-udeb_1.109_all.udeb
  console-setup_1.109.dsc
  console-setup_1.109.tar.xz

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xb0lm-0005kd...@franck.debian.org



console-setup_1.109_i386.changes ACCEPTED into unstable

2014-07-26 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sat, 26 Jul 2014 08:52:31 +0200
Source: console-setup
Binary: keyboard-configuration console-setup console-setup-mini 
console-setup-linux console-setup-freebsd bdf2psf console-setup-udeb 
console-setup-amiga-ekmap console-setup-ataritt-ekmap 
console-setup-macintoshold-ekmap console-setup-pc-ekmap 
console-setup-sun4-ekmap console-setup-sun5-ekmap console-setup-pc-ekbd 
console-setup-linux-fonts-udeb console-setup-freebsd-fonts-udeb 
console-setup-linux-charmaps-udeb console-setup-freebsd-charmaps-udeb
Architecture: source all
Version: 1.109
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team debian-boot@lists.debian.org
Changed-By: Christian Perrier bubu...@debian.org
Description:
 bdf2psf- font converter to generate console fonts from BDF source fonts
 console-setup - console font and keymap setup program
 console-setup-amiga-ekmap - encoded Linux keyboard layouts for Amiga keyboards 
(udeb)
 console-setup-ataritt-ekmap - encoded Linux keyboard layouts for Atari TT 
keyboards (udeb)
 console-setup-freebsd - FreeBSD specific part of console-setup
 console-setup-freebsd-charmaps-udeb - FreeBSD 8-bit charmaps for 
console-setup-udeb (udeb)
 console-setup-freebsd-fonts-udeb - FreeBSD console fonts for Debian Installer 
(udeb)
 console-setup-linux - Linux specific part of console-setup
 console-setup-linux-charmaps-udeb - Linux 8-bit charmaps for 
console-setup-udeb (udeb)
 console-setup-linux-fonts-udeb - Linux console fonts for Debian Installer 
(udeb)
 console-setup-macintoshold-ekmap - encoded Linux keyboard layouts for 
old-style Macintosh keyboards (udeb)
 console-setup-mini - console font and keymap setup program - reduced version 
for Linux
 console-setup-pc-ekbd - encoded FreeBSD keyboard layouts for PC keyboards 
(udeb)
 console-setup-pc-ekmap - encoded Linux keyboard layouts for PC keyboards (udeb)
 console-setup-sun4-ekmap - encoded Linux keyboard layouts for Sun4 keyboards 
(udeb)
 console-setup-sun5-ekmap - encoded Linux keyboard layouts for Sun5 keyboards 
(udeb)
 console-setup-udeb - Configure the keyboard (udeb)
 keyboard-configuration - system-wide keyboard preferences
Closes: 756052
Changes:
 console-setup (1.109) unstable; urgency=low
 .
   [ Changwoo Ryu ]
   * Correct default keymap for South Korea. Closes: #756052
Checksums-Sha1:
 91560e26c4408084b1a93d4532a44ae92ccc11d6 3266 console-setup_1.109.dsc
 f1a672128767b0356120c7bc6591f4e0f4c09ddc 1818360 console-setup_1.109.tar.xz
 2a9d783b4ee8048d2f4997fd8962ad54a557f807 764264 
keyboard-configuration_1.109_all.deb
 702a657e1bf5fa119e600e63c0d207504f7f1199 127224 console-setup_1.109_all.deb
 7c7c5197f2238a7e627892097c30313d843ce503 22874 console-setup-mini_1.109_all.deb
 edde950c935c0fdcfef066ef81b31efa3b111dc8 984236 
console-setup-linux_1.109_all.deb
 05e943b86f2dea086e6d7bc9a3f8ea17c343d8da 99800 
console-setup-freebsd_1.109_all.deb
 dc8ac7602429cad55616f6fbf8def93bcc8a0e73 48862 bdf2psf_1.109_all.deb
 09be480a48ddace06b265e3a8e22cffbd4cbd47d 243208 
console-setup-udeb_1.109_all.udeb
 25f5a52c7ddf224ec060627297b4f76247477abe 32890 
console-setup-amiga-ekmap_1.109_all.udeb
 33c853b273321a6e798490dda0fd9b9f502108f4 32902 
console-setup-ataritt-ekmap_1.109_all.udeb
 3307ce246e6a6d9afc3c2acf76ada1c8d71904c4 32640 
console-setup-macintoshold-ekmap_1.109_all.udeb
 8b1c8e6c9b6174c87ad78b0f54443f09bb220cfe 35066 
console-setup-pc-ekmap_1.109_all.udeb
 3dc207420750d625b1021e2f8838b7b6a29ae362 34296 
console-setup-sun4-ekmap_1.109_all.udeb
 9b0f5a7af20c57e0d7dc2b598ac1f536dbf0696c 34232 
console-setup-sun5-ekmap_1.109_all.udeb
 06764b104422462842749031b32ada4f018b394c 29094 
console-setup-pc-ekbd_1.109_all.udeb
 49ab57249267aab8a015905d5633d438b7969a7a 17972 
console-setup-linux-fonts-udeb_1.109_all.udeb
 2911dba961550ddeb6c9302427ed2473227ee420 11090 
console-setup-freebsd-fonts-udeb_1.109_all.udeb
 34b3d6c10e80359252ef735e7d202a568d8a2633 22682 
console-setup-linux-charmaps-udeb_1.109_all.udeb
 a39f6415634f8f10c08be943c7286cdbb965120e 7274 
console-setup-freebsd-charmaps-udeb_1.109_all.udeb
Checksums-Sha256:
 b0db4525a979f05b814ad387c35f8da601c6a730e675acf14c99eb993527147e 3266 
console-setup_1.109.dsc
 e980f4f81530a3f5c4520282c9ab90da11bba985174806fb3cb8f2e625f5bd7a 1818360 
console-setup_1.109.tar.xz
 93e10afdca08d8de739eb2da63d1b3ad3ab1a723f945479a11d4a1832015e54c 764264 
keyboard-configuration_1.109_all.deb
 c22e5695c391a25873db33921a76a36884ccd1baba0c260e7f3984fab3d47325 127224 
console-setup_1.109_all.deb
 d25d32edd4e2d9b1d7dbd4e487a55137b015118106280fbd6cd76da25f3f8364 22874 
console-setup-mini_1.109_all.deb
 35ad984685b43479992c7af77e736193be54200637da89310d01a2350a48909a 984236 
console-setup-linux_1.109_all.deb
 fdc9bca832f67c90c0c75204b6e92e4b06b295b13e011016b74420035c7ab3e7 99800 
console-setup-freebsd_1.109_all.deb
 99ee513156ee471230fe14995c3434f5c384a3d435703cc926b3c3523d18c1fa 48862 
bdf2psf_1.109_all.deb
 

Bug#682342: (forw) Bug#682342: a fix for dhcp search path issues'

2014-07-26 Thread Philipp Kern
On Wed, May 22, 2013 at 07:03:37AM +0200, Christian PERRIER wrote:
 Phil, you've been one of the most active ppl on netcfg. Care to comment?
 
 - Forwarded message from Sean Noonan sean.noo...@twosigma.com -
 
 Date: Tue, 21 May 2013 18:28:09 +
 From: Sean Noonan sean.noo...@twosigma.com
 To: '682...@bugs.debian.org' 682...@bugs.debian.org
 Subject: Bug#682342: a fix for dhcp search path issues
 Reply-To: Sean Noonan sean.noo...@twosigma.com, 682...@bugs.debian.org
 X-Mailing-List: debian-boot@lists.debian.org archive/latest/173316
 X-CRM114-Status: Good  ( pR: 30.0127 )
 
 We recently ran into this problem.  The expedient way to fix it is to replace 
 the netcfg binary in the initrd with one compiled using the following patch.
 
 --- dhcp.c 2013-01-13 08:23:24.0 -0500
 +++ ../dhcp.c  2013-05-21 14:25:55.613957486 -0400
 @@ -591,7 +591,7 @@
  preseed_hostname_from_fqdn(client, buf);
  }
 -if (netcfg_get_hostname (client, netcfg/get_hostname, 
 hostname, 1)) {
 +if (netcfg_get_hostname (client, netcfg/get_hostname, 
 hostname, !have_domain)) {
  /*
   * Going back to POLL wouldn't make much sense.
   * However, it does make sense to go to the retry
 
 - End forwarded message -

I think this patch is incomplete and still needs to strip the domain
off the hostname to preserve behavior if an FQDN is passed in with the
hostname. That way the domain name passed by DHCP will override the
domain part of the hostname.

New possible (untested) patch attached.

Kind regards
Philipp Kern
diff --git a/dhcp.c b/dhcp.c
index aa37bd0..d694f67 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -591,7 +591,7 @@ int netcfg_activate_dhcp (struct debconfclient *client, struct netcfg_interface
 preseed_hostname_from_fqdn(client, buf);
 }
 
-if (netcfg_get_hostname (client, netcfg/get_hostname, hostname, 1)) {
+if (netcfg_get_hostname (client, netcfg/get_hostname, hostname, !have_domain)) {
 /*
  * Going back to POLL wouldn't make much sense.
  * However, it does make sense to go to the retry
diff --git a/netcfg-common.c b/netcfg-common.c
index 4445d12..9abf32e 100644
--- a/netcfg-common.c
+++ b/netcfg-common.c
@@ -1043,14 +1043,24 @@ int netcfg_get_hostname(struct debconfclient *client, char *template, char *host
 continue;
 }
 
-if (accept_domain  (s = strchr(hostname, '.'))) {
-di_info(Detected we have an FQDN; splitting and setting domain);
-if (s[1] == '\0') { /* somehostname. - . should be ignored */
+if (s = strchr(hostname, '.')) {
+di_info(Detected an FQDN in hostname);
+if (s[1] == '\0') {
+/* somehostname. - . should be ignored */
 *s = '\0';
-} else { /* assume we have a valid domain name given */
-strncpy(domain, s + 1, MAXHOSTNAMELEN);
-debconf_set(client, netcfg/get_domain, domain);
-have_domain = 1;
+di_info(Stripped trailing dot from hostname);
+} else {
+/* assume that the domain is valid and copy it if
+ * accept_domain is set; just use the hostname if
+ * it is unset
+ */
+if (accept_domain) {
+strncpy(domain, s + 1, MAXHOSTNAMELEN);
+	di_info(Setting domain to %s, domain);
+debconf_set(client, netcfg/get_domain, domain);
+have_domain = 1;
+}
+/* strip the domain from the hostname */
 *s = '\0';
 }
 }


signature.asc
Description: Digital signature


Bug#739411: udpkg: Support for data.tar, control.tar and control.tar.xz

2014-07-26 Thread Philipp Kern
tag -1 + pending
thanks

Hi,

On Tue, Feb 18, 2014 at 01:01:48PM +0100, Guillem Jover wrote:
 Here's a patch series adding data.tar, control.tar and control.tar.xz
 support, the uncompressed member support just out of completeness. To
 create a deb package with a different control.tar compression you can
 use «dpkg-deb --uniform-compression pkg/» for example.
 
 Note I've only tested «udpkg -c» and «udpkg -f», the changes in unpacking
 are pretty obvious, but testing them would be nice. I've also used cat
 for the uncompressed members as I didn't think further optimization there
 was worth it(?). I've also tried to use the prevailing coding-style,
 which in some cases conflicted with the immediate surrounding code.

given KiBi's analysis there's no immediate rush to go all-xz for jessie, but we
should still land the patches to udpkg, of course.

As for the cat: You went from ar -p %s %s%s|%s -c|tar -x to ar -p %s
%s%s|%s|tar -x. I guess you could have moved the pipe into the output of
decompression_tool as well and do ar -p %s %s%s%s|tar -x with |gunzip -c,
|unxz -c, and . But then I think your approach is clear to readers, so
that's good. ;-)

I pushed your patches to the repository. Very much thanks for them.

Kind regards
Philipp Kern


signature.asc
Description: Digital signature