Bug#250176: Add GNU/k*BSD to archtable
Package: dpkg
Version: 1.10.21
Severity: wishlist
Tags: patch
Hi!
This patch adds GNU/k*BSD (Glibc-based ports) to archtable (and associated
files). We're using distinct DEB_HOST_ARCH names than the non-Glibc-based
ports to avoid name conflict.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-k7
Locale: LANG=C, LC_CTYPE=C
diff -ur dpkg-1.10.21.old/archtable dpkg-1.10.21/archtable
--- dpkg-1.10.21.old/archtable 2004-03-08 19:29:13.000000000 +0100
+++ dpkg-1.10.21/archtable 2004-05-21 01:15:06.000000000 +0200
@@ -49,8 +49,9 @@
hppa2.0-linux-gnu hppa hppa
hppa64-linux-gnu hppa hppa
i386-freebsd freebsd-i386 freebsd-i386
-i386-kfreebsd-gnu freebsd-i386 freebsd-i386
+i386-kfreebsd-gnu kfreebsd-i386 kfreebsd-i386
i386-netbsdelf-gnu netbsd-i386 netbsd-i386
+i386-knetbsd-gnu knetbsd-i386 knetbsd-i386
s390-linux-gnu s390 s390
s390-ibm-linux-gnu s390 s390
s390-unknown-linux-gnu s390 s390
diff -ur dpkg-1.10.21.old/configure.in dpkg-1.10.21/configure.in
--- dpkg-1.10.21.old/configure.in 2004-04-25 20:00:52.000000000 +0200
+++ dpkg-1.10.21/configure.in 2004-05-21 01:35:57.000000000 +0200
@@ -105,6 +105,8 @@
os_type="linux-gnu";;
*openbsd* )
os_type="openbsd";;
+ *knetbsd*-gnu* )
+ os_type="knetbsd-gnu";;
*netbsd* )
os_type="netbsd";;
*kfreebsd*-gnu* )
diff -ur dpkg-1.10.21.old/scripts/dpkg-architecture.pl dpkg-1.10.21/scripts/dpkg-architecture.pl
--- dpkg-1.10.21.old/scripts/dpkg-architecture.pl 2004-03-08 19:29:13.000000000 +0100
+++ dpkg-1.10.21/scripts/dpkg-architecture.pl 2004-05-21 01:15:41.000000000 +0200
@@ -66,8 +66,9 @@
's390x', 's390x-linux',
'ia64', 'ia64-linux',
'openbsd-i386', 'i386-openbsd',
- 'freebsd-i386', 'i386-kfreebsd-gnu',
+ 'kfreebsd-i386', 'i386-kfreebsd-gnu',
'netbsd-i386', 'i386-netbsdelf-gnu',
+ 'knetbsd-i386', 'i386-knetbsd-gnu',
'darwin-powerpc', 'powerpc-darwin',
'darwin-i386', 'i386-darwin');
Reply to: