Perl script to look for SPDX tags. https://jeremiah.github.io/spdxl
Find a file
2025-11-25 13:02:00 +01:00
.github Bump github/codeql-action from 4.30.8 to 4.31.5 2025-11-24 11:10:47 +00:00
docs More co-ordination, remove deprecated license reference. 2020-04-16 15:36:21 -04:00
lib More co-ordination, remove deprecated license reference. 2020-04-16 15:36:21 -04:00
license_database Adding license database and roadmap. 2015-08-27 23:09:15 +02:00
LICENSES Update copyright and license info. 2024-12-10 14:29:36 +00:00
t Adding first test (boilerplate) working on creating a module. 2016-05-27 23:42:55 +02:00
.gitignore Modifying headers with proper copyright and license info. 2024-12-10 14:30:46 +00:00
.nojekyll Add in .nojekyll file 2025-02-06 14:48:02 +01:00
.pre-commit-config.yaml [StepSecurity] Apply security best practices 2025-03-19 13:19:43 +00:00
.travis.yml Working on creating a distribution. Added Travis YAML file. 2016-05-27 22:34:51 +02:00
Changes Modifying headers with proper copyright and license info. 2024-12-10 14:30:46 +00:00
COPYING Fixing some extraneous, vestigal merge cruft. 2024-02-22 14:50:08 -05:00
dist.ini Bringing build tooling in, README.md up to best practices. 2017-11-09 15:29:19 -05:00
INSTALL Bringing build tooling in, README.md up to best practices. 2017-11-09 15:29:19 -05:00
Makefile.PL Modifying headers with proper copyright and license info. 2024-12-10 14:30:46 +00:00
META.yml Update META files. 2024-05-09 18:17:45 -04:00
MYMETA.json Minor additions to metadata files. 2024-12-10 13:42:02 +00:00
MYMETA.yml Update META files. 2024-05-09 18:17:45 -04:00
README.md Update README.md 2025-10-09 14:43:45 +02:00
reuse.spdx Fixed a tag, added a tag, new reuse.spdx file. 2020-04-09 14:56:45 -04:00
SECURITY.md Modifying headers with proper copyright and license info. 2024-12-10 14:30:46 +00:00
spdxl.pl More co-ordination, remove deprecated license reference. 2020-04-16 15:36:21 -04:00
spdxl.tx Modifying headers with proper copyright and license info. 2024-12-10 14:30:46 +00:00

standard-readme compliant REUSE Compliance Check OpenSSF Scorecard OpenSSF Best Practices

spdxl

spdxl (pronounced spud-exel) is a tool that checks source code looking for a SPDX version 2.0 "tag" and produces a text-based output on the command line. Designed to be used in conjunction with Debian's licensecheck it provides a way to ensure that all the files are correctly licensed and that you can created a complete SPDX document.

Install

To install spdxl follow this incantation;

   perl Makefile.PL
   make
   sudo make install

The last command may require sudo to allow you to install software on your system. This has been tested on a Debian GNU/Linux system but should work on most UNIX systems or OSes that have perl.

Usage

The easiest way to use this is to call perl and spdxl.pl like this

perl spdxl.pl -d ./ -c

That uses the -d argument since spdxl needs a directory to read from (and the following "./" is the directory to read.) Then I've passed the -c flag to have colored output. The -c flag is optional. The -d flag is not. Call perldoc spdxl for more usage info.

Bugs

Please use 'issues' on GitHub for spdxl.

Contribute

Patches and pull requests are welcomed.

See also

ninka lint-bom reuse The reuse tool also has an action as well.

You can get tools that convert tags to spreadsheets here: https://github.com/goneall/SPDX-Tools

Copyright (c) 2015 Jeremiah C. Foster

SPDX-FileCopyrightText: 2015 Jeremiah C. Foster https://jeremiahfoster.com

SPDX-License-Identifier: CC0-1.0

Source code licensed under the GPLv3