Bug#253405: Add kfreebsd-i386 and knetbsd-i386 to arch check
On Wed, Jun 09, 2004 at 10:38:28AM +0200, Robert Millan wrote:
> Package: lintian
> Version: 1.23.0
> Severity: wishlist
> Tags: patch
>
> See subject. Patch attached.
While we're at it we also should add amd64. All three arches are
not official but are used often. Objections to add those three?
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Index: checks/common_data.pm
===================================================================
--- checks/common_data.pm (revision 285)
+++ checks/common_data.pm (working copy)
@@ -14,7 +14,10 @@
%known_archs = map { $_ => 1 }
('alpha', 'arm', 'hppa', 'hurd-i386', 'i386', 'ia64', 'mips', 'mipsel',
- 'm68k', 'powerpc', 's390', 'sh', 'sparc', 'any', 'all');
+ 'm68k', 'powerpc', 's390', 'sh', 'sparc', 'any', 'all',
+#not yet in the archive but widely used
+ 'amd64', 'kfreebsd-i386', 'knetbsd-i386'
+);
%known_sections = map { $_ => 1 }
('admin', 'base', 'comm', 'devel', 'doc', 'editors', 'electronics',
Index: checks/fields.desc
===================================================================
--- checks/fields.desc (revision 285)
+++ checks/fields.desc (working copy)
@@ -69,8 +69,9 @@
Tag: unknown-architecture
Type: warning
Info: In addition to the special values `all' and `any', the architecture
- names alpha, arm, hppa, hurd-i386, i386, ia64, m68k, mips, mipsel, powerpc,
- s390, sh, and sparc are currently in use. The special value `source' is
+ names alpha, amd64, arm, hppa, hurd-i386, i386, ia64, kfreebsd-i386,
+ knetbsd-i386, m68k, mips, mipsel, powerpc, s390, sh, and sparc are
+ currently in use. The special value `source' is
only used in .changes files and does not make sense in a binary package or
a .dsc file.
Index: debian/changelog
===================================================================
--- debian/changelog (revision 286)
+++ debian/changelog (working copy)
@@ -23,6 +23,10 @@
by a Build-* field in a binary section (Closes: #94928)
- debian-control-file-uses-obsolete-national-encoding, stolen from
changelog-file (Closes: #247197)
+ * checks/common_data.pm, checks/fields.desc:
+ + [FL] The architectures amd64, kfreebsd-i386, knetbsd-i386 are not
+ in the archive yet but are "widely" used, so don't complain on them
+ (Closes: #253405)
* checks/cruft{,.desc}:
+ [JvW] cvsignore-file-in-source is now info, because it happens so often
by upstream, and is only very minor in size
Reply to: