Package: coreutils
Version: 5.2.1-2
Severity: minor
Tags: patch

Hi,

Sorry to bother you with so minor things, but currently uname returns
GNU/KFreeBSD instead of GNU/kFreeBSD (the k should be lower-case) as 
the system name. 

Please find attached a patch to fix that. It would be nice if you could
include it in the next upload. Also could you please forward it to
upstream?

Thanks for your cooperation,
Aurelien


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-17
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libc0.1                    2.3-1+kbsd.10 GNU C Library: Shared libraries an

coreutils recommends no packages.

-- no debconf information
--- coreutils-5.2.1.orig/debian/patches/22_kbsd_name.diff
+++ coreutils-5.2.1/debian/patches/22_kbsd_name.diff
@@ -0,0 +1,28 @@
+diff -Nur coreutils-5.2.1.orig/configure coreutils-5.2.1/configure
+--- coreutils-5.2.1.orig/configure     2004-03-11 09:58:11.000000000 +0100
++++ coreutils-5.2.1/configure  2005-07-26 00:42:37.000000000 +0200
+@@ -8333,8 +8333,8 @@
+        nonstopux*)    os='NonStop-UX';;
+        netbsd*-gnu*)  os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland
+        netbsd*)               os='NetBSD';;
+-       knetbsd*-gnu)  os='GNU/KNetBSD';; # NetBSD kernel, GNU libc+userland
+-       kfreebsd*-gnu) os='GNU/KFreeBSD';; # FreeBSD kernel, GNU libc+userland
++       knetbsd*-gnu)  os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland
++       kfreebsd*-gnu) os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland
+        msdosdjgpp*)   os='DJGPP';;
+        mpeix*)                os='MPE/iX';;
+        mint*)         os='MiNT';;
+diff -Nur coreutils-5.2.1.orig/m4/host-os.m4 coreutils-5.2.1/m4/host-os.m4
+--- coreutils-5.2.1.orig/m4/host-os.m4 2003-11-03 16:37:44.000000000 +0100
++++ coreutils-5.2.1/m4/host-os.m4      2005-07-26 00:42:27.000000000 +0200
+@@ -32,8 +32,8 @@
+        nonstopux*)    os='NonStop-UX';;
+        netbsd*-gnu*)  os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland
+        netbsd*)               os='NetBSD';;
+-       knetbsd*-gnu)  os='GNU/KNetBSD';; # NetBSD kernel, GNU libc+userland
+-       kfreebsd*-gnu) os='GNU/KFreeBSD';; # FreeBSD kernel, GNU libc+userland
++       knetbsd*-gnu)  os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland
++       kfreebsd*-gnu) os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland
+        msdosdjgpp*)   os='DJGPP';;
+        mpeix*)                os='MPE/iX';;
+        mint*)         os='MiNT';;

Reply via email to