Your message dated Thu, 31 Dec 2015 03:49:12 +0000
with message-id <[email protected]>
and subject line Bug#559429: fixed in devscripts 2.15.10
has caused the Debian Bug report #559429,
regarding [licensecheck] Does not recognize GPL-2 license in file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
559429: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559429
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.59
Severity: normal


The file debian/repack.sh has been attached for testing.

PROBLEM

 $ licensecheck debian/repack.sh
 debian/repack.sh: UNKNOWN

 $ head -18 debian/repack.sh | nl -ba
     1  #!/bin/sh
     2  #   Copyright
     3  #
     4  #       Copyright (C) 2008-2009 Jari Aalto <[email protected]>
     5  #
     6  #   License
     7  #
     8  #       This program is free software; you can redistribute it and or
     9  #       modify it under the terms of the GNU General Public License as
    10  #       published by the Free Software Foundation; either version 2 of
    11  #       the License, or (at your option) any later version.
    12  #
    13  #       This program is distributed in the hope that it will be useful, 
but
    14  #       WITHOUT ANY WARRANTY; without even the implied warranty of
    15  #       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    16  #       General Public License for more details at
    17  #       <http://www.gnu.org/copyleft/gpl.html>.
    18

-- Package-specific info:

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

--- ~/.devscripts ---
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i.pc -iconfig.status -ibackup.bzr -i.git -uc 
-us"
DEBUILD_PRESERVE_ENVVARS="DH_ALWAYS_EXCLUDE,PATH,CC,CXX"
DEBUILD_LINTIAN=yes
DEBUILD_PRESERVE_ENV=yes
DGET_VERIFY=no

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.5.3   Debian package development tools
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                 3.1.11-1              Delayed job execution and batch pr
ii  bsd-mailx [mailx]  8.1.2-0.20090911cvs-2 simple mail user agent
ii  bzr                2.0.2-1               easy to use distributed version co
ii  curl               7.19.7-1              Get a file from an HTTP, HTTPS or 
ii  cvs                1:1.12.13-12          Concurrent Versions System
ii  dctrl-tools        2.13.1                Command-line tools to process Debi
ii  debian-keyring [de 2009.11.04            GnuPG (and obsolete PGP) keys of D
ii  dillo [www-browser 2.0-1                 Small and fast web browser
ii  dput               0.9.5.1               Debian package upload tool
ii  elinks [www-browse 0.12~pre5-1           advanced text-mode WWW browser
ii  epiphany-gecko [ww 2.26.3-2              Intuitive GNOME web browser - Geck
ii  equivs             2.0.7-0.1             Circumvent Debian package dependen
ii  fakeroot           1.14.4-1              Gives a fake root environment
ii  git-core           1:1.6.5-1             fast, scalable, distributed revisi
ii  gnupg              1.4.10-2              GNU privacy guard - a free PGP rep
ii  iceweasel [www-bro 3.0.14-1              lightweight web browser based on M
ii  konqueror [www-bro 4:4.3.1-1             KDE 4's advanced file manager, web
ii  libauthen-sasl-per 2.13-1                Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-pe 0.57-2                Support for https protocol in LWP
ii  libparse-debcontro 2.005-2               Easy OO parsing of Debian control-
ii  libsoap-lite-perl  0.710.10-1            Perl implementation of a SOAP clie
ii  libterm-size-perl  0.2-4+b1              Perl extension for retrieving term
ii  libtimedate-perl   1.1900-1              Time and date functions for Perl
ii  liburi-perl        1.37+dfsg-1           Manipulates and accesses URI strin
ii  libwww-perl        5.833-1               Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl  1.07-1                fast, lightweight YAML loader and 
ii  links [www-browser 2.2-1+b1              Web browser running in text mode
ii  lintian            2.2.18                Debian package checker
ii  lsb-release        3.2-23                Linux Standard Base version report
ii  lynx-cur [www-brow 2.8.8dev.1-1          Text-mode WWW Browser with NLS sup
ii  lzma               4.43-14               Compression method of 7z format in
ii  mailx              1:20081101-2          Transitional package for mailx ren
ii  man-db             2.5.6-4               on-line manual pager
ii  mercurial          1.4-1                 scalable distributed version contr
ii  midori [www-browse 0.1.8-1               fast, lightweight graphical web br
ii  openssh-client [ss 1:5.1p1-8             secure shell client, an rlogin/rsh
ii  opera [www-browser 10.10.4742.gcc4.qt3   The Opera Web Browser
ii  patch              2.5.9-5               Apply a diff file to an original
ii  patchutils         0.3.1-2               Utilities to work with patches
ii  sensible-utils     0.0.1                 Utilities for sensible alternative
ii  strace             4.5.19-1              A system call tracer
ii  subversion         1.6.3dfsg-1           Advanced version control system
ii  unzip              6.0-1                 De-archiver for .zip files
ii  w3m [www-browser]  0.5.2-2.1             WWW browsable pager with excellent
ii  wdiff              0.5-19                Compares two files word by word
ii  wget               1.12-1.1              retrieves files from the web
ii  xemacs21-mule [www 21.4.22-2             highly customizable text editor --

Versions of packages devscripts suggests:
ii  build-essential               11.4       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
ii  devscripts-el                 31.2-1     Emacs wrappers for the commands in
pn  gnuplot                       <none>     (no description available)
ii  libfile-desktopentry-perl     0.04-2     Perl module to handle freedesktop 
ii  libnet-smtp-ssl-perl          1.01-2     SSL support for Net::SMTP
ii  mutt                          1.5.20-4   text-based mailreader supporting M
ii  svn-buildpackage              0.6.29     helper programs to maintain Debian
ii  w3m                           0.5.2-2.1  WWW browsable pager with excellent

-- no debconf information
#!/bin/sh
#   Copyright
#
#       Copyright (C) 2008-2009 Jari Aalto <[email protected]>
#
#   License
#
#       This program is free software; you can redistribute it and or
#       modify it under the terms of the GNU General Public License as
#       published by the Free Software Foundation; either version 2 of
#       the License, or (at your option) any later version.
#
#       This program is distributed in the hope that it will be useful, but
#       WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#       General Public License for more details at
#       <http://www.gnu.org/copyleft/gpl.html>.

set -e
set -u

Help ()
{
    echo "
SYNOPSIS
  repack.sh --upstream-source <ver> <downloaded file> [package]

DESCRIPTION
    Repackage upstream source. The command line arguments are due
    to uscan(1) order. The PACKAGE argument is optional.

EXAMPLES
    Repack foo-1.1.tar.gz as bar-1.10.tar.gz

        repack.sh 1.10 foo-1.1.tar.gz bar

AUTHOR
    Jari Aalto <[email protected]>. Licenced under GPL v2 or,
    at your option, any later version.
"
    exit 0
}

Run ()
{
    ${test+echo} "$@"
}

Warn ()
{
    echo "$*" >&2
}

Die ()
{
    Warn "$*"
    exit 1
}

AtExit ()
{
    if [ "$DIR" ]; then
	[ -d "$DIR" ] && Run rm -rf "$DIR"
    fi
}

DebianVersion ()
{
    # YYYYMMDD => YYYY.MMDD
    echo $1 | sed 's/\(....\)\(..\)\(..\)/\1.\2\3/'
}

DebianTar ()
{
    local ver=$1
    local dver=$2
    local file=$3
    local pkg=$4

    # If version is same, use original file

    if [ "$ver" = "$dver" ]; then
	if [ "$pkg" ]; then
	    echo $file | sed "s,.*$ver,$pkg-$ver,"
	else
            echo $file
	fi
	return 0
    fi

    if [ "$pkg" ]; then
	echo $file | sed -e "s,.*$ver,$pkg-$dver,"
    else
        # replace with new version
	echo $file | sed -e "s,$ver,$dver,"
    fi
}

Pkg ()
{
    local file=$1

    if [ -f debian/changelog ]; then
	dpkg-parsechangelog | awk '/^Source:/ {print $2}'
    else

	# package-1.1.tar.gz => package
	echo $file | sed "s,-[0-9].*,,"
    fi
}

Version ()
{
    local file=$1
    local pkg=$(Pkg $file)

    if [ ! "$pkg" ]; then
	Die "[ERROR] Internal error. 'pkg' variable not set. Run with debug (-x)"
    fi

    echo $file |
    sed -e "s,\.tar.*,," \
        -e "s,$pkg[-_],,"
}

Main ()
{
    DIR=

    #  Ignore uscan(1) argument --upstream-version in $1

    case "$1" in
	--help|-h)
		Help
		;;
	--*)	shift
		;;
    esac

    VER="$1"
    FILE="$2"

    if [ ! -f "$FILE" ]; then
	Die "[ERROR] Arg 2. File does not exist: $FILE"
    fi


    PKG=${3:-$(Pkg $FILE)}

    if [ ! "$PKG" ]; then
	Die "[ERROR] Internal error. PKG not set. Run with debug (-x)"
    fi


    CURVER=$(Version $FILE)

    if [ ! "$CURVER" ]; then
	Die "[ERROR] Internal error. CURVER not set. Run with debug (-x)"
    fi

    DVER=$(DebianVersion "$VER")
    DFILE=$(DebianTar "$CURVER" "$DVER" "$FILE" $PKG)

    #  Debian Developer's Reference 6.7.8.2 Repackaged upstream source

    REPACK_DIR="$PKG-$DVER.orig"

    DIR=$(Run mktemp -d ./tmp.repack.XXXXXX)

    echo "Repacking $FILE as $PKG-$DVER"

    #	Create an extra directory to cope with tarballs that
    #	do not have root/ directory

    UP_BASE="$DIR/unpack"
    Run mkdir "$UP_BASE"

    Run tar -C "$UP_BASE" -xf "$FILE"

    if [ $(ls -1 "$UP_BASE" | wc -l) -eq 1 ]; then
	# Tarball does contain a root directory
	UP_BASE="$UP_BASE/$(ls -1 "$UP_BASE")"
    fi

    #	Remove files if needed

    #	Repack

    Run mv "$UP_BASE" "$DIR/$REPACK_DIR"

    #	Don't use pipes. Errors are not handled correctly if pipes aree used.

    Run tar -C "$DIR" -cf "$DIR/repacked.tar" "$REPACK_DIR"
    Run gzip --best "$DIR/repacked.tar"
    Run mv "$DIR/repacked.tar.gz" "$DFILE"

    echo "Done $DFILE"
}

trap AtExit QUIT INT EXIT
Main "$@"

# End of file

--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.15.10

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 30 Dec 2015 20:44:35 -0500
Source: devscripts
Binary: devscripts
Architecture: source
Version: 2.15.10
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 278797 350454 363346 375138 395439 409094 415680 451051 458777 472065 
499886 516704 517637 519080 526443 526450 531321 532182 538717 539780 544638 
549178 557768 559429 570221 573631 582958 648632 663357 674812 696492 705989 
731725 733272 734748 737843 738977 740366 751984 752364 755754 762263 763071 
773390 775526 778723 788414 790629 796293 797045 797787 798133 798175 800704 
801165 802503 803724 803948 804239 804492 805501 806262 806424 807064 807065 
808271 808394
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Changes:
 devscripts (2.15.10) unstable; urgency=low
 .
   [ Benjamin Drung ]
   * test_uscan: Fix failure in testFileExclusion due to wrong tarfile name
     test on Ubuntu.
 .
   [ Nicholas Bamber ]
   * Fixed issues with current bash completion (Closes: #804492)
     + Reorganised scripts/Makefile so that bash completion scripts
       are installed matching their command names - an exception being the
       generic pkgnames.bash_completion.
     + Where necessary added links to bash completion scripts
       to debian/links to reuse bash completion code
     + Removed deprecated "have" mechanism from bash completion scripts.
     + Removed undefined "$filenames" from chdist.bash_completion
     + Split debi.bash_completion off from pkgnames.bash_completion
       and added links for both debi/debc and corrected complete commands
   * Added custom bash completion support for bts (Closes: #499886)
     + Added --soap-timeout option to bts
     + Added listcachedbugs command to bts
     + Split out bts bash completion handling into its own script
   * Added custom bash completion support for debuild, checkbashisms,
     list-unreleased, dscverify, dscextract, what-patch, plotchangelog,
     debdiff and licensecheck
   * Updated custom bash completion handling for mk-origtargz
   * Added debcheckout to those commands with package names bash completion
   * licensecheck:
     + Tweaked parselicense to capture 'and or' as well as
       'and/or' in GPL licenses (Closes: #559429)
     + Added test for licensecheck versus Software::License
     + Resolved failure to find license from Software::License generated
       files from Artistic and Mozilla licenses
   * Added test for life cycle of package:
     + debuild, dscverify, dscextract, list-unreleased, debdiff
   * Rearranged cleanup of tests to use oneTimeSetUp/oneTimeTearDown
   * Streamlined structure of test/Makefile
   * Updated .gitignore
 .
   [ Dominique Dumont ]
   * licensecheck:
     + no longer attempts to find encoding or select files to parse
       using 'file' commands. By default, files are selected using file
       extension instead of MIME types provided by "file" command.  The
       list of file extensions is more boring to maintain but also more
       predictable.  (Closes: #803724)
     + added --encoding option. By default, input files are handled as utf-8
       Information is printed on STDOUT as utf-8.
     + --text option is deprecated
     + added freetype license
     + remove 'by' from copyright owners
     + remove whitespace from end of multi-line copyright statements
     + parse multi-line copyright blocks (Closes: #519080)
     + parse .lisp file (part of #806424)
     + added LLGPL license (part of #806424)
     + licensecheck: show skipped file with --skipped (Closes: #806424)
     + also parse last 5kb of a file
     + parse source file without suffix (e.g script, README)
     + parse .css or .less file
     + parse perl6 files (.pl6 .pm6 .pod6 ...)
     + parse markdown files (.md or .markdown)
     * tweaked to parse Artistic 2.0 license file
     * improved detection of artistic 2.0 licenses
 .
   [ Osamu Aoki ]
   * uscan:
     + Start uupdate with --verbose as needed.  (Closes: #350454)
     + Add test_uscan_mangle for testing the mangling rules and pgp signature.
     + Add --download-debversion.  (Closes: #755754)
     + Add pagemangle.  (Closes: #395439, #451051, #538717, #705989, #773390)
     + Add oversionmangle as a part of multiple upstream tarball support.
       (Closes: #458777)
     + Add dirversionmangle with $download-version consideration with detailed
       and sorted reporting of all available URLs.
       (Closes: #363346, #375138, #472065, #516704, #557768, #734748)
     + Add the multiple upstream tarball support and extend the OpenPGP support
       with new watch line options: component, compression, repack, pgpmode,
       versionmode, decompress.  (Closes: #526443, #531321, #549178, #731725,
       #738977, #778723, #800704)
     + Updated manpage contents and build it from POD.  (Closes: #409094,
       #415680, #573631, #648632, #733272, #775526, #790629, #796293, #797787)
     + Improve FTP listing handling. (Closes: #696492)
     + Add the --overwrite-download, --skip-signature, and similar options
       to reorganize behavior around existing downloaded files.
       (Closes: #532182, #740366, #801165)
     + Update filenamemangle to support the version pattern matching in any
       position of the URL and remove .download hack which breaks
       mk-origtargz. (Closes: #526450, #803948, #804239)
     + Reorganize the reporting by uscan and adjust its text strings.
       (Closes: #582958)
     + Add download compression ordering support to prefer xz over gz.
       (Closes: #763071)
     + Add generalized search regex with some special strings @PACKAGE@,
       @ANY_VERSION@, @ARCHIVE_EXT@, and @SIGNATURE_EXT@.
       (Closes: #517637, #539780)
     + Add direct git repository support. (Closes: #663357)
     + Add unzipopt support.
   * uupdate:
     + Prevent failure when upstream version is 0.  (Closes: #798175)
     + Work around missing debian.tar.gz for "3.0 (quilt)".  (Closes: 798133)
     + Add multiple upstream tarball support and resolve minor bugs by using
       dpkg-source as the backend.  (Closes: #278797, #544638, #570221,
       #752364, #797045)
   * mk-origtargz:
     + Support component name for the multiple upstream tarball support.
     + Fix Files-Excluded for duplicate entries. (Closes: #762263)
     + Add --unzipopt option. (Closes: #737843)
     + Add xpi files support. (Closes: #751984)
   * debian/control, dscverify, who-permits-upload, uscan:
     + Add gnupg2/gpgv2 as an alternative option to gnupg/gpgv. (Closes: 
#788414)
 .
   [ James McCoy ]
   * debuild:
     + Use _all as the .changes arch for -A builds.  (Closes: #806262)
   * dget:
     + Remove unnecessary requirement that “apt-cache policy $pkg” shows a
       priority of 0 for the Candidate version.  (Closes: #807064)
     + Fix parsing of sources.list lines with options.  (Closes: #674812)
   * Add apt to Recommends, since various scripts use tools from apt.  (Closes:
     #807065)
   * Export LC_ALL=C in test_mk-origtargz so the test doesn't fail in 
non-English
     locales.
   * chdist:
     + Make the apt-file support compatible with 3.x apt-file.
   * debcommit:
     + When a VCS requires a mangled package version for the tag name, still
       use the actual package version in the tag message.  (Closes: #802503)
   * bts:
     + Fix creation of cache dir when $XDG_CACHE_HOME doesn't exist yet.
       (Closes: #808394)
   * checkbashisms:
     + Improve detection of bashisms when a ! is included after an
       if/while/elif conditional.  (Closes: #808271)
 .
   [ Daniel Kahn Gillmor ]
   * debuild:
     + pass through DBUS_SESSION_BUS_ADDRESS so that gpg-agent can make
       pinentry-gnome3 work (Closes: #805501)
Checksums-Sha1: 
 f67218be5629e603997140fb3d230e26ed099cbf 2350 devscripts_2.15.10.dsc
 bab581df37b7d3d02329adb5f9587aa02f9c8be7 679536 devscripts_2.15.10.tar.xz
Checksums-Sha256: 
 a2442cc6aebb522d679aa2d5659faf0de37e3746c1ce3a99413a2e0d191a6e61 2350 
devscripts_2.15.10.dsc
 8659779f03563aea6187f744b083cea2dfe637da2bb12ff52e38dd2e6f3762f9 679536 
devscripts_2.15.10.tar.xz
Files: 
 62abe67fd4ccae35ac804ce2c0e7c61c 2350 devel optional devscripts_2.15.10.dsc
 a21685d0ded4b77bab71fce1e3084078 679536 devel optional 
devscripts_2.15.10.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWhJBSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6PbkYwQAL/uCkGIls/3sas8nuiVoTyp
DZDELaK2C9InapULu6B0wB7r2hOlgJnMbGDiXCjVkP5V7x3c0P35pLwCrhoPTIxv
46E6J54MVFJtMPAuhbf1jOy+h1pbnwhAbqZpkjlDa5priCuXJkuck+VBf6Mu4apT
hy/kFF4ydQWtcBVfKSRxVoH+MNu9nlOHRl3PkOnG4xF5PV8tgDE/FxC+o3ft/zhx
u4o8pSmk0e0iBSr5k02vm9ufQuYn2/geuJlb+8zlhdW5Vlkrpx8QnVhnE1+NWBrX
8Po4dU2qzPRvEjoY0LUq4FG6ynQBmk8nvHyVL4sIO23MkQ4gjxoIJ1Q4HEkV3r8o
j1Y7fCQ1XtZrasFe7S6SbWRTy11VAO8Qp6dZtD3gDCX44PonuUOJixDQWGhkFLHI
06Ms5xgLHCMnf6vpbARLMasB7cGr2mTGmKXV5Q1AReGfESAS0qneM8+kQfAienGE
l48QkeLR+bSEJuiDWSO+pYhuIfE/FWCpYR/6usFhswbLHjaDkMaj5DkA9/YN7p2o
ORxqt5WMpxZxLnQ8MFvilq6m/A9TJZzE6jq3k9uq4DPlq6d6u7ihA6qfdWWQpKpQ
ujUYc5GHC2mfm08aCmCEyUXMLXQ9N+TytUw+8gKRCprnZ4M0QWvQJEjg1U3QuWAh
mmXkJIUiU09u84zv5msA
=c0dl
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to