From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrxv-0001at-Cs for guix-patches@gnu.org; Sun, 28 Jan 2018 13:46:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efrxq-0005I7-HW for guix-patches@gnu.org; Sun, 28 Jan 2018 13:46:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:38569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efrxq-0005Hf-D9 for guix-patches@gnu.org; Sun, 28 Jan 2018 13:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efrxq-0007CW-4U for guix-patches@gnu.org; Sun, 28 Jan 2018 13:46:02 -0500 Subject: [bug#30274] [PATCH 00/21] gnu: Add licensecheck (license checker for source files). Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrwn-0000bD-1e for guix-patches@gnu.org; Sun, 28 Jan 2018 13:44:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efrwi-0004po-6w for guix-patches@gnu.org; Sun, 28 Jan 2018 13:44:57 -0500 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:41815) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efrwh-0004pd-U8 for guix-patches@gnu.org; Sun, 28 Jan 2018 13:44:52 -0500 Received: by mail-lf0-x231.google.com with SMTP id f136so6805261lff.8 for ; Sun, 28 Jan 2018 10:44:51 -0800 (PST) From: Oleg Pykhalov Date: Sun, 28 Jan 2018 21:44:37 +0300 Message-Id: <20180128184437.32296-1-go.wigust@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30274@debbugs.gnu.org Hello Guix, Licensecheck attempts to determine the license that applies to each file passed to it, by searching the start of the file for text belonging to various licenses. Some notes while I've adopted `guix import cpan` produced packages: - perl-b-hooks-op-check, perl-bareword-filehandles, perl-multidimensional had a perl-gtk-perl in native-inputs. - perl-test-roo had a perl-bareword-filehandles in native-inputs. An example of running licensecheck --8<---------------cut here---------------start------------->8--- natsu@magnolia ~/src/guix-wip-licensecheck$ $(./pre-inst-env guix build licensecheck)/bin/licensecheck . ./.dir-locals.el: *No copyright* UNKNOWN ./.mailmap: *No copyright* UNKNOWN ./.version: *No copyright* UNKNOWN ./0000-cover-letter.patch: *No copyright* GENERATED FILE ./0001-gnu-Add-perl-test-filename.patch: UNKNOWN ./0002-gnu-Add-perl-path-iterator-rule.patch: UNKNOWN ./0003-gnu-Add-perl-pod-constants.patch: *No copyright* UNKNOWN ./0004-gnu-Add-perl-regexp-pattern.patch: *No copyright* UNKNOWN ./0005-gnu-Add-perl-regexp-pattern-license.patch: GPL ./0006-gnu-Add-perl-number-range.patch: *No copyright* UNKNOWN ./0007-gnu-Add-perl-string-copyright.patch: UNKNOWN ./0008-gnu-Add-perl-string-escape.patch: *No copyright* UNKNOWN ./0009-gnu-Add-perl-test-failwarnings.patch: *No copyright* UNKNOWN ./0010-gnu-Add-perl-data-section.patch: *No copyright* UNKNOWN ./0011-gnu-Add-perl-software-license.patch: UNKNOWN ./0012-gnu-Add-perl-extutils-depends.patch: *No copyright* UNKNOWN ./0013-gnu-Add-perl-b-hooks-op-check.patch: *No copyright* UNKNOWN ./0014-gnu-Add-perl-bareword-filehandles.patch: *No copyright* UNKNOWN ./0015-gnu-Add-perl-indirect.patch: *No copyright* UNKNOWN ./0016-gnu-Add-perl-lexical-sealrequirehints.patch: *No copyright* UNKNOWN ./0017-gnu-Add-perl-multidimensional.patch: *No copyright* UNKNOWN ./0018-gnu-Add-perl-test-roo.patch: *No copyright* UNKNOWN ./0019-gnu-Add-perl-universal-require.patch: *No copyright* UNKNOWN ./0020-gnu-Add-perl-strictures-2.patch: *No copyright* UNKNOWN ./0021-gnu-Add-licensecheck.patch: *No copyright* UNKNOWN ./ABOUT-NLS: *No copyright* UNKNOWN ./AUTHORS: *No copyright* GENERATED FILE ./CODE-OF-CONDUCT: *No copyright* UNKNOWN ./COPYING: UNKNOWN ./ChangeLog: *No copyright* UNKNOWN ./HACKING: FSF All Permissive ./INSTALL: FSF All Permissive ./Makefile: GPL (v3 or later) GENERATED FILE ./Makefile.am: GPL (v3 or later) ./Makefile.in: GPL (v3 or later) GENERATED FILE ./NEWS: FSF All Permissive ./README: *No copyright* UNKNOWN ./ROADMAP: FSF All Permissive ./THANKS: UNKNOWN ./TODO: FSF All Permissive ./aclocal.m4: GENERATED FILE ./berlin.guixsd.org.pub: *No copyright* UNKNOWN ./bootstrap: *No copyright* UNKNOWN ./config-daemon.ac: *No copyright* UNKNOWN ./config.log: *No copyright* GENERATED FILE ./config.status: *No copyright* GENERATED FILE ./configure: FSF Unlimited GENERATED FILE ./configure.ac: *No copyright* UNKNOWN ./d3.v3.js: BSD (3 clause) ./gnu.go: UNKNOWN ./gnu.scm: GPL (v3 or later) ./graph.js: GPL (v3 or later) ./guix-daemon: UNKNOWN ./guix-register: UNKNOWN ./guix.go: *No copyright* UNKNOWN ./guix.scm: GPL (v3 or later) ./hydra.gnu.org.pub: *No copyright* UNKNOWN ./libformat.a: UNKNOWN ./libstore.a: UNKNOWN ./libutil.a: UNKNOWN ./pre-inst-env: GPL (v3 or later) ./release.nix: GPL (v3 or later) ./test-env: GPL (v3 or later) --8<---------------cut here---------------end--------------->8--- Oleg Pykhalov (21): gnu: Add perl-test-filename. gnu: Add perl-path-iterator-rule. gnu: Add perl-pod-constants. gnu: Add perl-regexp-pattern. gnu: Add perl-regexp-pattern-license. gnu: Add perl-number-range. gnu: Add perl-string-copyright. gnu: Add perl-string-escape. gnu: Add perl-test-failwarnings. gnu: Add perl-data-section. gnu: Add perl-software-license. gnu: Add perl-extutils-depends. gnu: Add perl-b-hooks-op-check. gnu: Add perl-bareword-filehandles. gnu: Add perl-indirect. gnu: Add perl-lexical-sealrequirehints. gnu: Add perl-multidimensional. gnu: Add perl-test-roo. gnu: Add perl-universal-require. gnu: Add perl-strictures-2. gnu: Add licensecheck. gnu/local.mk | 1 + gnu/packages/license.scm | 158 ++++++++++++++++++++ gnu/packages/perl-check.scm | 73 ++++++++++ gnu/packages/perl.scm | 340 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 572 insertions(+) create mode 100644 gnu/packages/license.scm -- 2.15.1