Bug#179658: Archtable support for netbsd-i386
Package: dpkg
Version: 1.10.9
Severity: wishlist
Due to recent upstream changes to GNU's configure tools, it is now possible
to match Debian GNU/NetBSD systems with a single value entry in dpkg's
archtable; as such, I would like to request the following patch be applied
to enable support for this architecture.
An additional patch will follow shortly, for enabling dpkg to properly
handle OS values with hypens in them (such as netbsdelf-gnu and
freebsd-gnu).
--
Joel Baker <fenton@debian.org>
Package: dpkg
Version: 1.10.9
Patch: 001_arch_netbsd-i386 (Archtable support for netbsd-i386)
Author: Joel Baker <joel@lightbearer.com>
Submitted: No
This patch adds support for the netbsd-i386 arch, with a GNU cpu of i386
and an OS of netbsdelf-gnu. It should be applied against an unpacked dpkg
directory, using -p1.
diff -urN dpkg-1.10.9.orig/archtable dpkg-1.10.9/archtable
--- dpkg-1.10.9.orig/archtable Tue Jan 1 13:16:37 2002
+++ dpkg-1.10.9/archtable Sun Sep 8 21:47:09 2002
@@ -45,6 +45,7 @@
hppa2.0-linux-gnu hppa hppa
hppa64-linux-gnu hppa hppa
i386-freebsd freebsd-i386 freebsd-i386
+i386-netbsdelf-gnu netbsd-i386 netbsd-i386
s390-linux-gnu s390 s390
s390-ibm-linux-gnu s390 s390
s390-unknown-linux-gnu s390 s390
diff -urN dpkg-1.10.9.orig/scripts/dpkg-architecture.pl dpkg-1.10.9/scripts/dpkg-architecture.pl
--- dpkg-1.10.9.orig/scripts/dpkg-architecture.pl Sat May 25 02:10:15 2002
+++ dpkg-1.10.9/scripts/dpkg-architecture.pl Sun Sep 8 21:47:09 2002
@@ -67,6 +67,7 @@
'ia64', 'ia64-linux',
'openbsd-i386', 'i386-openbsd',
'freebsd-i386', 'i386-freebsd',
+ 'netbsd-i386', 'i386-netbsdelf-gnu',
'darwin-powerpc', 'powerpc-darwin',
'darwin-i386', 'i386-darwin');
Reply to: