Your message dated Fri, 15 May 2020 15:52:10 +0200
with message-id <[email protected]>
and subject line Re: Licensecheck: Multiple licenses in same file is not shown
has caused the Debian Bug report #602882,
regarding [licensecheck] Multiple licenses in same file is not shown
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.)


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


    $ licensecheck sha1.c
    sha1.c: BSD

But the file (from buildtorrent) actually has multiple licences:

    /*
     * sha1.c
     *
     * Originally witten by Steve Reid <[email protected]>
     * 
     * Modified by Aaron D. Gifford <[email protected]>
     *
     * NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN
     *
     * The original unmodified version is available at:
     *    ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c
     *
     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND
     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
PURPOSE
     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE 
LIABLE
     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL
     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
STRICT
     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     * SUCH DAMAGE.
     */

Please improve program to notice about multiple licenses, like
announcement of "public Domain" in addition to others.

-- Package-specific info:

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

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

-- 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.32-5-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.8.5   Debian package development tools
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-15  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                3.1.12-1               Delayed job execution and batch pr
ii  bsd-mailx [mailx] 8.1.2-0.20100314cvs-1  simple mail user agent
ii  bzr               2.1.2-1                easy to use distributed version co
ii  curl              7.21.0-1               Get a file from an HTTP, HTTPS or 
ii  cvs               1:1.12.13-12           Concurrent Versions System
ii  dctrl-tools       2.14.5                 Command-line tools to process Debi
ii  debian-keyring [d 2010.06.08             GnuPG (and obsolete PGP) keys of D
ii  dillo [www-browse 2.0-1                  Small and fast web browser
ii  dput              0.9.6.1                Debian package upload tool
ii  elinks [www-brows 0.12~pre5-2            advanced text-mode WWW browser
ii  equivs            2.0.8                  Circumvent Debian package dependen
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  git [git-core]    1:1.7.2.3-2            fast, scalable, distributed revisi
ii  git-core          1:1.7.2.3-2            fast, scalable, distributed revisi
ii  gnupg             1.4.10-4               GNU privacy guard - a free PGP rep
ii  iceweasel [www-br 3.5.13-1               Web browser based on Firefox
ii  konqueror [www-br 4:4.4.5-1              advanced file manager, web browser
ii  libauthen-sasl-pe 2.1500-1               Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-p 0.57-2                 Support for https protocol in LWP
ii  libjson-perl      2.26-1                 Perl module to parse and convert t
ii  libparse-debcontr 2.005-2                Easy OO parsing of Debian control-
ii  libsoap-lite-perl 0.712-1                Perl implementation of a SOAP clie
ii  libterm-size-perl 0.2-4+b1               Perl extension for retrieving term
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  liburi-perl       1.54-2                 module to manipulate and access UR
ii  libwww-perl       5.836-1                Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl 1.12-1                 Perl module providing a fast, ligh
ii  links [www-browse 2.3~pre1-1             Web browser running in text mode
ii  links2 [www-brows 2.3~pre1-1             Web browser running in both graphi
ii  lintian           2.4.3                  Debian package checker
ii  lsb-release       3.2-23.1               Linux Standard Base version report
ii  lynx-cur [www-bro 2.8.8dev.5-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.7-4                on-line manual pager
ii  mercurial         1.6.4-1                scalable distributed version contr
ii  openssh-client [s 1:5.5p1-5+b1           secure shell (SSH) client, for sec
ii  opera [www-browse 10.63.6450             A fast and secure web browser and 
ii  patch             2.6-3                  Apply a diff file to an original
ii  patchutils        0.3.1-2                Utilities to work with patches
ii  sensible-utils    0.0.4                  Utilities for sensible alternative
ii  strace            4.5.20-2               A system call tracer
ii  subversion        1.6.12dfsg-2           Advanced version control system
ii  unzip             6.0-4                  De-archiver for .zip files
ii  w3m [www-browser] 0.5.2-9                WWW browsable pager with excellent
ii  wdiff             0.6.3-1                Compares two files word by word
ii  wget              1.12-2.1               retrieves files from the web
ii  xz-utils          4.999.9beta+20100810-1 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential               11.5       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
ii  devscripts-el                 34.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-9   text-based mailreader supporting M
pn  svn-buildpackage              <none>     (no description available)
ii  w3m                           0.5.2-9    WWW browsable pager with excellent

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/debsign (from devscripts package)



--- End Message ---
--- Begin Message ---
Version: 3.0.46

Jari Aalto wrote:
>     $ licensecheck sha1.c
>     sha1.c: BSD
> 
> But the file (from buildtorrent) actually has multiple licences:
[...]
> Please improve program to notice about multiple licenses, like
> announcement of "public Domain" in addition to others.

Seems to be multiple issues (different from originally reported), all of 
them solved by now:

  * Detection of BSD license was previously too "greedy"
    assuming that standard boilerplate disclaimer would be BSD
    if not detected as something else
  * Detection of Public Domain previously missed some patterns

Current licensecheck 3.0.46 properly detects _only_ Public Domain for 
above sha1.c file, which seems correct.

Current licensecheck 3.0.46 also detects multiple licenses in same file 
(but that did not seem to really be the issue here after all).

Not sure when exactly these issues were fixed...

Thanks for reporting, and sorry for the (very!) long silence,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to