Package: devscripts
Version: 2.10.61ubuntu5
Severity: wishlist
Tags: patch

I'm working on making the Chromium (www.chromium.org) pass licensecheck,
and here's my first patch (I have more).

The Chromium tracking bug for this is 
http://code.google.com/p/chromium/issues/detail?id=28291

Please let me know if you prefer to receive patches in some other way.

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (600, 'lucid-updates'), (600, 'lucid-security'), (600, 'lucid'), 
(400, 'lucid-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-gg508-generic (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  dpkg-dev               1.15.5.6ubuntu4.5 Debian package development tools
ii  libc6                  2.11.1-0ubuntu7.8 Embedded GNU C Library: Shared lib
ii  perl                   5.10.1-8ubuntu2.1 Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii    3.1.11-1ubuntu5.1                      Delayed job execution and batch pr
ii    8.1.2-0.20090911cvs-2ubuntu1           simple mail user agent
ii    7.19.7-1ubuntu1.1                      Get a file from an HTTP, HTTPS or 
ii    1:1.12.13-12ubuntu1                    Concurrent Versions System
ii    2.14                                   Command-line tools to process Debi
ii    0.9.5.1ubuntu1                         Debian package upload tool
ii    1.14.4-1ubuntu1                        Gives a fake root environment
ii    3.6.22+build2+nobinonly-0ubuntu0.10.04 safe and easy web browser from Moz
ii    1:1.7.3.1-0ppa1~hardy1ubuntu1          fast, scalable, distributed revisi
ii    1:1.7.3.1-0ppa1~hardy1ubuntu1          fast, scalable, distributed revisi
ii    1.4.10-2ubuntu1                        GNU privacy guard - a free PGP rep
ii    14.0.835.159-r100066                   The web browser from Google
ii    2.13-1                                 Authen::SASL - SASL Authentication
ii    2.005-2                                Easy OO parsing of Debian control-
ii    0.2-4build3                            Perl extension for retrieving term
ii    1.1900-1                               Time and date functions for Perl
ii    1.52-1                                 module to manipulate and access UR
ii    5.834-1ubuntu0.1                       Perl HTTP/WWW client/server librar
ii    2.3.4ubuntu2                           Debian package checker
ii    4.0-0ubuntu8                           Linux Standard Base version report
ii    4.43-14ubuntu2                         Compression method of 7z format in
ii    2.5.7-2ubuntu1                         on-line manual pager
ii    1.4.3-1                                scalable distributed version contr
ii    2:5.8p1-gg7                            Secure shell client, an rlogin/rsh
ii    2.6-2ubuntu1                           Apply a diff file to an original
ii    0.3.1-2build1                          Utilities to work with patches
ii    0.0.1ubuntu3                           Utilities for sensible alternative
ii    4.5.19-2                               A system call tracer
ii    1.6.6dfsg-2ubuntu1.3                   Advanced version control system
ii    6.0-1build1                            De-archiver for .zip files
ii    0.5.2-2.1ubuntu1.2                     WWW browsable pager with excellent
ii    0.5-19                                 Compares two files word by word
ii    1.12-1.1ubuntu2.1                      retrieves files from the web

Versions of packages devscripts suggests:
ii  build-essential       11.4build1         Informational list of build-essent
pn  cvs-buildpackage      <none>             (no description available)
pn  debian-keyring        <none>             (no description available)
pn  debian-maintainers    <none>             (no description available)
pn  devscripts-el         <none>             (no description available)
pn  equivs                <none>             (no description available)
ii  gnuplot               4.2.6-1            A command-line driven interactive 
pn  libcrypt-ssleay-perl  <none>             (no description available)
pn  libfile-desktopentry- <none>             (no description available)
pn  libnet-smtp-ssl-perl  <none>             (no description available)
pn  libsoap-lite-perl     <none>             (no description available)
pn  libyaml-syck-perl     <none>             (no description available)
pn  mutt                  <none>             (no description available)
pn  svn-buildpackage      <none>             (no description available)
pn  ubuntu-dev-tools      <none>             (no description available)
ii  w3m                   0.5.2-2.1ubuntu1.2 WWW browsable pager with excellent

-- no debconf information
>From 61d4835039c88f9af668f96ded0f73827f30b6a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20Hajdan,=20Jr?= <[email protected]>
Date: Tue, 13 Sep 2011 14:21:31 -0700
Subject: [PATCH] Recognize more types of generated files.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This is a part of an effort to make Chromium project sources
pass licensecheck: http://code.google.com/p/chromium/issues/detail?id=28291

Signed-off-by: Paweł Hajdan, Jr <[email protected]>
---
 scripts/licensecheck.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 8f9caf8..4c5a41c 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -406,7 +406,7 @@ sub parselicense($) {
        $extrainfo = " (with Qt exception)$extrainfo"
     }
 
-    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
(EDIT|delete this file)|Generated by)/i) {
+    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
(EDIT|delete this file)|Generated (automatically|by|from)|generated.*file)/i) {
        $license = "GENERATED FILE";
     }
 
-- 
1.7.3.1

Reply via email to