Package: lintian Severity: wishlist Tags: patch Hi! It was suggested in
http://thread.gmane.org/gmane.linux.debian.devel.legal/25993/focus=26041 to produce a lintian rule to catch non-free RFCs in packages. I don't know whether this is a good idea (maybe lintian should be usable on packages in non-free too?), but here goes. My method was to look for files named ^.*/rfc[0-9]+.(html|txt)(.gz)?$. What do you think? Thanks. --- files.orig 2006-04-28 16:07:01.000000000 +0200 +++ files 2006-04-28 16:07:20.000000000 +0200 @@ -464,6 +464,11 @@ tag "extra-license-file", "$file"; } + # ---------------- non-free RFC files + if ($file =~ m,.*/rfc[0-9]+(\.(txt|html(\.gz|\.bz2)?))?$,i) { + tag "non-free-rfc-file", "$file"; + } + # ---------------- plain files if ($perm =~ m/^-/) { --- files.desc.orig 2006-04-28 16:07:06.000000000 +0200 +++ files.desc 2006-04-28 16:05:11.000000000 +0200 @@ -352,6 +352,14 @@ <tt>debian/copyright</tt> file. This usually makes it unnecessary for the package to install this information in other places as well. +Tag: non-free-rfc-file +Type: warning +Ref: policy 2.2 +Info: This filename looks like an IETF RFC. The IETF RFCs are not + licensed under a DFSG free license, so they should not be part of + packages in main. See also <a href="http://release.debian.org/removing-non-free-documentation"><tt> + http://release.debian.org/removing-non-free-documentation</tt></a>. + Tag: non-standard-toplevel-dir Type: error Info: The Filesystem Hierarchy Standard forbids the installation of new -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

